Raspbian Package Auto-Building

Build log for python-apsw (3.42.0.1-1) on armhf

python-apsw3.42.0.1-1armhf → 2023-09-17 17:22:38

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

+==============================================================================+
| python-apsw 3.42.0.1-1 (armhf)               Sun, 17 Sep 2023 17:10:51 +0000 |
+==============================================================================+

Package: python-apsw
Version: 3.42.0.1-1
Source Version: 3.42.0.1-1
Distribution: trixie-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/trixie-staging-armhf-sbuild-3c0e2b6a-5010-4e2e-9243-5a2973e26eca' with '<<CHROOT>>'

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

Get:1 http://172.17.4.1/private trixie-staging InRelease [11.3 kB]
Get:2 http://172.17.4.1/private trixie-staging/main Sources [14.1 MB]
Get:3 http://172.17.4.1/private trixie-staging/main armhf Packages [14.6 MB]
Fetched 28.7 MB in 29s (997 kB/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
W: http://172.17.4.1/private/dists/trixie-staging/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

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


Check APT
---------

Checking available source versions...

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

Reading package lists...
Need to get 3503 kB of source archives.
Get:1 http://172.17.4.1/private trixie-staging/main python-apsw 3.42.0.1-1 (dsc) [1860 B]
Get:2 http://172.17.4.1/private trixie-staging/main python-apsw 3.42.0.1-1 (tar) [3497 kB]
Get:3 http://172.17.4.1/private trixie-staging/main python-apsw 3.42.0.1-1 (diff) [5076 B]
Fetched 3503 kB in 0s (8301 kB/s)
Download complete and in download only mode
I: NOTICE: Log filtering will replace 'build/python-apsw-I5whmQ/python-apsw-3.42.0.1' with '<<PKGBUILDDIR>>'
I: NOTICE: Log filtering will replace 'build/python-apsw-I5whmQ' 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-Oze5L5/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-Oze5L5/gpg/pubring.kbx' created
gpg: /<<BUILDDIR>>/resolver-Oze5L5/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-Oze5L5/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-Oze5L5/apt_archive ./ Release [957 B]
Get:3 copy:/<<BUILDDIR>>/resolver-Oze5L5/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-Oze5L5/apt_archive ./ Sources [349 B]
Get:5 copy:/<<BUILDDIR>>/resolver-Oze5L5/apt_archive ./ Packages [432 B]
Fetched 2108 B in 1s (2572 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:
  krb5-locales libpam-cap netbase sensible-utils sgml-base
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 32 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-Oze5L5/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 (23.4 kB/s)
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 11771 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 all)

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


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

Merged Build-Depends: debhelper-compat (= 12), dh-python, python3-all-dev, python3-setuptools, libsqlite3-dev (>= 3.32.0)
Filtered Build-Depends: debhelper-compat (= 12), dh-python, python3-all-dev, python3-setuptools, libsqlite3-dev (>= 3.32.0)
dpkg-deb: building package 'sbuild-build-depends-python-apsw-dummy' in '/<<BUILDDIR>>/resolver-Oze5L5/apt_archive/sbuild-build-depends-python-apsw-dummy.deb'.
dpkg-scanpackages: warning: Packages in archive but missing from override file:
dpkg-scanpackages: warning:   sbuild-build-depends-core-dummy sbuild-build-depends-python-apsw-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-Oze5L5/apt_archive ./ InRelease
Get:2 copy:/<<BUILDDIR>>/resolver-Oze5L5/apt_archive ./ Release [963 B]
Get:3 copy:/<<BUILDDIR>>/resolver-Oze5L5/apt_archive ./ Release.gpg [370 B]
Get:4 copy:/<<BUILDDIR>>/resolver-Oze5L5/apt_archive ./ Sources [537 B]
Get:5 copy:/<<BUILDDIR>>/resolver-Oze5L5/apt_archive ./ Packages [619 B]
Fetched 2489 B in 1s (3262 B/s)
Reading package lists...
W: No sandbox user '_apt' on the system, can not drop privileges
Reading package lists...

Install python-apsw 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:
  krb5-locales libpam-cap netbase sgml-base
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-python dh-strip-nondeterminism dwz file gettext
  gettext-base groff-base intltool-debian libarchive-zip-perl
  libdebhelper-perl libelf1 libexpat1 libexpat1-dev
  libfile-stripnondeterminism-perl libicu72 libjs-jquery libjs-sphinxdoc
  libjs-underscore libmagic-mgc libmagic1 libpipeline1 libpython3-all-dev
  libpython3-dev libpython3-stdlib libpython3.11 libpython3.11-dev
  libpython3.11-minimal libpython3.11-stdlib libsqlite3-dev
  libsub-override-perl libtool libuchardet0 libxml2 m4 man-db media-types
  po-debconf python3 python3-all python3-all-dev python3-dev python3-distutils
  python3-lib2to3 python3-minimal python3-pkg-resources python3-setuptools
  python3.11 python3.11-dev python3.11-minimal zlib1g zlib1g-dev
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc dh-make flit python3-build
  python3-installer python3-wheel gettext-doc libasprintf-dev libgettextpo-dev
  groff sqlite3-doc libtool-doc gfortran | fortran95-compiler gcj-jdk m4-doc
  apparmor less www-browser libmail-box-perl python3-doc python3-tk
  python3-venv python-setuptools-doc python3.11-venv python3.11-doc
  binfmt-support
Recommended packages:
  curl | wget | lynx libarchive-cpio-perl javascript-common libltdl-dev
  libmail-sendmail-perl ca-certificates
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev bsdextrautils debhelper
  dh-autoreconf dh-python dh-strip-nondeterminism dwz file gettext
  gettext-base groff-base intltool-debian libarchive-zip-perl
  libdebhelper-perl libelf1 libexpat1 libexpat1-dev
  libfile-stripnondeterminism-perl libicu72 libjs-jquery libjs-sphinxdoc
  libjs-underscore libmagic-mgc libmagic1 libpipeline1 libpython3-all-dev
  libpython3-dev libpython3-stdlib libpython3.11 libpython3.11-dev
  libpython3.11-minimal libpython3.11-stdlib libsqlite3-dev
  libsub-override-perl libtool libuchardet0 libxml2 m4 man-db media-types
  po-debconf python3 python3-all python3-all-dev python3-dev python3-distutils
  python3-lib2to3 python3-minimal python3-pkg-resources python3-setuptools
  python3.11 python3.11-dev python3.11-minimal
  sbuild-build-depends-python-apsw-dummy zlib1g-dev
The following packages will be upgraded:
  zlib1g
1 upgraded, 58 newly installed, 0 to remove and 31 not upgraded.
Need to get 32.1 MB of archives.
After this operation, 125 MB of additional disk space will be used.
Get:1 copy:/<<BUILDDIR>>/resolver-Oze5L5/apt_archive ./ sbuild-build-depends-python-apsw-dummy 0.invalid.0 [904 B]
Get:2 http://172.17.4.1/private trixie-staging/main armhf libpython3.11-minimal armhf 3.11.5-3 [800 kB]
Get:3 http://172.17.4.1/private trixie-staging/main armhf libexpat1 armhf 2.5.0-1 [77.2 kB]
Get:4 http://172.17.4.1/private trixie-staging/main armhf zlib1g armhf 1:1.2.13.dfsg-3 [73.6 kB]
Get:5 http://172.17.4.1/private trixie-staging/main armhf python3.11-minimal armhf 3.11.5-3 [1676 kB]
Get:6 http://172.17.4.1/private trixie-staging/main armhf python3-minimal armhf 3.11.2-1 [26.0 kB]
Get:7 http://172.17.4.1/private trixie-staging/main armhf media-types all 10.1.0 [26.9 kB]
Get:8 http://172.17.4.1/private trixie-staging/main armhf libpython3.11-stdlib armhf 3.11.5-3 [1675 kB]
Get:9 http://172.17.4.1/private trixie-staging/main armhf python3.11 armhf 3.11.5-3 [582 kB]
Get:10 http://172.17.4.1/private trixie-staging/main armhf libpython3-stdlib armhf 3.11.2-1 [9012 B]
Get:11 http://172.17.4.1/private trixie-staging/main armhf python3 armhf 3.11.2-1 [26.0 kB]
Get:12 http://172.17.4.1/private trixie-staging/main armhf libuchardet0 armhf 0.0.7-1 [65.0 kB]
Get:13 http://172.17.4.1/private trixie-staging/main armhf groff-base armhf 1.22.4-10 [774 kB]
Get:14 http://172.17.4.1/private trixie-staging/main armhf bsdextrautils armhf 2.38.1-5 [78.5 kB]
Get:15 http://172.17.4.1/private trixie-staging/main armhf libpipeline1 armhf 1.5.7-1 [33.4 kB]
Get:16 http://172.17.4.1/private trixie-staging/main armhf man-db armhf 2.11.2-3 [1342 kB]
Get:17 http://172.17.4.1/private trixie-staging/main armhf libmagic-mgc armhf 1:5.44-3 [305 kB]
Get:18 http://172.17.4.1/private trixie-staging/main armhf libmagic1 armhf 1:5.44-3 [95.3 kB]
Get:19 http://172.17.4.1/private trixie-staging/main armhf file armhf 1:5.44-3 [41.5 kB]
Get:20 http://172.17.4.1/private trixie-staging/main armhf gettext-base armhf 0.21-12 [156 kB]
Get:21 http://172.17.4.1/private trixie-staging/main armhf m4 armhf 1.4.19-3 [256 kB]
Get:22 http://172.17.4.1/private trixie-staging/main armhf autoconf all 2.71-3 [332 kB]
Get:23 http://172.17.4.1/private trixie-staging/main armhf autotools-dev all 20220109.1 [51.6 kB]
Get:24 http://172.17.4.1/private trixie-staging/main armhf automake all 1:1.16.5-1.3 [823 kB]
Get:25 http://172.17.4.1/private trixie-staging/main armhf autopoint all 0.21-13 [496 kB]
Get:26 http://172.17.4.1/private trixie-staging/main armhf libdebhelper-perl all 13.11.6 [81.9 kB]
Get:27 http://172.17.4.1/private trixie-staging/main armhf libtool all 2.4.7-7 [517 kB]
Get:28 http://172.17.4.1/private trixie-staging/main armhf dh-autoreconf all 20 [17.1 kB]
Get:29 http://172.17.4.1/private trixie-staging/main armhf libarchive-zip-perl all 1.68-1 [104 kB]
Get:30 http://172.17.4.1/private trixie-staging/main armhf libsub-override-perl all 0.09-4 [9304 B]
Get:31 http://172.17.4.1/private trixie-staging/main armhf libfile-stripnondeterminism-perl all 1.13.1-1 [19.4 kB]
Get:32 http://172.17.4.1/private trixie-staging/main armhf dh-strip-nondeterminism all 1.13.1-1 [8620 B]
Get:33 http://172.17.4.1/private trixie-staging/main armhf libelf1 armhf 0.188-2.1+rpi1 [171 kB]
Get:34 http://172.17.4.1/private trixie-staging/main armhf dwz armhf 0.15-1 [92.4 kB]
Get:35 http://172.17.4.1/private trixie-staging/main armhf libicu72 armhf 72.1-3 [9009 kB]
Get:36 http://172.17.4.1/private trixie-staging/main armhf libxml2 armhf 2.9.14+dfsg-1.3 [571 kB]
Get:37 http://172.17.4.1/private trixie-staging/main armhf gettext armhf 0.21-12 [1201 kB]
Get:38 http://172.17.4.1/private trixie-staging/main armhf intltool-debian all 0.35.0+20060710.6 [22.9 kB]
Get:39 http://172.17.4.1/private trixie-staging/main armhf po-debconf all 1.0.21+nmu1 [248 kB]
Get:40 http://172.17.4.1/private trixie-staging/main armhf debhelper all 13.11.6 [952 kB]
Get:41 http://172.17.4.1/private trixie-staging/main armhf python3-lib2to3 all 3.11.5-1 [77.5 kB]
Get:42 http://172.17.4.1/private trixie-staging/main armhf python3-distutils all 3.11.5-1 [131 kB]
Get:43 http://172.17.4.1/private trixie-staging/main armhf dh-python all 6.20230825 [106 kB]
Get:44 http://172.17.4.1/private trixie-staging/main armhf libexpat1-dev armhf 2.5.0-1 [130 kB]
Get:45 http://172.17.4.1/private trixie-staging/main armhf libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB]
Get:46 http://172.17.4.1/private trixie-staging/main armhf libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB]
Get:47 http://172.17.4.1/private trixie-staging/main armhf libjs-sphinxdoc all 5.3.0-7 [131 kB]
Get:48 http://172.17.4.1/private trixie-staging/main armhf libpython3.11 armhf 3.11.5-3 [1660 kB]
Get:49 http://172.17.4.1/private trixie-staging/main armhf zlib1g-dev armhf 1:1.2.13.dfsg-3 [901 kB]
Get:50 http://172.17.4.1/private trixie-staging/main armhf libpython3.11-dev armhf 3.11.5-3 [3370 kB]
Get:51 http://172.17.4.1/private trixie-staging/main armhf libpython3-dev armhf 3.11.2-1 [9248 B]
Get:52 http://172.17.4.1/private trixie-staging/main armhf libpython3-all-dev armhf 3.11.2-1 [1064 B]
Get:53 http://172.17.4.1/private trixie-staging/main armhf libsqlite3-dev armhf 3.40.1-2 [893 kB]
Get:54 http://172.17.4.1/private trixie-staging/main armhf python3-all armhf 3.11.2-1 [1060 B]
Get:55 http://172.17.4.1/private trixie-staging/main armhf python3.11-dev armhf 3.11.5-3 [623 kB]
Get:56 http://172.17.4.1/private trixie-staging/main armhf python3-dev armhf 3.11.2-1 [26.2 kB]
Get:57 http://172.17.4.1/private trixie-staging/main armhf python3-all-dev armhf 3.11.2-1 [1068 B]
Get:58 http://172.17.4.1/private trixie-staging/main armhf python3-pkg-resources all 68.1.2-1 [241 kB]
Get:59 http://172.17.4.1/private trixie-staging/main armhf python3-setuptools all 68.1.2-1 [468 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 32.1 MB in 3s (11.3 MB/s)
Selecting previously unselected package libpython3.11-minimal:armhf.
(Reading database ... 11771 files and directories currently installed.)
Preparing to unpack .../libpython3.11-minimal_3.11.5-3_armhf.deb ...
Unpacking libpython3.11-minimal:armhf (3.11.5-3) ...
Selecting previously unselected package libexpat1:armhf.
Preparing to unpack .../libexpat1_2.5.0-1_armhf.deb ...
Unpacking libexpat1:armhf (2.5.0-1) ...
Preparing to unpack .../zlib1g_1%3a1.2.13.dfsg-3_armhf.deb ...
Unpacking zlib1g:armhf (1:1.2.13.dfsg-3) over (1:1.2.13.dfsg-1) ...
Setting up zlib1g:armhf (1:1.2.13.dfsg-3) ...
Selecting previously unselected package python3.11-minimal.
(Reading database ... 12076 files and directories currently installed.)
Preparing to unpack .../python3.11-minimal_3.11.5-3_armhf.deb ...
Unpacking python3.11-minimal (3.11.5-3) ...
Setting up libpython3.11-minimal:armhf (3.11.5-3) ...
Setting up libexpat1:armhf (2.5.0-1) ...
Setting up python3.11-minimal (3.11.5-3) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 12087 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.11.2-1_armhf.deb ...
Unpacking python3-minimal (3.11.2-1) ...
Selecting previously unselected package media-types.
Preparing to unpack .../media-types_10.1.0_all.deb ...
Unpacking media-types (10.1.0) ...
Selecting previously unselected package libpython3.11-stdlib:armhf.
Preparing to unpack .../libpython3.11-stdlib_3.11.5-3_armhf.deb ...
Unpacking libpython3.11-stdlib:armhf (3.11.5-3) ...
Selecting previously unselected package python3.11.
Preparing to unpack .../python3.11_3.11.5-3_armhf.deb ...
Unpacking python3.11 (3.11.5-3) ...
Selecting previously unselected package libpython3-stdlib:armhf.
Preparing to unpack .../libpython3-stdlib_3.11.2-1_armhf.deb ...
Unpacking libpython3-stdlib:armhf (3.11.2-1) ...
Setting up python3-minimal (3.11.2-1) ...
Selecting previously unselected package python3.
(Reading database ... 12495 files and directories currently installed.)
Preparing to unpack .../00-python3_3.11.2-1_armhf.deb ...
Unpacking python3 (3.11.2-1) ...
Selecting previously unselected package libuchardet0:armhf.
Preparing to unpack .../01-libuchardet0_0.0.7-1_armhf.deb ...
Unpacking libuchardet0:armhf (0.0.7-1) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../02-groff-base_1.22.4-10_armhf.deb ...
Unpacking groff-base (1.22.4-10) ...
Selecting previously unselected package bsdextrautils.
Preparing to unpack .../03-bsdextrautils_2.38.1-5_armhf.deb ...
Unpacking bsdextrautils (2.38.1-5) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../04-libpipeline1_1.5.7-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.5.7-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../05-man-db_2.11.2-3_armhf.deb ...
Unpacking man-db (2.11.2-3) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../06-libmagic-mgc_1%3a5.44-3_armhf.deb ...
Unpacking libmagic-mgc (1:5.44-3) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../07-libmagic1_1%3a5.44-3_armhf.deb ...
Unpacking libmagic1:armhf (1:5.44-3) ...
Selecting previously unselected package file.
Preparing to unpack .../08-file_1%3a5.44-3_armhf.deb ...
Unpacking file (1:5.44-3) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../09-gettext-base_0.21-12_armhf.deb ...
Unpacking gettext-base (0.21-12) ...
Selecting previously unselected package m4.
Preparing to unpack .../10-m4_1.4.19-3_armhf.deb ...
Unpacking m4 (1.4.19-3) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../11-autoconf_2.71-3_all.deb ...
Unpacking autoconf (2.71-3) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../12-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../13-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../14-autopoint_0.21-13_all.deb ...
Unpacking autopoint (0.21-13) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../15-libdebhelper-perl_13.11.6_all.deb ...
Unpacking libdebhelper-perl (13.11.6) ...
Selecting previously unselected package libtool.
Preparing to unpack .../16-libtool_2.4.7-7_all.deb ...
Unpacking libtool (2.4.7-7) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../17-dh-autoreconf_20_all.deb ...
Unpacking dh-autoreconf (20) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../18-libarchive-zip-perl_1.68-1_all.deb ...
Unpacking libarchive-zip-perl (1.68-1) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../19-libsub-override-perl_0.09-4_all.deb ...
Unpacking libsub-override-perl (0.09-4) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../20-libfile-stripnondeterminism-perl_1.13.1-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.13.1-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../21-dh-strip-nondeterminism_1.13.1-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.13.1-1) ...
Selecting previously unselected package libelf1:armhf.
Preparing to unpack .../22-libelf1_0.188-2.1+rpi1_armhf.deb ...
Unpacking libelf1:armhf (0.188-2.1+rpi1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../23-dwz_0.15-1_armhf.deb ...
Unpacking dwz (0.15-1) ...
Selecting previously unselected package libicu72:armhf.
Preparing to unpack .../24-libicu72_72.1-3_armhf.deb ...
Unpacking libicu72:armhf (72.1-3) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../25-libxml2_2.9.14+dfsg-1.3_armhf.deb ...
Unpacking libxml2:armhf (2.9.14+dfsg-1.3) ...
Selecting previously unselected package gettext.
Preparing to unpack .../26-gettext_0.21-12_armhf.deb ...
Unpacking gettext (0.21-12) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../27-intltool-debian_0.35.0+20060710.6_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.6) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../28-po-debconf_1.0.21+nmu1_all.deb ...
Unpacking po-debconf (1.0.21+nmu1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../29-debhelper_13.11.6_all.deb ...
Unpacking debhelper (13.11.6) ...
Selecting previously unselected package python3-lib2to3.
Preparing to unpack .../30-python3-lib2to3_3.11.5-1_all.deb ...
Unpacking python3-lib2to3 (3.11.5-1) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../31-python3-distutils_3.11.5-1_all.deb ...
Unpacking python3-distutils (3.11.5-1) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../32-dh-python_6.20230825_all.deb ...
Unpacking dh-python (6.20230825) ...
Selecting previously unselected package libexpat1-dev:armhf.
Preparing to unpack .../33-libexpat1-dev_2.5.0-1_armhf.deb ...
Unpacking libexpat1-dev:armhf (2.5.0-1) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../34-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ...
Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../35-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ...
Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../36-libjs-sphinxdoc_5.3.0-7_all.deb ...
Unpacking libjs-sphinxdoc (5.3.0-7) ...
Selecting previously unselected package libpython3.11:armhf.
Preparing to unpack .../37-libpython3.11_3.11.5-3_armhf.deb ...
Unpacking libpython3.11:armhf (3.11.5-3) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../38-zlib1g-dev_1%3a1.2.13.dfsg-3_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.13.dfsg-3) ...
Selecting previously unselected package libpython3.11-dev:armhf.
Preparing to unpack .../39-libpython3.11-dev_3.11.5-3_armhf.deb ...
Unpacking libpython3.11-dev:armhf (3.11.5-3) ...
Selecting previously unselected package libpython3-dev:armhf.
Preparing to unpack .../40-libpython3-dev_3.11.2-1_armhf.deb ...
Unpacking libpython3-dev:armhf (3.11.2-1) ...
Selecting previously unselected package libpython3-all-dev:armhf.
Preparing to unpack .../41-libpython3-all-dev_3.11.2-1_armhf.deb ...
Unpacking libpython3-all-dev:armhf (3.11.2-1) ...
Selecting previously unselected package libsqlite3-dev:armhf.
Preparing to unpack .../42-libsqlite3-dev_3.40.1-2_armhf.deb ...
Unpacking libsqlite3-dev:armhf (3.40.1-2) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../43-python3-all_3.11.2-1_armhf.deb ...
Unpacking python3-all (3.11.2-1) ...
Selecting previously unselected package python3.11-dev.
Preparing to unpack .../44-python3.11-dev_3.11.5-3_armhf.deb ...
Unpacking python3.11-dev (3.11.5-3) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../45-python3-dev_3.11.2-1_armhf.deb ...
Unpacking python3-dev (3.11.2-1) ...
Selecting previously unselected package python3-all-dev.
Preparing to unpack .../46-python3-all-dev_3.11.2-1_armhf.deb ...
Unpacking python3-all-dev (3.11.2-1) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../47-python3-pkg-resources_68.1.2-1_all.deb ...
Unpacking python3-pkg-resources (68.1.2-1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../48-python3-setuptools_68.1.2-1_all.deb ...
Unpacking python3-setuptools (68.1.2-1) ...
Selecting previously unselected package sbuild-build-depends-python-apsw-dummy.
Preparing to unpack .../49-sbuild-build-depends-python-apsw-dummy_0.invalid.0_armhf.deb ...
Unpacking sbuild-build-depends-python-apsw-dummy (0.invalid.0) ...
Setting up media-types (10.1.0) ...
Setting up libpipeline1:armhf (1.5.7-1) ...
Setting up libicu72:armhf (72.1-3) ...
Setting up bsdextrautils (2.38.1-5) ...
Setting up libmagic-mgc (1:5.44-3) ...
Setting up libarchive-zip-perl (1.68-1) ...
Setting up libpython3.11-stdlib:armhf (3.11.5-3) ...
Setting up libdebhelper-perl (13.11.6) ...
Setting up libmagic1:armhf (1:5.44-3) ...
Setting up gettext-base (0.21-12) ...
Setting up m4 (1.4.19-3) ...
Setting up file (1:5.44-3) ...
Setting up autotools-dev (20220109.1) ...
Setting up libexpat1-dev:armhf (2.5.0-1) ...
Setting up libsqlite3-dev:armhf (3.40.1-2) ...
Setting up autopoint (0.21-13) ...
Setting up autoconf (2.71-3) ...
Setting up zlib1g-dev:armhf (1:1.2.13.dfsg-3) ...
Setting up libuchardet0:armhf (0.0.7-1) ...
Setting up libsub-override-perl (0.09-4) ...
Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Setting up libelf1:armhf (0.188-2.1+rpi1) ...
Setting up libxml2:armhf (2.9.14+dfsg-1.3) ...
Setting up libpython3-stdlib:armhf (3.11.2-1) ...
Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libfile-stripnondeterminism-perl (1.13.1-1) ...
Setting up python3.11 (3.11.5-3) ...
Setting up gettext (0.21-12) ...
Setting up libpython3.11:armhf (3.11.5-3) ...
Setting up libtool (2.4.7-7) ...
Setting up python3 (3.11.2-1) ...
Setting up intltool-debian (0.35.0+20060710.6) ...
Setting up dh-autoreconf (20) ...
Setting up libpython3.11-dev:armhf (3.11.5-3) ...
Setting up libjs-sphinxdoc (5.3.0-7) ...
Setting up dh-strip-nondeterminism (1.13.1-1) ...
Setting up dwz (0.15-1) ...
Setting up groff-base (1.22.4-10) ...
Setting up python3-lib2to3 (3.11.5-1) ...
Setting up python3-pkg-resources (68.1.2-1) ...
Setting up python3-distutils (3.11.5-1) ...
Setting up dh-python (6.20230825) ...
Setting up libpython3-dev:armhf (3.11.2-1) ...
Setting up python3-setuptools (68.1.2-1) ...
Setting up python3.11-dev (3.11.5-3) ...
Setting up po-debconf (1.0.21+nmu1) ...
Setting up python3-all (3.11.2-1) ...
Setting up man-db (2.11.2-3) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libpython3-all-dev:armhf (3.11.2-1) ...
Setting up python3-dev (3.11.2-1) ...
Setting up python3-all-dev (3.11.2-1) ...
Setting up debhelper (13.11.6) ...
Setting up sbuild-build-depends-python-apsw-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.36-9+rpi1+deb12u1) ...
W: No sandbox user '_apt' on the system, can not drop privileges

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

