Raspbian Package Auto-Building

Build log for mle (1.3-1) on armhf

mle1.3-1armhf → 2019-01-19 23:02:53

sbuild (Debian sbuild) 0.71.0 (24 Aug 2016) on bm-wb-03

+==============================================================================+
| mle 1.3-1 (armhf)                            Sat, 19 Jan 2019 22:54:18 +0000 |
+==============================================================================+

Package: mle
Version: 1.3-1
Source Version: 1.3-1
Distribution: buster-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/buster-staging-armhf-sbuild-017b91f0-c0f7-48c3-9a11-6abfe3336b5e' with '<<CHROOT>>'

+------------------------------------------------------------------------------+
| Update chroot                                                                |
+------------------------------------------------------------------------------+

Get:1 http://172.17.0.1/private buster-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1/private buster-staging/main Sources [11.4 MB]
Get:3 http://172.17.0.1/private buster-staging/main armhf Packages [13.2 MB]
Fetched 24.6 MB in 31s (802 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Fetch source files                                                           |
+------------------------------------------------------------------------------+


Check APT
---------

Checking available source versions...

Download source files with APT
------------------------------

Reading package lists...
NOTICE: 'mle' packaging is maintained in the 'Git' version control system at:
https://github.com/adsr/mle.git
Please use:
git clone https://github.com/adsr/mle.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 88.3 kB of source archives.
Get:1 http://172.17.0.1/private buster-staging/main mle 1.3-1 (dsc) [1796 B]
Get:2 http://172.17.0.1/private buster-staging/main mle 1.3-1 (tar) [84.8 kB]
Get:3 http://172.17.0.1/private buster-staging/main mle 1.3-1 (diff) [1660 B]
Fetched 88.3 kB in 0s (421 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/mle-24DM1l/mle-1.3' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/mle-24DM1l' with '<<BUILDDIR>>'

+------------------------------------------------------------------------------+
| Install build-essential                                                      |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<<BUILDDIR>>/resolver-lyuiON/apt_archive/sbuild-build-depends-core-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy
dpkg-scanpackages: info: Wrote 1 entries to output Packages file.
gpg: keybox '/<<BUILDDIR>>/resolver-lyuiON/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-lyuiON/gpg/trustdb.gpg: trustdb created
gpg: key 35506D9A48F77B2E: public key "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
gpg: key 35506D9A48F77B2E: "Sbuild Signer (Sbuild Build Dependency Archive Key) <buildd-tools-devel@lists.alioth.debian.org>" not changed
gpg: key 35506D9A48F77B2E: secret key imported
gpg: Total number processed: 1
gpg:              unchanged: 1
gpg:       secret keys read: 1
gpg:   secret keys imported: 1
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ Packages [432 B]
Fetched 2108 B in 1s (2871 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install core build dependencies (apt-based resolver)
----------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  ca-certificates dbus dbus-user-session e2fsprogs-l10n krb5-locales libexpat1
  libgpg-error-l10n libnss-systemd libpam-systemd libssl1.1 openssl
  systemd-sysv
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
0 upgraded, 1 newly installed, 0 to remove and 36 not upgraded.
Need to get 852 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [852 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 852 B in 0s (0 B/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 14069 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Check architectures                                                          |
+------------------------------------------------------------------------------+

Arch check ok (armhf included in any)

+------------------------------------------------------------------------------+
| Install package build dependencies                                           |
+------------------------------------------------------------------------------+


Setup apt archive
-----------------

Merged Build-Depends: debhelper (>= 11), libpcre3-dev, uthash-dev, liblua5.3-dev, libtermbox-dev
Filtered Build-Depends: debhelper (>= 11), libpcre3-dev, uthash-dev, liblua5.3-dev, libtermbox-dev
dpkg-deb: building package 'sbuild-build-depends-mle-dummy' in '/<<BUILDDIR>>/resolver-lyuiON/apt_archive/sbuild-build-depends-mle-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-mle-dummy
dpkg-scanpackages: info: Wrote 2 entries to output Packages file.
gpg: using "Sbuild Signer" as default secret key for signing
Ign:1 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ Sources [513 B]
Get:5 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ Packages [595 B]
Fetched 2441 B in 1s (3010 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install mle build dependencies (apt-based resolver)
---------------------------------------------------

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  ca-certificates dbus dbus-user-session e2fsprogs-l10n krb5-locales libexpat1
  libgpg-error-l10n libnss-systemd libpam-systemd libssl1.1 openssl
  systemd-sysv
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libelf1
  libfile-stripnondeterminism-perl libglib2.0-0 libicu63 liblua5.3-0
  liblua5.3-dev libmagic-mgc libmagic1 libncurses-dev libpcre16-3 libpcre3-dev
  libpcre32-3 libpcrecpp0v5 libpipeline1 libreadline-dev libsigsegv2
  libtermbox-dev libtermbox1 libtool libuchardet0 libxml2 m4 man-db po-debconf
  uthash-dev
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc wamerican | wordlist whois
  vacation dh-make gettext-doc libasprintf-dev libgettextpo-dev groff
  ncurses-doc readline-doc libtool-doc gfortran | fortran95-compiler gcj-jdk
  m4-doc apparmor less www-browser libmail-box-perl
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info
  xdg-user-dirs pkg-config libtool-bin libltdl-dev libmail-sendmail-perl
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdmainutils debhelper
  dh-autoreconf dh-strip-nondeterminism dwz file gettext gettext-base
  groff-base intltool-debian libarchive-zip-perl libbsd0 libcroco3 libelf1
  libfile-stripnondeterminism-perl libglib2.0-0 libicu63 liblua5.3-0
  liblua5.3-dev libmagic-mgc libmagic1 libncurses-dev libpcre16-3 libpcre3-dev
  libpcre32-3 libpcrecpp0v5 libpipeline1 libreadline-dev libsigsegv2
  libtermbox-dev libtermbox1 libtool libuchardet0 libxml2 m4 man-db po-debconf
  sbuild-build-depends-mle-dummy uthash-dev
0 upgraded, 43 newly installed, 0 to remove and 36 not upgraded.
Need to get 19.9 MB of archives.
After this operation, 72.9 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-lyuiON/apt_archive ./ sbuild-build-depends-mle-dummy 0.invalid.0 [888 B]
Get:2 http://172.17.0.1/private buster-staging/main armhf libbsd0 armhf 0.9.1-1 [104 kB]
Get:3 http://172.17.0.1/private buster-staging/main armhf bsdmainutils armhf 11.1.2 [182 kB]
Get:4 http://172.17.0.1/private buster-staging/main armhf libuchardet0 armhf 0.0.6-3 [62.2 kB]
Get:5 http://172.17.0.1/private buster-staging/main armhf groff-base armhf 1.22.4-2 [782 kB]
Get:6 http://172.17.0.1/private buster-staging/main armhf libpipeline1 armhf 1.5.0-2 [25.1 kB]
Get:7 http://172.17.0.1/private buster-staging/main armhf man-db armhf 2.8.5-1 [1231 kB]
Get:8 http://172.17.0.1/private buster-staging/main armhf libmagic-mgc armhf 1:5.35-2 [242 kB]
Get:9 http://172.17.0.1/private buster-staging/main armhf libmagic1 armhf 1:5.35-2 [109 kB]
Get:10 http://172.17.0.1/private buster-staging/main armhf file armhf 1:5.35-2 [65.1 kB]
Get:11 http://172.17.0.1/private buster-staging/main armhf gettext-base armhf 0.19.8.1-9 [117 kB]
Get:12 http://172.17.0.1/private buster-staging/main armhf libsigsegv2 armhf 2.12-2 [32.3 kB]
Get:13 http://172.17.0.1/private buster-staging/main armhf m4 armhf 1.4.18-2 [185 kB]
Get:14 http://172.17.0.1/private buster-staging/main armhf autoconf all 2.69-11 [341 kB]
Get:15 http://172.17.0.1/private buster-staging/main armhf autotools-dev all 20180224.1 [77.0 kB]
Get:16 http://172.17.0.1/private buster-staging/main armhf automake all 1:1.16.1-4 [771 kB]
Get:17 http://172.17.0.1/private buster-staging/main armhf autopoint all 0.19.8.1-9 [434 kB]
Get:18 http://172.17.0.1/private buster-staging/main armhf libtool all 2.4.6-6 [547 kB]
Get:19 http://172.17.0.1/private buster-staging/main armhf dh-autoreconf all 19 [16.9 kB]
Get:20 http://172.17.0.1/private buster-staging/main armhf libarchive-zip-perl all 1.64-1 [96.8 kB]
Get:21 http://172.17.0.1/private buster-staging/main armhf libfile-stripnondeterminism-perl all 1.1.0-1 [19.5 kB]
Get:22 http://172.17.0.1/private buster-staging/main armhf dh-strip-nondeterminism all 1.1.0-1 [12.6 kB]
Get:23 http://172.17.0.1/private buster-staging/main armhf libelf1 armhf 0.175-2 [157 kB]
Get:24 http://172.17.0.1/private buster-staging/main armhf dwz armhf 0.12-3 [66.0 kB]
Get:25 http://172.17.0.1/private buster-staging/main armhf libglib2.0-0 armhf 2.58.2-3 [1076 kB]
Get:26 http://172.17.0.1/private buster-staging/main armhf libicu63 armhf 63.1-5 [7976 kB]
Get:27 http://172.17.0.1/private buster-staging/main armhf libxml2 armhf 2.9.4+dfsg1-7+b1 [570 kB]
Get:28 http://172.17.0.1/private buster-staging/main armhf libcroco3 armhf 0.6.12-3 [132 kB]
Get:29 http://172.17.0.1/private buster-staging/main armhf gettext armhf 0.19.8.1-9 [1219 kB]
Get:30 http://172.17.0.1/private buster-staging/main armhf intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:31 http://172.17.0.1/private buster-staging/main armhf po-debconf all 1.0.21 [248 kB]
Get:32 http://172.17.0.1/private buster-staging/main armhf debhelper all 12 [1002 kB]
Get:33 http://172.17.0.1/private buster-staging/main armhf liblua5.3-0 armhf 5.3.3-1.1 [94.4 kB]
Get:34 http://172.17.0.1/private buster-staging/main armhf libncurses-dev armhf 6.1+20181013-1 [278 kB]
Get:35 http://172.17.0.1/private buster-staging/main armhf libreadline-dev armhf 7.0-5 [110 kB]
Get:36 http://172.17.0.1/private buster-staging/main armhf liblua5.3-dev armhf 5.3.3-1.1 [131 kB]
Get:37 http://172.17.0.1/private buster-staging/main armhf libpcre16-3 armhf 2:8.39-11+rpi1 [234 kB]
Get:38 http://172.17.0.1/private buster-staging/main armhf libpcre32-3 armhf 2:8.39-11+rpi1 [227 kB]
Get:39 http://172.17.0.1/private buster-staging/main armhf libpcrecpp0v5 armhf 2:8.39-11+rpi1 [150 kB]
Get:40 http://172.17.0.1/private buster-staging/main armhf libpcre3-dev armhf 2:8.39-11+rpi1 [565 kB]
Get:41 http://172.17.0.1/private buster-staging/main armhf libtermbox1 armhf 1.1.2+dfsg-3 [13.9 kB]
Get:42 http://172.17.0.1/private buster-staging/main armhf libtermbox-dev armhf 1.1.2+dfsg-3 [22.7 kB]
Get:43 http://172.17.0.1/private buster-staging/main armhf uthash-dev armhf 2.0.2-1 [190 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 19.9 MB in 3s (6978 kB/s)
Selecting previously unselected package libbsd0:armhf.
(Reading database ... 14069 files and directories currently installed.)
Preparing to unpack .../00-libbsd0_0.9.1-1_armhf.deb ...
Unpacking libbsd0:armhf (0.9.1-1) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../01-bsdmainutils_11.1.2_armhf.deb ...
Unpacking bsdmainutils (11.1.2) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../02-libuchardet0_0.0.6-3_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.6-3) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../03-groff-base_1.22.4-2_armhf.deb ...
Unpacking groff-base (1.22.4-2) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../04-libpipeline1_1.5.0-2_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.0-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../05-man-db_2.8.5-1_armhf.deb ...
Unpacking man-db (2.8.5-1) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.35-2_armhf.deb ...
Unpacking libmagic-mgc (1:5.35-2) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../07-libmagic1_1%3a5.35-2_armhf.deb ...
Unpacking libmagic1:armhf (1:5.35-2) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.35-2_armhf.deb ...
Unpacking file (1:5.35-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.19.8.1-9_armhf.deb ...
Unpacking gettext-base (0.19.8.1-9) ...
Selecting previously unselected package libsigsegv2:armhf.
Preparing to unpack .../10-libsigsegv2_2.12-2_armhf.deb ...
Unpacking libsigsegv2:armhf (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../11-m4_1.4.18-2_armhf.deb ...
Unpacking m4 (1.4.18-2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../12-autoconf_2.69-11_all.deb ...
Unpacking autoconf (2.69-11) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../13-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../14-automake_1%3a1.16.1-4_all.deb ...
Unpacking automake (1:1.16.1-4) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../15-autopoint_0.19.8.1-9_all.deb ...
Unpacking autopoint (0.19.8.1-9) ...
Selecting previously unselected package libtool.
Preparing to unpack .../16-libtool_2.4.6-6_all.deb ...
Unpacking libtool (2.4.6-6) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../17-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../18-libarchive-zip-perl_1.64-1_all.deb ...
Unpacking libarchive-zip-perl (1.64-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../19-libfile-stripnondeterminism-perl_1.1.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.1.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../20-dh-strip-nondeterminism_1.1.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.1.0-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../21-libelf1_0.175-2_armhf.deb ...
Unpacking libelf1:armhf (0.175-2) ...
Selecting previously unselected package dwz.
Preparing to unpack .../22-dwz_0.12-3_armhf.deb ...
Unpacking dwz (0.12-3) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../23-libglib2.0-0_2.58.2-3_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.58.2-3) ...
Selecting previously unselected package libicu63:armhf.
Preparing to unpack .../24-libicu63_63.1-5_armhf.deb ...
Unpacking libicu63:armhf (63.1-5) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../25-libxml2_2.9.4+dfsg1-7+b1_armhf.deb ...
Unpacking libxml2:armhf (2.9.4+dfsg1-7+b1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../26-libcroco3_0.6.12-3_armhf.deb ...
Unpacking libcroco3:armhf (0.6.12-3) ...
Selecting previously unselected package gettext.
Preparing to unpack .../27-gettext_0.19.8.1-9_armhf.deb ...
Unpacking gettext (0.19.8.1-9) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../28-intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../29-po-debconf_1.0.21_all.deb ...
Unpacking po-debconf (1.0.21) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../30-debhelper_12_all.deb ...
Unpacking debhelper (12) ...
Selecting previously unselected package liblua5.3-0:armhf.
Preparing to unpack .../31-liblua5.3-0_5.3.3-1.1_armhf.deb ...
Unpacking liblua5.3-0:armhf (5.3.3-1.1) ...
Selecting previously unselected package libncurses-dev:armhf.
Preparing to unpack .../32-libncurses-dev_6.1+20181013-1_armhf.deb ...
Unpacking libncurses-dev:armhf (6.1+20181013-1) ...
Selecting previously unselected package libreadline-dev:armhf.
Preparing to unpack .../33-libreadline-dev_7.0-5_armhf.deb ...
Unpacking libreadline-dev:armhf (7.0-5) ...
Selecting previously unselected package liblua5.3-dev:armhf.
Preparing to unpack .../34-liblua5.3-dev_5.3.3-1.1_armhf.deb ...
Unpacking liblua5.3-dev:armhf (5.3.3-1.1) ...
Selecting previously unselected package libpcre16-3:armhf.
Preparing to unpack .../35-libpcre16-3_2%3a8.39-11+rpi1_armhf.deb ...
Unpacking libpcre16-3:armhf (2:8.39-11+rpi1) ...
Selecting previously unselected package libpcre32-3:armhf.
Preparing to unpack .../36-libpcre32-3_2%3a8.39-11+rpi1_armhf.deb ...
Unpacking libpcre32-3:armhf (2:8.39-11+rpi1) ...
Selecting previously unselected package libpcrecpp0v5:armhf.
Preparing to unpack .../37-libpcrecpp0v5_2%3a8.39-11+rpi1_armhf.deb ...
Unpacking libpcrecpp0v5:armhf (2:8.39-11+rpi1) ...
Selecting previously unselected package libpcre3-dev:armhf.
Preparing to unpack .../38-libpcre3-dev_2%3a8.39-11+rpi1_armhf.deb ...
Unpacking libpcre3-dev:armhf (2:8.39-11+rpi1) ...
Selecting previously unselected package libtermbox1:armhf.
Preparing to unpack .../39-libtermbox1_1.1.2+dfsg-3_armhf.deb ...
Unpacking libtermbox1:armhf (1.1.2+dfsg-3) ...
Selecting previously unselected package libtermbox-dev:armhf.
Preparing to unpack .../40-libtermbox-dev_1.1.2+dfsg-3_armhf.deb ...
Unpacking libtermbox-dev:armhf (1.1.2+dfsg-3) ...
Selecting previously unselected package uthash-dev:armhf.
Preparing to unpack .../41-uthash-dev_2.0.2-1_armhf.deb ...
Unpacking uthash-dev:armhf (2.0.2-1) ...
Selecting previously unselected package sbuild-build-depends-mle-dummy.
Preparing to unpack .../42-sbuild-build-depends-mle-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-mle-dummy (0.invalid.0) ...
Setting up libarchive-zip-perl (1.64-1) ...
Setting up libicu63:armhf (63.1-5) ...
Setting up libsigsegv2:armhf (2.12-2) ...
Setting up libelf1:armhf (0.175-2) ...
Setting up libglib2.0-0:armhf (2.58.2-3) ...
No schema files found: removed existing output file.
Setting up libtermbox1:armhf (1.1.2+dfsg-3) ...
Setting up gettext-base (0.19.8.1-9) ...
Setting up libpipeline1:armhf (1.5.0-2) ...
Setting up m4 (1.4.18-2) ...
Setting up libbsd0:armhf (0.9.1-1) ...
Setting up libxml2:armhf (2.9.4+dfsg1-7+b1) ...
Setting up libuchardet0:armhf (0.0.6-3) ...
Setting up libmagic-mgc (1:5.35-2) ...
Setting up libmagic1:armhf (1:5.35-2) ...
Setting up libcroco3:armhf (0.6.12-3) ...
Setting up uthash-dev:armhf (2.0.2-1) ...
Processing triggers for libc-bin (2.28-2) ...
Setting up dwz (0.12-3) ...
Setting up autotools-dev (20180224.1) ...
Setting up libpcrecpp0v5:armhf (2:8.39-11+rpi1) ...
Setting up libpcre32-3:armhf (2:8.39-11+rpi1) ...
Setting up libpcre16-3:armhf (2:8.39-11+rpi1) ...
Setting up bsdmainutils (11.1.2) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up liblua5.3-0:armhf (5.3.3-1.1) ...
Setting up libncurses-dev:armhf (6.1+20181013-1) ...
Setting up autopoint (0.19.8.1-9) ...
Setting up libfile-stripnondeterminism-perl (1.1.0-1) ...
Setting up libpcre3-dev:armhf (2:8.39-11+rpi1) ...
Setting up libtermbox-dev:armhf (1.1.2+dfsg-3) ...
Setting up gettext (0.19.8.1-9) ...
Setting up groff-base (1.22.4-2) ...
Setting up autoconf (2.69-11) ...
Setting up file (1:5.35-2) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up automake (1:1.16.1-4) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libreadline-dev:armhf (7.0-5) ...
Setting up man-db (2.8.5-1) ...
Not building database; man-db/auto-update is not 'true'.
Created symlink /etc/systemd/system/timers.target.wants/man-db.timer -> /lib/systemd/system/man-db.timer.
Setting up liblua5.3-dev:armhf (5.3.3-1.1) ...
Setting up libtool (2.4.6-6) ...
Setting up po-debconf (1.0.21) ...
Setting up dh-autoreconf (19) ...
Setting up dh-strip-nondeterminism (1.1.0-1) ...
Setting up debhelper (12) ...
Setting up sbuild-build-depends-mle-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.28-2) ...
W: No sandbox user '_apt' on the system, can not drop privileges

+------------------------------------------------------------------------------+
| Build environment                                                            |
+------------------------------------------------------------------------------+

Kernel: Linux 4.9.0-0.bpo.2-armmp armhf (armv7l)
Toolchain package versions: binutils_2.31.1-11+rpi1 dpkg-dev_1.19.2 g++-8_8.2.0-13+rpi1 gcc-8_8.2.0-13+rpi1 libc6-dev_2.28-2 libstdc++-8-dev_8.2.0-13+rpi1 libstdc++6_8.2.0-13+rpi1 linux-libc-dev_4.18.20-2+rpi1
Package versions: adduser_3.118 apt_1.8.0~alpha3 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_10.1+rpi1 base-passwd_3.5.45 bash_4.4.18-3.1 binutils_2.31.1-11+rpi1 binutils-arm-linux-gnueabihf_2.31.1-11+rpi1 binutils-common_2.31.1-11+rpi1 bsdmainutils_11.1.2 bsdutils_1:2.33.1-0.1 build-essential_12.5 bzip2_1.0.6-9 ca-certificates_20170717 coreutils_8.30-1 cpio_2.12+dfsg-6 cpp_4:8.2.0-2+rpi1 cpp-8_8.2.0-13+rpi1 dash_0.5.10.2-4 dbus_1.12.12-1 dbus-user-session_1.12.12-1 debconf_1.5.69 debhelper_12 debianutils_4.8.6 dh-autoreconf_19 dh-strip-nondeterminism_1.1.0-1 diffutils_1:3.6-1 dirmngr_2.2.12-1+rpi1 dmsetup_2:1.02.155-1 dpkg_1.19.2 dpkg-dev_1.19.2 dwz_0.12-3 e2fslibs_1.44.5-1 e2fsprogs_1.44.5-1 e2fsprogs-l10n_1.44.5-1 fakeroot_1.23-1 fdisk_2.33.1-0.1 file_1:5.35-2 findutils_4.6.0+git+20181018-1 g++_4:8.2.0-2+rpi1 g++-8_8.2.0-13+rpi1 gcc_4:8.2.0-2+rpi1 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-4 gcc-4.9-base_4.9.4-2+rpi1+b19 gcc-5-base_5.5.0-8 gcc-6-base_6.5.0-1+rpi1 gcc-8_8.2.0-13+rpi1 gcc-8-base_8.2.0-13+rpi1 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gnupg_2.2.12-1+rpi1 gnupg-l10n_2.2.12-1+rpi1 gnupg-utils_2.2.12-1+rpi1 gpg_2.2.12-1+rpi1 gpg-agent_2.2.12-1+rpi1 gpg-wks-client_2.2.12-1+rpi1 gpg-wks-server_2.2.12-1+rpi1 gpgconf_2.2.12-1+rpi1 gpgsm_2.2.12-1+rpi1 gpgv_2.2.12-1+rpi1 grep_3.1-3 groff-base_1.22.4-2 gzip_1.9-3 hostname_3.21 inetutils-ping_2:1.9.4-5 init-system-helpers_1.56+nmu1 initramfs-tools_0.132 initramfs-tools-core_0.132 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-14+rpi1 kmod_25-2 krb5-locales_1.16.2-1 libacl1_2.2.52-3 libapparmor1_2.13.2-3 libapt-pkg5.0_1.8.0~alpha3 libarchive-zip-perl_1.64-1 libargon2-1_0~20171227-0.1 libasan5_8.2.0-13+rpi1 libassuan0_2.5.2-1 libatomic1_8.2.0-13+rpi1 libattr1_1:2.4.47-2 libaudit-common_1:2.8.4-2 libaudit1_1:2.8.4-2+b1 libbinutils_2.31.1-11+rpi1 libblkid1_2.33.1-0.1 libbsd0_0.9.1-1 libbz2-1.0_1.0.6-9 libc-bin_2.28-2 libc-dev-bin_2.28-2 libc6_2.28-2 libc6-dev_2.28-2 libcap-ng0_0.7.9-1+b1 libcap2_1:2.25-1.2 libcc1-0_8.2.0-13+rpi1 libcom-err2_1.44.5-1 libcroco3_0.6.12-3 libcryptsetup12_2:2.0.6-1 libcryptsetup4_2:1.7.5-1 libdb5.3_5.3.28+dfsg1-0.2 libdbus-1-3_1.12.12-1 libdebconfclient0_0.246 libdevmapper1.02.1_2:1.02.155-1 libdpkg-perl_1.19.2 libdrm-common_2.4.95-1+rpi1 libdrm2_2.4.95-1+rpi1 libelf1_0.175-2 libexpat1_2.2.6-1 libext2fs2_1.44.5-1 libfakeroot_1.23-1 libfdisk1_2.33.1-0.1 libffi6_3.2.1-9 libfile-stripnondeterminism-perl_1.1.0-1 libgcc-8-dev_8.2.0-13+rpi1 libgcc1_1:8.2.0-13+rpi1 libgcrypt20_1.8.4-4 libgdbm-compat4_1.18.1-2 libgdbm3_1.8.3-14 libgdbm6_1.18.1-2 libglib2.0-0_2.58.2-3 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.5-2+rpi1 libgomp1_8.2.0-13+rpi1 libgpg-error-l10n_1.33-3 libgpg-error0_1.33-3 libgssapi-krb5-2_1.16.2-1 libhogweed4_3.4.1~rc1-1 libicu63_63.1-5 libidn11_1.33-2.2 libidn2-0_2.0.5-1 libip4tc0_1.8.2-3 libisl19_0.20-2 libjson-c3_0.12.1-1.3 libk5crypto3_1.16.2-1 libkeyutils1_1.5.9-9.3 libklibc_2.0.4-14+rpi1 libkmod2_25-2 libkrb5-3_1.16.2-1 libkrb5support0_1.16.2-1 libksba8_1.3.5-2 libldap-2.4-2_2.4.47+dfsg-1 libldap-common_2.4.47+dfsg-1 liblua5.3-0_5.3.3-1.1 liblua5.3-dev_5.3.3-1.1 liblz4-1_1.8.3-1 liblzma5_5.2.2-1.3 libmagic-mgc_1:5.35-2 libmagic1_1:5.35-2 libmount1_2.33.1-0.1 libmpc3_1.1.0-1 libmpfr6_4.0.1-2 libncurses-dev_6.1+20181013-1 libncurses5_6.1+20181013-1 libncurses6_6.1+20181013-1 libncursesw5_6.1+20181013-1 libncursesw6_6.1+20181013-1 libnettle6_3.4.1~rc1-1 libnpth0_1.6-1 libnss-systemd_240-2+rpi1 libp11-kit0_0.23.14-2 libpam-modules_1.1.8-3.8 libpam-modules-bin_1.1.8-3.8 libpam-runtime_1.1.8-3.8 libpam-systemd_240-2+rpi1 libpam0g_1.1.8-3.8 libpcre16-3_2:8.39-11+rpi1 libpcre3_2:8.39-11+rpi1 libpcre3-dev_2:8.39-11+rpi1 libpcre32-3_2:8.39-11+rpi1 libpcrecpp0v5_2:8.39-11+rpi1 libperl5.28_5.28.1-3 libpipeline1_1.5.0-2 libplymouth4_0.9.4-1 libpng16-16_1.6.36-2 libprocps7_2:3.3.15-2 libreadline-dev_7.0-5 libreadline7_7.0-5 libsasl2-2_2.1.27~rc8-1 libsasl2-modules-db_2.1.27~rc8-1 libseccomp2_2.3.3-3+b1 libselinux1_2.8-1+b1 libsemanage-common_2.8-2 libsemanage1_2.8-2 libsepol1_2.8-1 libsigsegv2_2.12-2 libsmartcols1_2.33.1-0.1 libsqlite3-0_3.26.0+fossilbc891ac6b-1 libss2_1.44.5-1 libssl1.1_1.1.1a-1 libstdc++-8-dev_8.2.0-13+rpi1 libstdc++6_8.2.0-13+rpi1 libsystemd0_240-2+rpi1 libtasn1-6_4.13-3 libtermbox-dev_1.1.2+dfsg-3 libtermbox1_1.1.2+dfsg-3 libtinfo5_6.1+20181013-1 libtinfo6_6.1+20181013-1 libtool_2.4.6-6 libubsan1_8.2.0-13+rpi1 libuchardet0_0.0.6-3 libudev1_240-2+rpi1 libunistring2_0.9.10-1 libuuid1_2.33.1-0.1 libxml2_2.9.4+dfsg1-7+b1 libzstd1_1.3.8+dfsg-3+rpi1 linux-base_4.5 linux-libc-dev_4.18.20-2+rpi1 login_1:4.5-1.1 lsb-base_10.2018112800+rpi1 m4_1.4.18-2 make_4.2.1-1.2 makedev_2.3.1-94 man-db_2.8.5-1 mawk_1.3.3-17 mount_2.33.1-0.1 multiarch-support_2.28-2 nano_3.2-1 ncurses-base_6.1+20181013-1 ncurses-bin_6.1+20181013-1 netbase_5.5 openssl_1.1.1a-1 passwd_1:4.5-1.1 patch_2.7.6-3 perl_5.28.1-3 perl-base_5.28.1-3 perl-modules-5.28_5.28.1-3 pinentry-curses_1.1.0-1 plymouth_0.9.4-1 po-debconf_1.0.21 procps_2:3.3.15-2 raspbian-archive-keyring_20120528.2 readline-common_7.0-5 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-mle-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 systemd_240-2+rpi1 systemd-sysv_240-2+rpi1 sysvinit-utils_2.93-3 tar_1.30+dfsg-4 tzdata_2018i-1 udev_240-2+rpi1 uthash-dev_2.0.2-1 util-linux_2.33.1-0.1 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-1

+------------------------------------------------------------------------------+
| Build                                                                        |
+------------------------------------------------------------------------------+


Unpack source
-------------

gpgv: unknown type of key resource 'trustedkeys.kbx'
gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error
gpgv: Signature made Sun Dec 23 04:39:21 2018 UTC
gpgv:                using RSA key 638BC75EC1E5C589067E35DE62645EB35F686A8A
gpgv: Can't check signature: No public key
dpkg-source: warning: failed to verify signature on ./mle_1.3-1.dsc
dpkg-source: info: extracting mle in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking mle_1.3.orig.tar.xz
dpkg-source: info: unpacking mle_1.3-1.debian.tar.xz

Check disc space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=buildd
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=buster-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=buster-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=buster-staging-armhf-sbuild-017b91f0-c0f7-48c3-9a11-6abfe3336b5e
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=linux
USER=buildd

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package mle
dpkg-buildpackage: info: source version 1.3-1
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_auto_clean
   dh_clean
 debian/rules build-arch
dh build-arch
   dh_update_autotools_config -a
   dh_autoreconf -a
   dh_auto_configure -a
   dh_auto_build -a
	make -j4
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.c -o uscript.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bview.c -o bview.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security editor.c -o editor.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security aproc.c -o aproc.o
editor.c: In function 'editor_debug_dump':
editor.c:394:63: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'bint_t' {aka 'long long int'} [-Wformat=]
             fprintf(fp, "bview.%d.cursor.%d.mark.line_index=%ld\n", bview_index, cursor_index, cursor->mark->bline->line_index);
                                                             ~~^                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                             %lld
editor.c:395:56: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'bint_t' {aka 'long long int'} [-Wformat=]
             fprintf(fp, "bview.%d.cursor.%d.mark.col=%ld\n", bview_index, cursor_index, cursor->mark->col);
                                                      ~~^                                ~~~~~~~~~~~~~~~~~
                                                      %lld
editor.c:397:69: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'bint_t' {aka 'long long int'} [-Wformat=]
                 fprintf(fp, "bview.%d.cursor.%d.anchor.line_index=%ld\n", bview_index, cursor_index, cursor->anchor->bline->line_index);
                                                                   ~~^                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                   %lld
editor.c:398:62: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'bint_t' {aka 'long long int'} [-Wformat=]
                 fprintf(fp, "bview.%d.cursor.%d.anchor.col=%ld\n", bview_index, cursor_index, cursor->anchor->col);
                                                            ~~^                                ~~~~~~~~~~~~~~~~~~~
                                                            %lld
editor.c:404:51: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'bint_t' {aka 'long long int'} [-Wformat=]
         fprintf(fp, "bview.%d.buffer.byte_count=%ld\n", bview_index, buffer->byte_count);
                                                 ~~^                  ~~~~~~~~~~~~~~~~~~
                                                 %lld
editor.c:405:51: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'bint_t' {aka 'long long int'} [-Wformat=]
         fprintf(fp, "bview.%d.buffer.line_count=%ld\n", bview_index, buffer->line_count);
                                                 ~~^                  ~~~~~~~~~~~~~~~~~~
                                                 %lld
uscript.c: In function 'luaL_optpointer':
uscript.c:382:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         return (void*)strtoull(ptr, NULL, 16);
                ^
uscript.c: In function 'lua_pushpointer':
uscript.c:392:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         snprintf(ptrbuf, 32, "%llx", (unsigned long long)ptr);
                                      ^
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security cursor.c -o cursor.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security util.c -o util.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security mark.c -o mark.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security main.c -o main.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security buffer.c -o buffer.o
In file included from buffer.c:11:
buffer.c: In function '_buffer_bline_delete':
mlbuf.h:324:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'bint_t' {aka 'long long int'} [-Wformat=]
         fprintf(stderr, (fmt), __VA_ARGS__); \
                         ^~~~~
buffer.c:1640:9: note: in expansion of macro 'MLBUF_DEBUG_PRINTF'
         MLBUF_DEBUG_PRINTF("num_chars=%lu does not match safe_num_chars=%lu\n", num_chars, safe_num_chars);
         ^~~~~~~~~~~~~~~~~~
mlbuf.h:324:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'bint_t' {aka 'long long int'} [-Wformat=]
         fprintf(stderr, (fmt), __VA_ARGS__); \
                         ^~~~~
buffer.c:1640:9: note: in expansion of macro 'MLBUF_DEBUG_PRINTF'
         MLBUF_DEBUG_PRINTF("num_chars=%lu does not match safe_num_chars=%lu\n", num_chars, safe_num_chars);
         ^~~~~~~~~~~~~~~~~~
mlbuf.h:324:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'bint_t' {aka 'long long int'} [-Wformat=]
         fprintf(stderr, (fmt), __VA_ARGS__); \
                         ^~~~~
buffer.c:1645:9: note: in expansion of macro 'MLBUF_DEBUG_PRINTF'
         MLBUF_DEBUG_PRINTF("safe_num_chars=%lu lt 1\n", safe_num_chars);
         ^~~~~~~~~~~~~~~~~~
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security cmd.c -o cmd.o
In file included from cmd.c:5:
cmd.c: In function '_cmd_save':
mle.h:607:50: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'bint_t' {aka 'long long int'} [-Wformat=]
     snprintf((editor)->infostr, MLE_ERRSTR_SIZE, (fmt), __VA_ARGS__); \
                                                  ^~~~~
cmd.c:1337:13: note: in expansion of macro 'MLE_SET_INFO'
             MLE_SET_INFO(editor, "save: Wrote %ld bytes", nbytes);
             ^~~~~~~~~~~~
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security utf8.c -o utf8.o
cc -c -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security bline.c -o bline.o
cc  -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o main.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  -o mle
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make test
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_insert.c -o tests/unit/test_buffer_insert
In file included from tests/unit/test_buffer_insert.c:1:
tests/unit/test_buffer_insert.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("bol", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nhello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("bol", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nhello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("bolnchars", 3, nchars);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("bolnchars", 3, nchars);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("3", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("3", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("3nchars", 1, nchars);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("3nchars", 1, nchars);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("nlnl", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshel\n\nlo\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("nlnl", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshel\n\nlo\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("nlnlnchars", 2, nchars);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("nlnlnchars", 2, nchars);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshel\n\nlo\nworld!", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_insert.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", 0, strncmp(data, "\xe4\xb8\x96\xe7\x95\x8c\nshel\n\nlo\nworld!", data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_to.c -o tests/unit/test_mark_move_to
In file included from tests/unit/test_mark_move_to.c:1:
tests/unit/test_mark_move_to.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin1", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin1", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin1", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin1", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin2", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin2", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin2", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin2", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin3", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin3", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin3", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin3", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin4", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin4", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin4", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("lin4", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("col4", 3, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("col4", 3, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:23:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob1lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:23:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob1lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:23:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob1lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:23:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob1lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob1col", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob1col", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:27:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob2lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:27:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob2lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:27:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob2lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:27:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob2lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:28:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob2col", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:28:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob2col", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:31:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob3lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:31:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob3lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:31:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob3lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:31:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob3lin", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:32:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob3col", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_to.c:32:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob3col", 1, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_next_str.c -o tests/unit/test_mark_move_next_str
In file included from tests/unit/test_mark_move_next_str.c:1:
tests/unit/test_mark_move_next_str.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1again", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1again", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1again", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1again", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1again", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1again", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 3, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_str.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 3, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_undo.c -o tests/unit/test_buffer_undo
In file included from tests/unit/test_buffer_undo.c:1:
tests/unit/test_buffer_undo.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_undo.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("del", 0, strncmp(data, "hi", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_undo.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("del", 0, strncmp(data, "hi", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_undo.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("ins", 0, strncmp(data, "hi", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_undo.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("ins", 0, strncmp(data, "hi", data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_set_pcre_ovector.c -o tests/unit/test_mark_set_pcre_ovector
In file included from tests/unit/test_mark_set_pcre_ovector.c:1:
tests/unit/test_mark_set_pcre_ovector.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("set", MLBUF_OK, mark_set_pcre_capture(&rc, ovector, 6));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("set", MLBUF_OK, mark_set_pcre_capture(&rc, ovector, 6));
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("bline", cur->bline, bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("bline", cur->bline, bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("bline", cur->bline, bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("bline", cur->bline, bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 18, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 18, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("nchars", 6, nchars);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("nchars", 6, nchars);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:18:5: note: in expansion of macro 'ASSERT'
     ASSERT("rc", 2, rc);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:18:5: note: in expansion of macro 'ASSERT'
     ASSERT("rc", 2, rc);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("vec1a", 18, ovector[0]);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("vec1a", 18, ovector[0]);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("vec1b", 24, ovector[1]);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("vec1b", 24, ovector[1]);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("vec2a", 22, ovector[2]);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("vec2a", 22, ovector[2]);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:22:5: note: in expansion of macro 'ASSERT'
     ASSERT("vec2b", 24, ovector[3]);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_set_pcre_ovector.c:22:5: note: in expansion of macro 'ASSERT'
     ASSERT("vec2b", 24, ovector[3]);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_substr.c -o tests/unit/test_buffer_substr
In file included from tests/unit/test_buffer_substr.c:1:
tests/unit/test_buffer_substr.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_substr.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("datalen", 3, data_len);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_substr.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("datalen", 3, data_len);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_substr.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("nchars", 3, nchars);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_substr.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("nchars", 3, nchars);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_substr.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("substr", 0, strncmp("o\nw", data, data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_substr.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("substr", 0, strncmp("o\nw", data, data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_insert_after.c -o tests/unit/test_mark_insert_after
In file included from tests/unit/test_mark_insert_after.c:1:
tests/unit/test_mark_insert_after.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_insert_after.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("insa", 0, strncmp("shello\nworld", data, data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_insert_after.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("insa", 0, strncmp("shello\nworld", data, data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_insert_after.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_insert_after.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 0, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_bline_insert.c -o tests/unit/test_bline_insert
In file included from tests/unit/test_bline_insert.c:1:
tests/unit/test_bline_insert.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_insert.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("nl", 0, strncmp(data, "hello\n\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_insert.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("nl", 0, strncmp(data, "hello\n\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_insert.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("my", 0, strncmp(data, "hello\nmy\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_insert.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("my", 0, strncmp(data, "hello\nmy\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_insert.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("bol", 0, strncmp(data, "hello\namy\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_insert.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("bol", 0, strncmp(data, "hello\namy\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_insert.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("eol", 0, strncmp(data, "hello\namy's\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_insert.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("eol", 0, strncmp(data, "hello\namy's\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_insert.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", 0, strncmp(data, "hello\namy's\n world", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_insert.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", 0, strncmp(data, "hello\namy's\n world", data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_eol.c -o tests/unit/test_mark_move_eol
In file included from tests/unit/test_mark_move_eol.c:1:
tests/unit/test_mark_move_eol.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_eol.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_eol.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_eol.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_eol.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_eol.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_eol.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 5, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_add_mark.c -o tests/unit/test_buffer_add_mark
In file included from tests/unit/test_buffer_add_mark.c:1:
tests/unit/test_buffer_add_mark.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_mark.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("mark0bline", 1, mark->bline == buf->first_line ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_mark.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("mark0bline", 1, mark->bline == buf->first_line ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_mark.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("mark0col", 0, mark->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_mark.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("mark0col", 0, mark->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_mark.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("mark1bline", 1, mark->bline == buf->first_line->next ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_mark.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("mark1bline", 1, mark->bline == buf->first_line->next ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_mark.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("mark1col", 5, mark->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_mark.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("mark1col", 5, mark->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_prev_re.c -o tests/unit/test_mark_move_prev_re
In file included from tests/unit/test_mark_move_prev_re.c:1:
tests/unit/test_mark_move_prev_re.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 3, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 3, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("cflex_line", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("cflex_line", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("cflex_line", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("cflex_line", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("cflex_col", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_re.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("cflex_col", 0, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_set_callback.c -o tests/unit/test_buffer_set_callback
In file included from tests/unit/test_buffer_set_callback.c:1:
tests/unit/test_buffer_set_callback.c: In function 'callback_fn':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test_buffer_set_callback.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("bufp", global_buf, buf);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test_buffer_set_callback.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("bufp", global_buf, buf);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test_buffer_set_callback.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("udata", (void*)global_udata, udata);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test_buffer_set_callback.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("udata", (void*)global_udata, udata);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test_buffer_set_callback.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("bac_buf", buf, bac->buffer);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test_buffer_set_callback.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("bac_buf", buf, bac->buffer);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test_buffer_set_callback.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("bac_start_line", buf->first_line, bac->start_line);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test_buffer_set_callback.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("bac_start_line", buf->first_line, bac->start_line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test_buffer_set_callback.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("bac_maybe_end_line", buf->first_line->next, bac->maybe_end_line);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test_buffer_set_callback.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("bac_maybe_end_line", buf->first_line->next, bac->maybe_end_line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:31:16: note: in definition of macro 'ASSERT'
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_get_bline_col.c -o tests/unit/test_buffer_get_bline_col
In file included from tests/unit/test_buffer_get_bline_col.c:1:
tests/unit/test_buffer_get_bline_col.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("0line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("0line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("0line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("0line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("0col", 0, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("0col", 0, col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("1line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("1line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("1line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("1line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("1col", 1, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("1col", 1, col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("5line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("5line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("5line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("5line", buf->first_line, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("5col", 5, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("5col", 5, col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("6line", buf->first_line->next, line);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("6line", buf->first_line->next, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("6line", buf->first_line->next, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("6line", buf->first_line->next, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("6col", 0, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("6col", 0, col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobline", buf->first_line->next, line);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobline", buf->first_line->next, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobline", buf->first_line->next, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobline", buf->first_line->next, line);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobcol", 5, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline_col.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobcol", 5, col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_by.c -o tests/unit/test_mark_move_by
In file included from tests/unit/test_mark_move_by.c:1:
tests/unit/test_mark_move_by.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("col4", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("col4", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:18:5: note: in expansion of macro 'ASSERT'
     ASSERT("line4", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:18:5: note: in expansion of macro 'ASSERT'
     ASSERT("line4", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:18:5: note: in expansion of macro 'ASSERT'
     ASSERT("line4", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_by.c:18:5: note: in expansion of macro 'ASSERT'
     ASSERT("line4", buf->first_line, cur->bline);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_replace.c -o tests/unit/test_buffer_replace
In file included from tests/unit/test_buffer_replace.c:1:
tests/unit/test_buffer_replace.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl1", 0, strncmp(data, "blineA\n\nline2\nline3\n", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl1", 0, strncmp(data, "blineA\n\nline2\nline3\n", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("r1bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("r1bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("r1lc", 5, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("r1lc", 5, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl2", 0, strncmp(data, "blixe0\n\nline2\nline3\n", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl2", 0, strncmp(data, "blixe0\n\nline2\nline3\n", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("r2bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("r2bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("r2lc", 5, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("r2lc", 5, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl3", 0, strncmp(data, "blixe0\n\nliNe3\n", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl3", 0, strncmp(data, "blixe0\n\nliNe3\n", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:22:5: note: in expansion of macro 'ASSERT'
     ASSERT("r3bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:22:5: note: in expansion of macro 'ASSERT'
     ASSERT("r3bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:23:5: note: in expansion of macro 'ASSERT'
     ASSERT("r3lc", 4, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:23:5: note: in expansion of macro 'ASSERT'
     ASSERT("r3lc", 4, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:27:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl4", 0, strncmp(data, "blixejerk\nstuffiNe3\n", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:27:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl4", 0, strncmp(data, "blixejerk\nstuffiNe3\n", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:28:5: note: in expansion of macro 'ASSERT'
     ASSERT("r4bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:28:5: note: in expansion of macro 'ASSERT'
     ASSERT("r4bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:29:5: note: in expansion of macro 'ASSERT'
     ASSERT("r4lc", 3, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:29:5: note: in expansion of macro 'ASSERT'
     ASSERT("r4lc", 3, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:33:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl5", 0, strncmp(data, "blixejerkX", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:33:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl5", 0, strncmp(data, "blixejerkX", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:34:5: note: in expansion of macro 'ASSERT'
     ASSERT("r5bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:34:5: note: in expansion of macro 'ASSERT'
     ASSERT("r5bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:35:5: note: in expansion of macro 'ASSERT'
     ASSERT("r5lc", 1, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:35:5: note: in expansion of macro 'ASSERT'
     ASSERT("r5lc", 1, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:39:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl6", 0, strncmp(data, "blixey\nbjerkX", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:39:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl6", 0, strncmp(data, "blixey\nbjerkX", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:40:5: note: in expansion of macro 'ASSERT'
     ASSERT("r6bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:40:5: note: in expansion of macro 'ASSERT'
     ASSERT("r6bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:41:5: note: in expansion of macro 'ASSERT'
     ASSERT("r6lc", 2, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:41:5: note: in expansion of macro 'ASSERT'
     ASSERT("r6lc", 2, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:45:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl7", 0, strncmp(data, "\nblixey\nbjerkX", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:45:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl7", 0, strncmp(data, "\nblixey\nbjerkX", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:46:5: note: in expansion of macro 'ASSERT'
     ASSERT("r7bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:46:5: note: in expansion of macro 'ASSERT'
     ASSERT("r7bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:47:5: note: in expansion of macro 'ASSERT'
     ASSERT("r7lc", 3, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:47:5: note: in expansion of macro 'ASSERT'
     ASSERT("r7lc", 3, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:51:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl8", 0, strncmp(data, "\nblixejerkX", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:51:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl8", 0, strncmp(data, "\nblixejerkX", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:52:5: note: in expansion of macro 'ASSERT'
     ASSERT("r8bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:52:5: note: in expansion of macro 'ASSERT'
     ASSERT("r8bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:53:5: note: in expansion of macro 'ASSERT'
     ASSERT("r8lc", 2, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:53:5: note: in expansion of macro 'ASSERT'
     ASSERT("r8lc", 2, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:57:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl9", 0, strncmp(data, "1\n2\n3\n4\n", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:57:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpl9", 0, strncmp(data, "1\n2\n3\n4\n", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:58:5: note: in expansion of macro 'ASSERT'
     ASSERT("r9bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:58:5: note: in expansion of macro 'ASSERT'
     ASSERT("r9bc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:59:5: note: in expansion of macro 'ASSERT'
     ASSERT("r9lc", 5, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:59:5: note: in expansion of macro 'ASSERT'
     ASSERT("r9lc", 5, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:63:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpla", 0, strncmp(data, "1\nfive\nsix\nseven\neight\nnine", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:63:5: note: in expansion of macro 'ASSERT'
     ASSERT("rpla", 0, strncmp(data, "1\nfive\nsix\nseven\neight\nnine", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:64:5: note: in expansion of macro 'ASSERT'
     ASSERT("rabc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:64:5: note: in expansion of macro 'ASSERT'
     ASSERT("rabc", data_len, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:65:5: note: in expansion of macro 'ASSERT'
     ASSERT("ralc", 6, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:65:5: note: in expansion of macro 'ASSERT'
     ASSERT("ralc", 6, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:77:5: note: in expansion of macro 'ASSERT'
     ASSERT("undo", 0, strncmp(data, "\nblixey\nbjerkX", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_replace.c:77:5: note: in expansion of macro 'ASSERT'
     ASSERT("undo", 0, strncmp(data, "\nblixey\nbjerkX", data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_get_offset.c -o tests/unit/test_mark_get_offset
In file included from tests/unit/test_mark_get_offset.c:1:
tests/unit/test_mark_get_offset.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_get_offset.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("offset", 11, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_get_offset.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("offset", 11, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_get_offset.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("offset", 0, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_get_offset.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("offset", 0, offset);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_vert.c -o tests/unit/test_mark_move_vert
In file included from tests/unit/test_mark_move_vert.c:1:
tests/unit/test_mark_move_vert.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("noop", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("noop", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("noop", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("noop", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("noop", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("noop", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("noop", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("noop", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 2, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 2, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("tcol", 5, cur->target_col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_vert.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("tcol", 5, cur->target_col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_set_tab_width.c -o tests/unit/test_buffer_set_tab_width
In file included from tests/unit/test_buffer_set_tab_width.c:1:
tests/unit/test_buffer_set_tab_width.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("count4", 8, buf->first_line->char_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("count4", 8, buf->first_line->char_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("width4", 12, buf->first_line->char_vwidth);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("width4", 12, buf->first_line->char_vwidth);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:17:9: note: in expansion of macro 'ASSERT'
         ASSERT("vcol4", char_vcols_4[i], buf->first_line->chars[i].vcol);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:17:9: note: in expansion of macro 'ASSERT'
         ASSERT("vcol4", char_vcols_4[i], buf->first_line->chars[i].vcol);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:23:5: note: in expansion of macro 'ASSERT'
     ASSERT("count2a", 8, buf->first_line->char_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:23:5: note: in expansion of macro 'ASSERT'
     ASSERT("count2a", 8, buf->first_line->char_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("width2a", 10, buf->first_line->char_vwidth);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("width2a", 10, buf->first_line->char_vwidth);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:26:9: note: in expansion of macro 'ASSERT'
         ASSERT("vcol2a", char_vcols_2a[i], buf->first_line->chars[i].vcol);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:26:9: note: in expansion of macro 'ASSERT'
         ASSERT("vcol2a", char_vcols_2a[i], buf->first_line->chars[i].vcol);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:32:5: note: in expansion of macro 'ASSERT'
     ASSERT("count2b", 9, buf->first_line->char_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:32:5: note: in expansion of macro 'ASSERT'
     ASSERT("count2b", 9, buf->first_line->char_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:33:5: note: in expansion of macro 'ASSERT'
     ASSERT("width2b", 12, buf->first_line->char_vwidth);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:33:5: note: in expansion of macro 'ASSERT'
     ASSERT("width2b", 12, buf->first_line->char_vwidth);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:35:9: note: in expansion of macro 'ASSERT'
         ASSERT("vcol2b", char_vcols_2b[i], buf->first_line->chars[i].vcol);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set_tab_width.c:35:9: note: in expansion of macro 'ASSERT'
         ASSERT("vcol2b", char_vcols_2b[i], buf->first_line->chars[i].vcol);
         ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_recalloc.c -o tests/unit/test_recalloc
In file included from tests/unit/test_recalloc.c:1:
tests/unit/test_recalloc.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_recalloc.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("preserve_a", 1, things->a);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_recalloc.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("preserve_a", 1, things->a);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_recalloc.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("preserve_b", 2, things->b);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_recalloc.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("preserve_b", 2, things->b);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_recalloc.c:29:5: note: in expansion of macro 'ASSERT'
     ASSERT("zerod", 1, is_all_zero);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_recalloc.c:29:5: note: in expansion of macro 'ASSERT'
     ASSERT("zerod", 1, is_all_zero);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_get_offset.c -o tests/unit/test_buffer_get_offset
In file included from tests/unit/test_buffer_get_offset.c:1:
tests/unit/test_buffer_get_offset.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_offset.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("f0", 0, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_offset.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("f0", 0, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_offset.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("f1", 1, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_offset.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("f1", 1, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_offset.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("f5", 5, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_offset.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("f5", 5, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_offset.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("n0", 6, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_offset.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("n0", 6, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_offset.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("noob", 11, offset);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_offset.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("noob", 11, offset);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_bol.c -o tests/unit/test_mark_move_bol
In file included from tests/unit/test_mark_move_bol.c:1:
tests/unit/test_mark_move_bol.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_bol.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_bol.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_bol.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_bol.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_bol.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_bol.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 0, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_get_bline.c -o tests/unit/test_buffer_get_bline
In file included from tests/unit/test_buffer_get_bline.c:1:
tests/unit/test_buffer_get_bline.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline.c:9:9: note: in expansion of macro 'ASSERT'
         ASSERT("line", line, line2);
         ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline.c:9:9: note: in expansion of macro 'ASSERT'
         ASSERT("line", line, line2);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline.c:9:9: note: in expansion of macro 'ASSERT'
         ASSERT("line", line, line2);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get_bline.c:9:9: note: in expansion of macro 'ASSERT'
         ASSERT("line", line, line2);
         ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_register.c -o tests/unit/test_buffer_register
In file included from tests/unit/test_buffer_register.c:1:
tests/unit/test_buffer_register.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_register.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("set", 0, strncmp(reg, "yo", reg_len))
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_register.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("set", 0, strncmp(reg, "yo", reg_len))
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_register.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("pre", 0, strncmp(reg, "gyo", reg_len))
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_register.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("pre", 0, strncmp(reg, "gyo", reg_len))
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_register.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("app", 0, strncmp(reg, "gyo!!!", reg_len))
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_register.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("app", 0, strncmp(reg, "gyo!!!", reg_len))
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_register.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("clr1", 0, reg_len);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_register.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("clr1", 0, reg_len);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_register.c:22:5: note: in expansion of macro 'ASSERT'
     ASSERT("clr2", 1, reg != NULL ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_register.c:22:5: note: in expansion of macro 'ASSERT'
     ASSERT("clr2", 1, reg != NULL ? 1 : 0);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_delete_before.c -o tests/unit/test_mark_delete_before
In file included from tests/unit/test_mark_delete_before.c:1:
tests/unit/test_mark_delete_before.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_before.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("delb", 0, strncmp("hello\nworl", data, data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_before.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("delb", 0, strncmp("hello\nworl", data, data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_swap_with_mark.c -o tests/unit/test_mark_swap_with_mark
In file included from tests/unit/test_mark_swap_with_mark.c:1:
tests/unit/test_mark_swap_with_mark.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("end", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("end", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("end", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("end", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("endcol", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("endcol", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("beg", buf->first_line, other->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("beg", buf->first_line, other->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("beg", buf->first_line, other->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("beg", buf->first_line, other->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("begcol", 0, other->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_swap_with_mark.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("begcol", 0, other->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_lettered.c -o tests/unit/test_mark_lettered
In file included from tests/unit/test_mark_lettered.c:1:
tests/unit/test_mark_lettered.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_lettered.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("neq1", 1, lett1 != cur ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_lettered.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("neq1", 1, lett1 != cur ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_lettered.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("let", '\0', cur->letter);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_lettered.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("let", '\0', cur->letter);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_lettered.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("let", 'a', lett1->letter);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_lettered.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("let", 'a', lett1->letter);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_lettered.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("neq2", 1, lett1 != lett2 ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_lettered.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("neq2", 1, lett1 != lett2 ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_lettered.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("null", 1, lett3 == NULL ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_lettered.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("null", 1, lett3 == NULL ? 1 : 0);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_delete_after.c -o tests/unit/test_mark_delete_after
In file included from tests/unit/test_mark_delete_after.c:1:
tests/unit/test_mark_delete_after.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_after.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("dela", 0, strncmp("ello\nworld", data, data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_after.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("dela", 0, strncmp("ello\nworld", data, data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_insert_before.c -o tests/unit/test_mark_insert_before
In file included from tests/unit/test_mark_insert_before.c:1:
tests/unit/test_mark_insert_before.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_insert_before.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("insb", 0, strncmp("shello\nworld", data, data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_insert_before.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("insb", 0, strncmp("shello\nworld", data, data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_insert_before.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_insert_before.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", 1, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_is_at_word_bound.c -o tests/unit/test_mark_is_at_word_bound
In file included from tests/unit/test_mark_is_at_word_bound.c:1:
tests/unit/test_mark_is_at_word_bound.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:5:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_bol", 1, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:5:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_bol", 1, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_bol", 1, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_bol", 1, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_bol", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_bol", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_mid", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_mid", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_mid", 0, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_mid", 0, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_mid", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_mid", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_eow", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_eow", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_eow", 1, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_eow", 1, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_eow", 1, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_eow", 1, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_sym", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_sym", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_sym", 0, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_sym", 0, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:22:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_sym", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:22:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_sym", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_sym2", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_sym2", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:26:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_sym2", 0, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:26:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_sym2", 0, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:27:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_sym2", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:27:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_sym2", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:30:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_spa1", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:30:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_spa1", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:31:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_spa1", 0, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:31:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_spa1", 0, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:32:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_spa1", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:32:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_spa1", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:35:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_sow", 1, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:35:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_sow", 1, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:36:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_sow", 1, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:36:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_sow", 1, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:37:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_sow", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:37:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_sow", 0, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:40:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_eow2", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:40:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_eow2", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:41:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_eow2", 1, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:41:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_eow2", 1, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:42:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_eow2", 1, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:42:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_eow2", 1, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:45:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_eow2", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:45:5: note: in expansion of macro 'ASSERT'
     ASSERT("l_eow2", 0, mark_is_at_word_bound(cur, -1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:46:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_eow2", 1, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:46:5: note: in expansion of macro 'ASSERT'
     ASSERT("x_eow2", 1, mark_is_at_word_bound(cur, 0));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:47:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_eow2", 1, mark_is_at_word_bound(cur, 1));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_at_word_bound.c:47:5: note: in expansion of macro 'ASSERT'
     ASSERT("r_eow2", 1, mark_is_at_word_bound(cur, 1));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_delete_between_mark.c -o tests/unit/test_mark_delete_between_mark
In file included from tests/unit/test_mark_delete_between_mark.c:1:
tests/unit/test_mark_delete_between_mark.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("count", 0, buf->byte_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("count", 0, buf->byte_count);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_get_between_mark.c -o tests/unit/test_mark_get_between_mark
In file included from tests/unit/test_mark_get_between_mark.c:1:
tests/unit/test_mark_get_between_mark.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_get_between_mark.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("len", 11, str_len);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_get_between_mark.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("len", 11, str_len);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_get_between_mark.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("eq", 0, strncmp(str, "hello\nworld", str_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_get_between_mark.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("eq", 0, strncmp(str, "hello\nworld", str_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_new.c -o tests/unit/test_buffer_new
In file included from tests/unit/test_buffer_new.c:1:
tests/unit/test_buffer_new.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_new.c:4:5: note: in expansion of macro 'ASSERT'
     ASSERT("yes", 1, 1);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_new.c:4:5: note: in expansion of macro 'ASSERT'
     ASSERT("yes", 1, 1);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_is_gt.c -o tests/unit/test_mark_is_gt
In file included from tests/unit/test_mark_is_gt.c:1:
tests/unit/test_mark_is_gt.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_gt.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("gt", 1, mark_is_gt(other, cur));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_gt.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("gt", 1, mark_is_gt(other, cur));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_gt.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("ngt1", 0, mark_is_gt(cur, other));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_gt.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("ngt1", 0, mark_is_gt(cur, other));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_gt.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("ngt2", 0, mark_is_gt(other, cur));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_gt.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("ngt2", 0, mark_is_gt(other, cur));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_gt.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("ngt3", 0, mark_is_gt(cur, other));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_is_gt.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("ngt3", 0, mark_is_gt(cur, other));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_delete_between_mark_2.c -o tests/unit/test_mark_delete_between_mark_2
In file included from tests/unit/test_mark_delete_between_mark_2.c:1:
tests/unit/test_mark_delete_between_mark_2.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("lnct", 1, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("lnct", 1, buf->line_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("data", 0, strncmp("  hello {}", buf->first_line->data, buf->first_line->data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("data", 0, strncmp("  hello {}", buf->first_line->data, buf->first_line->data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("clin", 0, cur->bline->line_index);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("clin", 0, cur->bline->line_index);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("ccol", 9, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("ccol", 9, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("olin", 0, cur->bline->line_index);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("olin", 0, cur->bline->line_index);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("ocol", 9, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_delete_between_mark_2.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("ocol", 9, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_find_bracket_pair.c -o tests/unit/test_mark_find_bracket_pair
In file included from tests/unit/test_mark_find_bracket_pair.c:1:
tests/unit/test_mark_find_bracket_pair.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_find_bracket_pair.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 19, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_find_bracket_pair.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 19, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_find_bracket_pair.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 10, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_find_bracket_pair.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 10, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_get.c -o tests/unit/test_buffer_get
In file included from tests/unit/test_buffer_get.c:1:
tests/unit/test_buffer_get.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("len", 11, data_len);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("len", 11, data_len);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("get", 0, strncmp(data, "hello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_get.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("get", 0, strncmp(data, "hello\nworld", data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_offset.c -o tests/unit/test_mark_move_offset
In file included from tests/unit/test_mark_move_offset.c:1:
tests/unit/test_mark_move_offset.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:5:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:5:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobcol", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobcol", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobline", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobline", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobline", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_offset.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("oobline", buf->first_line->next, cur->bline);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_bline_delete.c -o tests/unit/test_bline_delete
In file included from tests/unit/test_bline_delete.c:1:
tests/unit/test_bline_delete.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("bol", 0, strncmp(data, "ello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("bol", 0, strncmp(data, "ello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("noop", 0, strncmp(data, "ello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("noop", 0, strncmp(data, "ello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("eol", 0, strncmp(data, "ello\nworl", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("eol", 0, strncmp(data, "ello\nworl", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("mid", 0, strncmp(data, "eo\nworl", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("mid", 0, strncmp(data, "eo\nworl", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", 0, strncmp(data, "eo\nwrl", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", 0, strncmp(data, "eo\nwrl", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:29:5: note: in expansion of macro 'ASSERT'
     ASSERT("eatnl", 0, strncmp(data, "eol", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_delete.c:29:5: note: in expansion of macro 'ASSERT'
     ASSERT("eatnl", 0, strncmp(data, "eol", data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_remove_srule.c -o tests/unit/test_buffer_remove_srule
In file included from tests/unit/test_buffer_remove_srule.c:1:
tests/unit/test_buffer_remove_srule.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_remove_srule.c:10:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1fg", 0, buf->first_line->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_remove_srule.c:10:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1fg", 0, buf->first_line->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_remove_srule.c:11:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1bg", 0, buf->first_line->chars[i].style.bg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_remove_srule.c:11:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1bg", 0, buf->first_line->chars[i].style.bg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_remove_srule.c:14:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2fg", 0, buf->first_line->next->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_remove_srule.c:14:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2fg", 0, buf->first_line->next->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_remove_srule.c:15:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2bg", 0, buf->first_line->next->chars[i].style.bg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_remove_srule.c:15:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2bg", 0, buf->first_line->next->chars[i].style.bg);
         ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_set.c -o tests/unit/test_buffer_set
In file included from tests/unit/test_buffer_set.c:1:
tests/unit/test_buffer_set.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("set", 0, strncmp("goodbye\nvoid", data, data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_set.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("set", 0, strncmp("goodbye\nvoid", data, data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_clone.c -o tests/unit/test_mark_clone
In file included from tests/unit/test_mark_clone.c:1:
tests/unit/test_mark_clone.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_clone.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("neq", 1, other != cur ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_clone.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("neq", 1, other != cur ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_clone.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("next", 1, other == cur->next ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_clone.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("next", 1, other == cur->next ? 1 : 0);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_clone.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", cur->bline, other->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_clone.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", cur->bline, other->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_clone.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", cur->bline, other->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_clone.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("line", cur->bline, other->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_clone.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", cur->col, other->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_clone.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("col", cur->col, other->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_prev_str.c -o tests/unit/test_mark_move_prev_str
In file included from tests/unit/test_mark_move_prev_str.c:1:
tests/unit/test_mark_move_prev_str.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 3, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 3, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_prev_str.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 0, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_destroy.c -o tests/unit/test_buffer_destroy
In file included from tests/unit/test_buffer_destroy.c:1:
tests/unit/test_buffer_destroy.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_destroy.c:4:5: note: in expansion of macro 'ASSERT'
     ASSERT("yes", 1, 1);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_destroy.c:4:5: note: in expansion of macro 'ASSERT'
     ASSERT("yes", 1, 1);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_bline_get_col.c -o tests/unit/test_bline_get_col
In file included from tests/unit/test_bline_get_col.c:1:
tests/unit/test_bline_get_col.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("len", 8, buf->first_line->char_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("len", 8, buf->first_line->char_count);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("0", 0, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("0", 0, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("1", 1, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:14:5: note: in expansion of macro 'ASSERT'
     ASSERT("1", 1, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("2", 1, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("2", 1, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("3", 2, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("3", 2, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:23:5: note: in expansion of macro 'ASSERT'
     ASSERT("7", 6, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:23:5: note: in expansion of macro 'ASSERT'
     ASSERT("7", 6, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:26:5: note: in expansion of macro 'ASSERT'
     ASSERT("9", 6, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:26:5: note: in expansion of macro 'ASSERT'
     ASSERT("9", 6, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:29:5: note: in expansion of macro 'ASSERT'
     ASSERT("10", 7, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:29:5: note: in expansion of macro 'ASSERT'
     ASSERT("10", 7, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:32:5: note: in expansion of macro 'ASSERT'
     ASSERT("11", 7, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:32:5: note: in expansion of macro 'ASSERT'
     ASSERT("11", 7, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:35:5: note: in expansion of macro 'ASSERT'
     ASSERT("13", 8, col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_bline_get_col.c:35:5: note: in expansion of macro 'ASSERT'
     ASSERT("13", 8, col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_add_srule.c -o tests/unit/test_buffer_add_srule
In file included from tests/unit/test_buffer_add_srule.c:1:
tests/unit/test_buffer_add_srule.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:13:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1fg", 0, buf->first_line->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:13:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1fg", 0, buf->first_line->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:14:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1bg", 0, buf->first_line->chars[i].style.bg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:14:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1bg", 0, buf->first_line->chars[i].style.bg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:17:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2fg", 1, buf->first_line->next->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:17:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2fg", 1, buf->first_line->next->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:18:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2bg", 2, buf->first_line->next->chars[i].style.bg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:18:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2bg", 2, buf->first_line->next->chars[i].style.bg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:24:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1fg_m", (i == 3 || i == 4 ? 3 : 0), buf->first_line->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:24:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1fg_m", (i == 3 || i == 4 ? 3 : 0), buf->first_line->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:25:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1bg_m", (i == 3 || i == 4 ? 4 : 0), buf->first_line->chars[i].style.bg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:25:9: note: in expansion of macro 'ASSERT'
         ASSERT("line1bg_m", (i == 3 || i == 4 ? 4 : 0), buf->first_line->chars[i].style.bg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:28:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2fg_m", (i == 0 || i == 1 ? 3 : 0), buf->first_line->next->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:28:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2fg_m", (i == 0 || i == 1 ? 3 : 0), buf->first_line->next->chars[i].style.fg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:29:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2bg_m", (i == 0 || i == 1 ? 4 : 0), buf->first_line->next->chars[i].style.bg);
         ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_add_srule.c:29:9: note: in expansion of macro 'ASSERT'
         ASSERT("line2bg_m", (i == 0 || i == 1 ? 4 : 0), buf->first_line->next->chars[i].style.bg);
         ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_bracket_pair.c -o tests/unit/test_mark_move_bracket_pair
In file included from tests/unit/test_mark_move_bracket_pair.c:1:
tests/unit/test_mark_move_bracket_pair.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_bracket_pair.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 19, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_bracket_pair.c:6:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 19, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_bracket_pair.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 10, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_bracket_pair.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 10, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_redo.c -o tests/unit/test_buffer_redo
In file included from tests/unit/test_buffer_redo.c:1:
tests/unit/test_buffer_redo.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_redo.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("del", 0, strncmp(data, "i", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_redo.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("del", 0, strncmp(data, "i", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_redo.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("ins", 0, strncmp(data, "yi", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_redo.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("ins", 0, strncmp(data, "yi", data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_buffer_delete.c -o tests/unit/test_buffer_delete
In file included from tests/unit/test_buffer_delete.c:1:
tests/unit/test_buffer_delete.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_delete.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("bol", 0, strncmp(data, "ello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_delete.c:9:5: note: in expansion of macro 'ASSERT'
     ASSERT("bol", 0, strncmp(data, "ello\nworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_delete.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("nl", 0, strncmp(data, "elloworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_delete.c:13:5: note: in expansion of macro 'ASSERT'
     ASSERT("nl", 0, strncmp(data, "elloworld", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_delete.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", 0, strncmp(data, "ellowor", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_delete.c:17:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", 0, strncmp(data, "ellowor", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_delete.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("all", 0, strncmp(data, "", data_len));
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_buffer_delete.c:21:5: note: in expansion of macro 'ASSERT'
     ASSERT("all", 0, strncmp(data, "", data_len));
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_next_re.c -o tests/unit/test_mark_move_next_re
In file included from tests/unit/test_mark_move_next_re.c:1:
tests/unit/test_mark_move_next_re.c: In function 'main':
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:8:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1again", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1again", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1again", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:11:5: note: in expansion of macro 'ASSERT'
     ASSERT("line1again", buf->first_line->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1again", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:12:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1again", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:15:5: note: in expansion of macro 'ASSERT'
     ASSERT("line2", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:16:5: note: in expansion of macro 'ASSERT'
     ASSERT("col2", 1, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:19:5: note: in expansion of macro 'ASSERT'
     ASSERT("line3", buf->first_line->next->next, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 3, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:20:5: note: in expansion of macro 'ASSERT'
     ASSERT("col3", 3, cur->col);
     ^~~~~~
tests/unit/test.h:31:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                   ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("line4", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:103: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                                                                                                       ^
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("line4", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("line4", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:24:5: note: in expansion of macro 'ASSERT'
     ASSERT("line4", buf->first_line, cur->bline);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("col4", 0, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_next_re.c:25:5: note: in expansion of macro 'ASSERT'
     ASSERT("col4", 0, cur->col);
     ^~~~~~
cc -std=c99 -Wall -Wextra -pedantic -Wno-pointer-arith -Wno-unused-result -Wno-unused-parameter -g -O3 -D_GNU_SOURCE -I.  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security uscript.o bview.o editor.o aproc.o cursor.o util.o mark.o buffer.o cmd.o utf8.o bline.o -Wl,-z,relro -Wl,-z,now -lpcre -ltermbox -llua5.3 -lm  tests/unit/test_mark_move_col.c -o tests/unit/test_mark_move_col
In file included from tests/unit/test_mark_move_col.c:1:
tests/unit/test_mark_move_col.c: In function 'main':
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_col.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_col.c:7:5: note: in expansion of macro 'ASSERT'
     ASSERT("col1", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~              ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_col.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", 5, cur->col);
     ^~~~~~
tests/unit/test.h:31:16: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long int' [-Wformat=]
         printf("  \x1b[31mERR\x1b[0m %s expected=%lu observed=%lu\n", (testname), (bint_t)(expected), (bint_t)(observed)); \
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                  ~~~~~~~~~~~~~~~~~~
tests/unit/test.h:22:5: note: in definition of macro 'MAIN'
     body \
     ^~~~
tests/unit/test_mark_move_col.c:10:5: note: in expansion of macro 'ASSERT'
     ASSERT("oob", 5, cur->col);
     ^~~~~~
./mle -v && export MLE=$(pwd)/mle && /usr/bin/make -C tests
mle version 1.3
make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
./run.sh
mle version 1.3
TEST test_buffer_insert
  OK  bol
  OK  bolnchars
  OK  3
  OK  3nchars
  OK  nlnl
  OK  nlnlnchars
  OK  oob

TEST test_mark_move_to
  OK  lin1
  OK  col1
  OK  lin2
  OK  col2
  OK  lin3
  OK  col3
  OK  lin4
  OK  col4
  OK  oob1lin
  OK  oob1col
  OK  oob2lin
  OK  oob2col
  OK  oob3lin
  OK  oob3col

TEST test_mark_move_next_str
  OK  line1
  OK  col1
  OK  line1again
  OK  col1again
  OK  line2
  OK  col2
  OK  line3
  OK  col3

TEST test_buffer_undo
  OK  del
  OK  ins

TEST test_mark_set_pcre_ovector
  OK  set
  OK  bline
  OK  col
  OK  nchars
  OK  rc
  OK  vec1a
  OK  vec1b
  OK  vec2a
  OK  vec2b

TEST test_buffer_substr
  OK  datalen
  OK  nchars
  OK  substr

TEST test_mark_insert_after
  OK  insa
  OK  col

TEST test_bline_insert
  OK  nl
  OK  my
  OK  bol
  OK  eol
  OK  oob

TEST test_mark_move_eol
  OK  line
  OK  col

TEST test_buffer_add_mark
  OK  mark0bline
  OK  mark0col
  OK  mark1bline
  OK  mark1col

TEST test_mark_move_prev_re
  OK  line3
  OK  col3
  OK  line2
  OK  col2
  OK  line1
  OK  col1
  OK  cflex_line
  OK  cflex_col

TEST test_buffer_set_callback
  OK  bufp
  OK  udata
  OK  bac_type
  OK  bac_buf
  OK  bac_start_line
  OK  bac_start_line_index
  OK  bac_start_col
  OK  bac_maybe_end_line
  OK  bac_maybe_end_line_index
  OK  bac_maybe_end_col
  OK  bac_byte_delta
  OK  bac_char_delta
  OK  bac_line_delta
  OK  bac_data

TEST test_buffer_get_bline_col
  OK  0line
  OK  0col
  OK  1line
  OK  1col
  OK  5line
  OK  5col
  OK  6line
  OK  6col
  OK  oobline
  OK  oobcol

TEST test_mark_move_by
  OK  col1
  OK  col2
  OK  col3
  OK  line3
  OK  col4
  OK  line4

TEST test_buffer_replace
  OK  rpl1
  OK  r1bc
  OK  r1lc
  OK  rpl2
  OK  r2bc
  OK  r2lc
  OK  rpl3
  ERR r3bc expected=14 observed=0

TEST test_mark_get_offset
  OK  offset
  OK  offset

TEST test_mark_move_vert
  OK  oob
  OK  noop
  OK  noop
  OK  col
  OK  tcol

TEST test_buffer_set_tab_width
  OK  count4
  OK  width4
  OK  vcol4
  OK  vcol4
  OK  vcol4
  OK  vcol4
  OK  vcol4
  OK  vcol4
  OK  vcol4
  OK  vcol4
  OK  count2a
  OK  width2a
  OK  vcol2a
  OK  vcol2a
  OK  vcol2a
  OK  vcol2a
  OK  vcol2a
  OK  vcol2a
  OK  vcol2a
  OK  vcol2a
  OK  count2b
  OK  width2b
  OK  vcol2b
  OK  vcol2b
  OK  vcol2b
  OK  vcol2b
  OK  vcol2b
  OK  vcol2b
  OK  vcol2b
  OK  vcol2b
  OK  vcol2b

TEST test_recalloc
  OK  preserve_a
  OK  preserve_b
  OK  zerod

TEST test_buffer_get_offset
  OK  f0
  OK  f1
  OK  f5
  OK  n0
  OK  noob

TEST test_mark_move_bol
  OK  line
  OK  col

TEST test_buffer_get_bline
  OK  line
  OK  line
  OK  line
  OK  line
  OK  line
  OK  line

TEST test_buffer_register
  OK  set
  OK  pre
  OK  app
  OK  clr1
  OK  clr2

TEST test_mark_delete_before
  OK  delb

TEST test_mark_swap_with_mark
  OK  end
  OK  endcol
  OK  beg
  OK  begcol

TEST test_mark_lettered
  OK  neq1
  OK  let
  OK  let
  OK  neq2
  OK  null

TEST test_mark_delete_after
  OK  dela

TEST test_mark_insert_before
  OK  insb
  OK  col

TEST test_mark_is_at_word_bound
  OK  l_bol
  OK  x_bol
  OK  r_bol
  OK  l_mid
  OK  x_mid
  OK  r_mid
  OK  l_eow
  OK  x_eow
  OK  r_eow
  OK  l_sym
  OK  x_sym
  OK  r_sym
  OK  l_sym2
  OK  x_sym2
  OK  r_sym2
  OK  l_spa1
  OK  x_spa1
  OK  r_spa1
  OK  l_sow
  OK  x_sow
  OK  r_sow
  OK  l_eow2
  OK  x_eow2
  OK  r_eow2
  OK  l_eow2
  OK  x_eow2
  OK  r_eow2

TEST test_mark_delete_between_mark
  OK  count

TEST test_mark_get_between_mark
  OK  len
  OK  eq

TEST test_buffer_new
  OK  yes

TEST test_mark_is_gt
  OK  gt
  OK  ngt1
  OK  ngt2
  OK  ngt3

TEST test_mark_delete_between_mark_2
  OK  lnct
  OK  data
  OK  clin
  OK  ccol
  OK  olin
  OK  ocol

TEST test_mark_find_bracket_pair
  OK  col1
  OK  col2

TEST test_buffer_get
  OK  len
  OK  get

TEST test_mark_move_offset
  OK  col1
  OK  line1
  OK  col2
  OK  line2
  OK  oobcol
  OK  oobline

TEST test_bline_delete
  OK  bol
  OK  noop
  OK  eol
  OK  mid
  OK  oob
  OK  eatnl

TEST test_buffer_remove_srule
  OK  line1fg
  OK  line1bg
  OK  line1fg
  OK  line1bg
  OK  line1fg
  OK  line1bg
  OK  line1fg
  OK  line1bg
  OK  line1fg
  OK  line1bg
  OK  line2fg
  OK  line2bg
  OK  line2fg
  OK  line2bg
  OK  line2fg
  OK  line2bg
  OK  line2fg
  OK  line2bg
  OK  line2fg
  OK  line2bg

TEST test_buffer_set
  OK  set

TEST test_mark_clone
  OK  neq
  OK  next
  OK  line
  OK  col

TEST test_mark_move_prev_str
  OK  line3
  OK  col3
  OK  line2
  OK  col2
  OK  line1
  OK  col1

TEST test_buffer_destroy
  OK  yes

TEST test_bline_get_col
  OK  len
  OK  0
  OK  1
  OK  2
  OK  3
  OK  7
  OK  9
  OK  10
  OK  11
  OK  13

TEST test_buffer_add_srule
  OK  line1fg
  OK  line1bg
  OK  line1fg
  OK  line1bg
  OK  line1fg
  OK  line1bg
  OK  line1fg
  OK  line1bg
  OK  line1fg
  OK  line1bg
  OK  line2fg
  OK  line2bg
  OK  line2fg
  OK  line2bg
  OK  line2fg
  OK  line2bg
  OK  line2fg
  OK  line2bg
  OK  line2fg
  OK  line2bg
  OK  line1fg_m
  OK  line1bg_m
  OK  line1fg_m
  OK  line1bg_m
  OK  line1fg_m
  OK  line1bg_m
  OK  line1fg_m
  OK  line1bg_m
  OK  line1fg_m
  OK  line1bg_m
  OK  line2fg_m
  OK  line2bg_m
  OK  line2fg_m
  OK  line2bg_m
  OK  line2fg_m
  OK  line2bg_m
  OK  line2fg_m
  OK  line2bg_m
  OK  line2fg_m
  OK  line2bg_m

TEST test_mark_move_bracket_pair
  OK  col1
  OK  col2

TEST test_buffer_redo
  OK  del
  OK  ins

TEST test_buffer_delete
  OK  bol
  OK  nl
  OK  oob
  OK  all

TEST test_mark_move_next_re
  OK  line1
  OK  col1
  OK  line1again
  OK  col1again
  OK  line2
  OK  col2
  OK  line3
  OK  col3
  OK  line4
  OK  col4

TEST test_mark_move_col
  OK  col1
  OK  oob

TEST test_window.sh
  OK  new_bview_count
  OK  close_bview_count
  OK  new2_data1
  OK  new2_data2
  OK  next-prev_data2
  OK  next-prev_data1

TEST test_indent_outdent.sh
  OK  indent_data
  OK  outdent_data
  OK  sel-indent_data2
  OK  sel-indent_data1
  OK  sel-indent_data2
  OK  sel-indent_data1

TEST test_undo_redo.sh
  OK  undo_data
  OK  redo_data

TEST test_show_help.sh
  OK  help

TEST test_lua.sh
  OK  simple_data
  OK  open_bview_count
  OK  open_data2      
  OK  open_data1      
  OK  prompt_data
  OK  observer_data
  OK  observer_data2  
  OK  observer_output1
  OK  observer_data1  

TEST test_delete.sh
  ERR bs_byte_count expected=^bview.0.buffer.byte_count=3$

bview.0.cursor.0.mark.line_index=0
bview.0.cursor.0.mark.col=3
bview.0.cursor_count=1
bview.0.buffer.byte_count=387936000
bview.0.buffer.line_count=387936000
bview.0.buffer.data_begin
foo
bview.0.buffer.data_end
bview_count=1

TEST test_cut_copy.sh
  OK  cut_data
  OK  uncut_data
  OK  copy_data
  OK  sel-cut_data
  OK  sel-uncut_data
  OK  sel-copy_data
  OK  cut-by-bracket_data
  OK  cut-by-word_data
  OK  cut-by-word-back_data
  OK  cut-by-word-forward_data
  OK  cut-by-bol_data
  OK  cut-by-eol_data
  OK  cut-by-eol_data
  OK  global-cut-buffer_data

TEST test_search_replace.sh
  OK  search_cursor_line
  OK  search_cursor_col 
  OK  next_cursor_line
  OK  next_cursor_col 
  OK  next-wrap_cursor_col 
  OK  next-wrap_cursor_line
  OK  find_cursor_line
  OK  find_cursor_col 
  OK  find-wrap_cursor_line
  OK  find-wrap_cursor_col 
  OK  isearch_cursor_line
  OK  iesarch_cursor_col 
  OK  replace1_data
  OK  replace2_data
  OK  replace3_data2
  OK  replace3_data3
  OK  replace3_data1
  OK  history_col 
  OK  history_line

TEST test_shell.sh
  OK  shell_data

TEST test_move.sh
  OK  dpad_cursor_line
  OK  dpad_cursor_col 
  OK  bol_cursor_line
  OK  bol_cursor_col 
  OK  eol_cursor_col 
  OK  eol_cursor_line
  OK  beg-end_cursor_line
  OK  beg-end_cursor_col 
  OK  to-line_cursor_col
  OK  relative_cursor_col
  OK  until_cursor_col
  OK  word_cursor_col
  OK  bracket_cursor_col
  OK  bracket_toggle_b   
  OK  bracket_toggle_line
  OK  bracket_toggle_a   
  OK  bracket_toggle_col 
  OK  jump_cursor_col

TEST test_multi_cursor.sh
  OK  isearch_cursor_count
  OK  isearch_data        
  OK  drop-wake_cursor_count
  OK  drop-wake_data        
  OK  column_cursor_count
  OK  column_data1       
  OK  column_data2       
  OK  column_data3       

TEST test_insert.sh
  ERR a_byte_count expected=^bview.0.buffer.byte_count=12$

bview.0.cursor.0.mark.line_index=2
bview.0.cursor.0.mark.col=0
bview.0.cursor_count=1
bview.0.buffer.byte_count=632518144
bview.0.buffer.line_count=632518144
bview.0.buffer.data_begin
hello
world

bview.0.buffer.data_end
bview_count=1

Passed 59 out of 62 tests
make[3]: *** [Makefile:2: all] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[2]: *** [Makefile:43: test] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2019-01-19T23:02:48Z

Finished
--------


+------------------------------------------------------------------------------+
| Cleanup                                                                      |
+------------------------------------------------------------------------------+

Purging /<<BUILDDIR>>
Not cleaning session: cloned chroot in use
E: Build failure (dpkg-buildpackage died)

+------------------------------------------------------------------------------+
| Summary                                                                      |
+------------------------------------------------------------------------------+

Build Architecture: armhf
Build-Space: 0
Build-Time: 87
Distribution: buster-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 369
Job: mle_1.3-1
Machine Architecture: armhf
Package: mle
Package-Time: 510
Source-Version: 1.3-1
Space: 0
Status: failed
Version: 1.3-1
--------------------------------------------------------------------------------
Finished at 2019-01-19T23:02:48Z
Build needed 00:00:00, 0k disc space