0s autopkgtest [17:03:33]: starting date and time: 2025-11-17 17:03:33+0000 0s autopkgtest [17:03:33]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [17:03:33]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.8hris9i3/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:jsoncons --apt-upgrade jsoncons --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=jsoncons/1.4.3-1 -- lxd -r lxd-armhf-10.145.243.142 lxd-armhf-10.145.243.142:autopkgtest/ubuntu/resolute/armhf 21s autopkgtest [17:03:54]: testbed dpkg architecture: armhf 23s autopkgtest [17:03:56]: testbed apt version: 3.1.11 27s autopkgtest [17:04:00]: @@@@@@@@@@@@@@@@@@@@ test bed setup 29s autopkgtest [17:04:02]: testbed release detected to be: None 36s autopkgtest [17:04:09]: updating testbed package index (apt update) 38s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 39s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [87.8 kB] 39s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 39s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 39s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [779 kB] 39s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [73.2 kB] 39s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 39s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9852 B] 39s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [134 kB] 39s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted armhf Packages [940 B] 39s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [474 kB] 39s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [9684 B] 39s Get:13 http://ftpmaster.internal/ubuntu resolute/main Sources [1416 kB] 39s Get:14 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.3 MB] 41s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1369 kB] 41s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.4 MB] 45s Fetched 41.2 MB in 6s (6617 kB/s) 46s Reading package lists... 52s autopkgtest [17:04:25]: upgrading testbed (apt dist-upgrade and autopurge) 55s Reading package lists... 55s Building dependency tree... 55s Reading state information... 55s Calculating upgrade... 56s The following packages will be upgraded: 56s apt libapt-pkg7.0 libcrypt1 usbutils 56s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 56s Need to get 2774 kB of archives. 56s After this operation, 8192 B of additional disk space will be used. 56s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libapt-pkg7.0 armhf 3.1.12 [1157 kB] 57s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf apt armhf 3.1.12 [1440 kB] 57s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libcrypt1 armhf 1:4.5.1-1 [98.9 kB] 57s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf usbutils armhf 1:019-1 [77.7 kB] 58s Fetched 2774 kB in 1s (2169 kB/s) 58s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 65904 files and directories currently installed.) 58s Preparing to unpack .../libapt-pkg7.0_3.1.12_armhf.deb ... 58s Unpacking libapt-pkg7.0:armhf (3.1.12) over (3.1.11) ... 58s Setting up libapt-pkg7.0:armhf (3.1.12) ... 58s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 65904 files and directories currently installed.) 58s Preparing to unpack .../archives/apt_3.1.12_armhf.deb ... 58s Unpacking apt (3.1.12) over (3.1.11) ... 58s Setting up apt (3.1.12) ... 60s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 65904 files and directories currently installed.) 60s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_armhf.deb ... 60s Unpacking libcrypt1:armhf (1:4.5.1-1) over (1:4.4.38-1build1) ... 60s Setting up libcrypt1:armhf (1:4.5.1-1) ... 60s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 65904 files and directories currently installed.) 60s Preparing to unpack .../usbutils_1%3a019-1_armhf.deb ... 60s Unpacking usbutils (1:019-1) over (1:018-2) ... 60s Setting up usbutils (1:019-1) ... 60s Processing triggers for man-db (2.13.1-1) ... 61s Processing triggers for libc-bin (2.42-2ubuntu2) ... 65s Reading package lists... 65s Building dependency tree... 65s Reading state information... 65s Solving dependencies... 65s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 67s autopkgtest [17:04:40]: rebooting testbed after setup commands that affected boot 109s autopkgtest [17:05:22]: testbed running kernel: Linux 6.8.0-86-generic #87~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 29 09:26:46 UTC 2 135s autopkgtest [17:05:48]: @@@@@@@@@@@@@@@@@@@@ apt-source jsoncons 149s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/universe jsoncons 1.4.3-1 (dsc) [1980 B] 149s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/universe jsoncons 1.4.3-1 (tar) [1541 kB] 149s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/universe jsoncons 1.4.3-1 (diff) [3180 B] 149s gpgv: Signature made Thu Oct 23 12:02:43 2025 UTC 149s gpgv: using RSA key F8583EFAA9A91F3AA34B3C92CE11A7B07B3AB946 149s gpgv: Can't check signature: No public key 149s dpkg-source: warning: cannot verify inline signature for ./jsoncons_1.4.3-1.dsc: no acceptable signature found 150s autopkgtest [17:06:03]: testing package jsoncons version 1.4.3-1 151s autopkgtest [17:06:04]: build not needed 155s autopkgtest [17:06:08]: test upstream-test-suite: preparing testbed 157s Reading package lists... 157s Building dependency tree... 157s Reading state information... 157s Solving dependencies... 158s The following NEW packages will be installed: 158s autoconf automake autopoint autotools-dev build-essential cmake cmake-data 158s cpp cpp-15 cpp-15-arm-linux-gnueabihf cpp-arm-linux-gnueabihf debhelper 158s debugedit dh-autoreconf dh-strip-nondeterminism dwz g++ g++-15 158s g++-15-arm-linux-gnueabihf g++-arm-linux-gnueabihf gcc gcc-15 158s gcc-15-arm-linux-gnueabihf gcc-arm-linux-gnueabihf gettext intltool-debian 158s libarchive-zip-perl libasan8 libc-dev-bin libc6-dev libcc1-0 libcrypt-dev 158s libdebhelper-perl libdw1t64 libfile-stripnondeterminism-perl libgcc-15-dev 158s libgomp1 libisl23 libjsoncpp26 libmpc3 librhash1 libstdc++-15-dev libtool 158s libubsan1 linux-libc-dev m4 ninja-build po-debconf rpcsvc-proto 158s 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. 158s Need to get 67.7 MB of archives. 158s After this operation, 204 MB of additional disk space will be used. 158s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf m4 armhf 1.4.20-2 [212 kB] 159s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf autoconf all 2.72-3.1ubuntu1 [384 kB] 159s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf autotools-dev all 20240727.1 [43.4 kB] 159s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf automake all 1:1.18.1-2 [581 kB] 160s Get:5 http://ftpmaster.internal/ubuntu resolute/main armhf autopoint all 0.23.2-1 [620 kB] 160s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libc-dev-bin armhf 2.42-2ubuntu2 [21.8 kB] 160s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf linux-libc-dev armhf 6.17.0-5.5 [1771 kB] 161s Get:8 http://ftpmaster.internal/ubuntu resolute/main armhf libcrypt-dev armhf 1:4.5.1-1 [128 kB] 161s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf rpcsvc-proto armhf 1.4.3-1 [62.3 kB] 161s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf libc6-dev armhf 2.42-2ubuntu2 [1416 kB] 162s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf libisl23 armhf 0.27-1 [546 kB] 162s Get:12 http://ftpmaster.internal/ubuntu resolute/main armhf libmpc3 armhf 1.3.1-2 [47.0 kB] 162s Get:13 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15-arm-linux-gnueabihf armhf 15.2.0-7ubuntu1 [10.1 MB] 167s Get:14 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-15 armhf 15.2.0-7ubuntu1 [1030 B] 167s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf cpp-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [5756 B] 167s Get:16 http://ftpmaster.internal/ubuntu resolute/main armhf cpp armhf 4:15.2.0-4ubuntu1 [22.4 kB] 167s Get:17 http://ftpmaster.internal/ubuntu resolute/main armhf libcc1-0 armhf 15.2.0-7ubuntu1 [43.5 kB] 167s Get:18 http://ftpmaster.internal/ubuntu resolute/main armhf libgomp1 armhf 15.2.0-7ubuntu1 [129 kB] 167s Get:19 http://ftpmaster.internal/ubuntu resolute/main armhf libasan8 armhf 15.2.0-7ubuntu1 [2950 kB] 168s Get:20 http://ftpmaster.internal/ubuntu resolute/main armhf libubsan1 armhf 15.2.0-7ubuntu1 [1187 kB] 169s Get:21 http://ftpmaster.internal/ubuntu resolute/main armhf libgcc-15-dev armhf 15.2.0-7ubuntu1 [898 kB] 169s Get:22 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15-arm-linux-gnueabihf armhf 15.2.0-7ubuntu1 [19.5 MB] 177s Get:23 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-15 armhf 15.2.0-7ubuntu1 [493 kB] 177s Get:24 http://ftpmaster.internal/ubuntu resolute/main armhf gcc-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [1220 B] 177s Get:25 http://ftpmaster.internal/ubuntu resolute/main armhf gcc armhf 4:15.2.0-4ubuntu1 [5022 B] 177s Get:26 http://ftpmaster.internal/ubuntu resolute/main armhf libstdc++-15-dev armhf 15.2.0-7ubuntu1 [2637 kB] 178s Get:27 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15-arm-linux-gnueabihf armhf 15.2.0-7ubuntu1 [11.4 MB] 182s Get:28 http://ftpmaster.internal/ubuntu resolute/main armhf g++-15 armhf 15.2.0-7ubuntu1 [23.7 kB] 182s Get:29 http://ftpmaster.internal/ubuntu resolute/main armhf g++-arm-linux-gnueabihf armhf 4:15.2.0-4ubuntu1 [968 B] 182s Get:30 http://ftpmaster.internal/ubuntu resolute/main armhf g++ armhf 4:15.2.0-4ubuntu1 [1086 B] 182s Get:31 http://ftpmaster.internal/ubuntu resolute/main armhf build-essential armhf 12.12ubuntu1 [5088 B] 182s Get:32 http://ftpmaster.internal/ubuntu resolute/main armhf cmake-data all 3.31.6-2ubuntu6 [2295 kB] 184s Get:33 http://ftpmaster.internal/ubuntu resolute/main armhf libjsoncpp26 armhf 1.9.6-4 [73.9 kB] 184s Get:34 http://ftpmaster.internal/ubuntu resolute/main armhf librhash1 armhf 1.4.6-1 [146 kB] 184s Get:35 http://ftpmaster.internal/ubuntu resolute/main armhf cmake armhf 3.31.6-2ubuntu6 [6838 kB] 186s Get:36 http://ftpmaster.internal/ubuntu resolute/main armhf libdebhelper-perl all 13.24.2ubuntu1 [95.7 kB] 186s Get:37 http://ftpmaster.internal/ubuntu resolute/main armhf libtool all 2.5.4-7 [169 kB] 186s Get:38 http://ftpmaster.internal/ubuntu resolute/main armhf dh-autoreconf all 21 [12.5 kB] 186s Get:39 http://ftpmaster.internal/ubuntu resolute/main armhf libarchive-zip-perl all 1.68-1 [90.2 kB] 186s Get:40 http://ftpmaster.internal/ubuntu resolute/main armhf libfile-stripnondeterminism-perl all 1.15.0-1 [20.5 kB] 186s Get:41 http://ftpmaster.internal/ubuntu resolute/main armhf dh-strip-nondeterminism all 1.15.0-1 [5090 B] 186s Get:42 http://ftpmaster.internal/ubuntu resolute/main armhf libdw1t64 armhf 0.194-1 [254 kB] 186s Get:43 http://ftpmaster.internal/ubuntu resolute/main armhf debugedit armhf 1:5.2-3 [48.9 kB] 186s Get:44 http://ftpmaster.internal/ubuntu resolute/main armhf dwz armhf 0.16-2 [114 kB] 186s Get:45 http://ftpmaster.internal/ubuntu resolute/main armhf gettext armhf 0.23.2-1 [1059 kB] 186s Get:46 http://ftpmaster.internal/ubuntu resolute/main armhf intltool-debian all 0.35.0+20060710.6 [23.2 kB] 186s Get:47 http://ftpmaster.internal/ubuntu resolute/main armhf po-debconf all 1.0.21+nmu1 [233 kB] 187s Get:48 http://ftpmaster.internal/ubuntu resolute/main armhf debhelper all 13.24.2ubuntu1 [896 kB] 187s Get:49 http://ftpmaster.internal/ubuntu resolute/universe armhf ninja-build armhf 1.12.1-1 [134 kB] 187s Fetched 67.7 MB in 29s (2330 kB/s) 187s Selecting previously unselected package m4. 187s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 65904 files and directories currently installed.) 187s Preparing to unpack .../00-m4_1.4.20-2_armhf.deb ... 187s Unpacking m4 (1.4.20-2) ... 187s Selecting previously unselected package autoconf. 187s Preparing to unpack .../01-autoconf_2.72-3.1ubuntu1_all.deb ... 187s Unpacking autoconf (2.72-3.1ubuntu1) ... 187s Selecting previously unselected package autotools-dev. 188s Preparing to unpack .../02-autotools-dev_20240727.1_all.deb ... 188s Unpacking autotools-dev (20240727.1) ... 188s Selecting previously unselected package automake. 188s Preparing to unpack .../03-automake_1%3a1.18.1-2_all.deb ... 188s Unpacking automake (1:1.18.1-2) ... 188s Selecting previously unselected package autopoint. 188s Preparing to unpack .../04-autopoint_0.23.2-1_all.deb ... 188s Unpacking autopoint (0.23.2-1) ... 188s Selecting previously unselected package libc-dev-bin. 188s Preparing to unpack .../05-libc-dev-bin_2.42-2ubuntu2_armhf.deb ... 188s Unpacking libc-dev-bin (2.42-2ubuntu2) ... 188s Selecting previously unselected package linux-libc-dev:armhf. 188s Preparing to unpack .../06-linux-libc-dev_6.17.0-5.5_armhf.deb ... 188s Unpacking linux-libc-dev:armhf (6.17.0-5.5) ... 188s Selecting previously unselected package libcrypt-dev:armhf. 188s Preparing to unpack .../07-libcrypt-dev_1%3a4.5.1-1_armhf.deb ... 188s Unpacking libcrypt-dev:armhf (1:4.5.1-1) ... 188s Selecting previously unselected package rpcsvc-proto. 188s Preparing to unpack .../08-rpcsvc-proto_1.4.3-1_armhf.deb ... 188s Unpacking rpcsvc-proto (1.4.3-1) ... 188s Selecting previously unselected package libc6-dev:armhf. 188s Preparing to unpack .../09-libc6-dev_2.42-2ubuntu2_armhf.deb ... 188s Unpacking libc6-dev:armhf (2.42-2ubuntu2) ... 188s Selecting previously unselected package libisl23:armhf. 188s Preparing to unpack .../10-libisl23_0.27-1_armhf.deb ... 188s Unpacking libisl23:armhf (0.27-1) ... 188s Selecting previously unselected package libmpc3:armhf. 188s Preparing to unpack .../11-libmpc3_1.3.1-2_armhf.deb ... 188s Unpacking libmpc3:armhf (1.3.1-2) ... 188s Selecting previously unselected package cpp-15-arm-linux-gnueabihf. 188s Preparing to unpack .../12-cpp-15-arm-linux-gnueabihf_15.2.0-7ubuntu1_armhf.deb ... 188s Unpacking cpp-15-arm-linux-gnueabihf (15.2.0-7ubuntu1) ... 188s Selecting previously unselected package cpp-15. 188s Preparing to unpack .../13-cpp-15_15.2.0-7ubuntu1_armhf.deb ... 188s Unpacking cpp-15 (15.2.0-7ubuntu1) ... 188s Selecting previously unselected package cpp-arm-linux-gnueabihf. 189s Preparing to unpack .../14-cpp-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 189s Unpacking cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 189s Selecting previously unselected package cpp. 189s Preparing to unpack .../15-cpp_4%3a15.2.0-4ubuntu1_armhf.deb ... 189s Unpacking cpp (4:15.2.0-4ubuntu1) ... 189s Selecting previously unselected package libcc1-0:armhf. 189s Preparing to unpack .../16-libcc1-0_15.2.0-7ubuntu1_armhf.deb ... 189s Unpacking libcc1-0:armhf (15.2.0-7ubuntu1) ... 189s Selecting previously unselected package libgomp1:armhf. 189s Preparing to unpack .../17-libgomp1_15.2.0-7ubuntu1_armhf.deb ... 189s Unpacking libgomp1:armhf (15.2.0-7ubuntu1) ... 189s Selecting previously unselected package libasan8:armhf. 189s Preparing to unpack .../18-libasan8_15.2.0-7ubuntu1_armhf.deb ... 189s Unpacking libasan8:armhf (15.2.0-7ubuntu1) ... 189s Selecting previously unselected package libubsan1:armhf. 189s Preparing to unpack .../19-libubsan1_15.2.0-7ubuntu1_armhf.deb ... 189s Unpacking libubsan1:armhf (15.2.0-7ubuntu1) ... 189s Selecting previously unselected package libgcc-15-dev:armhf. 189s Preparing to unpack .../20-libgcc-15-dev_15.2.0-7ubuntu1_armhf.deb ... 189s Unpacking libgcc-15-dev:armhf (15.2.0-7ubuntu1) ... 189s Selecting previously unselected package gcc-15-arm-linux-gnueabihf. 189s Preparing to unpack .../21-gcc-15-arm-linux-gnueabihf_15.2.0-7ubuntu1_armhf.deb ... 189s Unpacking gcc-15-arm-linux-gnueabihf (15.2.0-7ubuntu1) ... 189s Selecting previously unselected package gcc-15. 189s Preparing to unpack .../22-gcc-15_15.2.0-7ubuntu1_armhf.deb ... 189s Unpacking gcc-15 (15.2.0-7ubuntu1) ... 189s Selecting previously unselected package gcc-arm-linux-gnueabihf. 190s Preparing to unpack .../23-gcc-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 190s Unpacking gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 190s Selecting previously unselected package gcc. 190s Preparing to unpack .../24-gcc_4%3a15.2.0-4ubuntu1_armhf.deb ... 190s Unpacking gcc (4:15.2.0-4ubuntu1) ... 190s Selecting previously unselected package libstdc++-15-dev:armhf. 190s Preparing to unpack .../25-libstdc++-15-dev_15.2.0-7ubuntu1_armhf.deb ... 190s Unpacking libstdc++-15-dev:armhf (15.2.0-7ubuntu1) ... 190s Selecting previously unselected package g++-15-arm-linux-gnueabihf. 190s Preparing to unpack .../26-g++-15-arm-linux-gnueabihf_15.2.0-7ubuntu1_armhf.deb ... 190s Unpacking g++-15-arm-linux-gnueabihf (15.2.0-7ubuntu1) ... 190s Selecting previously unselected package g++-15. 190s Preparing to unpack .../27-g++-15_15.2.0-7ubuntu1_armhf.deb ... 190s Unpacking g++-15 (15.2.0-7ubuntu1) ... 190s Selecting previously unselected package g++-arm-linux-gnueabihf. 190s Preparing to unpack .../28-g++-arm-linux-gnueabihf_4%3a15.2.0-4ubuntu1_armhf.deb ... 190s Unpacking g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 190s Selecting previously unselected package g++. 190s Preparing to unpack .../29-g++_4%3a15.2.0-4ubuntu1_armhf.deb ... 190s Unpacking g++ (4:15.2.0-4ubuntu1) ... 190s Selecting previously unselected package build-essential. 190s Preparing to unpack .../30-build-essential_12.12ubuntu1_armhf.deb ... 190s Unpacking build-essential (12.12ubuntu1) ... 190s Selecting previously unselected package cmake-data. 190s Preparing to unpack .../31-cmake-data_3.31.6-2ubuntu6_all.deb ... 190s Unpacking cmake-data (3.31.6-2ubuntu6) ... 191s Selecting previously unselected package libjsoncpp26:armhf. 191s Preparing to unpack .../32-libjsoncpp26_1.9.6-4_armhf.deb ... 191s Unpacking libjsoncpp26:armhf (1.9.6-4) ... 191s Selecting previously unselected package librhash1:armhf. 191s Preparing to unpack .../33-librhash1_1.4.6-1_armhf.deb ... 191s Unpacking librhash1:armhf (1.4.6-1) ... 191s Selecting previously unselected package cmake. 191s Preparing to unpack .../34-cmake_3.31.6-2ubuntu6_armhf.deb ... 191s Unpacking cmake (3.31.6-2ubuntu6) ... 191s Selecting previously unselected package libdebhelper-perl. 191s Preparing to unpack .../35-libdebhelper-perl_13.24.2ubuntu1_all.deb ... 191s Unpacking libdebhelper-perl (13.24.2ubuntu1) ... 191s Selecting previously unselected package libtool. 191s Preparing to unpack .../36-libtool_2.5.4-7_all.deb ... 191s Unpacking libtool (2.5.4-7) ... 191s Selecting previously unselected package dh-autoreconf. 191s Preparing to unpack .../37-dh-autoreconf_21_all.deb ... 191s Unpacking dh-autoreconf (21) ... 191s Selecting previously unselected package libarchive-zip-perl. 191s Preparing to unpack .../38-libarchive-zip-perl_1.68-1_all.deb ... 191s Unpacking libarchive-zip-perl (1.68-1) ... 191s Selecting previously unselected package libfile-stripnondeterminism-perl. 191s Preparing to unpack .../39-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... 191s Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... 191s Selecting previously unselected package dh-strip-nondeterminism. 191s Preparing to unpack .../40-dh-strip-nondeterminism_1.15.0-1_all.deb ... 191s Unpacking dh-strip-nondeterminism (1.15.0-1) ... 191s Selecting previously unselected package libdw1t64:armhf. 191s Preparing to unpack .../41-libdw1t64_0.194-1_armhf.deb ... 191s Unpacking libdw1t64:armhf (0.194-1) ... 191s Selecting previously unselected package debugedit. 191s Preparing to unpack .../42-debugedit_1%3a5.2-3_armhf.deb ... 191s Unpacking debugedit (1:5.2-3) ... 191s Selecting previously unselected package dwz. 191s Preparing to unpack .../43-dwz_0.16-2_armhf.deb ... 191s Unpacking dwz (0.16-2) ... 191s Selecting previously unselected package gettext. 191s Preparing to unpack .../44-gettext_0.23.2-1_armhf.deb ... 191s Unpacking gettext (0.23.2-1) ... 191s Selecting previously unselected package intltool-debian. 191s Preparing to unpack .../45-intltool-debian_0.35.0+20060710.6_all.deb ... 191s Unpacking intltool-debian (0.35.0+20060710.6) ... 192s Selecting previously unselected package po-debconf. 192s Preparing to unpack .../46-po-debconf_1.0.21+nmu1_all.deb ... 192s Unpacking po-debconf (1.0.21+nmu1) ... 192s Selecting previously unselected package debhelper. 192s Preparing to unpack .../47-debhelper_13.24.2ubuntu1_all.deb ... 192s Unpacking debhelper (13.24.2ubuntu1) ... 192s Selecting previously unselected package ninja-build. 192s Preparing to unpack .../48-ninja-build_1.12.1-1_armhf.deb ... 192s Unpacking ninja-build (1.12.1-1) ... 192s Setting up libarchive-zip-perl (1.68-1) ... 192s Setting up libdebhelper-perl (13.24.2ubuntu1) ... 192s Setting up linux-libc-dev:armhf (6.17.0-5.5) ... 192s Setting up m4 (1.4.20-2) ... 192s Setting up libgomp1:armhf (15.2.0-7ubuntu1) ... 192s Setting up ninja-build (1.12.1-1) ... 192s Setting up libdw1t64:armhf (0.194-1) ... 192s Setting up autotools-dev (20240727.1) ... 192s Setting up rpcsvc-proto (1.4.3-1) ... 192s Setting up libjsoncpp26:armhf (1.9.6-4) ... 192s Setting up libmpc3:armhf (1.3.1-2) ... 192s Setting up autopoint (0.23.2-1) ... 192s Setting up autoconf (2.72-3.1ubuntu1) ... 192s Setting up libubsan1:armhf (15.2.0-7ubuntu1) ... 192s Setting up dwz (0.16-2) ... 192s Setting up libcrypt-dev:armhf (1:4.5.1-1) ... 192s Setting up libasan8:armhf (15.2.0-7ubuntu1) ... 192s Setting up debugedit (1:5.2-3) ... 192s Setting up cmake-data (3.31.6-2ubuntu6) ... 192s Setting up librhash1:armhf (1.4.6-1) ... 192s Setting up libisl23:armhf (0.27-1) ... 192s Setting up libc-dev-bin (2.42-2ubuntu2) ... 192s Setting up cpp-15-arm-linux-gnueabihf (15.2.0-7ubuntu1) ... 192s Setting up libcc1-0:armhf (15.2.0-7ubuntu1) ... 192s Setting up cpp-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 192s Setting up automake (1:1.18.1-2) ... 192s update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode 192s Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... 192s Setting up gettext (0.23.2-1) ... 192s Setting up libgcc-15-dev:armhf (15.2.0-7ubuntu1) ... 192s Setting up gcc-15-arm-linux-gnueabihf (15.2.0-7ubuntu1) ... 192s Setting up intltool-debian (0.35.0+20060710.6) ... 192s Setting up dh-strip-nondeterminism (1.15.0-1) ... 192s Setting up cpp-15 (15.2.0-7ubuntu1) ... 192s Setting up cpp (4:15.2.0-4ubuntu1) ... 192s Setting up cmake (3.31.6-2ubuntu6) ... 192s Setting up libc6-dev:armhf (2.42-2ubuntu2) ... 192s Setting up gcc-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 192s Setting up po-debconf (1.0.21+nmu1) ... 192s Setting up gcc-15 (15.2.0-7ubuntu1) ... 192s Setting up libstdc++-15-dev:armhf (15.2.0-7ubuntu1) ... 192s Setting up libtool (2.5.4-7) ... 192s Setting up g++-15-arm-linux-gnueabihf (15.2.0-7ubuntu1) ... 192s Setting up gcc (4:15.2.0-4ubuntu1) ... 192s Setting up dh-autoreconf (21) ... 192s Setting up g++-15 (15.2.0-7ubuntu1) ... 192s Setting up g++-arm-linux-gnueabihf (4:15.2.0-4ubuntu1) ... 192s Setting up debhelper (13.24.2ubuntu1) ... 192s Setting up g++ (4:15.2.0-4ubuntu1) ... 192s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 192s Setting up build-essential (12.12ubuntu1) ... 192s Processing triggers for libc-bin (2.42-2ubuntu2) ... 192s Processing triggers for man-db (2.13.1-1) ... 193s Processing triggers for install-info (7.2-5) ... 199s autopkgtest [17:06:52]: test upstream-test-suite: [----------------------- 202s ++ pwd 202s + dpkg-source --before-build /tmp/autopkgtest.ApuCF1/build.bEW/src 202s ++ dpkg-architecture -s 202s + eval 'DEB_BUILD_ARCH=armhf;' 'DEB_BUILD_ARCH_ABI=eabihf;' 'DEB_BUILD_ARCH_BITS=32;' 'DEB_BUILD_ARCH_CPU=arm;' 'DEB_BUILD_ARCH_ENDIAN=little;' 'DEB_BUILD_ARCH_LIBC=gnu;' 'DEB_BUILD_ARCH_OS=linux;' 'DEB_BUILD_GNU_CPU=arm;' 'DEB_BUILD_GNU_SYSTEM=linux-gnueabihf;' 'DEB_BUILD_GNU_TYPE=arm-linux-gnueabihf;' 'DEB_BUILD_MULTIARCH=arm-linux-gnueabihf;' 'DEB_HOST_ARCH=armhf;' 'DEB_HOST_ARCH_ABI=eabihf;' 'DEB_HOST_ARCH_BITS=32;' 'DEB_HOST_ARCH_CPU=arm;' 'DEB_HOST_ARCH_ENDIAN=little;' 'DEB_HOST_ARCH_LIBC=gnu;' 'DEB_HOST_ARCH_OS=linux;' 'DEB_HOST_GNU_CPU=arm;' 'DEB_HOST_GNU_SYSTEM=linux-gnueabihf;' 'DEB_HOST_GNU_TYPE=arm-linux-gnueabihf;' 'DEB_HOST_MULTIARCH=arm-linux-gnueabihf;' 'DEB_TARGET_ARCH=armhf;' 'DEB_TARGET_ARCH_ABI=eabihf;' 'DEB_TARGET_ARCH_BITS=32;' 'DEB_TARGET_ARCH_CPU=arm;' 'DEB_TARGET_ARCH_ENDIAN=little;' 'DEB_TARGET_ARCH_LIBC=gnu;' 'DEB_TARGET_ARCH_OS=linux;' 'DEB_TARGET_GNU_CPU=arm;' 'DEB_TARGET_GNU_SYSTEM=linux-gnueabihf;' 'DEB_TARGET_GNU_TYPE=arm-linux-gnueabihf;' 'DEB_TARGET_MULTIARCH=arm-linux-gnueabihf;' export DEB_BUILD_ARCH DEB_BUILD_ARCH_ABI DEB_BUILD_ARCH_BITS DEB_BUILD_ARCH_CPU DEB_BUILD_ARCH_ENDIAN DEB_BUILD_ARCH_LIBC DEB_BUILD_ARCH_OS DEB_BUILD_GNU_CPU DEB_BUILD_GNU_SYSTEM DEB_BUILD_GNU_TYPE DEB_BUILD_MULTIARCH DEB_HOST_ARCH DEB_HOST_ARCH_ABI DEB_HOST_ARCH_BITS DEB_HOST_ARCH_CPU DEB_HOST_ARCH_ENDIAN DEB_HOST_ARCH_LIBC DEB_HOST_ARCH_OS DEB_HOST_GNU_CPU DEB_HOST_GNU_SYSTEM DEB_HOST_GNU_TYPE DEB_HOST_MULTIARCH DEB_TARGET_ARCH DEB_TARGET_ARCH_ABI DEB_TARGET_ARCH_BITS DEB_TARGET_ARCH_CPU DEB_TARGET_ARCH_ENDIAN DEB_TARGET_ARCH_LIBC DEB_TARGET_ARCH_OS DEB_TARGET_GNU_CPU DEB_TARGET_GNU_SYSTEM DEB_TARGET_GNU_TYPE DEB_TARGET_MULTIARCH 202s ++ DEB_BUILD_ARCH=armhf 202s ++ DEB_BUILD_ARCH_ABI=eabihf 202s ++ DEB_BUILD_ARCH_BITS=32 202s ++ DEB_BUILD_ARCH_CPU=arm 202s ++ DEB_BUILD_ARCH_ENDIAN=little 202s ++ DEB_BUILD_ARCH_LIBC=gnu 202s ++ DEB_BUILD_ARCH_OS=linux 202s ++ DEB_BUILD_GNU_CPU=arm 202s ++ DEB_BUILD_GNU_SYSTEM=linux-gnueabihf 202s ++ DEB_BUILD_GNU_TYPE=arm-linux-gnueabihf 202s ++ DEB_BUILD_MULTIARCH=arm-linux-gnueabihf 202s ++ DEB_HOST_ARCH=armhf 202s ++ DEB_HOST_ARCH_ABI=eabihf 202s ++ DEB_HOST_ARCH_BITS=32 202s ++ DEB_HOST_ARCH_CPU=arm 202s ++ DEB_HOST_ARCH_ENDIAN=little 202s ++ DEB_HOST_ARCH_LIBC=gnu 202s ++ DEB_HOST_ARCH_OS=linux 202s ++ DEB_HOST_GNU_CPU=arm 202s ++ DEB_HOST_GNU_SYSTEM=linux-gnueabihf 202s ++ DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 202s ++ DEB_HOST_MULTIARCH=arm-linux-gnueabihf 202s ++ DEB_TARGET_ARCH=armhf 202s ++ DEB_TARGET_ARCH_ABI=eabihf 202s ++ DEB_TARGET_ARCH_BITS=32 202s ++ DEB_TARGET_ARCH_CPU=arm 202s ++ DEB_TARGET_ARCH_ENDIAN=little 202s ++ DEB_TARGET_ARCH_LIBC=gnu 202s ++ DEB_TARGET_ARCH_OS=linux 202s ++ DEB_TARGET_GNU_CPU=arm 202s ++ DEB_TARGET_GNU_SYSTEM=linux-gnueabihf 202s ++ DEB_TARGET_GNU_TYPE=arm-linux-gnueabihf 202s ++ DEB_TARGET_MULTIARCH=arm-linux-gnueabihf 202s ++ export DEB_BUILD_ARCH DEB_BUILD_ARCH_ABI DEB_BUILD_ARCH_BITS DEB_BUILD_ARCH_CPU DEB_BUILD_ARCH_ENDIAN DEB_BUILD_ARCH_LIBC DEB_BUILD_ARCH_OS DEB_BUILD_GNU_CPU DEB_BUILD_GNU_SYSTEM DEB_BUILD_GNU_TYPE DEB_BUILD_MULTIARCH DEB_HOST_ARCH DEB_HOST_ARCH_ABI DEB_HOST_ARCH_BITS DEB_HOST_ARCH_CPU DEB_HOST_ARCH_ENDIAN DEB_HOST_ARCH_LIBC DEB_HOST_ARCH_OS DEB_HOST_GNU_CPU DEB_HOST_GNU_SYSTEM DEB_HOST_GNU_TYPE DEB_HOST_MULTIARCH DEB_TARGET_ARCH DEB_TARGET_ARCH_ABI DEB_TARGET_ARCH_BITS DEB_TARGET_ARCH_CPU DEB_TARGET_ARCH_ENDIAN DEB_TARGET_ARCH_LIBC DEB_TARGET_ARCH_OS DEB_TARGET_GNU_CPU DEB_TARGET_GNU_SYSTEM DEB_TARGET_GNU_TYPE DEB_TARGET_MULTIARCH 202s + debian/rules build 202s dh build --buildsystem=cmake+ninja 202s dh_update_autotools_config -O--buildsystem=cmake\+ninja 202s dh_autoreconf -O--buildsystem=cmake\+ninja 202s debian/rules override_dh_auto_configure 202s make[1]: Entering directory '/tmp/autopkgtest.ApuCF1/build.bEW/src' 202s dh_auto_configure -- -DCMAKE_INSTALL_LIBDIR=/usr/lib 202s cd obj-arm-linux-gnueabihf && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON -GNinja -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/arm-linux-gnueabihf -DCMAKE_INSTALL_LIBDIR=/usr/lib .. 202s -- The CXX compiler identification is GNU 15.2.0 202s -- Detecting CXX compiler ABI info 202s -- Detecting CXX compiler ABI info - done 202s -- Check for working CXX compiler: /usr/bin/c++ - skipped 202s -- Detecting CXX compile features 202s -- Detecting CXX compile features - done 202s -- jsoncons v1.4.3 202s -- Version 15.2.0 202s -- Configuring done (0.4s) 202s CMake Warning: 202s Manually-specified variables were not used by the project: 202s 202s CMAKE_EXPORT_NO_PACKAGE_REGISTRY 202s CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY 202s CMAKE_FIND_USE_PACKAGE_REGISTRY 202s FETCHCONTENT_FULLY_DISCONNECTED 202s 202s 202s -- Generating done (0.0s) 202s -- Build files have been written to: /tmp/autopkgtest.ApuCF1/build.bEW/src/obj-arm-linux-gnueabihf 202s make[1]: Leaving directory '/tmp/autopkgtest.ApuCF1/build.bEW/src' 202s dh_auto_build -O--buildsystem=cmake\+ninja 203s cd obj-arm-linux-gnueabihf && LC_ALL=C.UTF-8 ninja -j8 -v 206s [1/147] /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_oid_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_oid_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_oid_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_oid_tests.cpp 206s FAILED: test/CMakeFiles/unit_tests.dir/bson/src/bson_oid_tests.cpp.o 206s /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_oid_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_oid_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_oid_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_oid_tests.cpp 206s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:30, 206s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:25, 206s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson.hpp:10, 206s from /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_oid_tests.cpp:17: 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp: In instantiation of ‘void jsoncons::bson::to_string(const oid_t&, StringT&) [with StringT = std::__cxx11::basic_string]’: 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_oid_tests.cpp:49:21: required from here 206s 49 | to_string(oid, s); 206s | ~~~~~~~~~^~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp:238:42: error: cast from ‘__gnu_cxx::__alloc_traits, char>::value_type*’ {aka ‘char*’} to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 206s 238 | detail::init_hex_char_pairs(oid, reinterpret_cast(&s[0])); 206s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:16: 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = unsigned char; Extra = long long unsigned int; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = unsigned char; std::size_t = unsigned int]’ 206s 156 | auto psa = launder_cast(storage); 206s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:938:52: required from ‘typename jsoncons::basic_json::byte_string_storage::pointer jsoncons::basic_json::create_byte_string(const allocator_type&, const uint8_t*, std::size_t, uint64_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename byte_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; uint8_t = unsigned char; std::size_t = unsigned int; uint64_t = long long unsigned int]’ 206s 938 | return heap_string_factory_type::create(data, length, ext_tag, alloc); 206s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2691:24: required from ‘jsoncons::basic_json::basic_json(jsoncons::byte_string_arg_t, const Source&, jsoncons::semantic_tag, const Allocator&, typename std::enable_if::value, int>::type) [with Source = jsoncons::byte_string_view; CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename std::enable_if::value, int>::type = int]’ 206s 2691 | auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0); 206s | ^~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:247:27: required from ‘bool jsoncons::json_decoder::visit_byte_string(const jsoncons::byte_string_view&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ 206s 247 | result_ = Json(byte_string_arg, b, tag, allocator_); 206s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:235:34: required from here 206s 235 | JSONCONS_VISITOR_RETURN_TYPE visit_byte_string(const byte_string_view& b, 206s | ^~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 206s 241 | return std::launder(reinterpret_cast(u)); 206s | ^~~~~~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = wchar_t; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = wchar_t; std::size_t = unsigned int]’ 206s 156 | auto psa = launder_cast(storage); 206s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 206s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 206s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 206s 2543 | auto ptr = create_long_string(alloc, s, length); 206s | ^~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 206s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 206s | ^ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = wchar_t]’ 206s 228 | result_ = Json(sv, tag, allocator_); 206s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 206s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 206s | ^~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 206s 241 | return std::launder(reinterpret_cast(u)); 206s | ^~~~~~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = char; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = char; std::size_t = unsigned int]’ 206s 156 | auto psa = launder_cast(storage); 206s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = char; std::size_t = unsigned int]’ 206s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 206s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = char; std::size_t = unsigned int]’ 206s 2543 | auto ptr = create_long_string(alloc, s, length); 206s | ^~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 206s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 206s | ^ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = char]’ 206s 228 | result_ = Json(sv, tag, allocator_); 206s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 206s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 206s | ^~~~~~~~~~~~ 206s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 206s 241 | return std::launder(reinterpret_cast(u)); 206s | ^~~~~~~~~~~~~~~~~~~~~~ 206s cc1plus: all warnings being treated as errors 212s [2/147] /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_decimal128_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_decimal128_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_decimal128_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_decimal128_tests.cpp 212s FAILED: test/CMakeFiles/unit_tests.dir/bson/src/bson_decimal128_tests.cpp.o 212s /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_decimal128_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_decimal128_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_decimal128_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_decimal128_tests.cpp 212s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:16, 212s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson.hpp:10, 212s from /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_decimal128_tests.cpp:17: 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = unsigned char; Extra = long long unsigned int; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = unsigned char; std::size_t = unsigned int]’ 212s 156 | auto psa = launder_cast(storage); 212s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:938:52: required from ‘typename jsoncons::basic_json::byte_string_storage::pointer jsoncons::basic_json::create_byte_string(const allocator_type&, const uint8_t*, std::size_t, uint64_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename byte_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; uint8_t = unsigned char; std::size_t = unsigned int; uint64_t = long long unsigned int]’ 212s 938 | return heap_string_factory_type::create(data, length, ext_tag, alloc); 212s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2691:24: required from ‘jsoncons::basic_json::basic_json(jsoncons::byte_string_arg_t, const Source&, jsoncons::semantic_tag, const Allocator&, typename std::enable_if::value, int>::type) [with Source = jsoncons::byte_string_view; CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename std::enable_if::value, int>::type = int]’ 212s 2691 | auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0); 212s | ^~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:247:27: required from ‘bool jsoncons::json_decoder::visit_byte_string(const jsoncons::byte_string_view&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ 212s 247 | result_ = Json(byte_string_arg, b, tag, allocator_); 212s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:235:34: required from here 212s 235 | JSONCONS_VISITOR_RETURN_TYPE visit_byte_string(const byte_string_view& b, 212s | ^~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 212s 241 | return std::launder(reinterpret_cast(u)); 212s | ^~~~~~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = wchar_t; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = wchar_t; std::size_t = unsigned int]’ 212s 156 | auto psa = launder_cast(storage); 212s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 212s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 212s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 212s 2543 | auto ptr = create_long_string(alloc, s, length); 212s | ^~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 212s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 212s | ^ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = wchar_t]’ 212s 228 | result_ = Json(sv, tag, allocator_); 212s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 212s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 212s | ^~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 212s 241 | return std::launder(reinterpret_cast(u)); 212s | ^~~~~~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = char; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = char; std::size_t = unsigned int]’ 212s 156 | auto psa = launder_cast(storage); 212s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = char; std::size_t = unsigned int]’ 212s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 212s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = char; std::size_t = unsigned int]’ 212s 2543 | auto ptr = create_long_string(alloc, s, length); 212s | ^~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 212s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 212s | ^ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = char]’ 212s 228 | result_ = Json(sv, tag, allocator_); 212s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 212s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 212s | ^~~~~~~~~~~~ 212s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 212s 241 | return std::launder(reinterpret_cast(u)); 212s | ^~~~~~~~~~~~~~~~~~~~~~ 212s cc1plus: all warnings being treated as errors 215s [3/147] /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_encoder_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_encoder_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_encoder_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_encoder_tests.cpp 215s FAILED: test/CMakeFiles/unit_tests.dir/bson/src/bson_encoder_tests.cpp.o 215s /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_encoder_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_encoder_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_encoder_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_encoder_tests.cpp 215s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:30, 215s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:25, 215s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson.hpp:10, 215s from /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_encoder_tests.cpp:4: 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp: In instantiation of ‘void jsoncons::bson::to_string(const oid_t&, StringT&) [with StringT = std::__cxx11::basic_string]’: 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:631:26: required from ‘void jsoncons::bson::basic_bson_parser::read_value(jsoncons::json_visitor&, uint8_t, std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator; jsoncons::json_visitor = jsoncons::basic_json_visitor; uint8_t = unsigned char]’ 215s 631 | to_string(oid, text_buffer_); 215s | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:222:25: required from ‘void jsoncons::bson::basic_bson_parser::parse(jsoncons::json_visitor&, std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator; jsoncons::json_visitor = jsoncons::basic_json_visitor]’ 215s 222 | read_value(visitor, type, ec); 215s | ^~~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_reader.hpp:64:22: required from ‘void jsoncons::bson::basic_bson_reader::read(std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator]’ 215s 64 | parser_.parse(visitor_, ec); 215s | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:44:16: required from ‘typename std::enable_if<(jsoncons::ext_traits::is_basic_json::value && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type jsoncons::bson::try_decode_bson(const BytesLike&, const bson_decode_options&) [with T = jsoncons::basic_json >; BytesLike = std::vector; typename std::enable_if<(jsoncons::ext_traits::is_basic_json::value && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type = jsoncons::detail::expected >, jsoncons::read_error>]’ 215s 44 | reader.read(ec); 215s | ~~~~~~~~~~~^~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_encoder_tests.cpp:32:50: required from here 215s 32 | auto result = bson::try_decode_bson(v); 215s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp:238:42: error: cast from ‘__gnu_cxx::__alloc_traits, char>::value_type*’ {aka ‘char*’} to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 215s 238 | detail::init_hex_char_pairs(oid, reinterpret_cast(&s[0])); 215s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:16: 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = unsigned char; Extra = long long unsigned int; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = unsigned char; std::size_t = unsigned int]’ 215s 156 | auto psa = launder_cast(storage); 215s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:938:52: required from ‘typename jsoncons::basic_json::byte_string_storage::pointer jsoncons::basic_json::create_byte_string(const allocator_type&, const uint8_t*, std::size_t, uint64_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename byte_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; uint8_t = unsigned char; std::size_t = unsigned int; uint64_t = long long unsigned int]’ 215s 938 | return heap_string_factory_type::create(data, length, ext_tag, alloc); 215s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2691:24: required from ‘jsoncons::basic_json::basic_json(jsoncons::byte_string_arg_t, const Source&, jsoncons::semantic_tag, const Allocator&, typename std::enable_if::value, int>::type) [with Source = jsoncons::byte_string_view; CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename std::enable_if::value, int>::type = int]’ 215s 2691 | auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0); 215s | ^~~~~~~~~~~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:247:27: required from ‘bool jsoncons::json_decoder::visit_byte_string(const jsoncons::byte_string_view&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ 215s 247 | result_ = Json(byte_string_arg, b, tag, allocator_); 215s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:235:34: required from here 215s 235 | JSONCONS_VISITOR_RETURN_TYPE visit_byte_string(const byte_string_view& b, 215s | ^~~~~~~~~~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 215s 241 | return std::launder(reinterpret_cast(u)); 215s | ^~~~~~~~~~~~~~~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = wchar_t; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = wchar_t; std::size_t = unsigned int]’ 215s 156 | auto psa = launder_cast(storage); 215s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 215s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 215s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 215s 2543 | auto ptr = create_long_string(alloc, s, length); 215s | ^~~~~~~~~~~~~~~~~~ 215s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 216s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 216s | ^ 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = wchar_t]’ 216s 228 | result_ = Json(sv, tag, allocator_); 216s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 216s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 216s | ^~~~~~~~~~~~ 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 216s 241 | return std::launder(reinterpret_cast(u)); 216s | ^~~~~~~~~~~~~~~~~~~~~~ 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = char; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = char; std::size_t = unsigned int]’ 216s 156 | auto psa = launder_cast(storage); 216s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = char; std::size_t = unsigned int]’ 216s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 216s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = char; std::size_t = unsigned int]’ 216s 2543 | auto ptr = create_long_string(alloc, s, length); 216s | ^~~~~~~~~~~~~~~~~~ 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 216s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 216s | ^ 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = char]’ 216s 228 | result_ = Json(sv, tag, allocator_); 216s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 216s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 216s | ^~~~~~~~~~~~ 216s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 216s 241 | return std::launder(reinterpret_cast(u)); 216s | ^~~~~~~~~~~~~~~~~~~~~~ 216s In file included from /usr/include/c++/15/vector:74, 216s from /usr/include/c++/15/functional:66, 216s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:11: 216s /usr/include/c++/15/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’: 216s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 216s 195 | vector<_Tp, _Alloc>:: 216s | ^~~~~~~~~~~~~~~~~~~ 216s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 216s In file included from /usr/include/c++/15/vector:68: 216s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 216s inlined from ‘bool jsoncons::json_decoder::visit_end_array(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:199:30: 216s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 216s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 216s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 216s inlined from ‘bool jsoncons::json_decoder::visit_end_object(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:153:26: 216s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 216s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 216s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 216s cc1plus: all warnings being treated as errors 218s [4/147] /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_reader_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_reader_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_reader_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_reader_tests.cpp 218s FAILED: test/CMakeFiles/unit_tests.dir/bson/src/bson_reader_tests.cpp.o 218s /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_reader_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_reader_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_reader_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_reader_tests.cpp 218s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:30, 218s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:25, 218s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson.hpp:10, 218s from /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_reader_tests.cpp:4: 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp: In instantiation of ‘void jsoncons::bson::to_string(const oid_t&, StringT&) [with StringT = std::__cxx11::basic_string]’: 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:631:26: required from ‘void jsoncons::bson::basic_bson_parser::read_value(jsoncons::json_visitor&, uint8_t, std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator; jsoncons::json_visitor = jsoncons::basic_json_visitor; uint8_t = unsigned char]’ 218s 631 | to_string(oid, text_buffer_); 218s | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:222:25: required from ‘void jsoncons::bson::basic_bson_parser::parse(jsoncons::json_visitor&, std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator; jsoncons::json_visitor = jsoncons::basic_json_visitor]’ 218s 222 | read_value(visitor, type, ec); 218s | ^~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_reader.hpp:64:22: required from ‘void jsoncons::bson::basic_bson_reader::read(std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator]’ 218s 64 | parser_.parse(visitor_, ec); 218s | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:44:16: required from ‘typename std::enable_if<(jsoncons::ext_traits::is_basic_json::value && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type jsoncons::bson::try_decode_bson(const BytesLike&, const bson_decode_options&) [with T = jsoncons::basic_json >; BytesLike = std::vector; typename std::enable_if<(jsoncons::ext_traits::is_basic_json::value && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type = jsoncons::detail::expected >, jsoncons::read_error>]’ 218s 44 | reader.read(ec); 218s | ~~~~~~~~~~~^~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:257:37: required from ‘T jsoncons::bson::decode_bson(Args&& ...) [with T = jsoncons::basic_json >; Args = {const std::vector >&}]’ 218s 257 | auto result = try_decode_bson(std::forward(args)...); 218s | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_reader_tests.cpp:18:42: required from here 218s 18 | json result = bson::decode_bson(v); 218s | ~~~~~~~~~~~~~~~~~~~~~~~^~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp:238:42: error: cast from ‘__gnu_cxx::__alloc_traits, char>::value_type*’ {aka ‘char*’} to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 218s 238 | detail::init_hex_char_pairs(oid, reinterpret_cast(&s[0])); 218s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:16: 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = unsigned char; Extra = long long unsigned int; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = unsigned char; std::size_t = unsigned int]’ 218s 156 | auto psa = launder_cast(storage); 218s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:938:52: required from ‘typename jsoncons::basic_json::byte_string_storage::pointer jsoncons::basic_json::create_byte_string(const allocator_type&, const uint8_t*, std::size_t, uint64_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename byte_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; uint8_t = unsigned char; std::size_t = unsigned int; uint64_t = long long unsigned int]’ 218s 938 | return heap_string_factory_type::create(data, length, ext_tag, alloc); 218s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2691:24: required from ‘jsoncons::basic_json::basic_json(jsoncons::byte_string_arg_t, const Source&, jsoncons::semantic_tag, const Allocator&, typename std::enable_if::value, int>::type) [with Source = jsoncons::byte_string_view; CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename std::enable_if::value, int>::type = int]’ 218s 2691 | auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0); 218s | ^~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:247:27: required from ‘bool jsoncons::json_decoder::visit_byte_string(const jsoncons::byte_string_view&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ 218s 247 | result_ = Json(byte_string_arg, b, tag, allocator_); 218s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:235:34: required from here 218s 235 | JSONCONS_VISITOR_RETURN_TYPE visit_byte_string(const byte_string_view& b, 218s | ^~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 218s 241 | return std::launder(reinterpret_cast(u)); 218s | ^~~~~~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = wchar_t; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = wchar_t; std::size_t = unsigned int]’ 218s 156 | auto psa = launder_cast(storage); 218s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 218s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 218s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 218s 2543 | auto ptr = create_long_string(alloc, s, length); 218s | ^~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 218s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 218s | ^ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = wchar_t]’ 218s 228 | result_ = Json(sv, tag, allocator_); 218s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 218s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 218s | ^~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 218s 241 | return std::launder(reinterpret_cast(u)); 218s | ^~~~~~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = char; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = char; std::size_t = unsigned int]’ 218s 156 | auto psa = launder_cast(storage); 218s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = char; std::size_t = unsigned int]’ 218s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 218s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = char; std::size_t = unsigned int]’ 218s 2543 | auto ptr = create_long_string(alloc, s, length); 218s | ^~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 218s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 218s | ^ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = char]’ 218s 228 | result_ = Json(sv, tag, allocator_); 218s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 218s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 218s | ^~~~~~~~~~~~ 218s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 218s 241 | return std::launder(reinterpret_cast(u)); 218s | ^~~~~~~~~~~~~~~~~~~~~~ 218s In file included from /usr/include/c++/15/vector:74, 218s from /usr/include/c++/15/functional:66, 218s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:11: 218s /usr/include/c++/15/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’: 218s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 218s 195 | vector<_Tp, _Alloc>:: 218s | ^~~~~~~~~~~~~~~~~~~ 218s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 218s In file included from /usr/include/c++/15/vector:68: 218s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 218s inlined from ‘bool jsoncons::json_decoder::visit_end_array(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:199:30: 218s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 218s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 218s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 218s inlined from ‘bool jsoncons::json_decoder::visit_end_object(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:153:26: 218s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 218s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 218s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218s In file included from /usr/include/arm-linux-gnueabihf/c++/15/bits/c++allocator.h:33, 218s from /usr/include/c++/15/bits/allocator.h:46, 218s from /usr/include/c++/15/bits/alloc_traits.h:39, 218s from /usr/include/c++/15/ext/alloc_traits.h:36, 218s from /usr/include/c++/15/bits/hashtable_policy.h:39, 218s from /usr/include/c++/15/bits/hashtable.h:37, 218s from /usr/include/c++/15/bits/unordered_map.h:33, 218s from /usr/include/c++/15/unordered_map:43, 218s from /usr/include/c++/15/functional:65: 218s In member function ‘void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = long long unsigned int]’, 218s inlined from ‘static void std::allocator_traits >::deallocate(allocator_type&, pointer, size_type) [with _Tp = long long unsigned int]’ at /usr/include/c++/15/bits/alloc_traits.h:649:23, 218s inlined from ‘void jsoncons::basic_bigint::dynamic_storage::destroy(const real_allocator_type&) [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:275:71, 218s inlined from ‘void jsoncons::basic_bigint::destroy() [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1545:34, 218s inlined from ‘jsoncons::basic_bigint::~basic_bigint() [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:359:16, 218s inlined from ‘void jsoncons::basic_bigint::unnormalize(jsoncons::basic_bigint&, int, int) const [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1668:20, 218s inlined from ‘void jsoncons::basic_bigint::divide(jsoncons::basic_bigint, jsoncons::basic_bigint&, jsoncons::basic_bigint&, bool) const [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1536:24: 218s /usr/include/c++/15/bits/new_allocator.h:172:66: error: ‘void operator delete(void*, std::size_t)’ called on a pointer to an unallocated object ‘4294967295’ [-Werror=free-nonheap-object] 218s 172 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n)); 218s | ^ 218s cc1plus: all warnings being treated as errors 227s [5/147] /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_cursor_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_cursor_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_cursor_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_cursor_tests.cpp 227s FAILED: test/CMakeFiles/unit_tests.dir/bson/src/bson_cursor_tests.cpp.o 227s /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_cursor_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_cursor_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_cursor_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_cursor_tests.cpp 227s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:30, 227s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:25, 227s from /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_cursor_tests.cpp:8: 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp: In instantiation of ‘void jsoncons::bson::to_string(const oid_t&, StringT&) [with StringT = std::__cxx11::basic_string]’: 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:631:26: required from ‘void jsoncons::bson::basic_bson_parser::read_value(jsoncons::json_visitor&, uint8_t, std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator; jsoncons::json_visitor = jsoncons::basic_json_visitor; uint8_t = unsigned char]’ 227s 631 | to_string(oid, text_buffer_); 227s | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:222:25: required from ‘void jsoncons::bson::basic_bson_parser::parse(jsoncons::json_visitor&, std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator; jsoncons::json_visitor = jsoncons::basic_json_visitor]’ 227s 222 | read_value(visitor, type, ec); 227s | ^~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_cursor_tests.cpp:116:21: required from here 227s 116 | parser.parse(destination, ec); 227s | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp:238:42: error: cast from ‘__gnu_cxx::__alloc_traits, char>::value_type*’ {aka ‘char*’} to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 227s 238 | detail::init_hex_char_pairs(oid, reinterpret_cast(&s[0])); 227s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:16: 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = unsigned char; Extra = long long unsigned int; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = unsigned char; std::size_t = unsigned int]’ 227s 156 | auto psa = launder_cast(storage); 227s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:938:52: required from ‘typename jsoncons::basic_json::byte_string_storage::pointer jsoncons::basic_json::create_byte_string(const allocator_type&, const uint8_t*, std::size_t, uint64_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename byte_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; uint8_t = unsigned char; std::size_t = unsigned int; uint64_t = long long unsigned int]’ 227s 938 | return heap_string_factory_type::create(data, length, ext_tag, alloc); 227s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2691:24: required from ‘jsoncons::basic_json::basic_json(jsoncons::byte_string_arg_t, const Source&, jsoncons::semantic_tag, const Allocator&, typename std::enable_if::value, int>::type) [with Source = jsoncons::byte_string_view; CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename std::enable_if::value, int>::type = int]’ 227s 2691 | auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0); 227s | ^~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:247:27: required from ‘bool jsoncons::json_decoder::visit_byte_string(const jsoncons::byte_string_view&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ 227s 247 | result_ = Json(byte_string_arg, b, tag, allocator_); 227s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:235:34: required from here 227s 235 | JSONCONS_VISITOR_RETURN_TYPE visit_byte_string(const byte_string_view& b, 227s | ^~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 227s 241 | return std::launder(reinterpret_cast(u)); 227s | ^~~~~~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = wchar_t; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = wchar_t; std::size_t = unsigned int]’ 227s 156 | auto psa = launder_cast(storage); 227s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 227s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 227s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 227s 2543 | auto ptr = create_long_string(alloc, s, length); 227s | ^~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 227s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 227s | ^ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = wchar_t]’ 227s 228 | result_ = Json(sv, tag, allocator_); 227s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 227s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 227s | ^~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 227s 241 | return std::launder(reinterpret_cast(u)); 227s | ^~~~~~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = char; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = char; std::size_t = unsigned int]’ 227s 156 | auto psa = launder_cast(storage); 227s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = char; std::size_t = unsigned int]’ 227s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 227s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = char; std::size_t = unsigned int]’ 227s 2543 | auto ptr = create_long_string(alloc, s, length); 227s | ^~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 227s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 227s | ^ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = char]’ 227s 228 | result_ = Json(sv, tag, allocator_); 227s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 227s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 227s | ^~~~~~~~~~~~ 227s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 227s 241 | return std::launder(reinterpret_cast(u)); 227s | ^~~~~~~~~~~~~~~~~~~~~~ 227s In file included from /usr/include/c++/15/vector:74, 227s from /usr/include/c++/15/functional:66, 227s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:11: 227s /usr/include/c++/15/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’: 227s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 227s 195 | vector<_Tp, _Alloc>:: 227s | ^~~~~~~~~~~~~~~~~~~ 227s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 227s In file included from /usr/include/c++/15/vector:68: 227s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 227s inlined from ‘bool jsoncons::json_decoder::visit_end_array(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:199:30: 227s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 227s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 227s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227s /usr/include/c++/15/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’: 227s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 227s 195 | vector<_Tp, _Alloc>:: 227s | ^~~~~~~~~~~~~~~~~~~ 227s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 227s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 227s inlined from ‘bool jsoncons::json_decoder::visit_end_array(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:199:30: 227s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 227s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 227s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 227s inlined from ‘bool jsoncons::json_decoder::visit_end_object(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:153:26: 227s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 227s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 227s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 227s inlined from ‘bool jsoncons::json_decoder::visit_end_object(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:153:26: 227s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 227s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 227s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 227s In file included from /usr/include/arm-linux-gnueabihf/c++/15/bits/c++allocator.h:33, 227s from /usr/include/c++/15/bits/allocator.h:46, 227s from /usr/include/c++/15/bits/alloc_traits.h:39, 227s from /usr/include/c++/15/ext/alloc_traits.h:36, 227s from /usr/include/c++/15/bits/hashtable_policy.h:39, 227s from /usr/include/c++/15/bits/hashtable.h:37, 227s from /usr/include/c++/15/bits/unordered_map.h:33, 227s from /usr/include/c++/15/unordered_map:43, 227s from /usr/include/c++/15/functional:65: 227s In member function ‘void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = long long unsigned int]’, 227s inlined from ‘static void std::allocator_traits >::deallocate(allocator_type&, pointer, size_type) [with _Tp = long long unsigned int]’ at /usr/include/c++/15/bits/alloc_traits.h:649:23, 227s inlined from ‘void jsoncons::basic_bigint::dynamic_storage::destroy(const real_allocator_type&) [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:275:71, 227s inlined from ‘void jsoncons::basic_bigint::destroy() [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1545:34, 227s inlined from ‘jsoncons::basic_bigint::~basic_bigint() [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:359:16, 227s inlined from ‘void jsoncons::basic_bigint::unnormalize(jsoncons::basic_bigint&, int, int) const [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1668:20, 227s inlined from ‘void jsoncons::basic_bigint::divide(jsoncons::basic_bigint, jsoncons::basic_bigint&, jsoncons::basic_bigint&, bool) const [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1536:24: 227s /usr/include/c++/15/bits/new_allocator.h:172:66: error: ‘void operator delete(void*, std::size_t)’ called on a pointer to an unallocated object ‘4294967295’ [-Werror=free-nonheap-object] 227s 172 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n)); 227s | ^ 227s cc1plus: all warnings being treated as errors 228s [6/147] /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/cbor/src/cbor_bitset_traits_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/cbor/src/cbor_bitset_traits_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/cbor/src/cbor_bitset_traits_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/cbor/src/cbor_bitset_traits_tests.cpp 228s FAILED: test/CMakeFiles/unit_tests.dir/cbor/src/cbor_bitset_traits_tests.cpp.o 228s /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/cbor/src/cbor_bitset_traits_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/cbor/src/cbor_bitset_traits_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/cbor/src/cbor_bitset_traits_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/cbor/src/cbor_bitset_traits_tests.cpp 228s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/byte_string.hpp:24, 228s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:16, 228s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor.hpp:11, 228s from /tmp/autopkgtest.ApuCF1/build.bEW/src/test/cbor/src/cbor_bitset_traits_tests.cpp:4: 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = unsigned char; Extra = long long unsigned int; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = unsigned char; std::size_t = unsigned int]’ 228s 156 | auto psa = launder_cast(storage); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:938:52: required from ‘typename jsoncons::basic_json::byte_string_storage::pointer jsoncons::basic_json::create_byte_string(const allocator_type&, const uint8_t*, std::size_t, uint64_t) [with CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename byte_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; uint8_t = unsigned char; std::size_t = unsigned int; uint64_t = long long unsigned int]’ 228s 938 | return heap_string_factory_type::create(data, length, ext_tag, alloc); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2691:24: required from ‘jsoncons::basic_json::basic_json(jsoncons::byte_string_arg_t, const Source&, jsoncons::semantic_tag, const Allocator&, typename std::enable_if::value, int>::type) [with Source = std::vector; CharT = char; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename std::enable_if::value, int>::type = int]’ 228s 2691 | auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0); 228s | ^~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/detail/make_obj_using_allocator.hpp:17:12: required from ‘typename std::enable_if<(((! jsoncons::ext_traits::is_std_pair::value) && std::uses_allocator<_Tp, _Alloc>::value) && std::is_constructible::value), T>::type jsoncons::detail::make_obj_using_allocator(const Alloc&, Args&& ...) [with T = jsoncons::basic_json >; Alloc = std::allocator; Args = {const jsoncons::byte_string_arg_t&, std::vector >&, jsoncons::semantic_tag}; typename std::enable_if<(((! jsoncons::ext_traits::is_std_pair::value) && std::uses_allocator<_Tp, _Alloc>::value) && std::is_constructible::value), T>::type = jsoncons::basic_json >]’ 228s 17 | return T(std::forward(args)..., alloc); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/reflect/json_conv_traits.hpp:1970:60: required from ‘static Json jsoncons::reflect::json_conv_traits >::to_json(const jsoncons::allocator_set&, const std::bitset&) [with Alloc = std::allocator; TempAlloc = std::allocator; Json = jsoncons::basic_json >; unsigned int N = 32]’ 228s 1970 | return jsoncons::make_obj_using_allocator(aset.get_allocator(), byte_string_arg, bits, semantic_tag::base16); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/reflect/encode_traits.hpp:42:98: required from ‘static jsoncons::write_result jsoncons::reflect::encode_traits::try_encode(const jsoncons::allocator_set&, const T&, jsoncons::basic_json_visitor&) [with CharT = char; Alloc = std::allocator; TempAlloc = std::allocator; T = std::bitset<32>; Enable = void; jsoncons::write_result = jsoncons::detail::expected]’ 228s 42 | auto j = json_conv_traits,T>::to_json( 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 228s 43 | make_alloc_set(aset.get_temp_allocator(), aset.get_temp_allocator()), val); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/encode_cbor.hpp:47:49: required from ‘typename std::enable_if<((! jsoncons::ext_traits::is_basic_json::value) && jsoncons::ext_traits::is_back_insertable_byte_container::value), jsoncons::detail::expected >::type jsoncons::cbor::try_encode_cbor(const T&, ByteContainer&, const cbor_encode_options&) [with T = std::bitset<32>; ByteContainer = std::__cxx11::basic_string; typename std::enable_if<((! jsoncons::ext_traits::is_basic_json::value) && jsoncons::ext_traits::is_back_insertable_byte_container::value), jsoncons::detail::expected >::type = jsoncons::detail::expected]’ 228s 47 | return reflect::encode_traits::try_encode(make_alloc_set(), val, encoder); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/encode_cbor.hpp:131:29: required from ‘void jsoncons::cbor::encode_cbor(Args&& ...) [with Args = {std::bitset<32>&, std::__cxx11::basic_string, std::allocator >&}]’ 228s 131 | auto r = try_encode_cbor(std::forward(args)...); 228s | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/cbor/src/cbor_bitset_traits_tests.cpp:20:26: required from here 228s 20 | cbor::encode_cbor(i_bs32, s32); 228s | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 228s 241 | return std::launder(reinterpret_cast(u)); 228s | ^~~~~~~~~~~~~~~~~~~~~~ 228s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:23: 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp: In instantiation of ‘void jsoncons::cbor::basic_cbor_parser::write_byte_string(Read, jsoncons::item_event_visitor&, std::error_code&) [with Read = jsoncons::cbor::basic_cbor_parser >::read_byte_string_from_buffer; Source = jsoncons::bytes_source; Allocator = std::allocator; jsoncons::item_event_visitor = jsoncons::basic_item_event_visitor]’: 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:452:46: required from ‘void jsoncons::cbor::basic_cbor_parser::read_item(jsoncons::item_event_visitor&, std::error_code&) [with Source = jsoncons::bytes_source; Allocator = std::allocator; jsoncons::item_event_visitor = jsoncons::basic_item_event_visitor]’ 228s 452 | write_byte_string(read, visitor, ec); 228s | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:288:25: required from ‘void jsoncons::cbor::basic_cbor_parser::parse(jsoncons::item_event_visitor&, std::error_code&) [with Source = jsoncons::bytes_source; Allocator = std::allocator; jsoncons::item_event_visitor = jsoncons::basic_item_event_visitor]’ 228s 288 | read_item(visitor, ec); 228s | ^~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:274:30: required from ‘void jsoncons::cbor::basic_cbor_cursor::read_next(std::error_code&) [with Source = jsoncons::bytes_source; Allocator = std::allocator]’ 228s 274 | parser_.parse(cursor_handler_adaptor_, ec); 228s | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:232:18: required from ‘void jsoncons::cbor::basic_cbor_cursor::next(std::error_code&) [with Source = jsoncons::bytes_source; Allocator = std::allocator]’ 228s 232 | read_next(ec); 228s | ~~~~~~~~~^~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:97:17: required from ‘jsoncons::cbor::basic_cbor_cursor::basic_cbor_cursor(std::allocator_arg_t, const Allocator&, Sourceable&&, const jsoncons::cbor::cbor_decode_options&, std::error_code&) [with Sourceable = const std::__cxx11::basic_string&; Source = jsoncons::bytes_source; Allocator = std::allocator]’ 228s 97 | next(ec); 228s | ~~~~^~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:81:17: required from ‘jsoncons::cbor::basic_cbor_cursor::basic_cbor_cursor(Sourceable&&, const jsoncons::cbor::cbor_decode_options&, std::error_code&) [with Sourceable = const std::__cxx11::basic_string&; Source = jsoncons::bytes_source; Allocator = std::allocator]’ 228s 81 | ec) 228s | ^ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/decode_cbor.hpp:65:37: required from ‘typename std::enable_if<((! jsoncons::ext_traits::is_basic_json::value) && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type jsoncons::cbor::try_decode_cbor(const BytesLike&, const cbor_decode_options&) [with T = std::bitset<32>; BytesLike = std::__cxx11::basic_string; typename std::enable_if<((! jsoncons::ext_traits::is_basic_json::value) && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type = jsoncons::detail::expected, jsoncons::read_error>]’ 228s 65 | basic_cbor_cursor cursor(v, options, ec); 228s | ^~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/decode_cbor.hpp:256:37: required from ‘T jsoncons::cbor::decode_cbor(Args&& ...) [with T = std::bitset<32>; Args = {std::__cxx11::basic_string, std::allocator >&}]’ 228s 256 | auto result = try_decode_cbor(std::forward(args)...); 228s | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/cbor/src/cbor_bitset_traits_tests.cpp:21:57: required from here 228s 21 | auto o_bs32 = cbor::decode_cbor>(s32); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1682:38: error: cast from ‘unsigned char*’ to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 228s 1682 | uint16_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1710:38: error: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Werror=cast-align] 228s 1710 | uint32_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1737:38: error: cast from ‘unsigned char*’ to ‘uint64_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Werror=cast-align] 228s 1737 | uint64_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1779:37: error: cast from ‘unsigned char*’ to ‘int16_t*’ {aka ‘short int*’} increases required alignment of target type [-Werror=cast-align] 228s 1779 | int16_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1806:37: error: cast from ‘unsigned char*’ to ‘int32_t*’ {aka ‘int*’} increases required alignment of target type [-Werror=cast-align] 228s 1806 | int32_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1833:37: error: cast from ‘unsigned char*’ to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Werror=cast-align] 228s 1833 | int64_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1860:38: error: cast from ‘unsigned char*’ to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 228s 1860 | uint16_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1887:35: error: cast from ‘unsigned char*’ to ‘float*’ increases required alignment of target type [-Werror=cast-align] 228s 1887 | float* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1914:36: error: cast from ‘unsigned char*’ to ‘double*’ increases required alignment of target type [-Werror=cast-align] 228s 1914 | double* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp: In instantiation of ‘void jsoncons::cbor::basic_cbor_parser::write_byte_string(Read, jsoncons::item_event_visitor&, std::error_code&) [with Read = jsoncons::cbor::basic_cbor_parser >::read_byte_string_from_source; Source = jsoncons::bytes_source; Allocator = std::allocator; jsoncons::item_event_visitor = jsoncons::basic_item_event_visitor]’: 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:503:34: required from ‘void jsoncons::cbor::basic_cbor_parser::read_item(jsoncons::item_event_visitor&, std::error_code&) [with Source = jsoncons::bytes_source; Allocator = std::allocator; jsoncons::item_event_visitor = jsoncons::basic_item_event_visitor]’ 228s 503 | write_byte_string(read, visitor, ec); 228s | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:288:25: required from ‘void jsoncons::cbor::basic_cbor_parser::parse(jsoncons::item_event_visitor&, std::error_code&) [with Source = jsoncons::bytes_source; Allocator = std::allocator; jsoncons::item_event_visitor = jsoncons::basic_item_event_visitor]’ 228s 288 | read_item(visitor, ec); 228s | ^~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:274:30: required from ‘void jsoncons::cbor::basic_cbor_cursor::read_next(std::error_code&) [with Source = jsoncons::bytes_source; Allocator = std::allocator]’ 228s 274 | parser_.parse(cursor_handler_adaptor_, ec); 228s | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:232:18: required from ‘void jsoncons::cbor::basic_cbor_cursor::next(std::error_code&) [with Source = jsoncons::bytes_source; Allocator = std::allocator]’ 228s 232 | read_next(ec); 228s | ~~~~~~~~~^~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:97:17: required from ‘jsoncons::cbor::basic_cbor_cursor::basic_cbor_cursor(std::allocator_arg_t, const Allocator&, Sourceable&&, const jsoncons::cbor::cbor_decode_options&, std::error_code&) [with Sourceable = const std::__cxx11::basic_string&; Source = jsoncons::bytes_source; Allocator = std::allocator]’ 228s 97 | next(ec); 228s | ~~~~^~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:81:17: required from ‘jsoncons::cbor::basic_cbor_cursor::basic_cbor_cursor(Sourceable&&, const jsoncons::cbor::cbor_decode_options&, std::error_code&) [with Sourceable = const std::__cxx11::basic_string&; Source = jsoncons::bytes_source; Allocator = std::allocator]’ 228s 81 | ec) 228s | ^ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/decode_cbor.hpp:65:37: required from ‘typename std::enable_if<((! jsoncons::ext_traits::is_basic_json::value) && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type jsoncons::cbor::try_decode_cbor(const BytesLike&, const cbor_decode_options&) [with T = std::bitset<32>; BytesLike = std::__cxx11::basic_string; typename std::enable_if<((! jsoncons::ext_traits::is_basic_json::value) && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type = jsoncons::detail::expected, jsoncons::read_error>]’ 228s 65 | basic_cbor_cursor cursor(v, options, ec); 228s | ^~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/decode_cbor.hpp:256:37: required from ‘T jsoncons::cbor::decode_cbor(Args&& ...) [with T = std::bitset<32>; Args = {std::__cxx11::basic_string, std::allocator >&}]’ 228s 256 | auto result = try_decode_cbor(std::forward(args)...); 228s | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/cbor/src/cbor_bitset_traits_tests.cpp:21:57: required from here 228s 21 | auto o_bs32 = cbor::decode_cbor>(s32); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1682:38: error: cast from ‘unsigned char*’ to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 228s 1682 | uint16_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1710:38: error: cast from ‘unsigned char*’ to ‘uint32_t*’ {aka ‘unsigned int*’} increases required alignment of target type [-Werror=cast-align] 228s 1710 | uint32_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1737:38: error: cast from ‘unsigned char*’ to ‘uint64_t*’ {aka ‘long long unsigned int*’} increases required alignment of target type [-Werror=cast-align] 228s 1737 | uint64_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1779:37: error: cast from ‘unsigned char*’ to ‘int16_t*’ {aka ‘short int*’} increases required alignment of target type [-Werror=cast-align] 228s 1779 | int16_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1806:37: error: cast from ‘unsigned char*’ to ‘int32_t*’ {aka ‘int*’} increases required alignment of target type [-Werror=cast-align] 228s 1806 | int32_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1833:37: error: cast from ‘unsigned char*’ to ‘int64_t*’ {aka ‘long long int*’} increases required alignment of target type [-Werror=cast-align] 228s 1833 | int64_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1860:38: error: cast from ‘unsigned char*’ to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 228s 1860 | uint16_t* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1887:35: error: cast from ‘unsigned char*’ to ‘float*’ increases required alignment of target type [-Werror=cast-align] 228s 1887 | float* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_parser.hpp:1914:36: error: cast from ‘unsigned char*’ to ‘double*’ increases required alignment of target type [-Werror=cast-align] 228s 1914 | double* data = reinterpret_cast(typed_array_.data()); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = char; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = char; std::size_t = unsigned int]’ 228s 156 | auto psa = launder_cast(storage); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = char; std::size_t = unsigned int]’ 228s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; char_type = char; std::size_t = unsigned int]’ 228s 2543 | auto ptr = create_long_string(alloc, s, length); 228s | ^~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/detail/make_obj_using_allocator.hpp:17:12: required from ‘typename std::enable_if<(((! jsoncons::ext_traits::is_std_pair::value) && std::uses_allocator<_Tp, _Alloc>::value) && std::is_constructible::value), T>::type jsoncons::detail::make_obj_using_allocator(const Alloc&, Args&& ...) [with T = jsoncons::basic_json >; Alloc = std::allocator; Args = {const char*, unsigned int, jsoncons::semantic_tag}; typename std::enable_if<(((! jsoncons::ext_traits::is_std_pair::value) && std::uses_allocator<_Tp, _Alloc>::value) && std::is_constructible::value), T>::type = jsoncons::basic_json >]’ 228s 17 | return T(std::forward(args)..., alloc); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/staj_cursor.hpp:791:72: required from ‘jsoncons::read_result jsoncons::to_json_single(const allocator_set&, basic_staj_cursor&) [with Json = basic_json >; Alloc = std::allocator; TempAlloc = std::allocator; read_result = detail::expected >, read_error>; typename Json::char_type = char]’ 228s 791 | return result_type{jsoncons::make_obj_using_allocator(aset.get_allocator(), 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 228s 792 | sv.data(), sv.length(), cursor.current().tag())}; 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/staj_cursor.hpp:1076:36: required from ‘jsoncons::read_result jsoncons::try_to_json(const allocator_set&, basic_staj_cursor&) [with Json = basic_json >; Alloc = std::allocator; TempAlloc = std::allocator; read_result = detail::expected >, read_error>; typename Json::char_type = char]’ 228s 1076 | return to_json_single(aset, cursor); 228s | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/reflect/decode_traits.hpp:54:41: required from ‘static jsoncons::reflect::decode_traits::result_type jsoncons::reflect::decode_traits::try_decode(const jsoncons::allocator_set&, jsoncons::basic_staj_cursor&) [with CharT = char; Alloc = std::allocator; TempAlloc = std::allocator; T = std::bitset<32>; Enable = void; result_type = jsoncons::detail::expected, jsoncons::read_error>]’ 228s 54 | auto r1 = try_to_json(make_alloc_set(aset.get_temp_allocator(), aset.get_temp_allocator()), 228s | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s 55 | cursor); 228s | ~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/decode_cbor.hpp:71:49: required from ‘typename std::enable_if<((! jsoncons::ext_traits::is_basic_json::value) && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type jsoncons::cbor::try_decode_cbor(const BytesLike&, const cbor_decode_options&) [with T = std::bitset<32>; BytesLike = std::__cxx11::basic_string; typename std::enable_if<((! jsoncons::ext_traits::is_basic_json::value) && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type = jsoncons::detail::expected, jsoncons::read_error>]’ 228s 71 | return reflect::decode_traits::try_decode(make_alloc_set(), cursor); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/decode_cbor.hpp:256:37: required from ‘T jsoncons::cbor::decode_cbor(Args&& ...) [with T = std::bitset<32>; Args = {std::__cxx11::basic_string, std::allocator >&}]’ 228s 256 | auto result = try_decode_cbor(std::forward(args)...); 228s | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/cbor/src/cbor_bitset_traits_tests.cpp:21:57: required from here 228s 21 | auto o_bs32 = cbor::decode_cbor>(s32); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 228s 241 | return std::launder(reinterpret_cast(u)); 228s | ^~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = wchar_t; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = wchar_t; std::size_t = unsigned int]’ 228s 156 | auto psa = launder_cast(storage); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 228s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 228s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 228s 2543 | auto ptr = create_long_string(alloc, s, length); 228s | ^~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 228s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 228s | ^ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = wchar_t]’ 228s 228 | result_ = Json(sv, tag, allocator_); 228s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 228s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 228s | ^~~~~~~~~~~~ 228s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 228s 241 | return std::launder(reinterpret_cast(u)); 228s | ^~~~~~~~~~~~~~~~~~~~~~ 228s In file included from /usr/include/arm-linux-gnueabihf/c++/15/bits/c++allocator.h:33, 228s from /usr/include/c++/15/bits/allocator.h:46, 228s from /usr/include/c++/15/bits/alloc_traits.h:39, 228s from /usr/include/c++/15/ext/alloc_traits.h:36, 228s from /usr/include/c++/15/bits/hashtable_policy.h:39, 228s from /usr/include/c++/15/bits/hashtable.h:37, 228s from /usr/include/c++/15/bits/unordered_map.h:33, 228s from /usr/include/c++/15/unordered_map:43, 228s from /usr/include/c++/15/functional:65, 228s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/cbor/cbor_cursor.hpp:11: 228s In member function ‘void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = long long unsigned int]’, 228s inlined from ‘static void std::allocator_traits >::deallocate(allocator_type&, pointer, size_type) [with _Tp = long long unsigned int]’ at /usr/include/c++/15/bits/alloc_traits.h:649:23, 228s inlined from ‘void jsoncons::basic_bigint::dynamic_storage::destroy(const real_allocator_type&) [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:275:71, 228s inlined from ‘void jsoncons::basic_bigint::destroy() [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1545:34, 228s inlined from ‘jsoncons::basic_bigint::~basic_bigint() [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:359:16, 228s inlined from ‘void jsoncons::basic_bigint::unnormalize(jsoncons::basic_bigint&, int, int) const [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1668:20, 228s inlined from ‘void jsoncons::basic_bigint::divide(jsoncons::basic_bigint, jsoncons::basic_bigint&, jsoncons::basic_bigint&, bool) const [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1536:24: 228s /usr/include/c++/15/bits/new_allocator.h:172:66: error: ‘void operator delete(void*, std::size_t)’ called on a pointer to an unallocated object ‘4294967295’ [-Werror=free-nonheap-object] 228s 172 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n)); 228s | ^ 228s cc1plus: all warnings being treated as errors 232s [7/147] /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_test_suite.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_test_suite.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_test_suite.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_test_suite.cpp 232s FAILED: test/CMakeFiles/unit_tests.dir/bson/src/bson_test_suite.cpp.o 232s /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/bson_test_suite.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/bson_test_suite.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/bson_test_suite.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_test_suite.cpp 232s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:30, 232s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:25, 232s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson.hpp:10, 232s from /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_test_suite.cpp:4: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp: In instantiation of ‘void jsoncons::bson::to_string(const oid_t&, StringT&) [with StringT = std::__cxx11::basic_string]’: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_test_suite.cpp:124:18: required from here 232s 124 | to_string(oid, s); 232s | ~~~~~~~~~^~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp:238:42: error: cast from ‘__gnu_cxx::__alloc_traits, char>::value_type*’ {aka ‘char*’} to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 232s 238 | detail::init_hex_char_pairs(oid, reinterpret_cast(&s[0])); 232s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:16: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = char; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = char; std::size_t = unsigned int]’ 232s 156 | auto psa = launder_cast(storage); 232s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = char; std::size_t = unsigned int]’ 232s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 232s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; char_type = char; std::size_t = unsigned int]’ 232s 2543 | auto ptr = create_long_string(alloc, s, length); 232s | ^~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2487:62: required from ‘jsoncons::basic_json::basic_json(const std::__cxx11::basic_string, SAlloc>&, jsoncons::semantic_tag) [with SAlloc = std::allocator; CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator]’ 232s 2487 | : basic_json(s.data(), s.size(), tag, Allocator()) 232s | ^ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_test_suite.cpp:332:9: required from here 232s 332 | CHECK(j.at("a") == json(std::string(buf,rc.ptr))); 232s | ^ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 232s 241 | return std::launder(reinterpret_cast(u)); 232s | ^~~~~~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = unsigned char; Extra = long long unsigned int; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = unsigned char; std::size_t = unsigned int]’ 232s 156 | auto psa = launder_cast(storage); 232s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:938:52: required from ‘typename jsoncons::basic_json::byte_string_storage::pointer jsoncons::basic_json::create_byte_string(const allocator_type&, const uint8_t*, std::size_t, uint64_t) [with CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; typename byte_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; uint8_t = unsigned char; std::size_t = unsigned int; uint64_t = long long unsigned int]’ 232s 938 | return heap_string_factory_type::create(data, length, ext_tag, alloc); 232s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2702:24: required from ‘jsoncons::basic_json::basic_json(jsoncons::byte_string_arg_t, const Source&, uint64_t, typename std::enable_if::value, int>::type) [with Source = std::vector; CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; uint64_t = long long unsigned int; typename std::enable_if::value, int>::type = int]’ 232s 2702 | auto ptr = create_byte_string(Allocator(), bytes.data(), bytes.size(), ext_tag); 232s | ^~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_object.hpp:86:38: required from ‘jsoncons::key_value::key_value(key_type&&, Args&& ...) [with Args = {const jsoncons::byte_string_arg_t&, std::vector >&, int}; KeyT = std::__cxx11::basic_string; ValueT = jsoncons::basic_json >; key_type = std::__cxx11::basic_string]’ 232s 86 | : key_(std::move(name)), value_(std::forward(args)...) 232s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /usr/include/c++/15/bits/new_allocator.h:191:4: required from ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = jsoncons::key_value, jsoncons::basic_json > >; _Args = {std::__cxx11::basic_string, std::allocator >, const jsoncons::byte_string_arg_t&, std::vector >&, int}; _Tp = jsoncons::key_value, jsoncons::basic_json > >]’ 232s 191 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } 232s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /usr/include/c++/15/bits/alloc_traits.h:674:17: required from ‘static void std::allocator_traits >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = jsoncons::key_value, jsoncons::basic_json > >; _Args = {std::__cxx11::basic_string, std::allocator >, const jsoncons::byte_string_arg_t&, std::vector >&, int}; _Tp = jsoncons::key_value, jsoncons::basic_json > >; allocator_type = std::allocator, jsoncons::basic_json > > >]’ 232s 674 | __a.construct(__p, std::forward<_Args>(__args)...); 232s | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /usr/include/c++/15/bits/vector.tcc:117:30: required from ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, const jsoncons::byte_string_arg_t&, std::vector >&, int}; _Tp = jsoncons::key_value, jsoncons::basic_json > >; _Alloc = std::allocator, jsoncons::basic_json > > >; reference = jsoncons::key_value, jsoncons::basic_json > >&]’ 232s 117 | _Alloc_traits::construct(this->_M_impl, this->_M_impl._M_finish, 232s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s 118 | std::forward<_Args>(__args)...); 232s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_object.hpp:655:38: required from ‘typename std::enable_if::is_always_equal::value, std::pair, typename std::allocator_traits::rebind_alloc > >::iterator, bool> >::type jsoncons::sorted_json_object::try_emplace(const string_view_type&, Args&& ...) [with A = std::allocator; Args = {const jsoncons::byte_string_arg_t&, std::vector >&, int}; KeyT = std::__cxx11::basic_string; Json = jsoncons::basic_json >; SequenceContainer = std::vector; typename std::enable_if::is_always_equal::value, std::pair, typename std::allocator_traits::rebind_alloc > >::iterator, bool> >::type = std::pair<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, bool>; typename std::allocator_traits::is_always_equal = std::true_type; typename SequenceContainer, typename std::allocator_traits::rebind_alloc > >::iterator = std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > >::iterator; typename std::allocator_traits::rebind_alloc > = std::allocator, jsoncons::basic_json > > >; typename Json::allocator_type = std::allocator; string_view_type = std::basic_string_view]’ 232s 655 | members_.emplace_back(key_type(name.begin(),name.end()), std::forward(args)...); 232s | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:4216:77: required from ‘std::pair, typename std::allocator_traits<_NodeAlloc>::rebind_alloc >, jsoncons::basic_json >::object_iterator_type, bool> jsoncons::basic_json::try_emplace(const string_view_type&, Args&& ...) [with Args = {const jsoncons::byte_string_arg_t&, std::vector >&, int}; CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; typename jsoncons::object_iterator_typedefs, typename std::allocator_traits<_NodeAlloc>::rebind_alloc >, jsoncons::basic_json >::object_iterator_type = jsoncons::detail::random_access_iterator_wrapper<__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >, void>; typename Policy::member_key, typename std::allocator_traits<_NodeAlloc>::rebind_alloc > = std::__cxx11::basic_string; typename std::allocator_traits<_NodeAlloc>::rebind_alloc = std::allocator; string_view_type = std::basic_string_view]’ 232s 4216 | auto result = cast().value().try_emplace(key, std::forward(args)...); 232s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_test_suite.cpp:161:22: required from here 232s 161 | b.try_emplace("binary", byte_string_arg, bstr, 0x80); 232s | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 232s 241 | return std::launder(reinterpret_cast(u)); 232s | ^~~~~~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = wchar_t; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = wchar_t; std::size_t = unsigned int]’ 232s 156 | auto psa = launder_cast(storage); 232s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 232s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 232s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 232s 2543 | auto ptr = create_long_string(alloc, s, length); 232s | ^~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 232s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 232s | ^ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = wchar_t]’ 232s 228 | result_ = Json(sv, tag, allocator_); 232s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 232s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 232s | ^~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 232s 241 | return std::launder(reinterpret_cast(u)); 232s | ^~~~~~~~~~~~~~~~~~~~~~ 232s In file included from /usr/include/c++/15/map:64, 232s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/reflect/json_conv_traits.hpp:18, 232s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:43, 232s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:14, 232s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson.hpp:13: 232s /usr/include/c++/15/bits/stl_tree.h: In function ‘std::pair::rebind<_Val>::other>::pointer>::_Base_ptr, typename std::__rb_tree::_Node_traits<_Val, typename __gnu_cxx::__alloc_traits::rebind<_Val>::other>::pointer>::_Base_ptr> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string; _Val = std::pair, long long int>; _KeyOfValue = std::_Select1st, long long int> >; _Compare = std::less >; _Alloc = std::allocator, long long int> >]’: 232s /usr/include/c++/15/bits/stl_tree.h:2832:5: note: parameter passing for argument of type ‘std::_Rb_tree, std::pair, long long int>, std::_Select1st, long long int> >, std::less >, std::allocator, long long int> > >::const_iterator’ changed in GCC 7.1 232s 2832 | _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: 232s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s /usr/include/c++/15/bits/stl_tree.h: In function ‘std::pair::rebind<_Val>::other>::pointer>::_Base_ptr, typename std::__rb_tree::_Node_traits<_Val, typename __gnu_cxx::__alloc_traits::rebind<_Val>::other>::pointer>::_Base_ptr> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(const_iterator, const key_type&) [with _Key = std::__cxx11::basic_string; _Val = std::pair, double>; _KeyOfValue = std::_Select1st, double> >; _Compare = std::less >; _Alloc = std::allocator, double> >]’: 232s /usr/include/c++/15/bits/stl_tree.h:2832:5: note: parameter passing for argument of type ‘std::_Rb_tree, std::pair, double>, std::_Select1st, double> >, std::less >, std::allocator, double> > >::const_iterator’ changed in GCC 7.1 232s In file included from /usr/include/c++/15/vector:74, 232s from /usr/include/c++/15/functional:66, 232s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:11: 232s /usr/include/c++/15/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’: 232s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 232s 195 | vector<_Tp, _Alloc>:: 232s | ^~~~~~~~~~~~~~~~~~~ 232s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 232s /usr/include/c++/15/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’: 232s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 232s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 232s In file included from /usr/include/c++/15/vector:68: 232s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 232s inlined from ‘bool jsoncons::json_decoder::visit_end_array(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:199:30: 232s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 232s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 232s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 232s inlined from ‘bool jsoncons::json_decoder::visit_end_array(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:199:30: 232s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 232s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 232s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s In file included from /usr/include/arm-linux-gnueabihf/c++/15/bits/c++allocator.h:33, 232s from /usr/include/c++/15/bits/allocator.h:46, 232s from /usr/include/c++/15/bits/alloc_traits.h:39, 232s from /usr/include/c++/15/ext/alloc_traits.h:36, 232s from /usr/include/c++/15/bits/hashtable_policy.h:39, 232s from /usr/include/c++/15/bits/hashtable.h:37, 232s from /usr/include/c++/15/bits/unordered_map.h:33, 232s from /usr/include/c++/15/unordered_map:43, 232s from /usr/include/c++/15/functional:65: 232s In member function ‘void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = long long unsigned int]’, 232s inlined from ‘static void std::allocator_traits >::deallocate(allocator_type&, pointer, size_type) [with _Tp = long long unsigned int]’ at /usr/include/c++/15/bits/alloc_traits.h:649:23, 232s inlined from ‘void jsoncons::basic_bigint::dynamic_storage::destroy(const real_allocator_type&) [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:275:71, 232s inlined from ‘void jsoncons::basic_bigint::destroy() [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1545:34, 232s inlined from ‘jsoncons::basic_bigint::~basic_bigint() [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:359:16, 232s inlined from ‘void jsoncons::basic_bigint::unnormalize(jsoncons::basic_bigint&, int, int) const [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1668:20, 232s inlined from ‘void jsoncons::basic_bigint::divide(jsoncons::basic_bigint, jsoncons::basic_bigint&, jsoncons::basic_bigint&, bool) const [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1536:24: 232s /usr/include/c++/15/bits/new_allocator.h:172:66: error: ‘void operator delete(void*, std::size_t)’ called on a pointer to an unallocated object ‘4294967295’ [-Werror=free-nonheap-object] 232s 172 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n)); 232s | ^ 232s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 232s inlined from ‘bool jsoncons::json_decoder::visit_end_object(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:153:26: 232s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 232s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 232s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 232s inlined from ‘bool jsoncons::json_decoder::visit_end_object(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:153:26: 232s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 232s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 232s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/bson_test_suite.cpp:12: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp: In function ‘std::string Catch::Detail::rangeToString(InputIterator, Sentinel) [with InputIterator = std::_Rb_tree_const_iterator, double> >; Sentinel = std::_Rb_tree_const_iterator, double> >]’: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:1829:21: note: parameter passing for argument of type ‘std::_Rb_tree_const_iterator, double> >’ changed in GCC 7.1 232s 1829 | std::string rangeToString(InputIterator first, Sentinel last) { 232s | ^~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:1829:21: note: parameter passing for argument of type ‘std::_Rb_tree_const_iterator, double> >’ changed in GCC 7.1 232s In function ‘std::string Catch::rangeToString(const Range&) [with Range = std::map, double>]’, 232s inlined from ‘static std::string Catch::StringMaker::value && (! Catch::Detail::IsStreamInsertable::value))>::type>::convert(const R&) [with R = std::map, double>]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2042:41, 232s inlined from ‘std::string Catch::Detail::stringify(const T&) [with T = std::map, double>]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:1645:123, 232s inlined from ‘void Catch::BinaryExpr::streamReconstructedExpression(std::ostream&) const [with LhsT = const std::map, double>&; RhsT = const std::map, double>&]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2231:51: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2019:77: note: parameter passing for argument of type ‘std::_Rb_tree_const_iterator, double> >’ changed in GCC 7.1 232s 2019 | return ::Catch::Detail::rangeToString( begin( range ), end( range ) ); 232s | ^ 232s In function ‘std::string Catch::rangeToString(const Range&) [with Range = std::map, double>]’, 232s inlined from ‘static std::string Catch::StringMaker::value && (! Catch::Detail::IsStreamInsertable::value))>::type>::convert(const R&) [with R = std::map, double>]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2042:41, 232s inlined from ‘std::string Catch::Detail::stringify(const T&) [with T = std::map, double>]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:1645:123, 232s inlined from ‘void Catch::BinaryExpr::streamReconstructedExpression(std::ostream&) const [with LhsT = const std::map, double>&; RhsT = const std::map, double>&]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2231:92: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2019:77: note: parameter passing for argument of type ‘std::_Rb_tree_const_iterator, double> >’ changed in GCC 7.1 232s 2019 | return ::Catch::Detail::rangeToString( begin( range ), end( range ) ); 232s | ^ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp: In function ‘std::string Catch::Detail::rangeToString(InputIterator, Sentinel) [with InputIterator = std::_Rb_tree_const_iterator, long long int> >; Sentinel = std::_Rb_tree_const_iterator, long long int> >]’: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:1829:21: note: parameter passing for argument of type ‘std::_Rb_tree_const_iterator, long long int> >’ changed in GCC 7.1 232s 1829 | std::string rangeToString(InputIterator first, Sentinel last) { 232s | ^~~~~~~~~~~~~ 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:1829:21: note: parameter passing for argument of type ‘std::_Rb_tree_const_iterator, long long int> >’ changed in GCC 7.1 232s In function ‘std::string Catch::rangeToString(const Range&) [with Range = std::map, long long int>]’, 232s inlined from ‘static std::string Catch::StringMaker::value && (! Catch::Detail::IsStreamInsertable::value))>::type>::convert(const R&) [with R = std::map, long long int>]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2042:41, 232s inlined from ‘std::string Catch::Detail::stringify(const T&) [with T = std::map, long long int>]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:1645:123, 232s inlined from ‘void Catch::BinaryExpr::streamReconstructedExpression(std::ostream&) const [with LhsT = const std::map, long long int>&; RhsT = const std::map, long long int>&]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2231:51: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2019:77: note: parameter passing for argument of type ‘std::_Rb_tree_const_iterator, long long int> >’ changed in GCC 7.1 232s 2019 | return ::Catch::Detail::rangeToString( begin( range ), end( range ) ); 232s | ^ 232s In function ‘std::string Catch::rangeToString(const Range&) [with Range = std::map, long long int>]’, 232s inlined from ‘static std::string Catch::StringMaker::value && (! Catch::Detail::IsStreamInsertable::value))>::type>::convert(const R&) [with R = std::map, long long int>]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2042:41, 232s inlined from ‘std::string Catch::Detail::stringify(const T&) [with T = std::map, long long int>]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:1645:123, 232s inlined from ‘void Catch::BinaryExpr::streamReconstructedExpression(std::ostream&) const [with LhsT = const std::map, long long int>&; RhsT = const std::map, long long int>&]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2231:92: 232s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch/catch.hpp:2019:77: note: parameter passing for argument of type ‘std::_Rb_tree_const_iterator, long long int> >’ changed in GCC 7.1 232s 2019 | return ::Catch::Detail::rangeToString( begin( range ), end( range ) ); 232s | ^ 232s cc1plus: all warnings being treated as errors 234s dh_auto_build: error: cd obj-arm-linux-gnueabihf && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1 234s make: *** [debian/rules:6: build] Error 25 234s [8/147] /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/encode_decode_bson_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/encode_decode_bson_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/encode_decode_bson_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/encode_decode_bson_tests.cpp 234s FAILED: test/CMakeFiles/unit_tests.dir/bson/src/encode_decode_bson_tests.cpp.o 234s /usr/bin/c++ -I/tmp/autopkgtest.ApuCF1/build.bEW/src/include -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty -I/tmp/autopkgtest.ApuCF1/build.bEW/src/test/thirdparty/catch -g -O2 -ffile-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=. -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/tmp/autopkgtest.ApuCF1/build.bEW/src=/usr/src/jsoncons-1.4.3-1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3 -Werror=maybe-uninitialized -Wnon-virtual-dtor -Werror=stringop-overflow -Werror -Wall -Wextra -Wcast-align -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -pedantic -Wnonnull -Wnull-dereference -Werror=nonnull -MD -MT test/CMakeFiles/unit_tests.dir/bson/src/encode_decode_bson_tests.cpp.o -MF test/CMakeFiles/unit_tests.dir/bson/src/encode_decode_bson_tests.cpp.o.d -o test/CMakeFiles/unit_tests.dir/bson/src/encode_decode_bson_tests.cpp.o -c /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/encode_decode_bson_tests.cpp 234s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:30, 234s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:25, 234s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson.hpp:10, 234s from /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/encode_decode_bson_tests.cpp:4: 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp: In instantiation of ‘void jsoncons::bson::to_string(const oid_t&, StringT&) [with StringT = std::__cxx11::basic_string]’: 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:631:26: required from ‘void jsoncons::bson::basic_bson_parser::read_value(jsoncons::json_visitor&, uint8_t, std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator; jsoncons::json_visitor = jsoncons::basic_json_visitor; uint8_t = unsigned char]’ 234s 631 | to_string(oid, text_buffer_); 234s | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:222:25: required from ‘void jsoncons::bson::basic_bson_parser::parse(jsoncons::json_visitor&, std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator; jsoncons::json_visitor = jsoncons::basic_json_visitor]’ 234s 222 | read_value(visitor, type, ec); 234s | ^~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_reader.hpp:64:22: required from ‘void jsoncons::bson::basic_bson_reader::read(std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::allocator]’ 234s 64 | parser_.parse(visitor_, ec); 234s | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:44:16: required from ‘typename std::enable_if<(jsoncons::ext_traits::is_basic_json::value && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type jsoncons::bson::try_decode_bson(const BytesLike&, const bson_decode_options&) [with T = jsoncons::basic_json >; BytesLike = std::vector; typename std::enable_if<(jsoncons::ext_traits::is_basic_json::value && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type = jsoncons::detail::expected >, jsoncons::read_error>]’ 234s 44 | reader.read(ec); 234s | ~~~~~~~~~~~^~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:257:37: required from ‘T jsoncons::bson::decode_bson(Args&& ...) [with T = jsoncons::basic_json >; Args = {std::vector >&}]’ 234s 257 | auto result = try_decode_bson(std::forward(args)...); 234s | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/encode_decode_bson_tests.cpp:78:43: required from here 234s 78 | ojson j = bson::decode_bson(input); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp:238:42: error: cast from ‘__gnu_cxx::__alloc_traits, char>::value_type*’ {aka ‘char*’} to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 234s 238 | detail::init_hex_char_pairs(oid, reinterpret_cast(&s[0])); 234s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp: In instantiation of ‘void jsoncons::bson::to_string(const oid_t&, StringT&) [with StringT = std::__cxx11::basic_string, std::scoped_allocator_adaptor, std::integral_constant, std::integral_constant > > >]’: 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:631:26: required from ‘void jsoncons::bson::basic_bson_parser::read_value(jsoncons::json_visitor&, uint8_t, std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::scoped_allocator_adaptor, std::integral_constant, std::integral_constant > >; jsoncons::json_visitor = jsoncons::basic_json_visitor; uint8_t = unsigned char]’ 234s 631 | to_string(oid, text_buffer_); 234s | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_parser.hpp:222:25: required from ‘void jsoncons::bson::basic_bson_parser::parse(jsoncons::json_visitor&, std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::scoped_allocator_adaptor, std::integral_constant, std::integral_constant > >; jsoncons::json_visitor = jsoncons::basic_json_visitor]’ 234s 222 | read_value(visitor, type, ec); 234s | ^~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_reader.hpp:64:22: required from ‘void jsoncons::bson::basic_bson_reader::read(std::error_code&) [with Source = jsoncons::bytes_source; TempAlloc = std::scoped_allocator_adaptor, std::integral_constant, std::integral_constant > >]’ 234s 64 | parser_.parse(visitor_, ec); 234s | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:175:16: required from ‘typename std::enable_if<(jsoncons::ext_traits::is_basic_json::value && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type jsoncons::bson::try_decode_bson(const jsoncons::allocator_set&, const BytesLike&, const bson_decode_options&) [with T = jsoncons::basic_json >; BytesLike = std::vector; Alloc = std::allocator; TempAlloc = std::scoped_allocator_adaptor, std::integral_constant, std::integral_constant > >; typename std::enable_if<(jsoncons::ext_traits::is_basic_json::value && jsoncons::ext_traits::is_byte_sequence::value), jsoncons::detail::expected >::type = jsoncons::detail::expected >, jsoncons::read_error>]’ 234s 175 | reader.read(ec); 234s | ~~~~~~~~~~~^~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:257:37: required from ‘T jsoncons::bson::decode_bson(Args&& ...) [with T = jsoncons::basic_json >; Args = {jsoncons::allocator_set, std::scoped_allocator_adaptor, std::integral_constant, std::integral_constant > > >&, std::vector >&}]’ 234s 257 | auto result = try_decode_bson(std::forward(args)...); 234s | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/encode_decode_bson_tests.cpp:212:42: required from here 234s 212 | auto j = bson::decode_bson(aset, input); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_oid.hpp:238:42: error: cast from ‘__gnu_cxx::__alloc_traits, std::integral_constant, std::integral_constant > >, char>::value_type*’ {aka ‘char*’} to ‘uint16_t*’ {aka ‘short unsigned int*’} increases required alignment of target type [-Werror=cast-align] 234s 238 | detail::init_hex_char_pairs(oid, reinterpret_cast(&s[0])); 234s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s In file included from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:16: 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = char; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = char; std::size_t = unsigned int]’ 234s 156 | auto psa = launder_cast(storage); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = char; std::size_t = unsigned int]’ 234s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; char_type = char; std::size_t = unsigned int]’ 234s 2543 | auto ptr = create_long_string(alloc, s, length); 234s | ^~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/detail/make_obj_using_allocator.hpp:17:12: required from ‘typename std::enable_if<(((! jsoncons::ext_traits::is_std_pair::value) && std::uses_allocator<_Tp, _Alloc>::value) && std::is_constructible::value), T>::type jsoncons::detail::make_obj_using_allocator(const Alloc&, Args&& ...) [with T = jsoncons::basic_json >; Alloc = std::allocator; Args = {const char*, unsigned int, jsoncons::semantic_tag}; typename std::enable_if<(((! jsoncons::ext_traits::is_std_pair::value) && std::uses_allocator<_Tp, _Alloc>::value) && std::is_constructible::value), T>::type = jsoncons::basic_json >]’ 234s 17 | return T(std::forward(args)..., alloc); 234s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/staj_cursor.hpp:791:72: required from ‘jsoncons::read_result jsoncons::to_json_single(const allocator_set&, basic_staj_cursor&) [with Json = basic_json >; Alloc = std::allocator; TempAlloc = std::allocator; read_result = detail::expected >, read_error>; typename Json::char_type = char]’ 234s 791 | return result_type{jsoncons::make_obj_using_allocator(aset.get_allocator(), 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 234s 792 | sv.data(), sv.length(), cursor.current().tag())}; 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/staj_cursor.hpp:1076:36: required from ‘jsoncons::read_result jsoncons::try_to_json(const allocator_set&, basic_staj_cursor&) [with Json = basic_json >; Alloc = std::allocator; TempAlloc = std::allocator; read_result = detail::expected >, read_error>; typename Json::char_type = char]’ 234s 1076 | return to_json_single(aset, cursor); 234s | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/reflect/decode_traits.hpp:54:41: required from ‘static jsoncons::reflect::decode_traits::result_type jsoncons::reflect::decode_traits::try_decode(const jsoncons::allocator_set&, jsoncons::basic_staj_cursor&) [with CharT = char; Alloc = std::allocator; TempAlloc = std::allocator; T = {anonymous}::ns::Person; Enable = void; result_type = jsoncons::detail::expected<{anonymous}::ns::Person, jsoncons::read_error>]’ 234s 54 | auto r1 = try_to_json(make_alloc_set(aset.get_temp_allocator(), aset.get_temp_allocator()), 234s | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s 55 | cursor); 234s | ~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:114:49: required from ‘typename std::enable_if<(! jsoncons::ext_traits::is_basic_json::value), jsoncons::detail::expected >::type jsoncons::bson::try_decode_bson(std::istream&, const bson_decode_options&) [with T = {anonymous}::ns::Person; typename std::enable_if<(! jsoncons::ext_traits::is_basic_json::value), jsoncons::detail::expected >::type = jsoncons::detail::expected<{anonymous}::ns::Person, jsoncons::read_error>; std::istream = std::basic_istream]’ 234s 114 | return reflect::decode_traits::try_decode(make_alloc_set(), cursor); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:257:37: required from ‘T jsoncons::bson::decode_bson(Args&& ...) [with T = {anonymous}::ns::Person; Args = {std::__cxx11::basic_stringstream, std::allocator >&}]’ 234s 257 | auto result = try_decode_bson(std::forward(args)...); 234s | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/encode_decode_bson_tests.cpp:150:57: required from here 234s 150 | ns::Person other = bson::decode_bson(ss); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 234s 241 | return std::launder(reinterpret_cast(u)); 234s | ^~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = unsigned char; Extra = long long unsigned int; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = unsigned char; std::size_t = unsigned int]’ 234s 156 | auto psa = launder_cast(storage); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:938:52: required from ‘typename jsoncons::basic_json::byte_string_storage::pointer jsoncons::basic_json::create_byte_string(const allocator_type&, const uint8_t*, std::size_t, uint64_t) [with CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; typename byte_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; uint8_t = unsigned char; std::size_t = unsigned int; uint64_t = long long unsigned int]’ 234s 938 | return heap_string_factory_type::create(data, length, ext_tag, alloc); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2691:24: required from ‘jsoncons::basic_json::basic_json(jsoncons::byte_string_arg_t, const Source&, jsoncons::semantic_tag, const Allocator&, typename std::enable_if::value, int>::type) [with Source = jsoncons::byte_string_view; CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator; typename std::enable_if::value, int>::type = int]’ 234s 2691 | auto ptr = create_byte_string(alloc, bytes.data(), bytes.size(), 0); 234s | ^~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/detail/make_obj_using_allocator.hpp:17:12: required from ‘typename std::enable_if<(((! jsoncons::ext_traits::is_std_pair::value) && std::uses_allocator<_Tp, _Alloc>::value) && std::is_constructible::value), T>::type jsoncons::detail::make_obj_using_allocator(const Alloc&, Args&& ...) [with T = jsoncons::basic_json >; Alloc = std::allocator; Args = {const jsoncons::byte_string_arg_t&, jsoncons::byte_string_view, jsoncons::semantic_tag}; typename std::enable_if<(((! jsoncons::ext_traits::is_std_pair::value) && std::uses_allocator<_Tp, _Alloc>::value) && std::is_constructible::value), T>::type = jsoncons::basic_json >]’ 234s 17 | return T(std::forward(args)..., alloc); 234s | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/staj_cursor.hpp:796:62: required from ‘jsoncons::read_result jsoncons::to_json_single(const allocator_set&, basic_staj_cursor&) [with Json = basic_json >; Alloc = std::allocator; TempAlloc = std::allocator; read_result = detail::expected >, read_error>; typename Json::char_type = char]’ 234s 796 | auto j = jsoncons::make_obj_using_allocator(aset.get_allocator(), 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 234s 797 | byte_string_arg, cursor.current().template get(ec), cursor.current().tag()); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/staj_cursor.hpp:1076:36: required from ‘jsoncons::read_result jsoncons::try_to_json(const allocator_set&, basic_staj_cursor&) [with Json = basic_json >; Alloc = std::allocator; TempAlloc = std::allocator; read_result = detail::expected >, read_error>; typename Json::char_type = char]’ 234s 1076 | return to_json_single(aset, cursor); 234s | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/reflect/decode_traits.hpp:54:41: required from ‘static jsoncons::reflect::decode_traits::result_type jsoncons::reflect::decode_traits::try_decode(const jsoncons::allocator_set&, jsoncons::basic_staj_cursor&) [with CharT = char; Alloc = std::allocator; TempAlloc = std::allocator; T = {anonymous}::ns::Person; Enable = void; result_type = jsoncons::detail::expected<{anonymous}::ns::Person, jsoncons::read_error>]’ 234s 54 | auto r1 = try_to_json(make_alloc_set(aset.get_temp_allocator(), aset.get_temp_allocator()), 234s | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s 55 | cursor); 234s | ~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:114:49: required from ‘typename std::enable_if<(! jsoncons::ext_traits::is_basic_json::value), jsoncons::detail::expected >::type jsoncons::bson::try_decode_bson(std::istream&, const bson_decode_options&) [with T = {anonymous}::ns::Person; typename std::enable_if<(! jsoncons::ext_traits::is_basic_json::value), jsoncons::detail::expected >::type = jsoncons::detail::expected<{anonymous}::ns::Person, jsoncons::read_error>; std::istream = std::basic_istream]’ 234s 114 | return reflect::decode_traits::try_decode(make_alloc_set(), cursor); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/decode_bson.hpp:257:37: required from ‘T jsoncons::bson::decode_bson(Args&& ...) [with T = {anonymous}::ns::Person; Args = {std::__cxx11::basic_stringstream, std::allocator >&}]’ 234s 257 | auto result = try_decode_bson(std::forward(args)...); 234s | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/test/bson/src/encode_decode_bson_tests.cpp:150:57: required from here 234s 150 | ns::Person other = bson::decode_bson(ss); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 234s 241 | return std::launder(reinterpret_cast(u)); 234s | ^~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp: In instantiation of ‘T jsoncons::launder_cast(U*) [with T = utility::heap_string_factory >::storage_t*; U = char]’: 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/heap_string.hpp:156:48: required from ‘static jsoncons::utility::heap_string_factory::pointer jsoncons::utility::heap_string_factory::create(const char_type*, std::size_t, Extra, const Allocator&) [with CharT = wchar_t; Extra = jsoncons::null_type; Allocator = std::allocator; pointer = jsoncons::utility::heap_string >*; char_type = wchar_t; std::size_t = unsigned int]’ 234s 156 | auto psa = launder_cast(storage); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:931:52: required from ‘typename jsoncons::basic_json::long_string_storage::pointer jsoncons::basic_json::create_long_string(const allocator_type&, const char_type*, std::size_t) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; typename long_string_storage::pointer = jsoncons::utility::heap_string >*; allocator_type = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 234s 931 | return heap_string_factory_type::create(data, length, null_type(), alloc); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2543:28: required from ‘jsoncons::basic_json::basic_json(const char_type*, std::size_t, jsoncons::semantic_tag, const Allocator&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; char_type = wchar_t; std::size_t = unsigned int]’ 234s 2543 | auto ptr = create_long_string(alloc, s, length); 234s | ^~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:2668:60: required from ‘jsoncons::basic_json::basic_json(const string_view_type&, jsoncons::semantic_tag, const allocator_type&) [with CharT = wchar_t; Policy = jsoncons::order_preserving_policy; Allocator = std::allocator; string_view_type = std::basic_string_view; allocator_type = std::allocator]’ 234s 2668 | : basic_json(sv.data(), sv.length(), tag, alloc) 234s | ^ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:228:27: required from ‘bool jsoncons::json_decoder::visit_string(const typename jsoncons::basic_json_visitor::string_view_type&, jsoncons::semantic_tag, const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator; typename jsoncons::basic_json_visitor::string_view_type = std::basic_string_view; typename Json::char_type = wchar_t]’ 234s 228 | result_ = Json(sv, tag, allocator_); 234s | ^~~~~~~~~~~~~~~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:219:34: required from here 234s 219 | JSONCONS_VISITOR_RETURN_TYPE visit_string(const string_view_type& sv, semantic_tag tag, const ser_context&, std::error_code&) override 234s | ^~~~~~~~~~~~ 234s /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/config/jsoncons_config.hpp:241:29: error: cast from ‘char*’ to ‘jsoncons::utility::heap_string_factory >::storage_t*’ increases required alignment of target type [-Werror=cast-align] 234s 241 | return std::launder(reinterpret_cast(u)); 234s | ^~~~~~~~~~~~~~~~~~~~~~ 234s In file included from /usr/include/c++/15/vector:74, 234s from /usr/include/c++/15/functional:66, 234s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:11: 234s /usr/include/c++/15/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’: 234s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 234s 195 | vector<_Tp, _Alloc>:: 234s | ^~~~~~~~~~~~~~~~~~~ 234s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 234s In file included from /usr/include/c++/15/algorithm:63, 234s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:10, 234s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_visitor.hpp:23, 234s from /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons_ext/bson/bson_cursor.hpp:18: 234s /usr/include/c++/15/bits/stl_algo.h: In function ‘std::pair<_FIter, _FIter> std::__equal_range(_ForwardIterator, _ForwardIterator, const _Tp&, _CompareItTp, _CompareTpIt) [with _ForwardIterator = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, vector, jsoncons::basic_json > >, allocator, jsoncons::basic_json > > > > >; _Tp = basic_string_view; _CompareItTp = __gnu_cxx::__ops::_Iter_comp_val, jsoncons::basic_json >, vector>::Comp>; _CompareTpIt = __gnu_cxx::__ops::_Val_comp_iter, jsoncons::basic_json >, vector>::Comp>]’: 234s /usr/include/c++/15/bits/stl_algo.h:2069:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >’ changed in GCC 7.1 234s 2069 | __equal_range(_ForwardIterator __first, _ForwardIterator __last, 234s | ^~~~~~~~~~~~~ 234s /usr/include/c++/15/bits/stl_algo.h:2069:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >’ changed in GCC 7.1 234s In function ‘std::pair<_FIter, _FIter> std::equal_range(_FIter, _FIter, const _Tp&, _Compare) [with _FIter = __gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, vector, jsoncons::basic_json > >, allocator, jsoncons::basic_json > > > > >; _Tp = basic_string_view; _Compare = jsoncons::sorted_json_object<__cxx11::basic_string, jsoncons::basic_json >, vector>::Comp]’, 234s inlined from ‘jsoncons::sorted_json_object::const_iterator jsoncons::sorted_json_object::find(const string_view_type&) const [with KeyT = std::__cxx11::basic_string; Json = jsoncons::basic_json >; SequenceContainer = std::vector]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_object.hpp:500:38, 234s inlined from ‘jsoncons::basic_json::const_object_iterator jsoncons::basic_json::find(const string_view_type&) const [with CharT = char; Policy = jsoncons::sorted_policy; Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/basic_json.hpp:4000:90, 234s inlined from ‘static jsoncons::conversion_result jsoncons::reflect::json_traits_helper::try_get_member(const jsoncons::allocator_set&, const Json&, string_view_type) [with T = std::__cxx11::basic_string; Alloc = std::allocator; TempAlloc = std::allocator; Json = jsoncons::basic_json >]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/reflect/reflect_traits_gen.hpp:77:25: 234s /usr/include/c++/15/bits/stl_algo.h:2175:32: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator, jsoncons::basic_json > >*, std::vector, jsoncons::basic_json > >, std::allocator, jsoncons::basic_json > > > > >’ changed in GCC 7.1 234s 2175 | return std::__equal_range(__first, __last, __val, 234s | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ 234s 2176 | __gnu_cxx::__ops::__iter_comp_val(__comp), 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s 2177 | __gnu_cxx::__ops::__val_comp_iter(__comp)); 234s | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s In file included from /usr/include/c++/15/vector:68: 234s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 234s inlined from ‘bool jsoncons::json_decoder::visit_end_array(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:199:30: 234s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 234s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 234s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s In file included from /usr/include/arm-linux-gnueabihf/c++/15/bits/c++allocator.h:33, 234s from /usr/include/c++/15/bits/allocator.h:46, 234s from /usr/include/c++/15/bits/alloc_traits.h:39, 234s from /usr/include/c++/15/ext/alloc_traits.h:36, 234s from /usr/include/c++/15/bits/hashtable_policy.h:39, 234s from /usr/include/c++/15/bits/hashtable.h:37, 234s from /usr/include/c++/15/bits/unordered_map.h:33, 234s from /usr/include/c++/15/unordered_map:43, 234s from /usr/include/c++/15/functional:65: 234s In member function ‘void std::__new_allocator<_Tp>::deallocate(_Tp*, size_type) [with _Tp = long long unsigned int]’, 234s inlined from ‘static void std::allocator_traits >::deallocate(allocator_type&, pointer, size_type) [with _Tp = long long unsigned int]’ at /usr/include/c++/15/bits/alloc_traits.h:649:23, 234s inlined from ‘void jsoncons::basic_bigint::dynamic_storage::destroy(const real_allocator_type&) [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:275:71, 234s inlined from ‘void jsoncons::basic_bigint::destroy() [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1545:34, 234s inlined from ‘jsoncons::basic_bigint::~basic_bigint() [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:359:16, 234s inlined from ‘void jsoncons::basic_bigint::unnormalize(jsoncons::basic_bigint&, int, int) const [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1668:20, 234s inlined from ‘void jsoncons::basic_bigint::divide(jsoncons::basic_bigint, jsoncons::basic_bigint&, jsoncons::basic_bigint&, bool) const [with Allocator = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/utility/bigint.hpp:1536:24: 234s /usr/include/c++/15/bits/new_allocator.h:172:66: error: ‘void operator delete(void*, std::size_t)’ called on a pointer to an unallocated object ‘4294967295’ [-Werror=free-nonheap-object] 234s 172 | _GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n)); 234s | ^ 234s /usr/include/c++/15/bits/vector.tcc: In function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::_M_erase(iterator, iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’: 234s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 234s 195 | vector<_Tp, _Alloc>:: 234s | ^~~~~~~~~~~~~~~~~~~ 234s /usr/include/c++/15/bits/vector.tcc:195:5: note: parameter passing for argument of type ‘std::vector > >, std::allocator > > > >::iterator’ changed in GCC 7.1 234s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 234s inlined from ‘bool jsoncons::json_decoder::visit_end_array(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::scoped_allocator_adaptor, std::integral_constant, std::integral_constant > >]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:199:30: 234s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 234s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 234s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 234s inlined from ‘bool jsoncons::json_decoder::visit_end_array(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:199:30: 234s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 234s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 234s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 234s inlined from ‘bool jsoncons::json_decoder::visit_end_object(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::scoped_allocator_adaptor, std::integral_constant, std::integral_constant > >]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:153:26: 234s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 234s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 234s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 234s inlined from ‘bool jsoncons::json_decoder::visit_end_object(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:153:26: 234s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 234s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 234s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s In member function ‘std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::erase(const_iterator, const_iterator) [with _Tp = jsoncons::index_key_value > >; _Alloc = std::allocator > > >]’, 234s inlined from ‘bool jsoncons::json_decoder::visit_end_object(const jsoncons::ser_context&, std::error_code&) [with Json = jsoncons::basic_json >; TempAlloc = std::allocator]’ at /tmp/autopkgtest.ApuCF1/build.bEW/src/include/jsoncons/json_decoder.hpp:153:26: 234s /usr/include/c++/15/bits/stl_vector.h:1824:24: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator > >*, std::vector > >, std::allocator > > > > >’ changed in GCC 7.1 234s 1824 | return _M_erase(__beg + (__first - __cbeg), __beg + (__last - __cbeg)); 234s | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234s cc1plus: all warnings being treated as errors 234s ninja: build stopped: subcommand failed. 234s autopkgtest [17:07:27]: test upstream-test-suite: -----------------------] 239s autopkgtest [17:07:32]: test upstream-test-suite: - - - - - - - - - - results - - - - - - - - - - 239s upstream-test-suite FAIL non-zero exit status 2 243s autopkgtest [17:07:36]: @@@@@@@@@@@@@@@@@@@@ summary 243s upstream-test-suite FAIL non-zero exit status 2