Kernel: Linux 4.9.0-0.bpo.4-armmp armhf (armv7l)
Toolchain package versions: binutils_2.40-2+rpi2 dpkg-dev_1.21.22+rpi1 g++-12_12.2.0-14+rpi1 gcc-12_12.2.0-14+rpi1 libc6-dev_2.36-9+rpi1+deb12u1 libstdc++-12-dev_12.2.0-14+rpi1 libstdc++6_12.2.0-14+rpi1 linux-libc-dev_6.1.38-1+rpi1
Package versions: adduser_3.137 apt_2.6.1 autoconf_2.71-3 automake_1:1.16.5-1.3 autopoint_0.21-13 autotools-dev_20220109.1 base-files_12.4+rpi1+deb12u1 base-passwd_3.6.1 bash_5.2.15-2 binutils_2.40-2+rpi2 binutils-arm-linux-gnueabihf_2.40-2+rpi2 binutils-common_2.40-2+rpi2 bsdextrautils_2.38.1-5 bsdutils_1:2.38.1-5 build-essential_12.9 bzip2_1.0.8-5+b2 coreutils_9.1-1 cpp_4:12.2.0-3+rpi1 cpp-12_12.2.0-14+rpi1 dash_0.5.12-2 debconf_1.5.82 debhelper_13.11.6 debianutils_5.7-0.4 dh-autoreconf_20 dh-python_6.20230825 dh-strip-nondeterminism_1.13.1-1 diffutils_1:3.8-4 dirmngr_2.2.40-1.1 dpkg_1.21.22+rpi1 dpkg-dev_1.21.22+rpi1 dwz_0.15-1 e2fsprogs_1.47.0-2 fakeroot_1.31-1.2 file_1:5.44-3 findutils_4.9.0-4 g++_4:12.2.0-3+rpi1 g++-12_12.2.0-14+rpi1 gcc_4:12.2.0-3+rpi1 gcc-12_12.2.0-14+rpi1 gcc-12-base_12.2.0-14+rpi1 gcc-7-base_7.5.0-6+rpi1+b2 gcc-8-base_8.4.0-7+rpi1 gcc-9-base_9.4.0-2+rpi1 gettext_0.21-12 gettext-base_0.21-12 gnupg_2.2.40-1.1 gnupg-l10n_2.2.40-1.1 gnupg-utils_2.2.40-1.1 gpg_2.2.40-1.1 gpg-agent_2.2.40-1.1 gpg-wks-client_2.2.40-1.1 gpg-wks-server_2.2.40-1.1 gpgconf_2.2.40-1.1 gpgsm_2.2.40-1.1 gpgv_2.2.40-1.1 grep_3.8-5 groff-base_1.22.4-10 gzip_1.12-1 hostname_3.23+nmu1 init-system-helpers_1.65.2 intltool-debian_0.35.0+20060710.6 iputils-ping_3:20221126-1 krb5-locales_1.20.1-3 libacl1_2.3.1-3 libapt-pkg6.0_2.6.1 libarchive-zip-perl_1.68-1 libasan8_12.2.0-14+rpi1 libassuan0_2.5.5-5 libatomic1_12.2.0-14+rpi1 libattr1_1:2.5.1-4 libaudit-common_1:3.1.1-1 libaudit1_1:3.0.9-1 libbinutils_2.40-2+rpi2 libblkid1_2.38.1-5 libbz2-1.0_1.0.8-5+b2 libc-bin_2.36-9+rpi1+deb12u1 libc-dev-bin_2.36-9+rpi1+deb12u1 libc6_2.36-9+rpi1+deb12u1 libc6-dev_2.36-9+rpi1+deb12u1 libcap-ng0_0.8.3-1+b1 libcap2_1:2.66-4 libcap2-bin_1:2.66-4 libcc1-0_12.2.0-14+rpi1 libcom-err2_1.47.0-2 libcrypt-dev_1:4.4.33-2 libcrypt1_1:4.4.33-2 libctf-nobfd0_2.40-2+rpi2 libctf0_2.40-2+rpi2 libdb5.3_5.3.28+dfsg2-1 libdebconfclient0_0.270 libdebhelper-perl_13.11.6 libdpkg-perl_1.21.22+rpi1 libelf1_0.188-2.1+rpi1 libexpat1_2.5.0-1 libexpat1-dev_2.5.0-1 libext2fs2_1.47.0-2 libfakeroot_1.31-1.2 libffi8_3.4.4-1 libfile-find-rule-perl_0.34-3 libfile-stripnondeterminism-perl_1.13.1-1 libgcc-12-dev_12.2.0-14+rpi1 libgcc-s1_12.2.0-14+rpi1 libgcrypt20_1.10.1-3 libgdbm-compat4_1.23-3 libgdbm6_1.23-3 libgmp10_2:6.2.1+dfsg1-1.1 libgnutls30_3.7.9-2 libgomp1_12.2.0-14+rpi1 libgpg-error0_1.46-1 libgssapi-krb5-2_1.20.1-2 libhogweed6_3.8.1-2 libicu72_72.1-3 libidn2-0_2.3.3-1+b2 libisl23_0.25-1 libjansson4_2.14-2 libjs-jquery_3.6.1+dfsg+~3.5.14-1 libjs-sphinxdoc_5.3.0-7 libjs-underscore_1.13.4~dfsg+~1.11.4-3 libk5crypto3_1.20.1-2 libkeyutils1_1.6.3-2 libkrb5-3_1.20.1-2 libkrb5support0_1.20.1-2 libksba8_1.6.3-2 libldap-2.5-0_2.5.13+dfsg-5+rpi1 liblz4-1_1.9.4-1+rpi1+b1 liblzma5_5.4.1-0.2 libmagic-mgc_1:5.44-3 libmagic1_1:5.44-3 libmd0_1.0.4-2 libmount1_2.38.1-5 libmpc3_1.3.1-1 libmpfr6_4.2.0-1 libncursesw6_6.4-4 libnettle8_3.8.1-2 libnpth0_1.6-3 libnsl-dev_1.3.0-2 libnsl2_1.3.0-2 libnumber-compare-perl_0.03-3 libp11-kit0_0.24.1-2 libpam-cap_1:2.66-4 libpam-modules_1.5.2-6 libpam-modules-bin_1.5.2-6 libpam-runtime_1.5.2-7 libpam0g_1.5.2-6 libpcre2-8-0_10.42-1 libpcre3_2:8.39-15 libperl5.36_5.36.0-7 libpipeline1_1.5.7-1 libpython3-all-dev_3.11.2-1 libpython3-dev_3.11.2-1 libpython3-stdlib_3.11.2-1 libpython3.11_3.11.5-3 libpython3.11-dev_3.11.5-3 libpython3.11-minimal_3.11.5-3 libpython3.11-stdlib_3.11.5-3 libreadline8_8.2-1.3 libsasl2-2_2.1.28+dfsg-10 libsasl2-modules-db_2.1.28+dfsg-10 libseccomp2_2.5.4-1+rpi1+b1 libselinux1_3.4-1+b2 libsemanage-common_3.5-1 libsemanage2_3.4-1+b2 libsepol1_3.1-1 libsepol2_3.4-2.1 libsmartcols1_2.38.1-5 libsqlite3-0_3.40.1-2 libsqlite3-dev_3.40.1-2 libss2_1.47.0-2 libssl1.1_1.1.1o-1 libssl3_3.0.9-1 libstdc++-12-dev_12.2.0-14+rpi1 libstdc++6_12.2.0-14+rpi1 libsub-override-perl_0.09-4 libsystemd0_252.12-1~deb12u1+rpi1 libtasn1-6_4.19.0-2 libtext-glob-perl_0.11-3 libtinfo6_6.4-4 libtirpc-common_1.3.3+ds-1 libtirpc-dev_1.3.3+ds-1 libtirpc3_1.3.3+ds-1 libtool_2.4.7-7 libubsan1_12.2.0-14+rpi1 libuchardet0_0.0.7-1 libudev1_252.12-1~deb12u1+rpi1 libunistring2_1.0-2 libuuid1_2.38.1-5 libxml2_2.9.14+dfsg-1.3 libxxhash0_0.8.1-1 libzstd1_1.5.4+dfsg2-5 linux-libc-dev_6.1.38-1+rpi1 login_1:4.13+dfsg1-1 logsave_1.47.0-2 lsb-base_11.6+rpi1 m4_1.4.19-3 make_4.3-4.1 man-db_2.11.2-3 mawk_1.3.4.20200120-3.1 media-types_10.1.0 mount_2.38.1-5 nano_7.2-1 ncurses-base_6.4+20230625-2 ncurses-bin_6.4-4 netbase_6.4 passwd_1:4.13+dfsg1-1 patch_2.7.6-7 perl_5.36.0-7 perl-base_5.36.0-7 perl-modules-5.36_5.36.0-7 pinentry-curses_1.2.1-1 po-debconf_1.0.21+nmu1 python3_3.11.2-1 python3-all_3.11.2-1 python3-all-dev_3.11.2-1 python3-dev_3.11.2-1 python3-distutils_3.11.5-1 python3-lib2to3_3.11.5-1 python3-minimal_3.11.2-1 python3-pkg-resources_68.1.2-1 python3-setuptools_68.1.2-1 python3.11_3.11.5-3 python3.11-dev_3.11.5-3 python3.11-minimal_3.11.5-3 raspbian-archive-keyring_20120528.2 readline-common_8.2-1.3 rpcsvc-proto_1.4.3-1 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-python-apsw-dummy_0.invalid.0 sed_4.9-1 sensible-utils_0.0.20 sgml-base_1.31 sysvinit-utils_3.06-4 tar_1.34+dfsg-1.2 tzdata_2023c-10 usrmerge_37 util-linux_2.38.1-5 util-linux-extra_2.38.1-5 xz-utils_5.4.1-0.2 zlib1g_1:1.2.13.dfsg-3 zlib1g-dev_1:1.2.13.dfsg-3

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


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

gpgv: Signature made Thu Aug  3 08:17:42 2023 UTC
gpgv:                using RSA key 5A939A71A46792CF57866A51996DDA075594ADB8
gpgv: Can't check signature: No public key
dpkg-source: warning: cannot verify inline signature for ./python-apsw_3.42.0.1-1.dsc: no acceptable signature found
dpkg-source: info: extracting python-apsw in /<<PKGBUILDDIR>>
dpkg-source: info: unpacking python-apsw_3.42.0.1.orig.tar.xz
dpkg-source: info: unpacking python-apsw_3.42.0.1-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=trixie-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=trixie-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=trixie-staging-armhf-sbuild-3c0e2b6a-5010-4e2e-9243-5a2973e26eca
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
USER=buildd

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

dpkg-buildpackage: info: source package python-apsw
dpkg-buildpackage: info: source version 3.42.0.1-1
dpkg-buildpackage: info: source distribution unstable
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture armhf
 fakeroot debian/rules clean
dh clean --with python3 --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:291: python3.11 setup.py clean 
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apsw/build' (and everything under it)
'build/bdist.linux-armv7l' does not exist -- can't clean it
'build/scripts-3.11' does not exist -- can't clean it
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules build-arch
dh build-arch --with python3 --buildsystem=pybuild
   dh_update_autotools_config -a -O--buildsystem=pybuild
   dh_autoreconf -a -O--buildsystem=pybuild
   dh_auto_configure -a -O--buildsystem=pybuild
I: pybuild base:291: python3.11 setup.py config 
running config
   dh_auto_build -a -O--buildsystem=pybuild
I: pybuild base:291: /usr/bin/python3 setup.py build -g --enable=load_extension
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apsw/build/apsw
copying apsw/trace.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apsw/build/apsw
copying apsw/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apsw/build/apsw
copying apsw/speedtest.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apsw/build/apsw
copying apsw/tests.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apsw/build/apsw
copying apsw/ext.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apsw/build/apsw
copying apsw/shell.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apsw/build/apsw
copying apsw/__init__.pyi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apsw/build/apsw
copying apsw/py.typed -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_apsw/build/apsw
running build_ext
SQLite: Using system sqlite include/libraries
building 'apsw.__init__' extension
creating build
creating build/temp.linux-armv7l-cpython-311
creating build/temp.linux-armv7l-cpython-311/src
arm-linux-gnueabihf-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -g -DAPSW_NO_NDEBUG=1 -DAPSW_TESTFIXTURES=1 -DSQLITE_DEBUG=1 -DAPSW_FORK_CHECKER=1 -DSQLITE_ENABLE_LOAD_EXTENSION=1 -Isrc -I/usr/include/python3.11 -c src/apsw.c -o build/temp.linux-armv7l-cpython-311/src/apsw.o
src/apsw.c:96:2: error: #error Your SQLite version is too old. It must be at least 3.42
   96 | #error Your SQLite version is too old.  It must be at least 3.42
      |  ^~~~~
In file included from src/traceback.c:5,
                 from src/apsw.c:177:
src/traceback.c: In function 'AddTraceBackHere':
src/faultinject.h:262:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  262 |     _res = (typeof (_res))APSW_FaultInjectControl("PyDict_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/traceback.c:33:16: note: in expansion of macro 'PyDict_New'
   33 |   empty_dict = PyDict_New();
      |                ^~~~~~~~~~
src/faultinject.h:247:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  247 |     _res = (typeof (_res))APSW_FaultInjectControl("PyCode_NewEmpty", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/traceback.c:45:10: note: in expansion of macro 'PyCode_NewEmpty'
   45 |   code = PyCode_NewEmpty(filename, functionname, lineno);
      |          ^~~~~~~~~~~~~~~
src/faultinject.h:352:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  352 |     _res = (typeof (_res))APSW_FaultInjectControl("PyFrame_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/traceback.c:50:11: note: in expansion of macro 'PyFrame_New'
   50 |   frame = PyFrame_New(
      |           ^~~~~~~~~~~
In file included from src/pyutil.c:68,
                 from src/apsw.c:180:
src/pyutil.c: In function 'Call_PythonMethod':
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/pyutil.c:83:12: note: in expansion of macro 'PyObject_GetAttrString'
   83 |   method = PyObject_GetAttrString(obj, methodname);
      |            ^~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/pyutil.c:99:9: note: in expansion of macro 'PyObject_CallObject'
   99 |   res = PyObject_CallObject(method, args);
      |         ^~~~~~~~~~~~~~~~~~~
In file included from src/pyutil.c:118:
src/pyutil.c: In function 'Call_PythonMethodV':
src/faultinject.h:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  172 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/pyutil.c:126:14: note: in expansion of macro 'Call_PythonMethod'
  126 |     result = Call_PythonMethod(obj, methodname, mandatory, args);
      |              ^~~~~~~~~~~~~~~~~
In file included from src/pyutil.c:140:
src/pyutil.c: In function 'convertutf8string':
src/faultinject.h:1089:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1089 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/pyutil.c:144:10: note: in expansion of macro 'PyUnicode_FromStringAndSize'
  144 |   return PyUnicode_FromStringAndSize(str, strlen(str));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/pyutil.c:183:
src/util.c: In function 'apsw_write_unraisable':
src/faultinject.h:819:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  819 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_Str", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:164:25: note: in expansion of macro 'PyObject_Str'
  164 |     PyObject *message = PyObject_Str(err_value);
      |                         ^~~~~~~~~~~~
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:165:34: note: in expansion of macro 'PyUnicode_AsUTF8'
  165 |     const char *utf8 = message ? PyUnicode_AsUTF8(message) : "failed to get string of error";
      |                                  ^~~~~~~~~~~~~~~~
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:176:18: note: in expansion of macro 'PyObject_GetAttrString'
  176 |     excepthook = PyObject_GetAttrString(hookobject, "excepthook");
      |                  ^~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:180:16: note: in expansion of macro 'PyObject_CallFunction'
  180 |       result = PyObject_CallFunction(excepthook, "(OOO)", OBJ(err_type), OBJ(err_value), OBJ(err_traceback));
      |                ^~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:969:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  969 |     _res = (typeof (_res))APSW_FaultInjectControl("PyStructSequence_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:192:21: note: in expansion of macro 'PyStructSequence_New'
  192 |     PyObject *arg = PyStructSequence_New(&apsw_unraisable_info_type);
      |                     ^~~~~~~~~~~~~~~~~~~~
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:198:16: note: in expansion of macro 'PyObject_CallFunction'
  198 |       result = PyObject_CallFunction(excepthook, "(N)", arg);
      |                ^~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:210:14: note: in expansion of macro 'PyObject_CallFunction'
  210 |     result = PyObject_CallFunction(excepthook, "(OOO)", OBJ(err_type), OBJ(err_value), OBJ(err_traceback));
      |              ^~~~~~~~~~~~~~~~~~~~~
In file included from src/util.c:234,
                 from src/apsw.c:183:
src/util.c: In function 'convert_value_to_pyobject':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:247:12: note: in expansion of macro 'PyLong_FromLongLong'
  247 |     return PyLong_FromLongLong(val);
      |            ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:337:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  337 |     _res = (typeof (_res))APSW_FaultInjectControl("PyFloat_FromDouble", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:251:12: note: in expansion of macro 'PyFloat_FromDouble'
  251 |     return PyFloat_FromDouble(sqlite3_value_double(value));
      |            ^~~~~~~~~~~~~~~~~~
src/faultinject.h:1089:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1089 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:255:12: note: in expansion of macro 'PyUnicode_FromStringAndSize'
  255 |     return PyUnicode_FromStringAndSize((const char *)sqlite3_value_text(value), sqlite3_value_bytes(value));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:939:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  939 |     _res = (typeof (_res))APSW_FaultInjectControl("PySet_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:262:34: note: in expansion of macro 'PySet_New'
  262 |       PyObject *v = NULL, *set = PySet_New(NULL);
      |                                  ^~~~~~~~~
src/faultinject.h:1240:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1240 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_value_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:267:13: note: in expansion of macro 'convert_value_to_pyobject'
  267 |         v = convert_value_to_pyobject(in_value, 0, 0);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:289:12: note: in expansion of macro 'PyBytes_FromStringAndSize'
  289 |     return PyBytes_FromStringAndSize(sqlite3_value_blob(value), sqlite3_value_bytes(value));
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
src/util.c: In function 'convert_value_to_pyobject_not_in':
src/faultinject.h:1240:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1240 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_value_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:296:10: note: in expansion of macro 'convert_value_to_pyobject'
  296 |   return convert_value_to_pyobject(value, 0, 0);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/util.c:306:
src/util.c: In function 'convert_column_to_pyobject':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:317:12: note: in expansion of macro 'PyLong_FromLongLong'
  317 |     return PyLong_FromLongLong(val);
      |            ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:337:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  337 |     _res = (typeof (_res))APSW_FaultInjectControl("PyFloat_FromDouble", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:324:12: note: in expansion of macro 'PyFloat_FromDouble'
  324 |     return PyFloat_FromDouble(d);
      |            ^~~~~~~~~~~~~~~~~~
src/faultinject.h:1089:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1089 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:331:12: note: in expansion of macro 'PyUnicode_FromStringAndSize'
  331 |     return PyUnicode_FromStringAndSize(data, len);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:343:12: note: in expansion of macro 'PyBytes_FromStringAndSize'
  343 |     return PyBytes_FromStringAndSize(data, len);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/util.c:394:
src/util.c: In function 'apsw_strdup':
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:397:15: note: in expansion of macro 'PyMem_Calloc'
  397 |   char *res = PyMem_Calloc(1, len + 3);
      |               ^~~~~~~~~~~~
src/argparse.c: In function 'argcheck_List_int_int':
src/faultinject.h:397:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  397 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/argparse.c:108:31: note: in expansion of macro 'PyList_GetItem'
  108 |         PyObject *list_item = PyList_GetItem(object, i);
      |                               ^~~~~~~~~~~~~~
src/exceptions.c: In function 'apsw_set_errmsg':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:57:9: note: in expansion of macro 'PyLong_FromLong'
   57 |   key = PyLong_FromLong(PyThread_get_thread_ident());
      |         ^~~~~~~~~~~~~~~
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:59:13: note: in expansion of macro 'PyBytes_FromStringAndSize'
   59 |     value = PyBytes_FromStringAndSize(msg, strlen(msg));
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
src/exceptions.c: In function 'apsw_get_errmsg':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:81:9: note: in expansion of macro 'PyLong_FromLong'
   81 |   key = PyLong_FromLong(PyThread_get_thread_ident());
      |         ^~~~~~~~~~~~~~~
src/exceptions.c: In function 'init_exceptions':
src/faultinject.h:307:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  307 |     _res = (typeof (_res))APSW_FaultInjectControl("PyErr_NewExceptionWithDoc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:174:19: note: in expansion of macro 'PyErr_NewExceptionWithDoc'
  174 |   APSWException = PyErr_NewExceptionWithDoc("apsw.Error", Error_exc_DOC, NULL, NULL);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:307:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  307 |     _res = (typeof (_res))APSW_FaultInjectControl("PyErr_NewExceptionWithDoc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:183:30: note: in expansion of macro 'PyErr_NewExceptionWithDoc'
  183 |     *apswexceptions[i].var = PyErr_NewExceptionWithDoc(buffy, apswexceptions[i].doc, APSWException, NULL);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:307:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  307 |     _res = (typeof (_res))APSW_FaultInjectControl("PyErr_NewExceptionWithDoc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:197:11: note: in expansion of macro 'PyErr_NewExceptionWithDoc'
  197 |     obj = PyErr_NewExceptionWithDoc(buffy, exc_descriptors[i].doc, APSWException, NULL);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~
src/exceptions.c: In function 'make_exception':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:236:13: note: in expansion of macro 'PyLong_FromLongLong'
  236 |       tmp = PyLong_FromLongLong(res & 0xff);
      |             ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:244:13: note: in expansion of macro 'PyLong_FromLongLong'
  244 |       tmp = PyLong_FromLongLong(res);
      |             ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:252:13: note: in expansion of macro 'PyLong_FromLong'
  252 |       tmp = PyLong_FromLong(error_offset);
      |             ^~~~~~~~~~~~~~~
src/exceptions.c: In function 'MakeSqliteMsgFromPyException':
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:297:30: note: in expansion of macro 'PyObject_GetAttrString'
  297 |         PyObject *extended = PyObject_GetAttrString(evalue, "extendedresult");
      |                              ^~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:819:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  819 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_Str", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:313:13: note: in expansion of macro 'PyObject_Str'
  313 |       str = PyObject_Str(evalue);
      |             ^~~~~~~~~~~~
src/faultinject.h:819:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  819 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_Str", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:317:13: note: in expansion of macro 'PyObject_Str'
  317 |       str = PyObject_Str(etype);
      |             ^~~~~~~~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:322:13: note: in expansion of macro 'PyUnicode_FromString'
  322 |       str = PyUnicode_FromString("python exception with no information");
      |             ^~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:2063:44: note: in definition of macro 'sqlite3_mprintf'
 2063 |     __auto_type _res = 0 ? sqlite3_mprintf(__VA_ARGS__) : 0;                                                      \
      |                                            ^~~~~~~~~~~
src/exceptions.c:327:39: note: in expansion of macro 'PyUnicode_AsUTF8'
  327 |       *errmsg = sqlite3_mprintf("%s", PyUnicode_AsUTF8(str));
      |                                       ^~~~~~~~~~~~~~~~
src/faultinject.h:2065:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2065 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_mprintf", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/exceptions.c:327:17: note: in expansion of macro 'sqlite3_mprintf'
  327 |       *errmsg = sqlite3_mprintf("%s", PyUnicode_AsUTF8(str));
      |                 ^~~~~~~~~~~~~~~
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:2068:31: note: in definition of macro 'sqlite3_mprintf'
 2068 |        _res = sqlite3_mprintf(__VA_ARGS__);                                                                       \
      |                               ^~~~~~~~~~~
src/exceptions.c:327:39: note: in expansion of macro 'PyUnicode_AsUTF8'
  327 |       *errmsg = sqlite3_mprintf("%s", PyUnicode_AsUTF8(str));
      |                                       ^~~~~~~~~~~~~~~~
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:2071:25: note: in definition of macro 'sqlite3_mprintf'
 2071 |         sqlite3_mprintf(__VA_ARGS__);                                                                             \
      |                         ^~~~~~~~~~~
src/exceptions.c:327:39: note: in expansion of macro 'PyUnicode_AsUTF8'
  327 |       *errmsg = sqlite3_mprintf("%s", PyUnicode_AsUTF8(str));
      |                                       ^~~~~~~~~~~~~~~~
src/statementcache.c: In function 'statementcache_prepare_internal':
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/statementcache.c:251:17: note: in expansion of macro 'PyMem_Calloc'
  251 |     statement = PyMem_Calloc(1, sizeof(APSWStatement));
      |                 ^~~~~~~~~~~~
src/statementcache.c: In function 'statementcache_prepare':
src/faultinject.h:1044:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1044 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8AndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/statementcache.c:306:10: note: in expansion of macro 'PyUnicode_AsUTF8AndSize'
  306 |   utf8 = PyUnicode_AsUTF8AndSize(query, &utf8size);
      |          ^~~~~~~~~~~~~~~~~~~~~~~
src/statementcache.c: In function 'statementcache_init':
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/statementcache.c:370:27: note: in expansion of macro 'PyMem_Calloc'
  370 |   res = (StatementCache *)PyMem_Calloc(1, sizeof(StatementCache));
      |                           ^~~~~~~~~~~~
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/statementcache.c:373:26: note: in expansion of macro 'PyMem_Calloc'
  373 |     res->hashes = size ? PyMem_Calloc(size, sizeof(Py_hash_t)) : 0;
      |                          ^~~~~~~~~~~~
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/statementcache.c:374:26: note: in expansion of macro 'PyMem_Calloc'
  374 |     res->caches = size ? PyMem_Calloc(size, sizeof(APSWStatement *)) : 0;
      |                          ^~~~~~~~~~~~
src/statementcache.c: In function 'statementcache_stats':
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/statementcache.c:400:9: note: in expansion of macro 'Py_BuildValue'
  400 |   res = Py_BuildValue("{s: I, s: I, s: I, s: I, s: I, s: I, s: I, s: I, s: I}",
      |         ^~~~~~~~~~~~~
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/statementcache.c:413:15: note: in expansion of macro 'PyList_New'
  413 |     entries = PyList_New(0);
      |               ^~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/statementcache.c:423:17: note: in expansion of macro 'Py_BuildValue'
  423 |         entry = Py_BuildValue("{s: s#, s: O, s: i, s: I}",
      |                 ^~~~~~~~~~~~~
src/connection.c: In function 'Connection_close_internal':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:224:16: note: in expansion of macro 'Call_PythonMethodV'
  224 |     closeres = Call_PythonMethodV(item, "close", 1, "(i)", !!force);
      |                ^~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_new':
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:350:24: note: in expansion of macro 'PyList_New'
  350 |     self->dependents = PyList_New(0);
      |                        ^~~~~~~~~~
src/connection.c: In function 'Connection_init':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:445:22: note: in expansion of macro 'PyLong_FromLong'
  445 |   self->open_flags = PyLong_FromLong(flags);
      |                      ^~~~~~~~~~~~~~~
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:450:22: note: in expansion of macro 'convertutf8string'
  450 |     self->open_vfs = convertutf8string(vfsused->zName);
      |                      ^~~~~~~~~~~~~~~~~
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:459:11: note: in expansion of macro 'PyObject_GetAttrString'
  459 |   hooks = PyObject_GetAttrString(apswmodule, "connection_hooks");
      |           ^~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:463:14: note: in expansion of macro 'Py_BuildValue'
  463 |   hookargs = Py_BuildValue("(O)", self);
      |              ^~~~~~~~~~~~~
src/faultinject.h:759:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  759 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetIter", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:467:14: note: in expansion of macro 'PyObject_GetIter'
  467 |   iterator = PyObject_GetIter(hooks);
      |              ^~~~~~~~~~~~~~~~
src/faultinject.h:367:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  367 |     _res = (typeof (_res))APSW_FaultInjectControl("PyIter_Next", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:478:18: note: in expansion of macro 'PyIter_Next'
  478 |   while ((hook = PyIter_Next(iterator)))
      |                  ^~~~~~~~~~~
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:480:18: note: in expansion of macro 'PyObject_CallObject'
  480 |     hookresult = PyObject_CallObject(hook, hookargs);
      |                  ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_blobopen':
src/faultinject.h:1165:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1165 |     _res = (typeof (_res))APSW_FaultInjectControl("_PyObject_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:564:33: note: in expansion of macro '_PyObject_New'
  564 |   apswblob = (struct APSWBlob *)_PyObject_New(&APSWBlobType);
      |                                 ^~~~~~~~~~~~~
src/faultinject.h:1119:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1119 |     _res = (typeof (_res))APSW_FaultInjectControl("PyWeakref_NewRef", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:572:13: note: in expansion of macro 'PyWeakref_NewRef'
  572 |   weakref = PyWeakref_NewRef((PyObject *)apswblob, NULL);
      |             ^~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_backup':
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:625:12: note: in expansion of macro 'PyTuple_New'
  625 |     args = PyTuple_New(2);
      |            ^~~~~~~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:628:19: note: in expansion of macro 'PyUnicode_FromString'
  628 |     PyObject *s = PyUnicode_FromString("The destination database has outstanding objects open on it.  They must all be closed for the backup to proceed (otherwise corruption would be possible.)");
      |                   ^~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1345:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1345 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_backup_init", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:65:7: note: in definition of macro 'INUSE_CALL'
   65 |       x;                      \
      |       ^
src/util.c:75:41: note: in expansion of macro '_PYSQLITE_CALL_E'
   75 | #define PYSQLITE_CON_CALL(y) INUSE_CALL(_PYSQLITE_CALL_E(self->db, y))
      |                                         ^~~~~~~~~~~~~~~~
src/connection.c:672:3: note: in expansion of macro 'PYSQLITE_CON_CALL'
  672 |   PYSQLITE_CON_CALL(backup = sqlite3_backup_init(self->db, databasename, sourceconnection->db, sourcedatabasename));
      |   ^~~~~~~~~~~~~~~~~
src/connection.c:672:30: note: in expansion of macro 'sqlite3_backup_init'
  672 |   PYSQLITE_CON_CALL(backup = sqlite3_backup_init(self->db, databasename, sourceconnection->db, sourcedatabasename));
      |                              ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:1165:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1165 |     _res = (typeof (_res))APSW_FaultInjectControl("_PyObject_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:683:37: note: in expansion of macro '_PyObject_New'
  683 |   apswbackup = (struct APSWBackup *)_PyObject_New(&APSWBackupType);
      |                                     ^~~~~~~~~~~~~
src/faultinject.h:1119:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1119 |     _res = (typeof (_res))APSW_FaultInjectControl("PyWeakref_NewRef", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:691:13: note: in expansion of macro 'PyWeakref_NewRef'
  691 |   weakref = PyWeakref_NewRef((PyObject *)apswbackup, NULL);
      |             ^~~~~~~~~~~~~~~~
src/faultinject.h:1119:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1119 |     _res = (typeof (_res))APSW_FaultInjectControl("PyWeakref_NewRef", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:698:13: note: in expansion of macro 'PyWeakref_NewRef'
  698 |   weakref = PyWeakref_NewRef((PyObject *)apswbackup, NULL);
      |             ^~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_cursor':
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:743:12: note: in expansion of macro 'PyObject_CallFunction'
  743 |   cursor = PyObject_CallFunction(self->cursor_factory, "O", self);
      |            ^~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1119:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1119 |     _res = (typeof (_res))APSW_FaultInjectControl("PyWeakref_NewRef", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:750:13: note: in expansion of macro 'PyWeakref_NewRef'
  750 |   weakref = PyWeakref_NewRef((PyObject *)cursor, NULL);
      |             ^~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_changes':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:825:10: note: in expansion of macro 'PyLong_FromLongLong'
  825 |   return PyLong_FromLongLong(sqlite3_changes64(self->db));
      |          ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_totalchanges':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:841:10: note: in expansion of macro 'PyLong_FromLongLong'
  841 |   return PyLong_FromLongLong(sqlite3_total_changes64(self->db));
      |          ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_db_names':
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:879:9: note: in expansion of macro 'PyList_New'
  879 |   res = PyList_New(0);
      |         ^~~~~~~~~~
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:890:11: note: in expansion of macro 'convertutf8string'
  890 |     str = convertutf8string(s);
      |           ^~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_last_insert_rowid':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:922:10: note: in expansion of macro 'PyLong_FromLongLong'
  922 |   return PyLong_FromLongLong(sqlite3_last_insert_rowid(self->db));
      |          ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_limit':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1002:10: note: in expansion of macro 'PyLong_FromLong'
 1002 |   return PyLong_FromLong(res);
      |          ^~~~~~~~~~~~~~~
src/connection.c: In function 'updatecb':
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1026:12: note: in expansion of macro 'PyObject_CallFunction'
 1026 |   retval = PyObject_CallFunction(self->updatehook, "(issL)", updatetype, databasename, tablename, rowid);
      |            ^~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'rollbackhookcb':
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1111:14: note: in expansion of macro 'PyObject_CallObject'
 1111 |     retval = PyObject_CallObject(self->rollbackhook, NULL);
      |              ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'profilecb':
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1177:12: note: in expansion of macro 'PyObject_CallFunction'
 1177 |   retval = PyObject_CallFunction(self->profile, "(sK)", statement, runtime);
      |            ^~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'tracehook_cb':
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1261:15: note: in expansion of macro 'Py_BuildValue'
 1261 |       param = Py_BuildValue("{s: i, s: s, s: O}",
      |               ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1269:15: note: in expansion of macro 'Py_BuildValue'
 1269 |       param = Py_BuildValue("{s: i, s: s, s: O}",
      |               ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1275:15: note: in expansion of macro 'Py_BuildValue'
 1275 |       param = Py_BuildValue("{s: i, s: O}",
      |               ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1290:15: note: in expansion of macro 'Py_BuildValue'
 1290 |       param = Py_BuildValue("{s: i, s: O, s: s, s: L, s: {" K K K K K K K K "s: i}}",
      |               ^~~~~~~~~~~~~
src/connection.c: In function 'commithookcb':
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1429:12: note: in expansion of macro 'PyObject_CallObject'
 1429 |   retval = PyObject_CallObject(self->commithook, NULL);
      |            ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'walhookcb':
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1514:12: note: in expansion of macro 'PyObject_CallFunction'
 1514 |   retval = PyObject_CallFunction(self->walhook, "(Osi)", self, dbname, npages);
      |            ^~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'progresshandlercb':
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1610:12: note: in expansion of macro 'PyObject_CallObject'
 1610 |   retval = PyObject_CallObject(self->progresshandler, NULL);
      |            ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'authorizercb':
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1700:12: note: in expansion of macro 'PyObject_CallFunction'
 1700 |   retval = PyObject_CallFunction(self->authorizer, "(issss)", operation, paramone,
      |            ^~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'autovacuum_pages_cb':
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/pyutil.c:251:7: note: in definition of macro 'CHAIN_EXC'
  251 |       x;                                       \
      |       ^
src/connection.c:1802:16: note: in expansion of macro 'PyObject_CallFunction'
 1802 |       retval = PyObject_CallFunction((PyObject *)callable, AVPCB_CALL, schema, nPages, nFreePages, nBytesPerPage));
      |                ^~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'collationneeded_cb':
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1892:9: note: in expansion of macro 'PyObject_CallFunction'
 1892 |   res = PyObject_CallFunction(self->collationneeded, "(Os)", self, name);
      |         ^~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'busyhandlercb':
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:1987:12: note: in expansion of macro 'PyObject_CallFunction'
 1987 |   retval = PyObject_CallFunction(self->busyhandler, "i", ncall);
      |            ^~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_serialize':
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2119:13: note: in expansion of macro 'PyBytes_FromStringAndSize'
 2119 |     pyres = PyBytes_FromStringAndSize((char *)serialization, size);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_deserialize':
src/faultinject.h:2050:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2050 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_malloc64", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2164:17: note: in expansion of macro 'sqlite3_malloc64'
 2164 |   newcontents = sqlite3_malloc64(contents.len);
      |                 ^~~~~~~~~~~~~~~~
In file included from src/connection.c:2289,
                 from src/apsw.c:195:
src/connection.c: In function 'allocfunccbinfo':
src/faultinject.h:1165:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1165 |     _res = (typeof (_res))APSW_FaultInjectControl("_PyObject_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2290:43: note: in expansion of macro '_PyObject_New'
 2290 |   FunctionCBInfo *res = (FunctionCBInfo *)_PyObject_New(&FunctionCBInfoType);
      |                                           ^~~~~~~~~~~~~
src/faultinject.h:1195:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1195 |     _res = (typeof (_res))APSW_FaultInjectControl("apsw_strdup", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2293:17: note: in expansion of macro 'apsw_strdup'
 2293 |     res->name = apsw_strdup(name);
      |                 ^~~~~~~~~~~
src/connection.c: In function 'set_context_result':
src/faultinject.h:1044:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1044 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8AndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2345:15: note: in expansion of macro 'PyUnicode_AsUTF8AndSize'
 2345 |     strdata = PyUnicode_AsUTF8AndSize(obj, &strbytes);
      |               ^~~~~~~~~~~~~~~~~~~~~~~
In file included from src/connection.c:2388:
src/connection.c: In function 'getfunctionargs':
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2393:12: note: in expansion of macro 'PyTuple_New'
 2393 |   pyargs = PyTuple_New((long)argc + extra);
      |            ^~~~~~~~~~~
src/faultinject.h:1240:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1240 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_value_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2405:22: note: in expansion of macro 'convert_value_to_pyobject'
 2405 |     PyObject *item = convert_value_to_pyobject(argv[i], 0, 0);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'cbdispatch_func':
src/faultinject.h:1285:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1285 |     _res = (typeof (_res))APSW_FaultInjectControl("getfunctionargs", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2444:12: note: in expansion of macro 'getfunctionargs'
 2444 |   pyargs = getfunctionargs(context, NULL, argc, argv);
      |            ^~~~~~~~~~~~~~~
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2449:12: note: in expansion of macro 'PyObject_CallObject'
 2449 |   retval = PyObject_CallObject(cbinfo->scalarfunc, pyargs);
      |            ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:2065:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2065 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_mprintf", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/pyutil.c:251:7: note: in definition of macro 'CHAIN_EXC'
  251 |       x;                                       \
      |       ^
src/connection.c:2459:19: note: in expansion of macro 'sqlite3_mprintf'
 2459 |         funname = sqlite3_mprintf("user-defined-scalar-%s", cbinfo->name);
      |                   ^~~~~~~~~~~~~~~
src/connection.c: In function 'getaggregatefunctioncontext':
src/faultinject.h:1300:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1300 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_aggregate_context", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2477:37: note: in expansion of macro 'sqlite3_aggregate_context'
 2477 |   aggregatefunctioncontext *aggfc = sqlite3_aggregate_context(context, sizeof(aggregatefunctioncontext));
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2495:12: note: in expansion of macro 'PyObject_CallObject'
 2495 |   retval = PyObject_CallObject(cbinfo->aggregatefactory, NULL);
      |            ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'cbdispatch_step':
src/faultinject.h:1285:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1285 |     _res = (typeof (_res))APSW_FaultInjectControl("getfunctionargs", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2571:12: note: in expansion of macro 'getfunctionargs'
 2571 |   pyargs = getfunctionargs(context, aggfc->aggvalue, argc, argv);
      |            ^~~~~~~~~~~~~~~
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2576:12: note: in expansion of macro 'PyObject_CallObject'
 2576 |   retval = PyObject_CallObject(aggfc->stepfunc, pyargs);
      |            ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:2065:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2065 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_mprintf", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/pyutil.c:251:7: note: in definition of macro 'CHAIN_EXC'
  251 |       x;                                       \
      |       ^
src/connection.c:2592:19: note: in expansion of macro 'sqlite3_mprintf'
 2592 |         funname = sqlite3_mprintf("user-defined-aggregate-step-%s", cbinfo->name);
      |                   ^~~~~~~~~~~~~~~
src/connection.c: In function 'cbdispatch_final':
src/faultinject.h:2065:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2065 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_mprintf", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/pyutil.c:251:7: note: in definition of macro 'CHAIN_EXC'
  251 |       x;                                       \
      |       ^
src/connection.c:2656:19: note: in expansion of macro 'sqlite3_mprintf'
 2656 |         funname = sqlite3_mprintf("user-defined-aggregate-final-%s", cbinfo->name);
      |                   ^~~~~~~~~~~~~~~
src/connection.c: In function 'get_window_function_context_wrapped':
src/faultinject.h:1300:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1300 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_aggregate_context", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2684:34: note: in expansion of macro 'sqlite3_aggregate_context'
 2684 |   windowfunctioncontext *winfc = sqlite3_aggregate_context(context, sizeof(windowfunctioncontext));
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2706:12: note: in expansion of macro 'PyObject_CallObject'
 2706 |   retval = PyObject_CallObject(cbinfo->windowfactory, NULL);
      |            ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:834:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  834 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_Fast", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2714:16: note: in expansion of macro 'PySequence_Fast'
 2714 |     sequence = PySequence_Fast(retval, "expected a sequence");
      |                ^~~~~~~~~~~~~~~
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2742:20: note: in expansion of macro 'PyObject_GetAttrString'
 2742 |   winfc->n##func = PyObject_GetAttrString(retval, #n);                                                               \
      |                    ^~~~~~~~~~~~~~~~~~~~~~
src/connection.c:2751:5: note: in expansion of macro 'METH'
 2751 |     METH(step);
      |     ^~~~
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2742:20: note: in expansion of macro 'PyObject_GetAttrString'
 2742 |   winfc->n##func = PyObject_GetAttrString(retval, #n);                                                               \
      |                    ^~~~~~~~~~~~~~~~~~~~~~
src/connection.c:2752:5: note: in expansion of macro 'METH'
 2752 |     METH(final);
      |     ^~~~
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2742:20: note: in expansion of macro 'PyObject_GetAttrString'
 2742 |   winfc->n##func = PyObject_GetAttrString(retval, #n);                                                               \
      |                    ^~~~~~~~~~~~~~~~~~~~~~
src/connection.c:2753:5: note: in expansion of macro 'METH'
 2753 |     METH(value);
      |     ^~~~
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2742:20: note: in expansion of macro 'PyObject_GetAttrString'
 2742 |   winfc->n##func = PyObject_GetAttrString(retval, #n);                                                               \
      |                    ^~~~~~~~~~~~~~~~~~~~~~
src/connection.c:2754:5: note: in expansion of macro 'METH'
 2754 |     METH(inverse);
      |     ^~~~
In file included from src/connection.c:2779:
src/connection.c: In function 'cbw_step':
src/faultinject.h:1270:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1270 |     _res = (typeof (_res))APSW_FaultInjectControl("get_window_function_context", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2818:11: note: in expansion of macro 'get_window_function_context'
 2818 |   winfc = get_window_function_context(context);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1285:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1285 |     _res = (typeof (_res))APSW_FaultInjectControl("getfunctionargs", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2822:12: note: in expansion of macro 'getfunctionargs'
 2822 |   pyargs = getfunctionargs(context, winfc->aggvalue, argc, argv);
      |            ^~~~~~~~~~~~~~~
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2825:12: note: in expansion of macro 'PyObject_CallObject'
 2825 |   retval = PyObject_CallObject(winfc->stepfunc, pyargs);
      |            ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'cbw_final':
src/faultinject.h:1270:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1270 |     _res = (typeof (_res))APSW_FaultInjectControl("get_window_function_context", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2856:11: note: in expansion of macro 'get_window_function_context'
 2856 |   winfc = get_window_function_context(context);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1285:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1285 |     _res = (typeof (_res))APSW_FaultInjectControl("getfunctionargs", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2860:12: note: in expansion of macro 'getfunctionargs'
 2860 |   pyargs = getfunctionargs(context, winfc->aggvalue, 0, NULL);
      |            ^~~~~~~~~~~~~~~
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/pyutil.c:214:5: note: in definition of macro 'PY_EXC_HANDLE'
  214 |     x;                                                                                  \
      |     ^
src/connection.c:2865:26: note: in expansion of macro 'PyObject_CallObject'
 2865 |   PY_EXC_HANDLE(retval = PyObject_CallObject(winfc->finalfunc, pyargs), "window-function-final",
      |                          ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'cbw_value':
src/faultinject.h:1270:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1270 |     _res = (typeof (_res))APSW_FaultInjectControl("get_window_function_context", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2927:11: note: in expansion of macro 'get_window_function_context'
 2927 |   winfc = get_window_function_context(context);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1285:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1285 |     _res = (typeof (_res))APSW_FaultInjectControl("getfunctionargs", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2931:12: note: in expansion of macro 'getfunctionargs'
 2931 |   pyargs = getfunctionargs(context, winfc->aggvalue, 0, NULL);
      |            ^~~~~~~~~~~~~~~
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2935:12: note: in expansion of macro 'PyObject_CallObject'
 2935 |   retval = PyObject_CallObject(winfc->valuefunc, pyargs);
      |            ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'cbw_inverse':
src/faultinject.h:1270:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1270 |     _res = (typeof (_res))APSW_FaultInjectControl("get_window_function_context", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2969:11: note: in expansion of macro 'get_window_function_context'
 2969 |   winfc = get_window_function_context(context);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1285:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1285 |     _res = (typeof (_res))APSW_FaultInjectControl("getfunctionargs", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2973:12: note: in expansion of macro 'getfunctionargs'
 2973 |   pyargs = getfunctionargs(context, winfc->aggvalue, argc, argv);
      |            ^~~~~~~~~~~~~~~
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:2976:12: note: in expansion of macro 'PyObject_CallObject'
 2976 |   retval = PyObject_CallObject(winfc->inversefunc, pyargs);
      |            ^~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_create_window_function':
src/faultinject.h:1180:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1180 |     _res = (typeof (_res))APSW_FaultInjectControl("allocfunccbinfo", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3048:14: note: in expansion of macro 'allocfunccbinfo'
 3048 |     cbinfo = allocfunccbinfo(name);
      |              ^~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_createscalarfunction':
src/faultinject.h:1180:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1180 |     _res = (typeof (_res))APSW_FaultInjectControl("allocfunccbinfo", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3134:14: note: in expansion of macro 'allocfunccbinfo'
 3134 |     cbinfo = allocfunccbinfo(name);
      |              ^~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_createaggregatefunction':
src/faultinject.h:1180:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1180 |     _res = (typeof (_res))APSW_FaultInjectControl("allocfunccbinfo", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3231:14: note: in expansion of macro 'allocfunccbinfo'
 3231 |     cbinfo = allocfunccbinfo(name);
      |              ^~~~~~~~~~~~~~~
src/connection.c: In function 'collation_cb':
src/faultinject.h:1089:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1089 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3284:10: note: in expansion of macro 'PyUnicode_FromStringAndSize'
 3284 |   pys1 = PyUnicode_FromStringAndSize(stringonedata, stringonelen);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1089:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1089 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3285:10: note: in expansion of macro 'PyUnicode_FromStringAndSize'
 3285 |   pys2 = PyUnicode_FromStringAndSize(stringtwodata, stringtwolen);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3290:12: note: in expansion of macro 'PyObject_CallFunction'
 3290 |   retval = PyObject_CallFunction(cbinfo, "(OO)", pys1, pys2);
      |            ^~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_sqlite3pointer':
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3497:10: note: in expansion of macro 'PyLong_FromVoidPtr'
 3497 |   return PyLong_FromVoidPtr(self->db);
      |          ^~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_wal_checkpoint':
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3571:12: note: in expansion of macro 'Py_BuildValue'
 3571 |     return Py_BuildValue("ii", nLog, nCkpt);
      |            ^~~~~~~~~~~~~
src/connection.c: In function 'Connection_createmodule':
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3627:11: note: in expansion of macro 'PyMem_Calloc'
 3627 |     vti = PyMem_Calloc(1, sizeof(vtableinfo));
      |           ^~~~~~~~~~~~
src/connection.c: In function 'Connection_vtab_on_conflict':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3713:10: note: in expansion of macro 'PyLong_FromLong'
 3713 |   return PyLong_FromLong(sqlite3_vtab_on_conflict(self->db));
      |          ^~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_enter':
src/faultinject.h:2065:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2065 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_mprintf", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3874:9: note: in expansion of macro 'sqlite3_mprintf'
 3874 |   sql = sqlite3_mprintf("SAVEPOINT \"_apsw-%ld\"", self->savepointlevel);
      |         ^~~~~~~~~~~~~~~
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3882:24: note: in expansion of macro 'PyObject_CallFunction'
 3882 |     PyObject *retval = PyObject_CallFunction(self->exectrace, "OsO", self, sql, Py_None);
      |                        ^~~~~~~~~~~~~~~~~~~~~
In file included from src/connection.c:3928:
src/connection.c: In function 'connection_trace_and_exec':
src/faultinject.h:2065:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2065 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_mprintf", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3932:9: note: in expansion of macro 'sqlite3_mprintf'
 3932 |   sql = sqlite3_mprintf(release ? "RELEASE SAVEPOINT \"_apsw-%ld\"" : "ROLLBACK TO SAVEPOINT \"_apsw-%ld\"",
      |         ^~~~~~~~~~~~~~~
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:3948:14: note: in expansion of macro 'PyObject_CallFunction'
 3948 |     result = PyObject_CallFunction(self->exectrace, "OsO", self, sql, Py_None);
      |              ^~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_config':
src/connection.c:4077:8: error: 'SQLITE_DBCONFIG_REVERSE_SCANORDER' undeclared (first use in this function)
 4077 |   case SQLITE_DBCONFIG_REVERSE_SCANORDER:
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/connection.c:4077:8: note: each undeclared identifier is reported only once for each function it appears in
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4090:12: note: in expansion of macro 'PyLong_FromLong'
 4090 |     return PyLong_FromLong(current);
      |            ^~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_status':
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4135:10: note: in expansion of macro 'Py_BuildValue'
 4135 |   return Py_BuildValue("(ii)", current, highwater);
      |          ^~~~~~~~~~~~~
src/connection.c: In function 'Connection_db_filename':
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4194:10: note: in expansion of macro 'convertutf8string'
 4194 |   return convertutf8string(res);
      |          ^~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_txn_state':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4223:12: note: in expansion of macro 'PyLong_FromLong'
 4223 |     return PyLong_FromLong(res);
      |            ^~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_execute':
src/faultinject.h:699:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  699 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4243:12: note: in expansion of macro 'PyObject_CallMethod'
 4243 |   cursor = PyObject_CallMethod((PyObject *)self, "cursor", NULL);
      |            ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4249:12: note: in expansion of macro 'PyObject_GetAttrString'
 4249 |   method = PyObject_GetAttrString(cursor, "execute");
      |            ^~~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_executemany':
src/faultinject.h:699:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  699 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4279:12: note: in expansion of macro 'PyObject_CallMethod'
 4279 |   cursor = PyObject_CallMethod((PyObject *)self, "cursor", NULL);
      |            ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4285:12: note: in expansion of macro 'PyObject_GetAttrString'
 4285 |   method = PyObject_GetAttrString(cursor, "executemany");
      |            ^~~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_pragma':
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4334:24: note: in expansion of macro 'PyUnicode_AsUTF8'
 4334 |     const char *utf8 = PyUnicode_AsUTF8(value_str);
      |                        ^~~~~~~~~~~~~~~~
src/faultinject.h:1059:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1059 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromFormat", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4341:13: note: in expansion of macro 'PyUnicode_FromFormat'
 4341 |     query = PyUnicode_FromFormat("pragma %s(%s)", name, utf8);
      |             ^~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1059:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1059 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromFormat", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4344:13: note: in expansion of macro 'PyUnicode_FromFormat'
 4344 |     query = PyUnicode_FromFormat("pragma %s", name);
      |             ^~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4348:15: note: in expansion of macro 'Py_BuildValue'
 4348 |   exec_args = Py_BuildValue("(O)", query);
      |               ^~~~~~~~~~~~~
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4356:9: note: in expansion of macro 'PyObject_GetAttrString'
 4356 |   res = PyObject_GetAttrString(cursor, "get");
      |         ^~~~~~~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_column_metadata':
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4522:10: note: in expansion of macro 'Py_BuildValue'
 4522 |   return Py_BuildValue("(ssOOO)", datatype, collseq, notnull ? Py_True : Py_False, primarykey ? Py_True : Py_False, autoinc ? Py_True : Py_False);
      |          ^~~~~~~~~~~~~
src/connection.c: In function 'Connection_drop_modules':
src/faultinject.h:834:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  834 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_Fast", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4602:16: note: in expansion of macro 'PySequence_Fast'
 4602 |     sequence = PySequence_Fast(keep, "expected a sequence for " Connection_drop_modules_USAGE);
      |                ^~~~~~~~~~~~~~~
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4608:13: note: in expansion of macro 'PyMem_Calloc'
 4608 |     array = PyMem_Calloc(nitems + 1, sizeof(char *));
      |             ^~~~~~~~~~~~
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4622:12: note: in expansion of macro 'PyUnicode_AsUTF8'
 4622 |       sc = PyUnicode_AsUTF8(s);
      |            ^~~~~~~~~~~~~~~~
src/faultinject.h:592:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  592 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Realloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4626:20: note: in expansion of macro 'PyMem_Realloc'
 4626 |       stringstmp = PyMem_Realloc(strings, strings_size + slen + 1);
      |                    ^~~~~~~~~~~~~
src/connection.c: In function 'Connection_read':
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4715:11: note: in expansion of macro 'PyBytes_FromStringAndSize'
 4715 |   bytes = PyBytes_FromStringAndSize(NULL, amount);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4733:10: note: in expansion of macro 'Py_BuildValue'
 4733 |   return Py_BuildValue("ON", (res == SQLITE_OK) ? Py_True : Py_False, bytes);
      |          ^~~~~~~~~~~~~
src/connection.c: In function 'Connection_getmainfilename':
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4753:10: note: in expansion of macro 'convertutf8string'
 4753 |   return convertutf8string(sqlite3_db_filename(self->db, "main"));
      |          ^~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_getjournalfilename':
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4768:10: note: in expansion of macro 'convertutf8string'
 4768 |   return convertutf8string(sqlite3_filename_journal(sqlite3_db_filename(self->db, "main")));
      |          ^~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_getwalfilename':
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:4783:10: note: in expansion of macro 'convertutf8string'
 4783 |   return convertutf8string(sqlite3_filename_wal(sqlite3_db_filename(self->db, "main")));
      |          ^~~~~~~~~~~~~~~~~
src/connection.c: In function 'Connection_get_system_errno':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/connection.c:5002:10: note: in expansion of macro 'PyLong_FromLong'
 5002 |   return PyLong_FromLong(sqlite3_system_errno(self->db)); /* PYSQLITE_CON_CALL not needed - no mutex taken */
      |          ^~~~~~~~~~~~~~~
In file included from /usr/include/python3.11/Python.h:38,
                 from src/apsw.c:110:
src/connection.c: In function 'Connection_is_interrupted':
src/connection.c:5018:20: warning: implicit declaration of function 'sqlite3_is_interrupted'; did you mean 'sqlite3_interrupt'? [-Wimplicit-function-declaration]
 5018 |   return Py_NewRef(sqlite3_is_interrupted(self->db) ? Py_True : Py_False);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/python3.11/pyport.h:24:38: note: in definition of macro '_Py_CAST'
   24 | #define _Py_CAST(type, expr) ((type)(expr))
      |                                      ^~~~
/usr/include/python3.11/object.h:632:37: note: in expansion of macro '_PyObject_CAST'
  632 | #  define Py_NewRef(obj) _Py_NewRef(_PyObject_CAST(obj))
      |                                     ^~~~~~~~~~~~~~
src/connection.c:5018:10: note: in expansion of macro 'Py_NewRef'
 5018 |   return Py_NewRef(sqlite3_is_interrupted(self->db) ? Py_True : Py_False);
      |          ^~~~~~~~~
src/backup.c: In function 'APSWBackup_get_remaining':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/backup.c:296:10: note: in expansion of macro 'PyLong_FromLong'
  296 |   return PyLong_FromLong(self->backup ? sqlite3_backup_remaining(self->backup) : 0);
      |          ^~~~~~~~~~~~~~~
src/backup.c: In function 'APSWBackup_get_pagecount':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/backup.c:313:10: note: in expansion of macro 'PyLong_FromLong'
  313 |   return PyLong_FromLong(self->backup ? sqlite3_backup_pagecount(self->backup) : 0);
      |          ^~~~~~~~~~~~~~~
src/blob.c: In function 'ZeroBlobBind_len':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/blob.c:99:10: note: in expansion of macro 'PyLong_FromLong'
   99 |   return PyLong_FromLong(self->blobsize);
      |          ^~~~~~~~~~~~~~~
src/blob.c: In function 'APSWBlob_length':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/blob.c:240:10: note: in expansion of macro 'PyLong_FromLong'
  240 |   return PyLong_FromLong(sqlite3_blob_bytes(self->pBlob));
      |          ^~~~~~~~~~~~~~~
src/blob.c: In function 'APSWBlob_read':
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/blob.c:280:12: note: in expansion of macro 'PyBytes_FromStringAndSize'
  280 |     return PyBytes_FromStringAndSize(NULL, 0);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/blob.c:290:11: note: in expansion of macro 'PyBytes_FromStringAndSize'
  290 |   buffy = PyBytes_FromStringAndSize(NULL, length);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~
src/blob.c: In function 'APSWBlob_tell':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/blob.c:466:10: note: in expansion of macro 'PyLong_FromLong'
  466 |   return PyLong_FromLong(self->curoffset);
      |          ^~~~~~~~~~~~~~~
src/blob.c: In function 'APSWBlob_write':
src/blob.c:502:74: warning: integer overflow in expression of type 'int' results in '-4096' [-Woverflow]
  502 |   APSW_FAULT_INJECT(BlobWriteTooBig, , calc_end = (Py_ssize_t)0x7FFFFFFF * (Py_ssize_t)0x1000);
      |                                                                          ^
src/apsw.c:129:9: note: in definition of macro 'APSW_FAULT_INJECT'
  129 |         bad;                                    \
      |         ^~~
src/cursor.c: In function 'resetcursor':
src/faultinject.h:367:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  367 |     _res = (typeof (_res))APSW_FaultInjectControl("PyIter_Next", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:65:7: note: in definition of macro 'INUSE_CALL'
   65 |       x;                      \
      |       ^
src/cursor.c:223:23: note: in expansion of macro 'PyIter_Next'
  223 |     INUSE_CALL(next = PyIter_Next(self->emiter));
      |                       ^~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_internal_getdescription':
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:402:12: note: in expansion of macro 'PyTuple_New'
  402 |   result = PyTuple_New(ncols);
      |            ^~~~~~~~~~~
src/faultinject.h:1705:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1705 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_column_name", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:422:31: note: in expansion of macro 'sqlite3_column_name'
  422 |     const char *column_name = sqlite3_column_name(INDEX);
      |                               ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:65:7: note: in definition of macro 'INUSE_CALL'
   65 |       x;                      \
      |       ^
src/cursor.c:429:33: note: in expansion of macro 'Py_BuildValue'
  429 |         column = (fmtnum < 2) ? Py_BuildValue(description_formats[fmtnum],
      |                                 ^~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_dobinding':
src/faultinject.h:1044:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1044 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8AndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:604:15: note: in expansion of macro 'PyUnicode_AsUTF8AndSize'
  604 |     strdata = PyUnicode_AsUTF8AndSize(obj, &strbytes);
      |               ^~~~~~~~~~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_dobindings':
src/faultinject.h:562:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  562 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMapping_GetItemString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:691:15: note: in expansion of macro 'PyMapping_GetItemString'
  691 |         obj = PyMapping_GetItemString(self->bindings, key);
      |               ^~~~~~~~~~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_doexectrace':
src/faultinject.h:1089:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1089 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:766:12: note: in expansion of macro 'PyUnicode_FromStringAndSize'
  766 |   sqlcmd = PyUnicode_FromStringAndSize(self->statement->utf8 ? self->statement->utf8 : "", self->statement->query_size);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:864:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  864 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetSlice", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:780:18: note: in expansion of macro 'PySequence_GetSlice'
  780 |       bindings = PySequence_GetSlice(self->bindings, savedbindingsoffset, self->bindingsoffset);
      |                  ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:794:12: note: in expansion of macro 'PyObject_CallFunction'
  794 |   retval = PyObject_CallFunction(exectrace, "ONN", self, sqlcmd, bindings);
      |            ^~~~~~~~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_dorowtrace':
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:824:10: note: in expansion of macro 'PyObject_CallFunction'
  824 |   return PyObject_CallFunction(rowtrace, "OO", self, retval);
      |          ^~~~~~~~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_step':
src/faultinject.h:367:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  367 |     _res = (typeof (_res))APSW_FaultInjectControl("PyIter_Next", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:65:7: note: in definition of macro 'INUSE_CALL'
   65 |       x;                      \
      |       ^
src/cursor.c:886:25: note: in expansion of macro 'PyIter_Next'
  886 |       INUSE_CALL(next = PyIter_Next(self->emiter));
      |                         ^~~~~~~~~~~
src/faultinject.h:834:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  834 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_Fast", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:911:26: note: in expansion of macro 'PySequence_Fast'
  911 |         self->bindings = PySequence_Fast(next, "You must supply a dict or a sequence");
      |                          ^~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_execute':
src/faultinject.h:834:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  834 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_Fast", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:1073:24: note: in expansion of macro 'PySequence_Fast'
 1073 |       self->bindings = PySequence_Fast(self->bindings, "You must supply a dict or a sequence");
      |                        ^~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_executemany':
src/faultinject.h:759:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  759 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetIter", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:1175:18: note: in expansion of macro 'PyObject_GetIter'
 1175 |   self->emiter = PyObject_GetIter(sequenceofbindings);
      |                  ^~~~~~~~~~~~~~~~
src/faultinject.h:367:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  367 |     _res = (typeof (_res))APSW_FaultInjectControl("PyIter_Next", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:65:7: note: in definition of macro 'INUSE_CALL'
   65 |       x;                      \
      |       ^
src/cursor.c:1182:21: note: in expansion of macro 'PyIter_Next'
 1182 |   INUSE_CALL(next = PyIter_Next(self->emiter));
      |                     ^~~~~~~~~~~
src/faultinject.h:834:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  834 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_Fast", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:1195:22: note: in expansion of macro 'PySequence_Fast'
 1195 |     self->bindings = PySequence_Fast(next, "You must supply a dict or a sequence");
      |                      ^~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_next':
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:1325:12: note: in expansion of macro 'PyTuple_New'
 1325 |   retval = PyTuple_New(numcols);
      |            ^~~~~~~~~~~
src/faultinject.h:1225:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1225 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_column_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:65:7: note: in definition of macro 'INUSE_CALL'
   65 |       x;                      \
      |       ^
src/cursor.c:1331:23: note: in expansion of macro 'convert_column_to_pyobject'
 1331 |     INUSE_CALL(item = convert_column_to_pyobject(self->statement->vdbestatement, i));
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_fetchall':
src/faultinject.h:879:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  879 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_List", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:1487:10: note: in expansion of macro 'PySequence_List'
 1487 |   return PySequence_List((PyObject *)self);
      |          ^~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_is_explain':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:1629:10: note: in expansion of macro 'PyLong_FromLong'
 1629 |   return PyLong_FromLong((self->statement) ? sqlite3_stmt_isexplain(self->statement->vdbestatement) : 0);
      |          ^~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_expanded_sql':
src/faultinject.h:1990:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1990 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_expanded_sql", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:65:7: note: in definition of macro 'INUSE_CALL'
   65 |       x;                      \
      |       ^
src/util.c:84:42: note: in expansion of macro '_PYSQLITE_CALL_V'
   84 | #define PYSQLITE_VOID_CALL(y) INUSE_CALL(_PYSQLITE_CALL_V(y))
      |                                          ^~~~~~~~~~~~~~~~
src/cursor.c:1698:3: note: in expansion of macro 'PYSQLITE_VOID_CALL'
 1698 |   PYSQLITE_VOID_CALL(es = sqlite3_expanded_sql(self->statement->vdbestatement));
      |   ^~~~~~~~~~~~~~~~~~
src/cursor.c:1698:27: note: in expansion of macro 'sqlite3_expanded_sql'
 1698 |   PYSQLITE_VOID_CALL(es = sqlite3_expanded_sql(self->statement->vdbestatement));
      |                           ^~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:1701:9: note: in expansion of macro 'convertutf8string'
 1701 |   res = convertutf8string(es);
      |         ^~~~~~~~~~~~~~~~~
src/cursor.c: In function 'APSWCursor_get':
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:1750:18: note: in expansion of macro 'PyList_New'
 1750 |       the_list = PyList_New(0);
      |                  ^~~~~~~~~~
src/faultinject.h:1225:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1225 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_column_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:65:7: note: in definition of macro 'INUSE_CALL'
   65 |       x;                      \
      |       ^
src/cursor.c:1760:28: note: in expansion of macro 'convert_column_to_pyobject'
 1760 |       INUSE_CALL(the_row = convert_column_to_pyobject(self->statement->vdbestatement, 0));
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/cursor.c:1766:17: note: in expansion of macro 'PyTuple_New'
 1766 |       the_row = PyTuple_New(numcols);
      |                 ^~~~~~~~~~~
src/faultinject.h:1225:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1225 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_column_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/util.c:65:7: note: in definition of macro 'INUSE_CALL'
   65 |       x;                      \
      |       ^
src/cursor.c:1771:27: note: in expansion of macro 'convert_column_to_pyobject'
 1771 |         INUSE_CALL(item = convert_column_to_pyobject(self->statement->vdbestatement, i));
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_nConstraint':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:107:10: note: in expansion of macro 'PyLong_FromLong'
  107 |   return PyLong_FromLong(self->index_info->nConstraint);
      |          ^~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_nOrderBy':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:120:10: note: in expansion of macro 'PyLong_FromLong'
  120 |   return PyLong_FromLong(self->index_info->nOrderBy);
      |          ^~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_aConstraint_iColumn':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:144:10: note: in expansion of macro 'PyLong_FromLong'
  144 |   return PyLong_FromLong(self->index_info->aConstraint[which].iColumn);
      |          ^~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_aConstraint_op':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:168:10: note: in expansion of macro 'PyLong_FromLong'
  168 |   return PyLong_FromLong(self->index_info->aConstraint[which].op);
      |          ^~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_aConstraint_collation':
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:218:10: note: in expansion of macro 'convertutf8string'
  218 |   return convertutf8string(sqlite3_vtab_collation(self->index_info, which));
      |          ^~~~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_aConstraint_rhs':
src/faultinject.h:1240:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1240 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_value_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:253:10: note: in expansion of macro 'convert_value_to_pyobject'
  253 |   return convert_value_to_pyobject(pval, 0, 0);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_aOrderBy_iColumn':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:276:10: note: in expansion of macro 'PyLong_FromLong'
  276 |   return PyLong_FromLong(self->index_info->aOrderBy[which].iColumn);
      |          ^~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_aConstraintUsage_argvIndex':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:322:10: note: in expansion of macro 'PyLong_FromLong'
  322 |   return PyLong_FromLong(self->index_info->aConstraintUsage[which].argvIndex);
      |          ^~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_idxNum':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:466:10: note: in expansion of macro 'PyLong_FromLong'
  466 |   return PyLong_FromLong(self->index_info->idxNum);
      |          ^~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_idxStr':
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:498:10: note: in expansion of macro 'convertutf8string'
  498 |   return convertutf8string(self->index_info->idxStr);
      |          ^~~~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_set_idxStr':
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:522:26: note: in expansion of macro 'PyUnicode_AsUTF8'
  522 |     const char *svalue = PyUnicode_AsUTF8(value);
      |                          ^~~~~~~~~~~~~~~~
src/faultinject.h:2065:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2065 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_mprintf", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:525:27: note: in expansion of macro 'sqlite3_mprintf'
  525 |     const char *isvalue = sqlite3_mprintf("%s", svalue);
      |                           ^~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_estimatedCost':
src/faultinject.h:337:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  337 |     _res = (typeof (_res))APSW_FaultInjectControl("PyFloat_FromDouble", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:576:10: note: in expansion of macro 'PyFloat_FromDouble'
  576 |   return PyFloat_FromDouble(self->index_info->estimatedCost);
      |          ^~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_estimatedRows':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:605:10: note: in expansion of macro 'PyLong_FromLongLong'
  605 |   return PyLong_FromLongLong(self->index_info->estimatedRows);
      |          ^~~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_idxFlags':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:640:10: note: in expansion of macro 'PyLong_FromLong'
  640 |   return PyLong_FromLong(self->index_info->idxFlags);
      |          ^~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_colUsed':
src/faultinject.h:939:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  939 |     _res = (typeof (_res))APSW_FaultInjectControl("PySet_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:678:12: note: in expansion of macro 'PySet_New'
  678 |   retval = PySet_New(NULL);
      |            ^~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:686:13: note: in expansion of macro 'PyLong_FromLong'
  686 |       tmp = PyLong_FromLong(i);
      |             ^~~~~~~~~~~~~~~
src/vtable.c: In function 'SqliteIndexInfo_get_distinct':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:717:10: note: in expansion of macro 'PyLong_FromLong'
  717 |   return PyLong_FromLong(sqlite3_vtab_distinct(self->index_info));
      |          ^~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabCreateOrConnect':
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:860:10: note: in expansion of macro 'PyTuple_New'
  860 |   args = PyTuple_New(1 + argc);
      |          ^~~~~~~~~~~
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:869:11: note: in expansion of macro 'convertutf8string'
  869 |     str = convertutf8string(argv[i]);
      |           ^~~~~~~~~~~~~~~~~
src/faultinject.h:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  172 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:875:11: note: in expansion of macro 'Call_PythonMethod'
  875 |   pyres = Call_PythonMethod(vti->datasource, create_or_connect_strings[stringindex].methodname, 1, args);
      |           ^~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:888:12: note: in expansion of macro 'PySequence_GetItem'
  888 |   vtable = PySequence_GetItem(pyres, 1);
      |            ^~~~~~~~~~~~~~~~~~
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:892:9: note: in expansion of macro 'PyMem_Calloc'
  892 |   avi = PyMem_Calloc(1, sizeof(apsw_vtable));
      |         ^~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:900:12: note: in expansion of macro 'PySequence_GetItem'
  900 |   schema = PySequence_GetItem(pyres, 0);
      |            ^~~~~~~~~~~~~~~~~~
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:909:30: note: in expansion of macro 'PyUnicode_AsUTF8'
  909 |     const char *utf8schema = PyUnicode_AsUTF8(schema);
      |                              ^~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabDestroyOrDisconnect':
src/faultinject.h:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  172 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/pyutil.c:251:7: note: in definition of macro 'CHAIN_EXC'
  251 |       x;                                       \
      |       ^
src/vtable.c:1104:13: note: in expansion of macro 'Call_PythonMethod'
 1104 |       res = Call_PythonMethod(vtable, destroy_disconnect_strings[stringindex].methodname, (stringindex == 0), NULL););
      |             ^~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabBestIndexObject':
src/faultinject.h:1165:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1165 |     _res = (typeof (_res))APSW_FaultInjectControl("_PyObject_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1187:42: note: in expansion of macro '_PyObject_New'
 1187 |   index_info = (struct SqliteIndexInfo *)_PyObject_New(&SqliteIndexInfoType);
      |                                          ^~~~~~~~~~~~~
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1193:9: note: in expansion of macro 'Call_PythonMethodV'
 1193 |   res = Call_PythonMethodV(vtable, "BestIndexObject", 1, "(O)", index_info);
      |         ^~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabBestIndex':
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1429:17: note: in expansion of macro 'PyTuple_New'
 1429 |   constraints = PyTuple_New(nconstraints);
      |                 ^~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1440:18: note: in expansion of macro 'Py_BuildValue'
 1440 |     constraint = Py_BuildValue("(iB)", indexinfo->aConstraint[i].iColumn, indexinfo->aConstraint[i].op);
      |                  ^~~~~~~~~~~~~
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1449:14: note: in expansion of macro 'PyTuple_New'
 1449 |   orderbys = PyTuple_New(indexinfo->nOrderBy);
      |              ^~~~~~~~~~~
src/faultinject.h:217:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  217 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBool_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:1133:49: note: in definition of macro 'Py_BuildValue'
 1133 |     __auto_type _res = 0 ? _Py_BuildValue_SizeT(__VA_ARGS__) : 0;                                               \
      |                                                 ^~~~~~~~~~~
src/vtable.c:1458:67: note: in expansion of macro 'PyBool_FromLong'
 1458 |     order = Py_BuildValue("(iN)", indexinfo->aOrderBy[i].iColumn, PyBool_FromLong(indexinfo->aOrderBy[i].desc));
      |                                                                   ^~~~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1458:13: note: in expansion of macro 'Py_BuildValue'
 1458 |     order = Py_BuildValue("(iN)", indexinfo->aOrderBy[i].iColumn, PyBool_FromLong(indexinfo->aOrderBy[i].desc));
      |             ^~~~~~~~~~~~~
src/faultinject.h:217:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  217 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBool_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:1138:36: note: in definition of macro 'Py_BuildValue'
 1138 |        _res = _Py_BuildValue_SizeT(__VA_ARGS__);                                                                \
      |                                    ^~~~~~~~~~~
src/vtable.c:1458:67: note: in expansion of macro 'PyBool_FromLong'
 1458 |     order = Py_BuildValue("(iN)", indexinfo->aOrderBy[i].iColumn, PyBool_FromLong(indexinfo->aOrderBy[i].desc));
      |                                                                   ^~~~~~~~~~~~~~~
src/faultinject.h:217:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  217 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBool_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:1141:30: note: in definition of macro 'Py_BuildValue'
 1141 |         _Py_BuildValue_SizeT(__VA_ARGS__);                                                                      \
      |                              ^~~~~~~~~~~
src/vtable.c:1458:67: note: in expansion of macro 'PyBool_FromLong'
 1458 |     order = Py_BuildValue("(iN)", indexinfo->aOrderBy[i].iColumn, PyBool_FromLong(indexinfo->aOrderBy[i].desc));
      |                                                                   ^~~~~~~~~~~~~~~
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1466:9: note: in expansion of macro 'Call_PythonMethodV'
 1466 |   res = Call_PythonMethodV(vtable, "BestIndex", 1, "(OO)", constraints, orderbys);
      |         ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1489:13: note: in expansion of macro 'PySequence_GetItem'
 1489 |   indices = PySequence_GetItem(res, 0);
      |             ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1509:20: note: in expansion of macro 'PySequence_GetItem'
 1509 |       constraint = PySequence_GetItem(indices, j);
      |                    ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1535:19: note: in expansion of macro 'PySequence_GetItem'
 1535 |       argvindex = PySequence_GetItem(constraint, 0);
      |                   ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1537:16: note: in expansion of macro 'PySequence_GetItem'
 1537 |         omit = PySequence_GetItem(constraint, 1);
      |                ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1569:24: note: in expansion of macro 'PySequence_GetItem'
 1569 |     PyObject *idxnum = PySequence_GetItem(res, 1);
      |                        ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1593:14: note: in expansion of macro 'PySequence_GetItem'
 1593 |     idxstr = PySequence_GetItem(res, 2);
      |              ^~~~~~~~~~~~~~~~~~
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1605:28: note: in expansion of macro 'PyUnicode_AsUTF8'
 1605 |       const char *svalue = PyUnicode_AsUTF8(idxstr);
      |                            ^~~~~~~~~~~~~~~~
src/faultinject.h:2065:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 2065 |     _res = (typeof (_res))APSW_FaultInjectControl("sqlite3_mprintf", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1611:29: note: in expansion of macro 'sqlite3_mprintf'
 1611 |       const char *isvalue = sqlite3_mprintf("%s", svalue);
      |                             ^~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1629:23: note: in expansion of macro 'PySequence_GetItem'
 1629 |     orderbyconsumed = PySequence_GetItem(res, 3);
      |                       ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1651:21: note: in expansion of macro 'PySequence_GetItem'
 1651 |     estimatedcost = PySequence_GetItem(res, 4);
      |                     ^~~~~~~~~~~~~~~~~~
src/faultinject.h:652:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  652 |     _res = (typeof (_res))APSW_FaultInjectControl("PyNumber_Float", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1656:24: note: in expansion of macro 'PyNumber_Float'
 1656 |       festimatedcost = PyNumber_Float(estimatedcost);
      |                        ^~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabTransactionMethod':
src/faultinject.h:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  172 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1738:9: note: in expansion of macro 'Call_PythonMethod'
 1738 |   res = Call_PythonMethod(vtable, transaction_strings[stringindex].methodname, 0, NULL);
      |         ^~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabOpen':
src/faultinject.h:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  172 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1806:9: note: in expansion of macro 'Call_PythonMethod'
 1806 |   res = Call_PythonMethod(vtable, "Open", 1, NULL);
      |         ^~~~~~~~~~~~~~~~~
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1809:9: note: in expansion of macro 'PyMem_Calloc'
 1809 |   avc = PyMem_Calloc(1, sizeof(apsw_vtable_cursor));
      |         ^~~~~~~~~~~~
src/vtable.c: In function 'apswvtabUpdate':
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1880:12: note: in expansion of macro 'Py_BuildValue'
 1880 |     args = Py_BuildValue("(O&)", convert_value_to_pyobject_not_in, argv[0]);
      |            ^~~~~~~~~~~~~
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1889:12: note: in expansion of macro 'PyTuple_New'
 1889 |     args = PyTuple_New(2);
      |            ^~~~~~~~~~~
src/faultinject.h:1240:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1240 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_value_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1898:18: note: in expansion of macro 'convert_value_to_pyobject'
 1898 |       newrowid = convert_value_to_pyobject(argv[1], 0, 0);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1909:12: note: in expansion of macro 'PyTuple_New'
 1909 |     args = PyTuple_New(3);
      |            ^~~~~~~~~~~
src/faultinject.h:1240:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1240 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_value_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1910:16: note: in expansion of macro 'convert_value_to_pyobject'
 1910 |     oldrowid = convert_value_to_pyobject(argv[0], 0, 0);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1240:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1240 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_value_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1912:18: note: in expansion of macro 'convert_value_to_pyobject'
 1912 |       newrowid = convert_value_to_pyobject(argv[1], 0, 0);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1927:14: note: in expansion of macro 'PyTuple_New'
 1927 |     fields = PyTuple_New(argc - 2);
      |              ^~~~~~~~~~~
src/faultinject.h:1240:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1240 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_value_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1933:15: note: in expansion of macro 'convert_value_to_pyobject'
 1933 |       field = convert_value_to_pyobject(argv[i + 2], 0, ((apsw_vtable *)pVtab)->use_no_change);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  172 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1944:9: note: in expansion of macro 'Call_PythonMethod'
 1944 |   res = Call_PythonMethod(vtable, methodname, 1, args);
      |         ^~~~~~~~~~~~~~~~~
src/faultinject.h:667:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  667 |     _res = (typeof (_res))APSW_FaultInjectControl("PyNumber_Long", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:1955:23: note: in expansion of macro 'PyNumber_Long'
 1955 |     PyObject *rowid = PyNumber_Long(res);
      |                       ^~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabFindFunction':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2029:9: note: in expansion of macro 'Call_PythonMethodV'
 2029 |   res = Call_PythonMethodV(vtable, "FindFunction", 0, "(si)", zName, nArg);
      |         ^~~~~~~~~~~~~~~~~~
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2039:23: note: in expansion of macro 'PyList_New'
 2039 |       av->functions = PyList_New(0);
      |                       ^~~~~~~~~~
src/faultinject.h:1180:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1180 |     _res = (typeof (_res))APSW_FaultInjectControl("allocfunccbinfo", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2045:14: note: in expansion of macro 'allocfunccbinfo'
 2045 |     cbinfo = allocfunccbinfo(zName);
      |              ^~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2058:16: note: in expansion of macro 'PySequence_GetItem'
 2058 |       item_0 = PySequence_GetItem(res, 0);
      |                ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2060:18: note: in expansion of macro 'PySequence_GetItem'
 2060 |         item_1 = PySequence_GetItem(res, 1);
      |                  ^~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabRename':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2125:9: note: in expansion of macro 'Call_PythonMethodV'
 2125 |   res = Call_PythonMethodV(vtable, "Rename", 0, "(s)", zNew);
      |         ^~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabSavepoint':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2156:9: note: in expansion of macro 'Call_PythonMethodV'
 2156 |   res = Call_PythonMethodV(vtable, "Savepoint", 0, "(i)", level);
      |         ^~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabRelease':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2187:9: note: in expansion of macro 'Call_PythonMethodV'
 2187 |   res = Call_PythonMethodV(vtable, "Release", 0, "(i)", level);
      |         ^~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabRollbackTo':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2218:9: note: in expansion of macro 'Call_PythonMethodV'
 2218 |   res = Call_PythonMethodV(vtable, "RollbackTo", 0, "(i)", level);
      |         ^~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabFilter':
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2283:10: note: in expansion of macro 'PyTuple_New'
 2283 |   argv = PyTuple_New(argc);
      |          ^~~~~~~~~~~
src/faultinject.h:1240:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1240 |     _res = (typeof (_res))APSW_FaultInjectControl("convert_value_to_pyobject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2288:23: note: in expansion of macro 'convert_value_to_pyobject'
 2288 |     PyObject *value = convert_value_to_pyobject(sqliteargv[i], 1, 0);
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2294:9: note: in expansion of macro 'Call_PythonMethodV'
 2294 |   res = Call_PythonMethodV(cursor, "Filter", 1, "(isO)", idxNum, idxStr, argv);
      |         ^~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabEof':
src/faultinject.h:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  172 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2340:9: note: in expansion of macro 'Call_PythonMethod'
 2340 |   res = Call_PythonMethod(cursor, "Eof", 1, NULL);
      |         ^~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabColumn':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2412:11: note: in expansion of macro 'Call_PythonMethodV'
 2412 |     res = Call_PythonMethodV(cursor, "ColumnNoChange", 1, "(i)", ncolumn);
      |           ^~~~~~~~~~~~~~~~~~
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2414:11: note: in expansion of macro 'Call_PythonMethodV'
 2414 |     res = Call_PythonMethodV(cursor, "Column", 1, "(i)", ncolumn);
      |           ^~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabNext':
src/faultinject.h:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  172 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2464:9: note: in expansion of macro 'Call_PythonMethod'
 2464 |   res = Call_PythonMethod(cursor, "Next", 1, NULL);
      |         ^~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabClose':
src/faultinject.h:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  172 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2499:9: note: in expansion of macro 'Call_PythonMethod'
 2499 |   res = Call_PythonMethod(cursor, "Close", 1, NULL);
      |         ^~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabRowid':
src/faultinject.h:172:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  172 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethod", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2534:9: note: in expansion of macro 'Call_PythonMethod'
 2534 |   res = Call_PythonMethod(cursor, "Rowid", 1, NULL);
      |         ^~~~~~~~~~~~~~~~~
src/faultinject.h:667:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  667 |     _res = (typeof (_res))APSW_FaultInjectControl("PyNumber_Long", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2539:13: note: in expansion of macro 'PyNumber_Long'
 2539 |   pyrowid = PyNumber_Long(res);
      |             ^~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabShadowName':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2721:9: note: in expansion of macro 'Call_PythonMethodV'
 2721 |   res = Call_PythonMethodV(shadowname_allocation[which].source, "ShadowName", 0, "(s)", table_suffix);
      |         ^~~~~~~~~~~~~~~~~~
src/vtable.c: In function 'apswvtabSetupModuleDef':
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vtable.c:2760:9: note: in expansion of macro 'PyMem_Calloc'
 2760 |   mod = PyMem_Calloc(1, sizeof(*mod));
      |         ^~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_excepthook':
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:275:9: note: in expansion of macro 'PySequence_GetItem'
  275 |   one = PySequence_GetItem(args, 0);
      |         ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:278:9: note: in expansion of macro 'PySequence_GetItem'
  278 |   two = PySequence_GetItem(args, 1);
      |         ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:281:11: note: in expansion of macro 'PySequence_GetItem'
  281 |   three = PySequence_GetItem(args, 2);
      |           ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xDelete':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:305:14: note: in expansion of macro 'Call_PythonMethodV'
  305 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDelete", 1, "(si)", zName, syncDir);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xAccess':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:365:14: note: in expansion of macro 'Call_PythonMethodV'
  365 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xAccess", 1, "(si)", zName, flags);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xFullPathname':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:431:14: note: in expansion of macro 'Call_PythonMethodV'
  431 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xFullPathname", 1, "(s)", zName);
      |              ^~~~~~~~~~~~~~~~~~
src/faultinject.h:1044:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1044 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8AndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:444:12: note: in expansion of macro 'PyUnicode_AsUTF8AndSize'
  444 |     utf8 = PyUnicode_AsUTF8AndSize(pyresult, &utf8len);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xFullPathname':
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:492:12: note: in expansion of macro 'PyMem_Calloc'
  492 |   resbuf = PyMem_Calloc(1, self->basevfs->mxPathname + 1);
      |            ^~~~~~~~~~~~
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:497:14: note: in expansion of macro 'convertutf8string'
  497 |     result = convertutf8string(resbuf);
      |              ^~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xOpen':
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:526:11: note: in expansion of macro 'PyList_New'
  526 |   flags = PyList_New(2);
      |           ^~~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
/usr/include/python3.11/pyport.h:24:38: note: in definition of macro '_Py_CAST'
   24 | #define _Py_CAST(type, expr) ((type)(expr))
      |                                      ^~~~
/usr/include/python3.11/cpython/listobject.h:50:48: note: in expansion of macro '_PyObject_CAST'
   50 |     PyList_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value))
      |                                                ^~~~~~~~~~~~~~
src/vfs.c:530:3: note: in expansion of macro 'PyList_SET_ITEM'
  530 |   PyList_SET_ITEM(flags, 0, PyLong_FromLong(inflags));
      |   ^~~~~~~~~~~~~~~
src/vfs.c:530:29: note: in expansion of macro 'PyLong_FromLong'
  530 |   PyList_SET_ITEM(flags, 0, PyLong_FromLong(inflags));
      |                             ^~~~~~~~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
/usr/include/python3.11/pyport.h:24:38: note: in definition of macro '_Py_CAST'
   24 | #define _Py_CAST(type, expr) ((type)(expr))
      |                                      ^~~~
/usr/include/python3.11/cpython/listobject.h:50:48: note: in expansion of macro '_PyObject_CAST'
   50 |     PyList_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value))
      |                                                ^~~~~~~~~~~~~~
src/vfs.c:531:3: note: in expansion of macro 'PyList_SET_ITEM'
  531 |   PyList_SET_ITEM(flags, 1, PyLong_FromLong(pOutFlags ? *pOutFlags : 0));
      |   ^~~~~~~~~~~~~~~
src/vfs.c:531:29: note: in expansion of macro 'PyLong_FromLong'
  531 |   PyList_SET_ITEM(flags, 1, PyLong_FromLong(pOutFlags ? *pOutFlags : 0));
      |                             ^~~~~~~~~~~~~~~
src/faultinject.h:1165:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1165 |     _res = (typeof (_res))APSW_FaultInjectControl("_PyObject_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:537:18: note: in expansion of macro '_PyObject_New'
  537 |     nameobject = _PyObject_New(&APSWURIFilenameType);
      |                  ^~~~~~~~~~~~~
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:542:18: note: in expansion of macro 'convertutf8string'
  542 |     nameobject = convertutf8string(zName);
      |                  ^~~~~~~~~~~~~~~~~
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:544:14: note: in expansion of macro 'Call_PythonMethodV'
  544 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xOpen", 1, "(NO)", nameobject, flags);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xOpen':
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:651:24: note: in expansion of macro 'PyUnicode_AsUTF8'
  651 |     const char *utf8 = PyUnicode_AsUTF8(name);
      |                        ^~~~~~~~~~~~~~~~
src/faultinject.h:1195:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1195 |     _res = (typeof (_res))APSW_FaultInjectControl("apsw_strdup", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:654:16: note: in expansion of macro 'apsw_strdup'
  654 |     filename = apsw_strdup(utf8);
      |                ^~~~~~~~~~~
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:664:10: note: in expansion of macro 'PyMem_Calloc'
  664 |   file = PyMem_Calloc(1, self->basevfs->szOsFile);
      |          ^~~~~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:425:43: note: in definition of macro 'PyList_SetItem'
  425 |     __auto_type _res = 0 ? PyList_SetItem(__VA_ARGS__) : 0;                                                      \
      |                                           ^~~~~~~~~~~
src/vfs.c:680:28: note: in expansion of macro 'PyLong_FromLong'
  680 |   PyList_SetItem(flags, 1, PyLong_FromLong(flagsout));
      |                            ^~~~~~~~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:430:30: note: in definition of macro 'PyList_SetItem'
  430 |        _res = PyList_SetItem(__VA_ARGS__);                                                                       \
      |                              ^~~~~~~~~~~
src/vfs.c:680:28: note: in expansion of macro 'PyLong_FromLong'
  680 |   PyList_SetItem(flags, 1, PyLong_FromLong(flagsout));
      |                            ^~~~~~~~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:433:24: note: in definition of macro 'PyList_SetItem'
  433 |         PyList_SetItem(__VA_ARGS__);                                                                             \
      |                        ^~~~~~~~~~~
src/vfs.c:680:28: note: in expansion of macro 'PyLong_FromLong'
  680 |   PyList_SetItem(flags, 1, PyLong_FromLong(flagsout));
      |                            ^~~~~~~~~~~~~~~
src/faultinject.h:1165:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1165 |     _res = (typeof (_res))APSW_FaultInjectControl("_PyObject_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:684:29: note: in expansion of macro '_PyObject_New'
  684 |   apswfile = (APSWVFSFile *)_PyObject_New(&APSWVFSFileType);
      |                             ^~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xDlOpen':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:710:14: note: in expansion of macro 'Call_PythonMethodV'
  710 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDlOpen", 1, "(s)", zName);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xDlOpen':
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:758:10: note: in expansion of macro 'PyLong_FromVoidPtr'
  758 |   return PyLong_FromVoidPtr(res);
      |          ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xDlSym':
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:185:47: note: in definition of macro 'Call_PythonMethodV'
  185 |     __auto_type _res = 0 ? Call_PythonMethodV(__VA_ARGS__) : 0;                                                      \
      |                                               ^~~~~~~~~~~
src/vfs.c:768:83: note: in expansion of macro 'PyLong_FromVoidPtr'
  768 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDlSym", 1, "(Ns)", PyLong_FromVoidPtr(handle), zName);
      |                                                                                   ^~~~~~~~~~~~~~~~~~
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:768:14: note: in expansion of macro 'Call_PythonMethodV'
  768 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDlSym", 1, "(Ns)", PyLong_FromVoidPtr(handle), zName);
      |              ^~~~~~~~~~~~~~~~~~
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:190:34: note: in definition of macro 'Call_PythonMethodV'
  190 |        _res = Call_PythonMethodV(__VA_ARGS__);                                                                       \
      |                                  ^~~~~~~~~~~
src/vfs.c:768:83: note: in expansion of macro 'PyLong_FromVoidPtr'
  768 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDlSym", 1, "(Ns)", PyLong_FromVoidPtr(handle), zName);
      |                                                                                   ^~~~~~~~~~~~~~~~~~
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:193:28: note: in definition of macro 'Call_PythonMethodV'
  193 |         Call_PythonMethodV(__VA_ARGS__);                                                                             \
      |                            ^~~~~~~~~~~
src/vfs.c:768:83: note: in expansion of macro 'PyLong_FromVoidPtr'
  768 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDlSym", 1, "(Ns)", PyLong_FromVoidPtr(handle), zName);
      |                                                                                   ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xDlSym':
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:826:10: note: in expansion of macro 'PyLong_FromVoidPtr'
  826 |   return PyLong_FromVoidPtr(res);
      |          ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xDlClose':
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:185:47: note: in definition of macro 'Call_PythonMethodV'
  185 |     __auto_type _res = 0 ? Call_PythonMethodV(__VA_ARGS__) : 0;                                                      \
      |                                               ^~~~~~~~~~~
src/vfs.c:835:84: note: in expansion of macro 'PyLong_FromVoidPtr'
  835 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDlClose", 1, "(N)", PyLong_FromVoidPtr(handle));
      |                                                                                    ^~~~~~~~~~~~~~~~~~
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:835:14: note: in expansion of macro 'Call_PythonMethodV'
  835 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDlClose", 1, "(N)", PyLong_FromVoidPtr(handle));
      |              ^~~~~~~~~~~~~~~~~~
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:190:34: note: in definition of macro 'Call_PythonMethodV'
  190 |        _res = Call_PythonMethodV(__VA_ARGS__);                                                                       \
      |                                  ^~~~~~~~~~~
src/vfs.c:835:84: note: in expansion of macro 'PyLong_FromVoidPtr'
  835 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDlClose", 1, "(N)", PyLong_FromVoidPtr(handle));
      |                                                                                    ^~~~~~~~~~~~~~~~~~
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:193:28: note: in definition of macro 'Call_PythonMethodV'
  193 |         Call_PythonMethodV(__VA_ARGS__);                                                                             \
      |                            ^~~~~~~~~~~
src/vfs.c:835:84: note: in expansion of macro 'PyLong_FromVoidPtr'
  835 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDlClose", 1, "(N)", PyLong_FromVoidPtr(handle));
      |                                                                                    ^~~~~~~~~~~~~~~~~~
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:838:75: note: in expansion of macro 'PyLong_FromVoidPtr'
  838 |     AddTraceBackHere(__FILE__, __LINE__, "vfs.xDlClose", "{s: N}", "ptr", PyLong_FromVoidPtr(handle));
      |                                                                           ^~~~~~~~~~~~~~~~~~
In file included from src/apsw.c:212:
src/vfs.c: In function 'apswvfspy_xDlClose':
src/vfs.c:876:80: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  876 |     AddTraceBackHere(__FILE__, __LINE__, "vfspy.xDlClose", "{s: K}", "handle", (unsigned long long)handle);
      |                                                                                ^
src/vfs.c: In function 'apswvfs_xDlError':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:889:14: note: in expansion of macro 'Call_PythonMethodV'
  889 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xDlError", 0, "()");
      |              ^~~~~~~~~~~~~~~~~~
src/faultinject.h:1044:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1044 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8AndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:898:14: note: in expansion of macro 'PyUnicode_AsUTF8AndSize'
  898 |       utf8 = PyUnicode_AsUTF8AndSize(pyresult, &utf8len);
      |              ^~~~~~~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xDlError':
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:938:9: note: in expansion of macro 'PyBytes_FromStringAndSize'
  938 |   res = PyBytes_FromStringAndSize(NULL, 512 + self->basevfs->mxPathname);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:960:13: note: in expansion of macro 'convertutf8string'
  960 |   unicode = convertutf8string(PyBytes_AS_STRING(res));
      |             ^~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xRandomness':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:979:14: note: in expansion of macro 'Call_PythonMethodV'
  979 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xRandomness", 1, "(i)", nByte);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xRandomness':
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1036:9: note: in expansion of macro 'PyBytes_FromStringAndSize'
 1036 |   res = PyBytes_FromStringAndSize(NULL, numbytes);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xSleep':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1064:14: note: in expansion of macro 'Call_PythonMethodV'
 1064 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xSleep", 1, "(i)", microseconds);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xSleep':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1107:10: note: in expansion of macro 'PyLong_FromLong'
 1107 |   return PyLong_FromLong(self->basevfs->xSleep(self->basevfs, microseconds));
      |          ^~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xCurrentTime':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1117:14: note: in expansion of macro 'Call_PythonMethodV'
 1117 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xCurrentTime", 1, "()");
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xCurrentTime':
src/faultinject.h:337:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  337 |     _res = (typeof (_res))APSW_FaultInjectControl("PyFloat_FromDouble", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1159:10: note: in expansion of macro 'PyFloat_FromDouble'
 1159 |   return PyFloat_FromDouble(julian);
      |          ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xCurrentTimeInt64':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1169:14: note: in expansion of macro 'Call_PythonMethodV'
 1169 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xCurrentTimeInt64", 1, "()");
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xCurrentTimeInt64':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1209:10: note: in expansion of macro 'PyLong_FromLongLong'
 1209 |   return PyLong_FromLongLong(time);
      |          ^~~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xGetLastError':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1224:14: note: in expansion of macro 'Call_PythonMethodV'
 1224 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xGetLastError", 0, "()");
      |              ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1233:11: note: in expansion of macro 'PySequence_GetItem'
 1233 |   item0 = PySequence_GetItem(pyresult, 0);
      |           ^~~~~~~~~~~~~~~~~~
src/faultinject.h:849:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  849 |     _res = (typeof (_res))APSW_FaultInjectControl("PySequence_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1235:13: note: in expansion of macro 'PySequence_GetItem'
 1235 |     item1 = PySequence_GetItem(pyresult, 1);
      |             ^~~~~~~~~~~~~~~~~~
src/faultinject.h:1044:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1044 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8AndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1264:12: note: in expansion of macro 'PyUnicode_AsUTF8AndSize'
 1264 |     utf8 = PyUnicode_AsUTF8AndSize(item1, &utf8len);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xGetLastError':
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1307:10: note: in expansion of macro 'PyBytes_FromStringAndSize'
 1307 |   text = PyBytes_FromStringAndSize(NULL, size);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1329:9: note: in expansion of macro 'PyTuple_New'
 1329 |   res = PyTuple_New(2);
      |         ^~~~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
/usr/include/python3.11/pyport.h:24:38: note: in definition of macro '_Py_CAST'
   24 | #define _Py_CAST(type, expr) ((type)(expr))
      |                                      ^~~~
/usr/include/python3.11/cpython/tupleobject.h:40:49: note: in expansion of macro '_PyObject_CAST'
   40 |     PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value))
      |                                                 ^~~~~~~~~~~~~~
src/vfs.c:1333:3: note: in expansion of macro 'PyTuple_SET_ITEM'
 1333 |   PyTuple_SET_ITEM(res, 0, PyLong_FromLong(errval));
      |   ^~~~~~~~~~~~~~~~
src/vfs.c:1333:28: note: in expansion of macro 'PyLong_FromLong'
 1333 |   PyTuple_SET_ITEM(res, 0, PyLong_FromLong(errval));
      |                            ^~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xSetSystemCall':
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:185:47: note: in definition of macro 'Call_PythonMethodV'
  185 |     __auto_type _res = 0 ? Call_PythonMethodV(__VA_ARGS__) : 0;                                                      \
      |                                               ^~~~~~~~~~~
src/vfs.c:1357:33: note: in expansion of macro 'PyLong_FromVoidPtr'
 1357 |                                 PyLong_FromVoidPtr(call));
      |                                 ^~~~~~~~~~~~~~~~~~
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1355:14: note: in expansion of macro 'Call_PythonMethodV'
 1355 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xSetSystemCall", 1, "(sN)",
      |              ^~~~~~~~~~~~~~~~~~
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:190:34: note: in definition of macro 'Call_PythonMethodV'
  190 |        _res = Call_PythonMethodV(__VA_ARGS__);                                                                       \
      |                                  ^~~~~~~~~~~
src/vfs.c:1357:33: note: in expansion of macro 'PyLong_FromVoidPtr'
 1357 |                                 PyLong_FromVoidPtr(call));
      |                                 ^~~~~~~~~~~~~~~~~~
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:193:28: note: in definition of macro 'Call_PythonMethodV'
  193 |         Call_PythonMethodV(__VA_ARGS__);                                                                             \
      |                            ^~~~~~~~~~~
src/vfs.c:1357:33: note: in expansion of macro 'PyLong_FromVoidPtr'
 1357 |                                 PyLong_FromVoidPtr(call));
      |                                 ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xGetSystemCall':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1435:14: note: in expansion of macro 'Call_PythonMethodV'
 1435 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xGetSystemCall", 1, "(s)",
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xGetSystemCall':
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1477:12: note: in expansion of macro 'PyLong_FromVoidPtr'
 1477 |     return PyLong_FromVoidPtr(ptr);
      |            ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfs_xNextSystemCall':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1488:14: note: in expansion of macro 'Call_PythonMethodV'
 1488 |   pyresult = Call_PythonMethodV((PyObject *)(vfs->pAppData), "xNextSystemCall", 1, "(s)",
      |              ^~~~~~~~~~~~~~~~~~
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1496:13: note: in expansion of macro 'PyUnicode_AsUTF8'
 1496 |       res = PyUnicode_AsUTF8(pyresult);
      |             ^~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfspy_xNextSystemCall':
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1537:11: note: in expansion of macro 'convertutf8string'
 1537 |     res = convertutf8string(zName);
      |           ^~~~~~~~~~~~~~~~~
src/vfs.c: In function 'APSWVFS_init':
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1705:40: note: in expansion of macro 'PyMem_Calloc'
 1705 |   self->containingvfs = (sqlite3_vfs *)PyMem_Calloc(1, sizeof(sqlite3_vfs));
      |                                        ^~~~~~~~~~~~
src/faultinject.h:1195:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1195 |     _res = (typeof (_res))APSW_FaultInjectControl("apsw_strdup", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1714:32: note: in expansion of macro 'apsw_strdup'
 1714 |   self->containingvfs->zName = apsw_strdup(name);
      |                                ^~~~~~~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1735:3: note: in expansion of macro 'METHOD'
 1735 |   METHOD(Delete);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1736:3: note: in expansion of macro 'METHOD'
 1736 |   METHOD(FullPathname);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1737:3: note: in expansion of macro 'METHOD'
 1737 |   METHOD(Open);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1738:3: note: in expansion of macro 'METHOD'
 1738 |   METHOD(Access);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1739:3: note: in expansion of macro 'METHOD'
 1739 |   METHOD(DlOpen);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1740:3: note: in expansion of macro 'METHOD'
 1740 |   METHOD(DlSym);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1741:3: note: in expansion of macro 'METHOD'
 1741 |   METHOD(DlClose);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1742:3: note: in expansion of macro 'METHOD'
 1742 |   METHOD(DlError);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1743:3: note: in expansion of macro 'METHOD'
 1743 |   METHOD(Randomness);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1744:3: note: in expansion of macro 'METHOD'
 1744 |   METHOD(Sleep);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1745:3: note: in expansion of macro 'METHOD'
 1745 |   METHOD(CurrentTime);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1746:3: note: in expansion of macro 'METHOD'
 1746 |   METHOD(GetLastError);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1747:3: note: in expansion of macro 'METHOD'
 1747 |   METHOD(CurrentTimeInt64);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1748:3: note: in expansion of macro 'METHOD'
 1748 |   METHOD(SetSystemCall);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1749:3: note: in expansion of macro 'METHOD'
 1749 |   METHOD(GetSystemCall);
      |   ^~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1724:29: note: in expansion of macro 'PyUnicode_FromString'
 1724 |       PyObject *tmpstring = PyUnicode_FromString("x" #meth); \
      |                             ^~~~~~~~~~~~~~~~~~~~
src/vfs.c:1750:3: note: in expansion of macro 'METHOD'
 1750 |   METHOD(NextSystemCall);
      |   ^~~~~~
src/vfs.c: In function 'APSWVFSFile_init':
src/faultinject.h:1029:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1029 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_AsUTF8", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1925:24: note: in expansion of macro 'PyUnicode_AsUTF8'
 1925 |     const char *text = PyUnicode_AsUTF8(filename);
      |                        ^~~~~~~~~~~~~~~~
src/faultinject.h:1195:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1195 |     _res = (typeof (_res))APSW_FaultInjectControl("apsw_strdup", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1928:22: note: in expansion of macro 'apsw_strdup'
 1928 |     self->filename = apsw_strdup(text);
      |                      ^~~~~~~~~~~
src/faultinject.h:397:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  397 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_GetItem", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1944:15: note: in expansion of macro 'PyList_GetItem'
 1944 |   pyflagsin = PyList_GetItem(flags, 0);
      |               ^~~~~~~~~~~~~~
src/faultinject.h:577:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  577 |     _res = (typeof (_res))APSW_FaultInjectControl("PyMem_Calloc", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1958:10: note: in expansion of macro 'PyMem_Calloc'
 1958 |   file = PyMem_Calloc(1, vfstouse->szOsFile);
      |          ^~~~~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:1973:16: note: in expansion of macro 'PyLong_FromLong'
 1973 |   pyflagsout = PyLong_FromLong(flagsout);
      |                ^~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xRead':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2015:11: note: in expansion of macro 'Call_PythonMethodV'
 2015 |   pybuf = Call_PythonMethodV(apswfile->file, "xRead", 1, "(iL)", amount, offset);
      |           ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfilepy_xRead':
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2088:11: note: in expansion of macro 'PyBytes_FromStringAndSize'
 2088 |   buffy = PyBytes_FromStringAndSize(NULL, amount);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xWrite':
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2130:11: note: in expansion of macro 'PyBytes_FromStringAndSize'
 2130 |   pybuf = PyBytes_FromStringAndSize(buffer, amount);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2134:14: note: in expansion of macro 'Call_PythonMethodV'
 2134 |   pyresult = Call_PythonMethodV(apswfile->file, "xWrite", 1, "(OL)", pybuf, offset);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xUnlock':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2194:14: note: in expansion of macro 'Call_PythonMethodV'
 2194 |   pyresult = Call_PythonMethodV(apswfile->file, "xUnlock", 1, "(i)", flag);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xLock':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2245:14: note: in expansion of macro 'Call_PythonMethodV'
 2245 |   pyresult = Call_PythonMethodV(apswfile->file, "xLock", 1, "(i)", flag);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xTruncate':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2302:14: note: in expansion of macro 'Call_PythonMethodV'
 2302 |   pyresult = Call_PythonMethodV(apswfile->file, "xTruncate", 1, "(L)", size);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xSync':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2351:14: note: in expansion of macro 'Call_PythonMethodV'
 2351 |   pyresult = Call_PythonMethodV(apswfile->file, "xSync", 1, "(i)", flags);
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xSectorSize':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2402:14: note: in expansion of macro 'Call_PythonMethodV'
 2402 |   pyresult = Call_PythonMethodV(apswfile->file, "xSectorSize", 0, "()");
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfilepy_xSectorSize':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2442:10: note: in expansion of macro 'PyLong_FromLong'
 2442 |   return PyLong_FromLong(res);
      |          ^~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xDeviceCharacteristics':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2452:14: note: in expansion of macro 'Call_PythonMethodV'
 2452 |   pyresult = Call_PythonMethodV(apswfile->file, "xDeviceCharacteristics", 0, "()");
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfilepy_xDeviceCharacteristics':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2492:10: note: in expansion of macro 'PyLong_FromLong'
 2492 |   return PyLong_FromLong(res);
      |          ^~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xFileSize':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2502:14: note: in expansion of macro 'Call_PythonMethodV'
 2502 |   pyresult = Call_PythonMethodV(apswfile->file, "xFileSize", 1, "()");
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfilepy_xFileSize':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2543:10: note: in expansion of macro 'PyLong_FromLongLong'
 2543 |   return PyLong_FromLongLong(size);
      |          ^~~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xCheckReservedLock':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2553:14: note: in expansion of macro 'Call_PythonMethodV'
 2553 |   pyresult = Call_PythonMethodV(apswfile->file, "xCheckReservedLock", 1, "()");
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xFileControl':
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:185:47: note: in definition of macro 'Call_PythonMethodV'
  185 |     __auto_type _res = 0 ? Call_PythonMethodV(__VA_ARGS__) : 0;                                                      \
      |                                               ^~~~~~~~~~~
src/vfs.c:2611:80: note: in expansion of macro 'PyLong_FromVoidPtr'
 2611 |   pyresult = Call_PythonMethodV(apswfile->file, "xFileControl", 1, "(iN)", op, PyLong_FromVoidPtr(pArg));
      |                                                                                ^~~~~~~~~~~~~~~~~~
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2611:14: note: in expansion of macro 'Call_PythonMethodV'
 2611 |   pyresult = Call_PythonMethodV(apswfile->file, "xFileControl", 1, "(iN)", op, PyLong_FromVoidPtr(pArg));
      |              ^~~~~~~~~~~~~~~~~~
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:190:34: note: in definition of macro 'Call_PythonMethodV'
  190 |        _res = Call_PythonMethodV(__VA_ARGS__);                                                                       \
      |                                  ^~~~~~~~~~~
src/vfs.c:2611:80: note: in expansion of macro 'PyLong_FromVoidPtr'
 2611 |   pyresult = Call_PythonMethodV(apswfile->file, "xFileControl", 1, "(iN)", op, PyLong_FromVoidPtr(pArg));
      |                                                                                ^~~~~~~~~~~~~~~~~~
src/faultinject.h:547:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  547 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromVoidPtr", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/faultinject.h:193:28: note: in definition of macro 'Call_PythonMethodV'
  193 |         Call_PythonMethodV(__VA_ARGS__);                                                                             \
      |                            ^~~~~~~~~~~
src/vfs.c:2611:80: note: in expansion of macro 'PyLong_FromVoidPtr'
 2611 |   pyresult = Call_PythonMethodV(apswfile->file, "xFileControl", 1, "(iN)", op, PyLong_FromVoidPtr(pArg));
      |                                                                                ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswvfsfile_xClose':
src/faultinject.h:187:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  187 |     _res = (typeof (_res))APSW_FaultInjectControl("Call_PythonMethodV", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2693:14: note: in expansion of macro 'Call_PythonMethodV'
 2693 |   pyresult = Call_PythonMethodV(apswfile->file, "xClose", 1, "()");
      |              ^~~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswurifilename_filename':
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2869:10: note: in expansion of macro 'convertutf8string'
 2869 |   return convertutf8string(self->filename);
      |          ^~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswurifilename_uri_parameter':
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2889:10: note: in expansion of macro 'convertutf8string'
 2889 |   return convertutf8string(res);
      |          ^~~~~~~~~~~~~~~~~
src/vfs.c: In function 'apswurifilename_uri_int':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/vfs.c:2913:10: note: in expansion of macro 'PyLong_FromLongLong'
 2913 |   return PyLong_FromLongLong(res);
      |          ^~~~~~~~~~~~~~~~~~~
src/constants.c: In function 'add_apsw_constants':
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:16:16: note: in expansion of macro 'Py_BuildValue'
   16 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:34:16: note: in expansion of macro 'Py_BuildValue'
   34 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:83:16: note: in expansion of macro 'Py_BuildValue'
   83 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:101:16: note: in expansion of macro 'Py_BuildValue'
  101 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:120:16: note: in expansion of macro 'Py_BuildValue'
  120 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:163:16: note: in expansion of macro 'Py_BuildValue'
  163 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/constants.c:201:46: error: 'SQLITE_DBCONFIG_REVERSE_SCANORDER' undeclared (first use in this function)
  201 |         "SQLITE_DBCONFIG_REVERSE_SCANORDER", SQLITE_DBCONFIG_REVERSE_SCANORDER, SQLITE_DBCONFIG_REVERSE_SCANORDER, "SQLITE_DBCONFIG_REVERSE_SCANORDER",
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1133:49: note: in definition of macro 'Py_BuildValue'
 1133 |     __auto_type _res = 0 ? _Py_BuildValue_SizeT(__VA_ARGS__) : 0;                                               \
      |                                                 ^~~~~~~~~~~
src/constants.c:202:44: error: 'SQLITE_DBCONFIG_STMT_SCANSTATUS' undeclared (first use in this function); did you mean 'SQLITE_CONFIG_MEMSTATUS'?
  202 |         "SQLITE_DBCONFIG_STMT_SCANSTATUS", SQLITE_DBCONFIG_STMT_SCANSTATUS, SQLITE_DBCONFIG_STMT_SCANSTATUS, "SQLITE_DBCONFIG_STMT_SCANSTATUS",
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1133:49: note: in definition of macro 'Py_BuildValue'
 1133 |     __auto_type _res = 0 ? _Py_BuildValue_SizeT(__VA_ARGS__) : 0;                                               \
      |                                                 ^~~~~~~~~~~
src/faultinject.h:1135:5: error: '_res' undeclared (first use in this function)
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |     ^~~~
src/constants.c:183:16: note: in expansion of macro 'Py_BuildValue'
  183 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:219:16: note: in expansion of macro 'Py_BuildValue'
  219 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/constants.c:315:30: error: 'SQLITE_NOTICE_RBU' undeclared (first use in this function); did you mean 'SQLITE_NOTICE'?
  315 |         "SQLITE_NOTICE_RBU", SQLITE_NOTICE_RBU, SQLITE_NOTICE_RBU, "SQLITE_NOTICE_RBU",
      |                              ^~~~~~~~~~~~~~~~~
src/faultinject.h:1133:49: note: in definition of macro 'Py_BuildValue'
 1133 |     __auto_type _res = 0 ? _Py_BuildValue_SizeT(__VA_ARGS__) : 0;                                               \
      |                                                 ^~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:340:16: note: in expansion of macro 'Py_BuildValue'
  340 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:360:16: note: in expansion of macro 'Py_BuildValue'
  360 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:397:16: note: in expansion of macro 'Py_BuildValue'
  397 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:415:16: note: in expansion of macro 'Py_BuildValue'
  415 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:434:16: note: in expansion of macro 'Py_BuildValue'
  434 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:453:16: note: in expansion of macro 'Py_BuildValue'
  453 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:471:16: note: in expansion of macro 'Py_BuildValue'
  471 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:517:16: note: in expansion of macro 'Py_BuildValue'
  517 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:544:16: note: in expansion of macro 'Py_BuildValue'
  544 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:563:16: note: in expansion of macro 'Py_BuildValue'
  563 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:619:16: note: in expansion of macro 'Py_BuildValue'
  619 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:644:16: note: in expansion of macro 'Py_BuildValue'
  644 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:673:16: note: in expansion of macro 'Py_BuildValue'
  673 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:697:16: note: in expansion of macro 'Py_BuildValue'
  697 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/constants.c:720:41: error: 'SQLITE_VTAB_USES_ALL_SCHEMAS' undeclared (first use in this function)
  720 |         "SQLITE_VTAB_USES_ALL_SCHEMAS", SQLITE_VTAB_USES_ALL_SCHEMAS, SQLITE_VTAB_USES_ALL_SCHEMAS, "SQLITE_VTAB_USES_ALL_SCHEMAS");
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1133:49: note: in definition of macro 'Py_BuildValue'
 1133 |     __auto_type _res = 0 ? _Py_BuildValue_SizeT(__VA_ARGS__) : 0;                                               \
      |                                                 ^~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:734:16: note: in expansion of macro 'Py_BuildValue'
  734 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/constants.c:766:16: note: in expansion of macro 'Py_BuildValue'
  766 |     the_dict = Py_BuildValue(
      |                ^~~~~~~~~~~~~
src/apsw.c: In function 'getsqliteversion':
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:231:10: note: in expansion of macro 'PyUnicode_FromString'
  231 |   return PyUnicode_FromString(sqlite3_libversion());
      |          ^~~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'get_sqlite3_sourceid':
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:245:10: note: in expansion of macro 'PyUnicode_FromString'
  245 |   return PyUnicode_FromString(sqlite3_sourceid());
      |          ^~~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'getapswversion':
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:255:10: note: in expansion of macro 'PyUnicode_FromString'
  255 |   return PyUnicode_FromString(APSW_VERSION);
      |          ^~~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'apsw_connections':
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:298:19: note: in expansion of macro 'PyList_New'
  298 |   PyObject *res = PyList_New(0);
      |                   ^~~~~~~~~~
src/apsw.c: In function 'apsw_connection_add':
src/faultinject.h:1119:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1119 |     _res = (typeof (_res))APSW_FaultInjectControl("PyWeakref_NewRef", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:335:23: note: in expansion of macro 'PyWeakref_NewRef'
  335 |   PyObject *weakref = PyWeakref_NewRef((PyObject *)con, NULL);
      |                       ^~~~~~~~~~~~~~~~
src/apsw.c: In function 'apsw_logger':
src/faultinject.h:683:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  683 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallFunction", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:427:9: note: in expansion of macro 'PyObject_CallFunction'
  427 |   res = PyObject_CallFunction(arg, "is", errcode, message);
      |         ^~~~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'config':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:489:12: note: in expansion of macro 'PyLong_FromLong'
  489 |     return PyLong_FromLong(outval);
      |            ^~~~~~~~~~~~~~~
src/apsw.c: In function 'memoryused':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:581:10: note: in expansion of macro 'PyLong_FromLongLong'
  581 |   return PyLong_FromLongLong(sqlite3_memory_used());
      |          ^~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'memoryhighwater':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:607:10: note: in expansion of macro 'PyLong_FromLongLong'
  607 |   return PyLong_FromLongLong(sqlite3_memory_highwater(reset));
      |          ^~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'softheaplimit':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:633:10: note: in expansion of macro 'PyLong_FromLongLong'
  633 |   return PyLong_FromLongLong(oldlimit);
      |          ^~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'apsw_hard_heap_limit':
src/faultinject.h:532:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  532 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLongLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:659:10: note: in expansion of macro 'PyLong_FromLongLong'
  659 |   return PyLong_FromLongLong(oldlimit);
      |          ^~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'randomness':
src/faultinject.h:232:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  232 |     _res = (typeof (_res))APSW_FaultInjectControl("PyBytes_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:685:11: note: in expansion of macro 'PyBytes_FromStringAndSize'
  685 |   bytes = PyBytes_FromStringAndSize(NULL, amount);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'releasememory':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:711:10: note: in expansion of macro 'PyLong_FromLong'
  711 |   return PyLong_FromLong(sqlite3_release_memory(amount));
      |          ^~~~~~~~~~~~~~~
src/apsw.c: In function 'status':
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:749:10: note: in expansion of macro 'Py_BuildValue'
  749 |   return Py_BuildValue("(LL)", current, highwater);
      |          ^~~~~~~~~~~~~
src/apsw.c: In function 'vfsnames':
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:766:12: note: in expansion of macro 'PyList_New'
  766 |   result = PyList_New(0);
      |            ^~~~~~~~~~
src/faultinject.h:1255:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1255 |     _res = (typeof (_res))APSW_FaultInjectControl("convertutf8string", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:772:11: note: in expansion of macro 'convertutf8string'
  772 |     str = convertutf8string(vfs->zName);
      |           ^~~~~~~~~~~~~~~~~
src/apsw.c: In function 'vfs_details':
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:825:12: note: in expansion of macro 'PyList_New'
  825 |   result = PyList_New(0);
      |            ^~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:834:14: note: in expansion of macro 'Py_BuildValue'
  834 |       dict = Py_BuildValue("{" VFS1_BUILD "}", VFS1_FIELDS);
      |              ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:837:14: note: in expansion of macro 'Py_BuildValue'
  837 |       dict = Py_BuildValue("{" VFS1_BUILD VFS2_BUILD "}", VFS1_FIELDS, VFS2_FIELDS);
      |              ^~~~~~~~~~~~~
src/faultinject.h:1135:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1135 |     _res = (typeof (_res))APSW_FaultInjectControl("Py_BuildValue", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:841:14: note: in expansion of macro 'Py_BuildValue'
  841 |       dict = Py_BuildValue("{" VFS1_BUILD VFS2_BUILD VFS3_BUILD "}", VFS1_FIELDS, VFS2_FIELDS, VFS3_FIELDS);
      |              ^~~~~~~~~~~~~
src/apsw.c: In function 'getapswexceptionfor':
src/faultinject.h:714:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  714 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_CallObject", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:893:16: note: in expansion of macro 'PyObject_CallObject'
  893 |       result = PyObject_CallObject(exc_descriptors[i].cls, NULL);
      |                ^~~~~~~~~~~~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:901:9: note: in expansion of macro 'PyLong_FromLong'
  901 |   tmp = PyLong_FromLong(code);
      |         ^~~~~~~~~~~~~~~
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:907:9: note: in expansion of macro 'PyLong_FromLong'
  907 |   tmp = PyLong_FromLong(code & 0xff);
      |         ^~~~~~~~~~~~~~~
src/apsw.c: In function 'get_compile_options':
src/faultinject.h:999:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  999 |     _res = (typeof (_res))APSW_FaultInjectControl("PyTuple_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1281:9: note: in expansion of macro 'PyTuple_New'
 1281 |   res = PyTuple_New(count);
      |         ^~~~~~~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1288:17: note: in expansion of macro 'PyUnicode_FromString'
 1288 |     tmpstring = PyUnicode_FromString(opt);
      |                 ^~~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'get_keywords':
src/faultinject.h:939:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  939 |     _res = (typeof (_res))APSW_FaultInjectControl("PySet_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1315:9: note: in expansion of macro 'PySet_New'
 1315 |   res = PySet_New(0);
      |         ^~~~~~~~~
src/faultinject.h:1089:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1089 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromStringAndSize", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1324:17: note: in expansion of macro 'PyUnicode_FromStringAndSize'
 1324 |     tmpstring = PyUnicode_FromStringAndSize(name, size);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'formatsqlvalue':
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1354:12: note: in expansion of macro 'PyUnicode_FromString'
 1354 |     return PyUnicode_FromString("NULL");
      |            ^~~~~~~~~~~~~~~~~~~~
src/faultinject.h:819:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  819 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_Str", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1358:12: note: in expansion of macro 'PyObject_Str'
 1358 |     return PyObject_Str(value);
      |            ^~~~~~~~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1365:14: note: in expansion of macro 'PyUnicode_FromString'
 1365 |       return PyUnicode_FromString("NULL");
      |              ^~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1367:14: note: in expansion of macro 'PyUnicode_FromString'
 1367 |       return PyUnicode_FromString(signbit(d) ? "-1e999" : "1e999");
      |              ^~~~~~~~~~~~~~~~~~~~
src/faultinject.h:1074:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1074 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_FromString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1369:14: note: in expansion of macro 'PyUnicode_FromString'
 1369 |       return PyUnicode_FromString("0.0");
      |              ^~~~~~~~~~~~~~~~~~~~
src/faultinject.h:819:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  819 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_Str", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1370:12: note: in expansion of macro 'PyObject_Str'
 1370 |     return PyObject_Str(value);
      |            ^~~~~~~~~~~~
src/faultinject.h:1104:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1104 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1409:14: note: in expansion of macro 'PyUnicode_New'
 1409 |     strres = PyUnicode_New(needed_chars, PyUnicode_MAX_CHAR_VALUE(value));
      |              ^~~~~~~~~~~~~
src/faultinject.h:1104:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
 1104 |     _res = (typeof (_res))APSW_FaultInjectControl("PyUnicode_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1466:14: note: in expansion of macro 'PyUnicode_New'
 1466 |     strres = PyUnicode_New(buffer.len * 2 + 3, 127);
      |              ^~~~~~~~~~~~~
src/apsw.c: In function 'apsw_strlike':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1544:10: note: in expansion of macro 'PyLong_FromLong'
 1544 |   return PyLong_FromLong(res);
      |          ^~~~~~~~~~~~~~~
src/apsw.c: In function 'apsw_strglob':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1568:10: note: in expansion of macro 'PyLong_FromLong'
 1568 |   return PyLong_FromLong(res);
      |          ^~~~~~~~~~~~~~~
src/apsw.c: In function 'apsw_stricmp':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1593:10: note: in expansion of macro 'PyLong_FromLong'
 1593 |   return PyLong_FromLong(res);
      |          ^~~~~~~~~~~~~~~
src/apsw.c: In function 'apsw_strnicmp':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1618:10: note: in expansion of macro 'PyLong_FromLong'
 1618 |   return PyLong_FromLong(res);
      |          ^~~~~~~~~~~~~~~
src/apsw.c: In function 'apsw_sleep':
src/faultinject.h:517:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  517 |     _res = (typeof (_res))APSW_FaultInjectControl("PyLong_FromLong", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1705:10: note: in expansion of macro 'PyLong_FromLong'
 1705 |   return PyLong_FromLong(res);
      |          ^~~~~~~~~~~~~~~
In file included from src/apsw.c:1750:
src/apsw.c: In function 'apsw_getattr':
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1760:11: note: in expansion of macro 'PyObject_GetAttrString'
 1760 |     res = PyObject_GetAttrString(shellmodule, cname);
      |           ^~~~~~~~~~~~~~~~~~~~~~
src/apsw.c: In function 'PyInit_apsw':
src/faultinject.h:637:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  637 |     _res = (typeof (_res))APSW_FaultInjectControl("PyModule_Create2", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1867:20: note: in expansion of macro 'PyModule_Create2'
 1867 |   m = apswmodule = PyModule_Create2(&apswmoduledef, PYTHON_API_VERSION);
      |                    ^~~~~~~~~~~~~~~~
src/faultinject.h:262:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  262 |     _res = (typeof (_res))APSW_FaultInjectControl("PyDict_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1872:16: note: in expansion of macro 'PyDict_New'
 1872 |   tls_errmsg = PyDict_New();
      |                ^~~~~~~~~~
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1876:21: note: in expansion of macro 'PyList_New'
 1876 |   the_connections = PyList_New(0);
      |                     ^~~~~~~~~~
src/faultinject.h:412:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  412 |     _res = (typeof (_res))APSW_FaultInjectControl("PyList_New", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:1921:11: note: in expansion of macro 'PyList_New'
 1921 |   hooks = PyList_New(0);
      |           ^~~~~~~~~~
src/faultinject.h:729:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  729 |     _res = (typeof (_res))APSW_FaultInjectControl("PyObject_GetAttrString", __FILE__, __func__, __LINE__, #__VA_ARGS__); \
      |            ^
src/apsw.c:2012:33: note: in expansion of macro 'PyObject_GetAttrString'
 2012 |       collections_abc_Mapping = PyObject_GetAttrString(mod, "Mapping");
      |                                 ^~~~~~~~~~~~~~~~~~~~~~
error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
E: pybuild pybuild:395: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build -g --enable=load_extension
dh_auto_build: error: pybuild --build -i python{version} -p 3.11 returned exit code 13
make: *** [debian/rules:12: build-arch] Error 25
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2023-09-17T17:22:34Z

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: 31
Distribution: trixie-staging
Fail-Stage: build
Host Architecture: armhf
Install-Time: 615
Job: python-apsw_3.42.0.1-1
Machine Architecture: armhf
Package: python-apsw
Package-Time: 703
Source-Version: 3.42.0.1-1
Space: 0
Status: failed
Version: 3.42.0.1-1
--------------------------------------------------------------------------------
Finished at 2023-09-17T17:22:34Z
Build needed 00:00:00, 0k disc space