Diff of the two buildlogs: -- --- b1/build.log 2021-12-29 16:16:32.542689596 +0000 +++ b2/build.log 2021-12-29 16:17:37.856652722 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Dec 29 04:15:02 -12 2021 -I: pbuilder-time-stamp: 1640794502 +I: Current time: Wed Feb 1 12:39:35 +14 2023 +I: pbuilder-time-stamp: 1675204775 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./libcork_0.15.0+ds-16.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig._myou1DX/trustedkeys.kbx': General error -gpgv: Signature made Sun Jan 24 03:01:52 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.CCETHDMY/trustedkeys.kbx': General error +gpgv: Signature made Mon Jan 25 05:01:52 2021 +14 gpgv: using RSA key 0A32ADBE80399BE7163859ECA4786B0DA70334A8 gpgv: issuer "rosh@debian.org" gpgv: Can't check signature: No public key @@ -43,135 +43,169 @@ dpkg-source: info: applying 0015-fix-fails-to-build-with-sphinx-3.1.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2341909/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2954573/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2954573/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2954573/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='aff94b8ccb544f35b3ba297abde4af47' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2341909' - PS1='# ' - PS2='> ' + INVOCATION_ID=52dbd13c96174d57a4db956fc02962bd + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2954573 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.EFp7iTGQYU/pbuilderrc_mtUn --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.EFp7iTGQYU/b1 --logfile b1/build.log libcork_0.15.0+ds-16.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.EFp7iTGQYU/pbuilderrc_klNd --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.EFp7iTGQYU/b2 --logfile b2/build.log libcork_0.15.0+ds-16.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.14.0-0.bpo.2-amd64 #1 SMP Debian 5.14.9-2~bpo11+1 (2021-10-10) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 07:09 more - -rwsr-xr-x 1 root root 55528 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 18664 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Dec 20 21:25 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 07:09 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/2341909/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Feb 1 12:39 sh -> bash + lrwxrwxrwx 1 root root 4 Jan 24 05:47 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/2954573/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -316,7 +350,7 @@ Get: 97 http://deb.debian.org/debian bullseye/main amd64 python3-snowballstemmer all 2.1.0-1 [58.7 kB] Get: 98 http://deb.debian.org/debian bullseye/main amd64 sphinx-common all 3.4.3-2 [578 kB] Get: 99 http://deb.debian.org/debian bullseye/main amd64 python3-sphinx all 3.4.3-2 [545 kB] -Fetched 45.7 MB in 1s (49.2 MB/s) +Fetched 45.7 MB in 1s (77.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19655 files and directories currently installed.) @@ -754,7 +788,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/libcork-0.15.0+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../libcork_0.15.0+ds-16_source.changes +hostname: Name or service not known +I: Running cd /build/libcork-0.15.0+ds/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../libcork_0.15.0+ds-16_source.changes dpkg-buildpackage: info: source package libcork dpkg-buildpackage: info: source version 0.15.0+ds-16 dpkg-buildpackage: info: source distribution unstable @@ -809,7 +844,7 @@ -- Build files have been written to: /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu make[1]: Leaving directory '/build/libcork-0.15.0+ds' dh_auto_build - cd obj-x86_64-linux-gnu && make -j15 "INSTALL=install --strip-program=true" VERBOSE=1 + cd obj-x86_64-linux-gnu && make -j16 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/libcork-0.15.0+ds -B/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/CMakeFiles /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu//CMakeFiles/progress.marks @@ -819,51 +854,60 @@ make -f src/CMakeFiles/libcork-static.dir/build.make src/CMakeFiles/libcork-static.dir/depend make -f docs/old/CMakeFiles/old-doc.dir/build.make docs/old/CMakeFiles/old-doc.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/docs/old /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/CMakeFiles/old-doc.dir/DependInfo.cmake --color= -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-shared.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/docs/old /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/CMakeFiles/old-doc.dir/DependInfo.cmake --color= +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-static.dir/DependInfo.cmake --color= Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/CMakeFiles/old-doc.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/CMakeFiles/old-doc.dir/depend.internal". Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/CMakeFiles/old-doc.dir/depend.internal". +Scanning dependencies of target old-doc Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-static.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-static.dir/depend.internal". Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-static.dir/depend.internal". -Scanning dependencies of target old-doc -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f docs/old/CMakeFiles/old-doc.dir/build.make docs/old/CMakeFiles/old-doc.dir/build -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-shared.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-shared.dir/depend.internal". Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-shared.dir/depend.internal". -Scanning dependencies of target libcork-static make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/libcork-static.dir/build.make src/CMakeFiles/libcork-static.dir/build +make -f docs/old/CMakeFiles/old-doc.dir/build.make docs/old/CMakeFiles/old-doc.dir/build +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' [ 1%] Building HTML documentation with Sphinx -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old && /usr/bin/sphinx-build -b html -d /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/_doctrees -c /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old /build/libcork-0.15.0+ds/docs/old /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/html +Scanning dependencies of target libcork-static Scanning dependencies of target libcork-shared -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old && /usr/bin/sphinx-build -b html -d /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/_doctrees -c /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old /build/libcork-0.15.0+ds/docs/old /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/html +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make -f src/CMakeFiles/libcork-shared.dir/build.make src/CMakeFiles/libcork-shared.dir/build +make -f src/CMakeFiles/libcork-static.dir/build.make src/CMakeFiles/libcork-static.dir/build +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 2%] Building C object src/CMakeFiles/libcork-static.dir/libcork/cli/commands.c.o -[ 3%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/allocator.c.o +[ 3%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o +[ 3%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o +[ 4%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/error.c.o +[ 5%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o +[ 6%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/allocator.c.o +[ 8%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o +[ 8%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/error.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/error.c +[ 9%] Building C object src/CMakeFiles/libcork-static.dir/libcork/cli/commands.c.o +[ 9%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/cli/commands.c.o -c /build/libcork-0.15.0+ds/src/libcork/cli/commands.c -[ 4%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/error.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/allocator.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/allocator.c -[ 5%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/gc.c.o -[ 6%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/hash.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/error.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/error.c -[ 7%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o +[ 10%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/error.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o -c /build/libcork-0.15.0+ds/src/libcork/cli/commands.c -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/gc.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/gc.c -[ 7%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/allocator.c -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/hash.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/hash.c -[ 8%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/error.c.o -[ 9%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/error.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/error.c -[ 10%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/error.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/error.c +[ 10%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o +[ 11%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o +[ 12%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/gc.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/gc.c cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/hash.c -[ 11%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o +[ 13%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/hash.c.o +[ 13%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/ip-address.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/gc.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/gc.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/hash.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/hash.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/ip-address.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/ip-address.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/ip-address.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/mempool.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/timestamp.c /build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_alloc__default_xmalloc': /build/libcork-0.15.0+ds/src/libcork/core/allocator.c:77:54: warning: unused parameter 'alloc' [-Wunused-parameter] 77 | cork_alloc__default_xmalloc(const struct cork_alloc *alloc, size_t size) @@ -918,8 +962,27 @@ /build/libcork-0.15.0+ds/src/libcork/core/allocator.c:353:75: warning: unused parameter 'size' [-Wunused-parameter] 353 | cork_stdlib_alloc__free(const struct cork_alloc *alloc, void *ptr, size_t size) | ~~~~~~~^~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/gc.c -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/ip-address.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/u128.c +/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_decref_step': +/build/libcork-0.15.0+ds/src/libcork/core/gc.c:221:58: warning: unused parameter 'ud' [-Wunused-parameter] + 221 | cork_gc_decref_step(struct cork_gc *gc, void *obj, void *ud) + | ~~~~~~^~ +/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_mark_gray_step': +/build/libcork-0.15.0+ds/src/libcork/core/gc.c:270:61: warning: unused parameter 'ud' [-Wunused-parameter] + 270 | cork_gc_mark_gray_step(struct cork_gc *gc, void *obj, void *ud) + | ~~~~~~^~ +/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_scan_black_step': +/build/libcork-0.15.0+ds/src/libcork/core/gc.c:320:62: warning: unused parameter 'ud' [-Wunused-parameter] + 320 | cork_gc_scan_black_step(struct cork_gc *gc, void *obj, void *ud) + | ~~~~~~^~ +/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_scan': +/build/libcork-0.15.0+ds/src/libcork/core/gc.c:334:51: warning: unused parameter 'ud' [-Wunused-parameter] + 334 | cork_gc_scan(struct cork_gc *gc, void *obj, void *ud) + | ~~~~~~^~ +/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_collect_white': +/build/libcork-0.15.0+ds/src/libcork/core/gc.c:367:60: warning: unused parameter 'ud' [-Wunused-parameter] + 367 | cork_gc_collect_white(struct cork_gc *gc, void *obj, void *ud) + | ~~~~~~^~ In file included from /build/libcork-0.15.0+ds/src/libcork/core/hash.c:13: /build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_stable_hash_buffer': /build/libcork-0.15.0+ds/include/libcork/core/hash.h:123:20: warning: this statement may fall through [-Wimplicit-fallthrough=] @@ -934,15 +997,7 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:125:9: note: here 125 | case 1: k1 ^= tail[0]; | ^~~~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_decref_step': -/build/libcork-0.15.0+ds/src/libcork/core/gc.c:221:58: warning: unused parameter 'ud' [-Wunused-parameter] - 221 | cork_gc_decref_step(struct cork_gc *gc, void *obj, void *ud) - | ~~~~~~^~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_mark_gray_step': /build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_hash_buffer': -/build/libcork-0.15.0+ds/src/libcork/core/gc.c:270:61: warning: unused parameter 'ud' [-Wunused-parameter] - 270 | cork_gc_mark_gray_step(struct cork_gc *gc, void *obj, void *ud) - | ~~~~~~^~ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 299 | case 15: k2 ^= (uint64_t) (tail[14]) << 48; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1045,16 +1100,12 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_scan_black_step': /build/libcork-0.15.0+ds/include/libcork/core/hash.h:310:9: note: here 310 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ | ^~~~ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c:320:62: warning: unused parameter 'ud' [-Wunused-parameter] - 320 | cork_gc_scan_black_step(struct cork_gc *gc, void *obj, void *ud) - | ~~~~~~^~ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:310:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 310 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1103,7 +1154,6 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_scan': /build/libcork-0.15.0+ds/include/libcork/core/hash.h:314:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 314 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1116,13 +1166,6 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c:334:51: warning: unused parameter 'ud' [-Wunused-parameter] - 334 | cork_gc_scan(struct cork_gc *gc, void *obj, void *ud) - | ~~~~~~^~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_collect_white': -/build/libcork-0.15.0+ds/src/libcork/core/gc.c:367:60: warning: unused parameter 'ud' [-Wunused-parameter] - 367 | cork_gc_collect_white(struct cork_gc *gc, void *obj, void *ud) - | ~~~~~~^~ /build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_big_hash_buffer': /build/libcork-0.15.0+ds/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 299 | case 15: k2 ^= (uint64_t) (tail[14]) << 48; \ @@ -1292,12 +1335,80 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 360 | cork_murmur_hash_x64_128(seed, src, len, &result); | ^~~~~~~~~~~~~~~~~~~~~~~~ -[ 12%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/mempool.c.o -[ 12%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/ip-address.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/mempool.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/mempool.c -[ 13%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/timestamp.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/ip-address.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/ip-address.c -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/timestamp.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/timestamp.c +/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_decref_step': +/build/libcork-0.15.0+ds/src/libcork/core/gc.c:221:58: warning: unused parameter 'ud' [-Wunused-parameter] + 221 | cork_gc_decref_step(struct cork_gc *gc, void *obj, void *ud) + | ~~~~~~^~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_alloc__default_xmalloc': +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:77:54: warning: unused parameter 'alloc' [-Wunused-parameter] + 77 | cork_alloc__default_xmalloc(const struct cork_alloc *alloc, size_t size) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:77:68: warning: unused parameter 'size' [-Wunused-parameter] + 77 | cork_alloc__default_xmalloc(const struct cork_alloc *alloc, size_t size) + | ~~~~~~~^~~~ +/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_mark_gray_step': +/build/libcork-0.15.0+ds/src/libcork/core/gc.c:270:61: warning: unused parameter 'ud' [-Wunused-parameter] + 270 | cork_gc_mark_gray_step(struct cork_gc *gc, void *obj, void *ud) + | ~~~~~~^~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_alloc__default_free': +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:96:51: warning: unused parameter 'alloc' [-Wunused-parameter] + 96 | cork_alloc__default_free(const struct cork_alloc *alloc, void *ptr, size_t size) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:96:64: warning: unused parameter 'ptr' [-Wunused-parameter] + 96 | cork_alloc__default_free(const struct cork_alloc *alloc, void *ptr, size_t size) + | ~~~~~~^~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:96:76: warning: unused parameter 'size' [-Wunused-parameter] + 96 | cork_alloc__default_free(const struct cork_alloc *alloc, void *ptr, size_t size) + | ~~~~~~~^~~~ +/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_scan_black_step': +/build/libcork-0.15.0+ds/src/libcork/core/gc.c:320:62: warning: unused parameter 'ud' [-Wunused-parameter] + 320 | cork_gc_scan_black_step(struct cork_gc *gc, void *obj, void *ud) + | ~~~~~~^~ +/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_scan': +/build/libcork-0.15.0+ds/src/libcork/core/gc.c:334:51: warning: unused parameter 'ud' [-Wunused-parameter] + 334 | cork_gc_scan(struct cork_gc *gc, void *obj, void *ud) + | ~~~~~~^~ +/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_collect_white': +/build/libcork-0.15.0+ds/src/libcork/core/gc.c:367:60: warning: unused parameter 'ud' [-Wunused-parameter] + 367 | cork_gc_collect_white(struct cork_gc *gc, void *obj, void *ud) + | ~~~~~~^~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__calloc': +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:288:52: warning: unused parameter 'alloc' [-Wunused-parameter] + 288 | cork_stdlib_alloc__calloc(const struct cork_alloc *alloc, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__malloc': +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:299:52: warning: unused parameter 'alloc' [-Wunused-parameter] + 299 | cork_stdlib_alloc__malloc(const struct cork_alloc *alloc, size_t size) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__realloc': +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:309:53: warning: unused parameter 'alloc' [-Wunused-parameter] + 309 | cork_stdlib_alloc__realloc(const struct cork_alloc *alloc, void *ptr, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:310:35: warning: unused parameter 'old_size' [-Wunused-parameter] + 310 | size_t old_size, size_t new_size) + | ~~~~~~~^~~~~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xcalloc': +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:333:53: warning: unused parameter 'alloc' [-Wunused-parameter] + 333 | cork_stdlib_alloc__xcalloc(const struct cork_alloc *alloc, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xmalloc': +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:340:53: warning: unused parameter 'alloc' [-Wunused-parameter] + 340 | cork_stdlib_alloc__xmalloc(const struct cork_alloc *alloc, size_t size) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xrealloc': +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:346:54: warning: unused parameter 'alloc' [-Wunused-parameter] + 346 | cork_stdlib_alloc__xrealloc(const struct cork_alloc *alloc, void *ptr, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:347:36: warning: unused parameter 'old_size' [-Wunused-parameter] + 347 | size_t old_size, size_t new_size) + | ~~~~~~~^~~~~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__free': +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:353:50: warning: unused parameter 'alloc' [-Wunused-parameter] + 353 | cork_stdlib_alloc__free(const struct cork_alloc *alloc, void *ptr, size_t size) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:353:75: warning: unused parameter 'size' [-Wunused-parameter] + 353 | cork_stdlib_alloc__free(const struct cork_alloc *alloc, void *ptr, size_t size) + | ~~~~~~~^~~~ In file included from /build/libcork-0.15.0+ds/src/libcork/core/hash.c:13: /build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_stable_hash_buffer': /build/libcork-0.15.0+ds/include/libcork/core/hash.h:123:20: warning: this statement may fall through [-Wimplicit-fallthrough=] @@ -1650,127 +1761,21 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 360 | cork_murmur_hash_x64_128(seed, src, len, &result); | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_alloc__default_xmalloc': -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:77:54: warning: unused parameter 'alloc' [-Wunused-parameter] - 77 | cork_alloc__default_xmalloc(const struct cork_alloc *alloc, size_t size) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:77:68: warning: unused parameter 'size' [-Wunused-parameter] - 77 | cork_alloc__default_xmalloc(const struct cork_alloc *alloc, size_t size) - | ~~~~~~~^~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_alloc__default_free': -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:96:51: warning: unused parameter 'alloc' [-Wunused-parameter] - 96 | cork_alloc__default_free(const struct cork_alloc *alloc, void *ptr, size_t size) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:96:64: warning: unused parameter 'ptr' [-Wunused-parameter] - 96 | cork_alloc__default_free(const struct cork_alloc *alloc, void *ptr, size_t size) - | ~~~~~~^~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:96:76: warning: unused parameter 'size' [-Wunused-parameter] - 96 | cork_alloc__default_free(const struct cork_alloc *alloc, void *ptr, size_t size) - | ~~~~~~~^~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__calloc': -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:288:52: warning: unused parameter 'alloc' [-Wunused-parameter] - 288 | cork_stdlib_alloc__calloc(const struct cork_alloc *alloc, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__malloc': -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:299:52: warning: unused parameter 'alloc' [-Wunused-parameter] - 299 | cork_stdlib_alloc__malloc(const struct cork_alloc *alloc, size_t size) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__realloc': -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:309:53: warning: unused parameter 'alloc' [-Wunused-parameter] - 309 | cork_stdlib_alloc__realloc(const struct cork_alloc *alloc, void *ptr, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:310:35: warning: unused parameter 'old_size' [-Wunused-parameter] - 310 | size_t old_size, size_t new_size) - | ~~~~~~~^~~~~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xcalloc': -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:333:53: warning: unused parameter 'alloc' [-Wunused-parameter] - 333 | cork_stdlib_alloc__xcalloc(const struct cork_alloc *alloc, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xmalloc': -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:340:53: warning: unused parameter 'alloc' [-Wunused-parameter] - 340 | cork_stdlib_alloc__xmalloc(const struct cork_alloc *alloc, size_t size) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xrealloc': -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:346:54: warning: unused parameter 'alloc' [-Wunused-parameter] - 346 | cork_stdlib_alloc__xrealloc(const struct cork_alloc *alloc, void *ptr, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:347:36: warning: unused parameter 'old_size' [-Wunused-parameter] - 347 | size_t old_size, size_t new_size) - | ~~~~~~~^~~~~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__free': -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:353:50: warning: unused parameter 'alloc' [-Wunused-parameter] - 353 | cork_stdlib_alloc__free(const struct cork_alloc *alloc, void *ptr, size_t size) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/core/allocator.c:353:75: warning: unused parameter 'size' [-Wunused-parameter] - 353 | cork_stdlib_alloc__free(const struct cork_alloc *alloc, void *ptr, size_t size) - | ~~~~~~~^~~~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_decref_step': -/build/libcork-0.15.0+ds/src/libcork/core/gc.c:221:58: warning: unused parameter 'ud' [-Wunused-parameter] - 221 | cork_gc_decref_step(struct cork_gc *gc, void *obj, void *ud) - | ~~~~~~^~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_mark_gray_step': -/build/libcork-0.15.0+ds/src/libcork/core/gc.c:270:61: warning: unused parameter 'ud' [-Wunused-parameter] - 270 | cork_gc_mark_gray_step(struct cork_gc *gc, void *obj, void *ud) - | ~~~~~~^~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_scan_black_step': -/build/libcork-0.15.0+ds/src/libcork/core/gc.c:320:62: warning: unused parameter 'ud' [-Wunused-parameter] - 320 | cork_gc_scan_black_step(struct cork_gc *gc, void *obj, void *ud) - | ~~~~~~^~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_scan': -/build/libcork-0.15.0+ds/src/libcork/core/gc.c:334:51: warning: unused parameter 'ud' [-Wunused-parameter] - 334 | cork_gc_scan(struct cork_gc *gc, void *obj, void *ud) - | ~~~~~~^~ -/build/libcork-0.15.0+ds/src/libcork/core/gc.c: In function 'cork_gc_collect_white': -/build/libcork-0.15.0+ds/src/libcork/core/gc.c:367:60: warning: unused parameter 'ud' [-Wunused-parameter] - 367 | cork_gc_collect_white(struct cork_gc *gc, void *obj, void *ud) - | ~~~~~~^~ -[ 14%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/u128.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/u128.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/u128.c -[ 15%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/mempool.c -[ 16%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/version.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/version.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/version.c -[ 17%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/array.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/array.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/array.c -[ 18%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/bitset.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/bitset.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/bitset.c -[ 18%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/timestamp.c -[ 19%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/u128.c -[ 19%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/buffer.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/buffer.c -[ 20%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/dllist.c.o -/build/libcork-0.15.0+ds/src/libcork/ds/array.c: In function 'pointer__init': -/build/libcork-0.15.0+ds/src/libcork/ds/array.c:295:21: warning: unused parameter 'user_data' [-Wunused-parameter] - 295 | pointer__init(void *user_data, void *vvalue) - | ~~~~~~^~~~~~~~~ -/build/libcork-0.15.0+ds/src/libcork/ds/array.c: In function 'string__copy': -/build/libcork-0.15.0+ds/src/libcork/ds/array.c:361:20: warning: unused parameter 'user_data' [-Wunused-parameter] - 361 | string__copy(void *user_data, void *vdest, const void *vsrc) - | ~~~~~~^~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/dllist.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/dllist.c -[ 21%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/version.c.o +[ 14%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/version.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/core/version.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/version.c -[ 22%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o +[ 15%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/array.c -[ 23%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/file-stream.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/file-stream.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c -[ 24%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o +[ 16%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/mempool.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/mempool.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/mempool.c +[ 17%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/timestamp.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/timestamp.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/timestamp.c +[ 18%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/u128.c.o +[ 19%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/u128.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/u128.c +[ 20%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/bitset.c -[ 25%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/hash-table.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/hash-table.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c -/build/libcork-0.15.0+ds/src/libcork/ds/buffer.c: In function 'cork_buffer_stream_consumer_data': -/build/libcork-0.15.0+ds/src/libcork/ds/buffer.c:438:39: warning: unused parameter 'is_first_chunk' [-Wunused-parameter] - 438 | bool is_first_chunk) - | ^ -/build/libcork-0.15.0+ds/src/libcork/ds/buffer.c: In function 'cork_buffer_stream_consumer_eof': -/build/libcork-0.15.0+ds/src/libcork/ds/buffer.c:447:62: warning: unused parameter 'consumer' [-Wunused-parameter] - 447 | cork_buffer_stream_consumer_eof(struct cork_stream_consumer *consumer) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -[ 26%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o +[ 21%] Building C object src/CMakeFiles/libcork-static.dir/libcork/core/version.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/buffer.c -[ 27%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o /build/libcork-0.15.0+ds/src/libcork/ds/array.c: In function 'pointer__init': /build/libcork-0.15.0+ds/src/libcork/ds/array.c:295:21: warning: unused parameter 'user_data' [-Wunused-parameter] 295 | pointer__init(void *user_data, void *vvalue) @@ -1779,21 +1784,19 @@ /build/libcork-0.15.0+ds/src/libcork/ds/array.c:361:20: warning: unused parameter 'user_data' [-Wunused-parameter] 361 | string__copy(void *user_data, void *vdest, const void *vsrc) | ~~~~~~^~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/core/version.c.o -c /build/libcork-0.15.0+ds/src/libcork/core/version.c +[ 22%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/dllist.c -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__data': -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:100:61: warning: unused parameter 'is_first' [-Wunused-parameter] - 100 | const void *buf, size_t size, bool is_first) - | ^ -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__eof': -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:116:54: warning: unused parameter 'vself' [-Wunused-parameter] - 116 | cork_file_consumer__eof(struct cork_stream_consumer *vself) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_fd_consumer__data': -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:150:59: warning: unused parameter 'is_first' [-Wunused-parameter] - 150 | const void *buf, size_t size, bool is_first) - | ^ -[ 28%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/managed-buffer.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/managed-buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/managed-buffer.c +[ 23%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/array.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/array.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/array.c +[ 24%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/bitset.c.o +[ 24%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c +[ 25%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/bitset.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/bitset.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c +[ 25%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/buffer.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/buffer.c /build/libcork-0.15.0+ds/src/libcork/ds/buffer.c: In function 'cork_buffer_stream_consumer_data': /build/libcork-0.15.0+ds/src/libcork/ds/buffer.c:438:39: warning: unused parameter 'is_first_chunk' [-Wunused-parameter] 438 | bool is_first_chunk) @@ -1802,12 +1805,12 @@ /build/libcork-0.15.0+ds/src/libcork/ds/buffer.c:447:62: warning: unused parameter 'consumer' [-Wunused-parameter] 447 | cork_buffer_stream_consumer_eof(struct cork_stream_consumer *consumer) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -[ 28%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o -[ 29%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/ring-buffer.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/ring-buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/ring-buffer.c -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c +[ 26%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/managed-buffer.c +[ 27%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/dllist.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/dllist.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/dllist.c /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c: In function 'cork_hash_table__default_hash': -[ 30%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o +[ 28%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c:61:37: warning: unused parameter 'user_data' [-Wunused-parameter] 61 | cork_hash_table__default_hash(void *user_data, const void *key) | ~~~~~~^~~~~~~~~ @@ -1819,6 +1822,7 @@ /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c:146:55: warning: unused parameter 'flags' [-Wunused-parameter] 146 | cork_hash_table_new(size_t initial_size, unsigned int flags) | ~~~~~~~~~~~~~^~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/ring-buffer.c /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c: In function 'string_hash': /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c:661:19: warning: unused parameter 'user_data' [-Wunused-parameter] 661 | string_hash(void *user_data, const void *vk) @@ -1827,7 +1831,15 @@ /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c:669:21: warning: unused parameter 'user_data' [-Wunused-parameter] 669 | string_equals(void *user_data, const void *vk1, const void *vk2) | ~~~~~~^~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c +/build/libcork-0.15.0+ds/src/libcork/ds/array.c: In function 'pointer__init': +/build/libcork-0.15.0+ds/src/libcork/ds/array.c:295:21: warning: unused parameter 'user_data' [-Wunused-parameter] + 295 | pointer__init(void *user_data, void *vvalue) + | ~~~~~~^~~~~~~~~ +/build/libcork-0.15.0+ds/src/libcork/ds/array.c: In function 'string__copy': +/build/libcork-0.15.0+ds/src/libcork/ds/array.c:361:20: warning: unused parameter 'user_data' [-Wunused-parameter] + 361 | string__copy(void *user_data, void *vdest, const void *vsrc) + | ~~~~~~^~~~~~~~~ +[ 29%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/file-stream.c.o In file included from /build/libcork-0.15.0+ds/include/libcork/core/callbacks.h:14, from /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c:13: /build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_hash_buffer': @@ -1921,6 +1933,7 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/file-stream.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c /build/libcork-0.15.0+ds/include/libcork/core/hash.h:309:9: note: here 309 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ | ^~~~ @@ -1999,16 +2012,36 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ -[ 31%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/directory-walker.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/posix/directory-walker.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/directory-walker.c -[ 31%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/slice.c.o -[ 32%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o -[ 33%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/env.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/slice.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/slice.c -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/managed-buffer.c -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/posix/env.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/env.c -[ 34%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/ring-buffer.c +[ 30%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o +/build/libcork-0.15.0+ds/src/libcork/ds/buffer.c: In function 'cork_buffer_stream_consumer_data': +/build/libcork-0.15.0+ds/src/libcork/ds/buffer.c:438:39: warning: unused parameter 'is_first_chunk' [-Wunused-parameter] + 438 | bool is_first_chunk) + | ^ +/build/libcork-0.15.0+ds/src/libcork/ds/buffer.c: In function 'cork_buffer_stream_consumer_eof': +/build/libcork-0.15.0+ds/src/libcork/ds/buffer.c:447:62: warning: unused parameter 'consumer' [-Wunused-parameter] + 447 | cork_buffer_stream_consumer_eof(struct cork_stream_consumer *consumer) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/slice.c +[ 31%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/hash-table.c.o +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__data': +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:100:61: warning: unused parameter 'is_first' [-Wunused-parameter] + 100 | const void *buf, size_t size, bool is_first) + | ^ +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__eof': +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:116:54: warning: unused parameter 'vself' [-Wunused-parameter] + 116 | cork_file_consumer__eof(struct cork_stream_consumer *vself) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_fd_consumer__data': +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:150:59: warning: unused parameter 'is_first' [-Wunused-parameter] + 150 | const void *buf, size_t size, bool is_first) + | ^ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/hash-table.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c +[ 32%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/ring-buffer.c.o +[ 33%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/ring-buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/ring-buffer.c +[ 34%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/managed-buffer.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/directory-walker.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/managed-buffer.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/managed-buffer.c Running Sphinx v3.4.3 /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c: In function 'cork_hash_table__default_hash': /build/libcork-0.15.0+ds/src/libcork/ds/hash-table.c:61:37: warning: unused parameter 'user_data' [-Wunused-parameter] @@ -2159,24 +2192,12 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__data': -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:100:61: warning: unused parameter 'is_first' [-Wunused-parameter] - 100 | const void *buf, size_t size, bool is_first) - | ^ -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__eof': -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:116:54: warning: unused parameter 'vself' [-Wunused-parameter] - 116 | cork_file_consumer__eof(struct cork_stream_consumer *vself) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_fd_consumer__data': /build/libcork-0.15.0+ds/include/libcork/core/hash.h:312:9: note: here 312 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ | ^~~~ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:150:59: warning: unused parameter 'is_first' [-Wunused-parameter] - 150 | const void *buf, size_t size, bool is_first) - | ^ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:312:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 312 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2213,34 +2234,71 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ -[ 35%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/exec.c.o +[ 34%] Building C object src/CMakeFiles/libcork-static.dir/libcork/ds/slice.c.o +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__data': +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:100:61: warning: unused parameter 'is_first' [-Wunused-parameter] + 100 | const void *buf, size_t size, bool is_first) + | ^ +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__eof': +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:116:54: warning: unused parameter 'vself' [-Wunused-parameter] + 116 | cork_file_consumer__eof(struct cork_stream_consumer *vself) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c: In function 'cork_fd_consumer__data': +/build/libcork-0.15.0+ds/src/libcork/ds/file-stream.c:150:59: warning: unused parameter 'is_first' [-Wunused-parameter] + 150 | const void *buf, size_t size, bool is_first) + | ^ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/ds/slice.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/slice.c +[ 35%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/directory-walker.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/posix/directory-walker.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/directory-walker.c +[ 35%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o +[ 36%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/env.c +[ 37%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/exec.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/files.c +[ 38%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/env.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/posix/env.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/env.c +[ 39%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/process.c +[ 40%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/exec.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/posix/exec.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/exec.c -[ 36%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o -c /build/libcork-0.15.0+ds/src/libcork/ds/slice.c -[ 37%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/files.c.o +[ 41%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o /build/libcork-0.15.0+ds/src/libcork/posix/env.c: In function 'cork_env_set_vars': /build/libcork-0.15.0+ds/src/libcork/posix/env.c:179:25: warning: unused parameter 'user_data' [-Wunused-parameter] 179 | cork_env_set_vars(void *user_data, struct cork_hash_table_entry *entry) | ~~~~~~^~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/subprocess.c +[ 42%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/files.c.o +making output directory... done cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/posix/files.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/files.c -[ 38%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/process.c.o +building [mo]: targets for 0 po files that are out of date +building [html]: targets for 31 source files that are out of date +updating environment: [new config] 31 added, 0 changed, 0 removed +reading sources... [ 3%] allocation +/build/libcork-0.15.0+ds/src/libcork/posix/env.c: In function 'cork_env_set_vars': +/build/libcork-0.15.0+ds/src/libcork/posix/env.c:179:25: warning: unused parameter 'user_data' [-Wunused-parameter] + 179 | cork_env_set_vars(void *user_data, struct cork_hash_table_entry *entry) + | ~~~~~~^~~~~~~~~ +[ 43%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/process.c.o cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/posix/process.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/process.c -[ 38%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/subprocess.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/posix/subprocess.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/subprocess.c -[ 39%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/directory-walker.c -[ 39%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/env.c /build/libcork-0.15.0+ds/src/libcork/posix/files.c: In function 'cork_file_remove_iterator': /build/libcork-0.15.0+ds/src/libcork/posix/files.c:633:63: warning: unused parameter 'rel_name' [-Wunused-parameter] 633 | cork_file_remove_iterator(struct cork_file *file, const char *rel_name, | ~~~~~~~~~~~~^~~~~~~~ +[ 43%] Building C object src/CMakeFiles/libcork-static.dir/libcork/posix/subprocess.c.o /build/libcork-0.15.0+ds/src/libcork/posix/process.c: In function 'cork_cleanup_call_one': /build/libcork-0.15.0+ds/src/libcork/posix/process.c:59:60: warning: unused parameter 'user_data' [-Wunused-parameter] 59 | cork_cleanup_call_one(struct cork_dllist_item *item, void *user_data) | ~~~~~~^~~~~~~~~ -[ 40%] Building C object src/CMakeFiles/libcork-static.dir/libcork/pthreads/thread.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/posix/subprocess.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/subprocess.c +[ 44%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o +[ 45%] Building C object src/CMakeFiles/libcork-static.dir/libcork/pthreads/thread.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o -c /build/libcork-0.15.0+ds/src/libcork/pthreads/thread.c cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_LOCAL -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/libcork-static.dir/libcork/pthreads/thread.c.o -c /build/libcork-0.15.0+ds/src/libcork/pthreads/thread.c +/build/libcork-0.15.0+ds/src/libcork/posix/files.c: In function 'cork_file_remove_iterator': +/build/libcork-0.15.0+ds/src/libcork/posix/files.c:633:63: warning: unused parameter 'rel_name' [-Wunused-parameter] + 633 | cork_file_remove_iterator(struct cork_file *file, const char *rel_name, + | ~~~~~~~~~~~~^~~~~~~~ /build/libcork-0.15.0+ds/src/libcork/posix/subprocess.c: In function 'cork_write_pipe__data': /build/libcork-0.15.0+ds/src/libcork/posix/subprocess.c:242:58: warning: unused parameter 'is_first_chunk' [-Wunused-parameter] 242 | const void *buf, size_t size, bool is_first_chunk) @@ -2249,24 +2307,6 @@ /build/libcork-0.15.0+ds/src/libcork/posix/subprocess.c:259:52: warning: unused parameter 'consumer' [-Wunused-parameter] 259 | cork_write_pipe__free(struct cork_stream_consumer *consumer) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -[ 41%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o -[ 42%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/exec.c -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/files.c -[ 43%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o -/build/libcork-0.15.0+ds/src/libcork/posix/env.c: In function 'cork_env_set_vars': -/build/libcork-0.15.0+ds/src/libcork/posix/env.c:179:25: warning: unused parameter 'user_data' [-Wunused-parameter] - 179 | cork_env_set_vars(void *user_data, struct cork_hash_table_entry *entry) - | ~~~~~~^~~~~~~~~ -[ 44%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/process.c -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o -c /build/libcork-0.15.0+ds/src/libcork/posix/subprocess.c -[ 45%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -o CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o -c /build/libcork-0.15.0+ds/src/libcork/pthreads/thread.c -/build/libcork-0.15.0+ds/src/libcork/posix/files.c: In function 'cork_file_remove_iterator': -/build/libcork-0.15.0+ds/src/libcork/posix/files.c:633:63: warning: unused parameter 'rel_name' [-Wunused-parameter] - 633 | cork_file_remove_iterator(struct cork_file *file, const char *rel_name, - | ~~~~~~~~~~~~^~~~~~~~ /build/libcork-0.15.0+ds/src/libcork/posix/process.c: In function 'cork_cleanup_call_one': /build/libcork-0.15.0+ds/src/libcork/posix/process.c:59:60: warning: unused parameter 'user_data' [-Wunused-parameter] 59 | cork_cleanup_call_one(struct cork_dllist_item *item, void *user_data) @@ -2279,161 +2319,648 @@ /build/libcork-0.15.0+ds/src/libcork/posix/subprocess.c:259:52: warning: unused parameter 'consumer' [-Wunused-parameter] 259 | cork_write_pipe__free(struct cork_stream_consumer *consumer) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -making output directory... done -building [mo]: targets for 0 po files that are out of date -building [html]: targets for 31 source files that are out of date -updating environment: [new config] 31 added, 0 changed, 0 removed -reading sources... [ 3%] allocation +reading sources... [ 6%] array +reading sources... [ 9%] attributes +reading sources... [ 12%] basic-types +reading sources... [ 16%] bitset +[ 45%] Linking C shared library libcork.so +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/libcork-shared.dir/link.txt --verbose=1 +/usr/bin/cc -fPIC -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -shared -Wl,-soname,libcork.so.16 -o libcork.so.16.0.2 CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o CMakeFiles/libcork-shared.dir/libcork/core/error.c.o CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o CMakeFiles/libcork-shared.dir/libcork/core/version.c.o CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o -lpthread +reading sources... [ 19%] buffer +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libcork.so.16.0.2 libcork.so.16 libcork.so [ 46%] Linking C static library libcork.a cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -P CMakeFiles/libcork-static.dir/cmake_clean_target.cmake cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/libcork-static.dir/link.txt --verbose=1 +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /usr/bin/ar qc libcork.a CMakeFiles/libcork-static.dir/libcork/cli/commands.c.o CMakeFiles/libcork-static.dir/libcork/core/allocator.c.o CMakeFiles/libcork-static.dir/libcork/core/error.c.o CMakeFiles/libcork-static.dir/libcork/core/gc.c.o CMakeFiles/libcork-static.dir/libcork/core/hash.c.o CMakeFiles/libcork-static.dir/libcork/core/ip-address.c.o CMakeFiles/libcork-static.dir/libcork/core/mempool.c.o CMakeFiles/libcork-static.dir/libcork/core/timestamp.c.o CMakeFiles/libcork-static.dir/libcork/core/u128.c.o CMakeFiles/libcork-static.dir/libcork/core/version.c.o CMakeFiles/libcork-static.dir/libcork/ds/array.c.o CMakeFiles/libcork-static.dir/libcork/ds/bitset.c.o CMakeFiles/libcork-static.dir/libcork/ds/buffer.c.o CMakeFiles/libcork-static.dir/libcork/ds/dllist.c.o CMakeFiles/libcork-static.dir/libcork/ds/file-stream.c.o CMakeFiles/libcork-static.dir/libcork/ds/hash-table.c.o CMakeFiles/libcork-static.dir/libcork/ds/managed-buffer.c.o CMakeFiles/libcork-static.dir/libcork/ds/ring-buffer.c.o CMakeFiles/libcork-static.dir/libcork/ds/slice.c.o CMakeFiles/libcork-static.dir/libcork/posix/directory-walker.c.o CMakeFiles/libcork-static.dir/libcork/posix/env.c.o CMakeFiles/libcork-static.dir/libcork/posix/exec.c.o CMakeFiles/libcork-static.dir/libcork/posix/files.c.o CMakeFiles/libcork-static.dir/libcork/posix/process.c.o CMakeFiles/libcork-static.dir/libcork/posix/subprocess.c.o CMakeFiles/libcork-static.dir/libcork/pthreads/thread.c.o /usr/bin/ranlib libcork.a -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 46%] Linking C shared library libcork.so -[ 46%] Built target libcork-static -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/libcork-shared.dir/link.txt --verbose=1 -make -f tests/CMakeFiles/embedded-test-mempool.dir/build.make tests/CMakeFiles/embedded-test-mempool.dir/depend -make -f tests/CMakeFiles/embedded-test-core.dir/build.make tests/CMakeFiles/embedded-test-core.dir/depend -make -f tests/CMakeFiles/embedded-test-buffer.dir/build.make tests/CMakeFiles/embedded-test-buffer.dir/depend -make -f tests/CMakeFiles/embedded-test-managed-buffer.dir/build.make tests/CMakeFiles/embedded-test-managed-buffer.dir/depend -make -f tests/CMakeFiles/embedded-test-files.dir/build.make tests/CMakeFiles/embedded-test-files.dir/depend +[ 46%] Built target libcork-shared +make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-mempool.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-subprocess.dir/build.make tests/CMakeFiles/embedded-test-subprocess.dir/depend +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/DependInfo.cmake --color= +make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/depend +make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/depend +make -f tests/CMakeFiles/shared-test-dllist.dir/build.make tests/CMakeFiles/shared-test-dllist.dir/depend +make -f tests/CMakeFiles/shared-test-core.dir/build.make tests/CMakeFiles/shared-test-core.dir/depend +make -f tests/CMakeFiles/shared-test-buffer.dir/build.make tests/CMakeFiles/shared-test-buffer.dir/depend +make -f tests/CMakeFiles/shared-test-bitset.dir/build.make tests/CMakeFiles/shared-test-bitset.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-core.dir/DependInfo.cmake --color= +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-buffer.dir/DependInfo.cmake --color= +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/shared-test-slice.dir/build.make tests/CMakeFiles/shared-test-slice.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-managed-buffer.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-dllist.dir/build.make tests/CMakeFiles/embedded-test-dllist.dir/depend +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-dllist.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-files.dir/DependInfo.cmake --color= +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-core.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/shared-test-gc.dir/build.make tests/CMakeFiles/shared-test-gc.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-subprocess.dir/DependInfo.cmake --color= -reading sources... [ 6%] array +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-buffer.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-dllist.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-bitset.dir/build.make tests/CMakeFiles/embedded-test-bitset.dir/depend +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-bitset.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-bitset.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-array.dir/build.make tests/CMakeFiles/embedded-test-array.dir/depend -/usr/bin/cc -fPIC -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -shared -Wl,-soname,libcork.so.16 -o libcork.so.16.0.2 CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o CMakeFiles/libcork-shared.dir/libcork/core/error.c.o CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o CMakeFiles/libcork-shared.dir/libcork/core/version.c.o CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o -lpthread -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-mempool.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-mempool.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-mempool.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-buffer.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-buffer.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-subprocess.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-subprocess.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-subprocess.dir/depend.internal". -Scanning dependencies of target embedded-test-mempool -Scanning dependencies of target embedded-test-buffer +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-slice.dir/DependInfo.cmake --color= +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-gc.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/shared-test-files.dir/build.make tests/CMakeFiles/shared-test-files.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-array.dir/DependInfo.cmake --color= -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-dllist.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-dllist.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-dllist.dir/depend.internal". -Scanning dependencies of target embedded-test-subprocess -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-files.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-files.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-files.dir/depend.internal". -make -f tests/CMakeFiles/embedded-test-mempool.dir/build.make tests/CMakeFiles/embedded-test-mempool.dir/build +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-files.dir/DependInfo.cmake --color= +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-core.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-core.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-core.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-buffer.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-buffer.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-dllist.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-dllist.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-dllist.dir/depend.internal". +Scanning dependencies of target cork-test +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-slice.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-slice.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-slice.dir/depend.internal". +Scanning dependencies of target cork-hash +Scanning dependencies of target cork-initializer +Scanning dependencies of target shared-test-buffer +Scanning dependencies of target shared-test-dllist +Scanning dependencies of target shared-test-slice make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-managed-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-managed-buffer.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-managed-buffer.dir/depend.internal". -Scanning dependencies of target embedded-test-dllist -Scanning dependencies of target embedded-test-managed-buffer -Scanning dependencies of target embedded-test-files make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-core.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-core.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-core.dir/depend.internal". make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-buffer.dir/build.make tests/CMakeFiles/embedded-test-buffer.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -Scanning dependencies of target embedded-test-core make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +Scanning dependencies of target shared-test-core +make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/build +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/build +make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/build +make -f tests/CMakeFiles/shared-test-dllist.dir/build.make tests/CMakeFiles/shared-test-dllist.dir/build +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-core.dir/build.make tests/CMakeFiles/embedded-test-core.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-managed-buffer.dir/build.make tests/CMakeFiles/embedded-test-managed-buffer.dir/build -make -f tests/CMakeFiles/embedded-test-files.dir/build.make tests/CMakeFiles/embedded-test-files.dir/build -make -f tests/CMakeFiles/embedded-test-subprocess.dir/build.make tests/CMakeFiles/embedded-test-subprocess.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/shared-test-core.dir/build.make tests/CMakeFiles/shared-test-core.dir/build +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-bitset.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-bitset.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-bitset.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-files.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-files.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-files.dir/depend.internal". make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-bitset.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-bitset.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-bitset.dir/depend.internal". -Scanning dependencies of target embedded-test-bitset -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-array.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-array.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-array.dir/depend.internal". -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -Scanning dependencies of target embedded-test-array -[ 47%] Building C object tests/CMakeFiles/embedded-test-mempool.dir/test-mempool.c.o +make -f tests/CMakeFiles/shared-test-buffer.dir/build.make tests/CMakeFiles/shared-test-buffer.dir/build +Scanning dependencies of target shared-test-bitset +Scanning dependencies of target shared-test-files make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-dllist.dir/build.make tests/CMakeFiles/embedded-test-dllist.dir/build -[ 47%] Building C object tests/CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o -make -f tests/CMakeFiles/embedded-test-bitset.dir/build.make tests/CMakeFiles/embedded-test-bitset.dir/build +make -f tests/CMakeFiles/shared-test-slice.dir/build.make tests/CMakeFiles/shared-test-slice.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-buffer.c +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-gc.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-gc.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-gc.dir/depend.internal". +[ 46%] Built target libcork-static +Scanning dependencies of target shared-test-gc +[ 46%] Building C object src/CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 46%] Building C object src/CMakeFiles/cork-test.dir/cork-test/cork-test.c.o make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-mempool.dir/test-mempool.c.o -c /build/libcork-0.15.0+ds/tests/test-mempool.c -make -f tests/CMakeFiles/embedded-test-array.dir/build.make tests/CMakeFiles/embedded-test-array.dir/build +[ 47%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o +[ 48%] Building C object tests/CMakeFiles/shared-test-dllist.dir/test-dllist.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/cork-test.dir/cork-test/cork-test.c.o -c /build/libcork-0.15.0+ds/src/cork-test/cork-test.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o -c /build/libcork-0.15.0+ds/src/cork-initializer/init1.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-dllist.dir/test-dllist.c.o -c /build/libcork-0.15.0+ds/tests/test-dllist.c +make -f tests/CMakeFiles/shared-test-bitset.dir/build.make tests/CMakeFiles/shared-test-bitset.dir/build +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o -c /build/libcork-0.15.0+ds/src/cork-hash/cork-hash.c make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 48%] Building C object tests/CMakeFiles/embedded-test-managed-buffer.dir/test-managed-buffer.c.o -[ 48%] Building C object tests/CMakeFiles/embedded-test-files.dir/test-files.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-managed-buffer.dir/test-managed-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-managed-buffer.c +[ 49%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o +make -f tests/CMakeFiles/shared-test-gc.dir/build.make tests/CMakeFiles/shared-test-gc.dir/build +[ 50%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o -c /build/libcork-0.15.0+ds/src/cork-initializer/init2.c +[ 51%] Building C object tests/CMakeFiles/shared-test-buffer.dir/test-buffer.c.o +[ 52%] Building C object tests/CMakeFiles/shared-test-core.dir/test-core.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o -c /build/libcork-0.15.0+ds/src/cork-initializer/main.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-buffer.dir/test-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-buffer.c make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-files.dir/test-files.c.o -c /build/libcork-0.15.0+ds/tests/test-files.c -make -f tests/CMakeFiles/embedded-test-gc.dir/build.make tests/CMakeFiles/embedded-test-gc.dir/depend -[ 49%] Building C object tests/CMakeFiles/embedded-test-core.dir/test-core.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-core.dir/test-core.c.o -c /build/libcork-0.15.0+ds/tests/test-core.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-core.dir/test-core.c.o -c /build/libcork-0.15.0+ds/tests/test-core.c +make -f tests/CMakeFiles/shared-test-files.dir/build.make tests/CMakeFiles/shared-test-files.dir/build +[ 53%] Building C object tests/CMakeFiles/shared-test-slice.dir/test-slice.c.o +[ 53%] Building C object tests/CMakeFiles/shared-test-bitset.dir/test-bitset.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-bitset.dir/test-bitset.c.o -c /build/libcork-0.15.0+ds/tests/test-bitset.c +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-slice.dir/test-slice.c.o -c /build/libcork-0.15.0+ds/tests/test-slice.c make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-gc.dir/DependInfo.cmake --color= -[ 50%] Building C object tests/CMakeFiles/embedded-test-subprocess.dir/test-subprocess.c.o -[ 51%] Building C object tests/CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o -make -f tests/CMakeFiles/embedded-test-threads.dir/build.make tests/CMakeFiles/embedded-test-threads.dir/depend +make -f tests/CMakeFiles/shared-test-array.dir/build.make tests/CMakeFiles/shared-test-array.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-threads.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-ring-buffer.dir/build.make tests/CMakeFiles/embedded-test-ring-buffer.dir/depend -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o -c /build/libcork-0.15.0+ds/tests/test-dllist.c -[ 52%] Building C object tests/CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-subprocess.dir/test-subprocess.c.o -c /build/libcork-0.15.0+ds/tests/test-subprocess.c -make -f tests/CMakeFiles/embedded-test-slice.dir/build.make tests/CMakeFiles/embedded-test-slice.dir/depend +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-array.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/shared-test-threads.dir/build.make tests/CMakeFiles/shared-test-threads.dir/depend +make -f tests/CMakeFiles/shared-test-hash-table.dir/build.make tests/CMakeFiles/shared-test-hash-table.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-ring-buffer.dir/DependInfo.cmake --color= -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o -c /build/libcork-0.15.0+ds/tests/test-bitset.c -[ 53%] Building C object tests/CMakeFiles/embedded-test-array.dir/test-array.c.o -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-gc.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-gc.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-gc.dir/depend.internal". -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-array.dir/test-array.c.o -c /build/libcork-0.15.0+ds/tests/test-array.c -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_symlink_library libcork.so.16.0.2 libcork.so.16 libcork.so -reading sources... [ 9%] attributes -Scanning dependencies of target embedded-test-gc +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-threads.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-slice.dir/DependInfo.cmake --color= -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-threads.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-threads.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-threads.dir/depend.internal". -Scanning dependencies of target embedded-test-threads -make -f tests/CMakeFiles/embedded-test-gc.dir/build.make tests/CMakeFiles/embedded-test-gc.dir/build -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-ring-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-ring-buffer.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-ring-buffer.dir/depend.internal". -Scanning dependencies of target embedded-test-ring-buffer -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-hash-table.dir/DependInfo.cmake --color= +/build/libcork-0.15.0+ds/src/cork-initializer/main.c: In function 'main': +/build/libcork-0.15.0+ds/src/cork-initializer/main.c:12:10: warning: unused parameter 'argc' [-Wunused-parameter] + 12 | main(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-initializer/main.c:12:23: warning: unused parameter 'argv' [-Wunused-parameter] + 12 | main(int argc, char **argv) + | ~~~~~~~^~~~ +[ 54%] Building C object tests/CMakeFiles/shared-test-gc.dir/test-gc.c.o +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-threads.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-threads.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-threads.dir/depend.internal". +Scanning dependencies of target shared-test-threads +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-gc.dir/test-gc.c.o -c /build/libcork-0.15.0+ds/tests/test-gc.c +reading sources... [ 22%] byte-order +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'c1_s1_run': +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:73:15: warning: unused parameter 'argc' [-Wunused-parameter] + 73 | c1_s1_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:73:28: warning: unused parameter 'argv' [-Wunused-parameter] + 73 | c1_s1_run(int argc, char **argv) + | ~~~~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'c1_s2_run': +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:89:15: warning: unused parameter 'argc' [-Wunused-parameter] + 89 | c1_s2_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:89:28: warning: unused parameter 'argv' [-Wunused-parameter] + 89 | c1_s2_run(int argc, char **argv) + | ~~~~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'c2_run': +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:149:12: warning: unused parameter 'argc' [-Wunused-parameter] + 149 | c2_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:149:25: warning: unused parameter 'argv' [-Wunused-parameter] + 149 | c2_run(int argc, char **argv) + | ~~~~~~~^~~~ +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-array.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-array.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-array.dir/depend.internal". +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'pwd_run': +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:261:13: warning: unused parameter 'argc' [-Wunused-parameter] + 261 | pwd_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:261:26: warning: unused parameter 'argv' [-Wunused-parameter] + 261 | pwd_run(int argc, char **argv) + | ~~~~~~~^~~~ make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/shared-test-managed-buffer.dir/build.make tests/CMakeFiles/shared-test-managed-buffer.dir/depend +[ 55%] Building C object tests/CMakeFiles/shared-test-files.dir/test-files.c.o +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'paths_run': +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:494:15: warning: unused parameter 'argc' [-Wunused-parameter] + 494 | paths_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:494:28: warning: unused parameter 'argv' [-Wunused-parameter] + 494 | paths_run(int argc, char **argv) + | ~~~~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'enter_directory': +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:549:41: warning: unused parameter 'walker' [-Wunused-parameter] + 549 | enter_directory(struct cork_dir_walker *walker, const char *full_path, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:549:61: warning: unused parameter 'full_path' [-Wunused-parameter] + 549 | enter_directory(struct cork_dir_walker *walker, const char *full_path, + | ~~~~~~~~~~~~^~~~~~~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'print_file': +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:566:36: warning: unused parameter 'walker' [-Wunused-parameter] + 566 | print_file(struct cork_dir_walker *walker, const char *full_path, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'leave_directory': +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:579:41: warning: unused parameter 'walker' [-Wunused-parameter] + 579 | leave_directory(struct cork_dir_walker *walker, const char *full_path, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:579:61: warning: unused parameter 'full_path' [-Wunused-parameter] + 579 | leave_directory(struct cork_dir_walker *walker, const char *full_path, + | ~~~~~~~~~~~~^~~~~~~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:580:51: warning: unused parameter 'base_name' [-Wunused-parameter] + 580 | const char *rel_path, const char *base_name) + | ~~~~~~~~~~~~^~~~~~~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'dir_run': +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:597:13: warning: unused parameter 'argc' [-Wunused-parameter] + 597 | dir_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:597:26: warning: unused parameter 'argv' [-Wunused-parameter] + 597 | dir_run(int argc, char **argv) + | ~~~~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'cleanup_run': +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:629:17: warning: unused parameter 'argc' [-Wunused-parameter] + 629 | cleanup_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:629:30: warning: unused parameter 'argv' [-Wunused-parameter] + 629 | cleanup_run(int argc, char **argv) + | ~~~~~~~^~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-files.dir/test-files.c.o -c /build/libcork-0.15.0+ds/tests/test-files.c +Scanning dependencies of target shared-test-array +In file included from /build/libcork-0.15.0+ds/tests/test-dllist.c:14: +/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'check_int64_list': +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:59:5: note: in expansion of macro 'fail_unless_streq' + 59 | fail_unless_streq("List contents", expected, buf.buf); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'test_dllist_fn': +/build/libcork-0.15.0+ds/tests/test-dllist.c:76:17: warning: too many arguments for format [-Wformat-extra-args] + 76 | "Unexpected size of list: got %zu, expected 0", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-threads.dir/build.make tests/CMakeFiles/embedded-test-threads.dir/build -make -f tests/CMakeFiles/embedded-test-ring-buffer.dir/build.make tests/CMakeFiles/embedded-test-ring-buffer.dir/build +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-managed-buffer.dir/DependInfo.cmake --color= +/build/libcork-0.15.0+ds/tests/test-dllist.c:79:17: warning: too many arguments for format [-Wformat-extra-args] + 79 | "Expected empty list"); + | ^~~~~~~~~~~~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +/build/libcork-0.15.0+ds/tests/test-dllist.c:85:17: warning: too many arguments for format [-Wformat-extra-args] + 85 | "Unexpected size of list: got %zu, expected 1", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make -f tests/CMakeFiles/shared-test-threads.dir/build.make tests/CMakeFiles/shared-test-threads.dir/build +/build/libcork-0.15.0+ds/tests/test-dllist.c:92:17: warning: too many arguments for format [-Wformat-extra-args] + 92 | "Unexpected size of list: got %zu, expected 2", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:99:17: warning: too many arguments for format [-Wformat-extra-args] + 99 | "Unexpected size of list: got %zu, expected 3", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:106:17: warning: too many arguments for format [-Wformat-extra-args] + 106 | "Unexpected sum, got %ld, expected 6", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:114:17: warning: too many arguments for format [-Wformat-extra-args] + 114 | "Unexpected sum, got %ld, expected 6", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:119:17: warning: too many arguments for format [-Wformat-extra-args] + 119 | "Unexpected size of list: got %zu, expected 2", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/include/libcork/core/callbacks.h:14, + from /build/libcork-0.15.0+ds/include/libcork/core/allocator.h:18, + from /build/libcork-0.15.0+ds/include/libcork/core.h:15, + from /build/libcork-0.15.0+ds/src/cork-hash/cork-hash.c:15: +/build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_big_hash_buffer': +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 299 | case 15: k2 ^= (uint64_t) (tail[14]) << 48; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:300:9: note: here + 300 | case 14: k2 ^= (uint64_t) (tail[13]) << 40; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:300:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 300 | case 14: k2 ^= (uint64_t) (tail[13]) << 40; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:301:9: note: here + 301 | case 13: k2 ^= (uint64_t) (tail[12]) << 32; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:301:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 301 | case 13: k2 ^= (uint64_t) (tail[12]) << 32; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:302:9: note: here + 302 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:302:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 302 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:303:9: note: here + 303 | case 11: k2 ^= (uint64_t) (tail[10]) << 16; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:303:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 303 | case 11: k2 ^= (uint64_t) (tail[10]) << 16; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:304:9: note: here + 304 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:304:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 304 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:305:9: note: here + 305 | case 9: k2 ^= (uint64_t) (tail[ 8]) << 0; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:306:66: warning: this statement may fall through [-Wimplicit-fallthrough=] + 306 | k2 *= c2; k2 = CORK_ROTL64(k2,33); k2 *= c1; h2 ^= k2; \ + | ~~~^~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:308:9: note: here + 308 | case 8: k1 ^= (uint64_t) (tail[ 7]) << 56; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:308:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 308 | case 8: k1 ^= (uint64_t) (tail[ 7]) << 56; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:309:9: note: here + 309 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:309:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 309 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:310:9: note: here + 310 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:310:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 310 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:311:9: note: here + 311 | case 5: k1 ^= (uint64_t) (tail[ 4]) << 32; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:311:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 311 | case 5: k1 ^= (uint64_t) (tail[ 4]) << 32; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:312:9: note: here + 312 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:312:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 312 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:313:9: note: here + 313 | case 3: k1 ^= (uint64_t) (tail[ 2]) << 16; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:313:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 313 | case 3: k1 ^= (uint64_t) (tail[ 2]) << 16; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:314:9: note: here + 314 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:314:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 314 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:315:9: note: here + 315 | case 1: k1 ^= (uint64_t) (tail[ 0]) << 0; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 360 | cork_murmur_hash_x64_128(seed, src, len, &result); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-dllist.c:184:10: warning: unused parameter 'argc' [-Wunused-parameter] + 184 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:184:29: warning: unused parameter 'argv' [-Wunused-parameter] + 184 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_hash_buffer': +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 299 | case 15: k2 ^= (uint64_t) (tail[14]) << 48; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:300:9: note: here + 300 | case 14: k2 ^= (uint64_t) (tail[13]) << 40; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:300:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 300 | case 14: k2 ^= (uint64_t) (tail[13]) << 40; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:301:9: note: here + 301 | case 13: k2 ^= (uint64_t) (tail[12]) << 32; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:301:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 301 | case 13: k2 ^= (uint64_t) (tail[12]) << 32; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:302:9: note: here + 302 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:302:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 302 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:303:9: note: here + 303 | case 11: k2 ^= (uint64_t) (tail[10]) << 16; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:303:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 303 | case 11: k2 ^= (uint64_t) (tail[10]) << 16; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:304:9: note: here + 304 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:304:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 304 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:305:9: note: here + 305 | case 9: k2 ^= (uint64_t) (tail[ 8]) << 0; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:306:66: warning: this statement may fall through [-Wimplicit-fallthrough=] + 306 | k2 *= c2; k2 = CORK_ROTL64(k2,33); k2 *= c1; h2 ^= k2; \ + | ~~~^~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:308:9: note: here + 308 | case 8: k1 ^= (uint64_t) (tail[ 7]) << 56; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-hash-table.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-hash-table.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-hash-table.dir/depend.internal". +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:308:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 308 | case 8: k1 ^= (uint64_t) (tail[ 7]) << 56; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:309:9: note: here + 309 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:309:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 309 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:310:9: note: here + 310 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:310:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 310 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:311:9: note: here + 311 | case 5: k1 ^= (uint64_t) (tail[ 4]) << 32; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:311:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 311 | case 5: k1 ^= (uint64_t) (tail[ 4]) << 32; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:312:9: note: here + 312 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:312:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 312 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:313:9: note: here + 313 | case 3: k1 ^= (uint64_t) (tail[ 2]) << 16; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:313:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 313 | case 3: k1 ^= (uint64_t) (tail[ 2]) << 16; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:314:9: note: here + 314 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:314:21: warning: this statement may fall through [-Wimplicit-fallthrough=] + 314 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ + | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:315:9: note: here + 315 | case 1: k1 ^= (uint64_t) (tail[ 0]) << 0; \ + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' + 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_stable_hash_buffer': +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:123:20: warning: this statement may fall through [-Wimplicit-fallthrough=] + 123 | case 3: k1 ^= tail[2] << 16; + | ~~~^~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:124:9: note: here + 124 | case 2: k1 ^= tail[1] << 8; + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:124:20: warning: this statement may fall through [-Wimplicit-fallthrough=] + 124 | case 2: k1 ^= tail[1] << 8; + | ~~~^~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:125:9: note: here + 125 | case 1: k1 ^= tail[0]; + | ^~~~ +Scanning dependencies of target shared-test-hash-table make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 54%] Building C object tests/CMakeFiles/embedded-test-gc.dir/test-gc.c.o -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-slice.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-slice.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-slice.dir/depend.internal". +make -f tests/CMakeFiles/shared-test-array.dir/build.make tests/CMakeFiles/shared-test-array.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-gc.dir/test-gc.c.o -c /build/libcork-0.15.0+ds/tests/test-gc.c -Scanning dependencies of target embedded-test-slice make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-slice.dir/build.make tests/CMakeFiles/embedded-test-slice.dir/build -reading sources... [ 12%] basic-types +make -f tests/CMakeFiles/embedded-test-threads.dir/build.make tests/CMakeFiles/embedded-test-threads.dir/depend +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-threads.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/shared-test-hash-table.dir/build.make tests/CMakeFiles/shared-test-hash-table.dir/build +[ 56%] Building C object tests/CMakeFiles/shared-test-threads.dir/test-threads.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-threads.dir/test-threads.c.o -c /build/libcork-0.15.0+ds/tests/test-threads.c +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-managed-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-managed-buffer.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-managed-buffer.dir/depend.internal". +Scanning dependencies of target shared-test-managed-buffer In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: /build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'check_buffers': /build/libcork-0.15.0+ds/tests/test-buffer.c:33:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void * const' [-Wformat=] @@ -2443,6 +2970,7 @@ | ~~~~~~~~~ | | | void * const +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-buffer.c:33:52: note: format string is defined here 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ~^ @@ -2485,7 +3013,6 @@ /build/libcork-0.15.0+ds/tests/test-buffer.c:42:17: warning: too many arguments for format [-Wformat-extra-args] 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'test_buffer_fn': /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ @@ -2517,6 +3044,7 @@ /build/libcork-0.15.0+ds/tests/test-buffer.c:72:5: note: in expansion of macro 'fail_if_error' 72 | fail_if_error(buffer3 = cork_buffer_new()); | ^~~~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -2652,18 +3180,61 @@ /build/libcork-0.15.0+ds/tests/test-buffer.c:164:5: note: in expansion of macro 'fail_if_error' 164 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, 2)); | ^~~~~~~~~~~~~ +make -f tests/CMakeFiles/shared-test-managed-buffer.dir/build.make tests/CMakeFiles/shared-test-managed-buffer.dir/build +In file included from /build/libcork-0.15.0+ds/tests/test-slice.c:14: +/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'test_static_slice_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:34:5: note: in expansion of macro 'fail_if_error' + 34 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:35:5: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:36:5: note: in expansion of macro 'fail_if_error' + 36 | fail_if_error(cork_slice_slice(&slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:37:51: warning: too many arguments for format [-Wformat-extra-args] + 37 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:38:52: warning: too many arguments for format [-Wformat-extra-args] + 38 | fail_unless(cork_slice_equal(&slice, &lcopy1), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'test_copy_once_slice_fn': /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-0.15.0+ds/tests/test-buffer.c:167:5: note: in expansion of macro 'fail_if_error' 167 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, buffer->size)); | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:63:35: warning: too many arguments for format [-Wformat-extra-args] + 63 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:65:5: note: in expansion of macro 'fail_if_error' + 65 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-0.15.0+ds/tests/test-buffer.c:170:5: note: in expansion of macro 'fail_if_error' 170 | fail_if_error(cork_slice_copy_fast(&slice2, &slice1, 2, 2)); | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:68:35: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:69:46: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail_unless(slice.buf + 8 == lcopy1.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -2673,15 +3244,36 @@ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:71:5: note: in expansion of macro 'fail_if_error' + 71 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ /build/libcork-0.15.0+ds/tests/test-buffer.c:176:5: note: in expansion of macro 'fail_if_error' 176 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, 0)); | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:72:5: note: in expansion of macro 'fail_if_error' + 72 | fail_if_error(cork_slice_slice(&slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:76:35: warning: too many arguments for format [-Wformat-extra-args] + 76 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ /build/libcork-0.15.0+ds/tests/test-buffer.c:177:5: note: in expansion of macro 'fail_if_error' 177 | fail_if_error(cork_slice_slice_offset_fast(&slice2, 2)); | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:77:41: warning: too many arguments for format [-Wformat-extra-args] + 77 | fail_unless(slice.buf == copy1.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:80:51: warning: too many arguments for format [-Wformat-extra-args] + 80 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -2691,12 +3283,36 @@ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:84:5: note: in expansion of macro 'fail_if_error' + 84 | fail_if_error(cork_slice_light_copy(&lcopy2, &slice, 0, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ /build/libcork-0.15.0+ds/tests/test-buffer.c:179:5: note: in expansion of macro 'fail_if_error' 179 | fail_if_error(cork_slice_slice(&slice1, 2, 2)); | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:85:35: warning: too many arguments for format [-Wformat-extra-args] + 85 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-buffer.c:180:53: warning: too many arguments for format [-Wformat-extra-args] 180 | fail_unless(cork_slice_equal(&slice1, &slice2), "Slices should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:86:42: warning: too many arguments for format [-Wformat-extra-args] + 86 | fail_unless(slice.buf == lcopy2.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:88:5: note: in expansion of macro 'fail_if_error' + 88 | fail_if_error(cork_slice_copy(©2, &slice, 0, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:91:41: warning: too many arguments for format [-Wformat-extra-args] + 91 | fail_unless(slice.buf == copy2.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:92:41: warning: too many arguments for format [-Wformat-extra-args] + 92 | fail_unless(copy1.buf == copy2.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'test_buffer_stream_fn': /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ @@ -2704,7 +3320,13 @@ /build/libcork-0.15.0+ds/tests/test-buffer.c:204:5: note: in expansion of macro 'fail_if_error' 204 | fail_if_error(consumer = | ^~~~~~~~~~~~~ -[ 55%] Building C object tests/CMakeFiles/embedded-test-threads.dir/test-threads.c.o +/build/libcork-0.15.0+ds/tests/test-slice.c:93:51: warning: too many arguments for format [-Wformat-extra-args] + 93 | fail_unless(cork_slice_equal(&slice, ©2), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +/build/libcork-0.15.0+ds/tests/test-slice.c:94:51: warning: too many arguments for format [-Wformat-extra-args] + 94 | fail_unless(cork_slice_equal(©1, ©2), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -2729,6 +3351,13 @@ /build/libcork-0.15.0+ds/tests/test-buffer.c:218:5: note: in expansion of macro 'fail_if_error' 218 | fail_if_error(cork_buffer_set(&buffer2, EXPECTED, EXPECTED_SIZE)); | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-slice.c:125:10: warning: unused parameter 'argc' [-Wunused-parameter] + 125 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:125:29: warning: unused parameter 'argv' [-Wunused-parameter] + 125 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'main': /build/libcork-0.15.0+ds/tests/test-buffer.c:336:10: warning: unused parameter 'argc' [-Wunused-parameter] 336 | main(int argc, const char **argv) @@ -2736,6 +3365,11 @@ /build/libcork-0.15.0+ds/tests/test-buffer.c:336:29: warning: unused parameter 'argv' [-Wunused-parameter] 336 | main(int argc, const char **argv) | ~~~~~~~~~~~~~^~~~ +[ 57%] Building C object tests/CMakeFiles/shared-test-array.dir/test-array.c.o +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-threads.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-threads.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-threads.dir/depend.internal". +Scanning dependencies of target embedded-test-threads +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-array.dir/test-array.c.o -c /build/libcork-0.15.0+ds/tests/test-array.c In file included from /build/libcork-0.15.0+ds/tests/test-core.c:16: /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_bool_fn': /build/libcork-0.15.0+ds/tests/test-core.c:41:24: warning: too many arguments for format [-Wformat-extra-args] @@ -2757,7 +3391,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:62:5: note: in expansion of macro 'TEST_INT_TYPE' 62 | TEST_INT_TYPE(int16_t); | ^~~~~~~~~~~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -2788,6 +3421,10 @@ /build/libcork-0.15.0+ds/tests/test-core.c:67:5: note: in expansion of macro 'TEST_INT_TYPE' 67 | TEST_INT_TYPE(uint32_t); | ^~~~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 58%] Building C object tests/CMakeFiles/shared-test-hash-table.dir/test-hash-table.c.o +make -f tests/CMakeFiles/embedded-test-threads.dir/build.make tests/CMakeFiles/embedded-test-threads.dir/build +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-hash-table.dir/test-hash-table.c.o -c /build/libcork-0.15.0+ds/tests/test-hash-table.c /build/libcork-0.15.0+ds/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -2818,7 +3455,9 @@ /build/libcork-0.15.0+ds/tests/test-core.c:72:5: note: in expansion of macro 'TEST_INT_TYPE' 72 | TEST_INT_TYPE(uintptr_t); | ^~~~~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-threads.dir/test-threads.c.o -c /build/libcork-0.15.0+ds/tests/test-threads.c +[ 59%] Linking C executable cork-initializer +reading sources... [ 25%] cli +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-initializer.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_int_sizeof_fn': /build/libcork-0.15.0+ds/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ @@ -2963,6 +3602,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:198:5: note: in expansion of macro 'TEST_ENDIAN' 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:185:21: warning: too many arguments for format [-Wformat-extra-args] 185 | "Unexpected in-place little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3005,6 +3645,22 @@ /build/libcork-0.15.0+ds/tests/test-core.c:199:5: note: in expansion of macro 'TEST_ENDIAN' 199 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), | ^~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-bitset.c:14: +/build/libcork-0.15.0+ds/tests/test-bitset.c: In function 'test_bitset_of_size': +/build/libcork-0.15.0+ds/tests/test-bitset.c:34:46: warning: too many arguments for format [-Wformat-extra-args] + 34 | fail_unless(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-bitset.c:39:42: warning: too many arguments for format [-Wformat-extra-args] + 39 | fail_if(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-bitset.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-bitset.c:91:10: warning: unused parameter 'argc' [-Wunused-parameter] + 91 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-bitset.c:91:29: warning: unused parameter 'argv' [-Wunused-parameter] + 91 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +[ 60%] Building C object tests/CMakeFiles/shared-test-managed-buffer.dir/test-managed-buffer.c.o /build/libcork-0.15.0+ds/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] 180 | "Unexpected little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3074,6 +3730,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:342:5: note: in expansion of macro 'test_big_hash_buf' 342 | test_big_hash_buf(BUF, LEN-1, | ^~~~~~~~~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-managed-buffer.dir/test-managed-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-managed-buffer.c /build/libcork-0.15.0+ds/tests/test-core.c:249:17: warning: too many arguments for format [-Wformat-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3110,6 +3767,8 @@ /build/libcork-0.15.0+ds/tests/test-core.c:362:5: note: in expansion of macro 'test_stable_hash_buf' 362 | test_stable_hash_buf(LONG_BUF, LONG_LEN-1, 0x5caacc30); | ^~~~~~~~~~~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-gc.c:19: +/build/libcork-0.15.0+ds/tests/test-gc.c: In function 'tree__free': /build/libcork-0.15.0+ds/tests/test-core.c:249:17: warning: too many arguments for format [-Wformat-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3119,6 +3778,12 @@ /build/libcork-0.15.0+ds/tests/test-core.c:363:5: note: in expansion of macro 'test_hash_buf' 363 | test_hash_buf(LONG_BUF, LONG_LEN-1, | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/helpers/gc.h:21:20: warning: unused parameter 'obj' [-Wunused-parameter] + 21 | name##__free(void *obj) + | ~~~~~~^~~ +/build/libcork-0.15.0+ds/tests/test-gc.c:34:1: note: in expansion of macro '_free_' + 34 | _free_(tree) { + | ^~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:292:21: warning: too many arguments for format [-Wformat-extra-args] 292 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3146,14 +3811,13 @@ /build/libcork-0.15.0+ds/tests/test-core.c:376:5: note: in expansion of macro 'test_hash_buf' 376 | test_hash_buf(LONG_BUF, LONG_LEN, | ^~~~~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_int8_t_fn': -/build/libcork-0.15.0+ds/tests/test-array.c:64:17: warning: too many arguments for format [-Wformat-extra-args] - 64 | "Unexpected size of array: got %zu, expected 0", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-gc.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-gc.c:146:10: warning: unused parameter 'argc' [-Wunused-parameter] + 146 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-gc.c:146:29: warning: unused parameter 'argv' [-Wunused-parameter] + 146 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:292:21: warning: too many arguments for format [-Wformat-extra-args] 292 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3163,27 +3827,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:381:5: note: in expansion of macro 'test_big_hash_buf' 381 | test_big_hash_buf(LONG_BUF, LONG_LEN, | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:69:5: note: in expansion of macro 'test_sum' - 69 | test_sum(&array, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:249:17: warning: too many arguments for format [-Wformat-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3193,41 +3836,249 @@ /build/libcork-0.15.0+ds/tests/test-core.c:387:5: note: in expansion of macro 'test_stable_hash_var' 387 | test_stable_hash_var(stable_val32, 0x6bb65380); | ^~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -[ 56%] Building C object tests/CMakeFiles/embedded-test-ring-buffer.dir/test-ring-buffer.c.o -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:71:5: note: in expansion of macro 'test_sum' - 71 | test_sum(&array, 1); \ +In file included from /build/libcork-0.15.0+ds/tests/test-threads.c:15: +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_int_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' + 46 | test_atomic_op(name, type, fmt, add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' + 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' + 48 | test_atomic_op(name, type, fmt, add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' + 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' + 50 | fail_unless_equal(#name, fmt, 4, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' + 51 | test_atomic_op(name, type, fmt, sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' + 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' + 53 | test_atomic_op(name, type, fmt, sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' + 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' + 55 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' + 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' + 58 | test_cas(name, type, fmt, 1, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' + 59 | test_cas(name, type, fmt, 10, 2); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' + 60 | test_cas(name, type, fmt, 2, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' + 61 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_uint_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' + 46 | test_atomic_op(name, type, fmt, add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' + 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' + 48 | test_atomic_op(name, type, fmt, add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' + 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' + 50 | fail_unless_equal(#name, fmt, 4, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' + 51 | test_atomic_op(name, type, fmt, sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:249:17: warning: too many arguments for format [-Wformat-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3237,43 +4088,42 @@ /build/libcork-0.15.0+ds/tests/test-core.c:388:5: note: in expansion of macro 'test_hash_var' 388 | test_hash_var(val32, | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' + 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' + 53 | test_atomic_op(name, type, fmt, sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' + 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:249:17: warning: too many arguments for format [-Wformat-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3283,15 +4133,27 @@ /build/libcork-0.15.0+ds/tests/test-core.c:394:5: note: in expansion of macro 'test_stable_hash_var' 394 | test_stable_hash_var(stable_val64, 0x4d5c4063); | ^~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:73:5: note: in expansion of macro 'test_sum' - 73 | test_sum(&array, 3); \ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' + 55 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' + 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:249:17: warning: too many arguments for format [-Wformat-extra-args] 249 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3301,65 +4163,52 @@ /build/libcork-0.15.0+ds/tests/test-core.c:395:5: note: in expansion of macro 'test_hash_var' 395 | test_hash_var(val64, | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-mempool.c:15: -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_01_fn': -/build/libcork-0.15.0+ds/tests/test-mempool.c:40:17: warning: too many arguments for format [-Wformat-extra-args] - 40 | "Cannot allocate object #%zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:49:17: warning: too many arguments for format [-Wformat-extra-args] - 49 | "Cannot reallocate object #%zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' + 58 | test_cas(name, type, fmt, 1, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' + 59 | test_cas(name, type, fmt, 10, 2); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_ipv4_address_fn': -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:75:5: note: in expansion of macro 'test_sum' - 75 | test_sum(&array, 6); \ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' + 60 | test_cas(name, type, fmt, 2, 0); \ | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_fail_01_fn': -/build/libcork-0.15.0+ds/tests/test-mempool.c:68:13: warning: too many arguments for format [-Wformat-extra-args] - 68 | "Cannot allocate object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' + 61 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3372,73 +4221,37 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-ring-buffer.dir/test-ring-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-ring-buffer.c -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'int64_init': -/build/libcork-0.15.0+ds/tests/test-mempool.c:77:18: warning: unused parameter 'user_data' [-Wunused-parameter] - 77 | int64_init(void *user_data, void *vobj) - | ~~~~~~^~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'int64_done': -/build/libcork-0.15.0+ds/tests/test-mempool.c:84:35: warning: unused parameter 'vobj' [-Wunused-parameter] - 84 | int64_done(void *user_data, void *vobj) - | ~~~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:77:5: note: in expansion of macro 'test_sum' - 77 | test_sum(&array, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_size_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' + 46 | test_atomic_op(name, type, fmt, add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' + 46 | test_atomic_op(name, type, fmt, add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o -o cork-initializer -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src libcork.so.16.0.2 -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:471:21: warning: too many arguments for format [-Wformat-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3448,45 +4261,64 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-mempool.c:15: -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_reuse_01_fn': -/build/libcork-0.15.0+ds/tests/test-mempool.c:109:13: warning: too many arguments for format [-Wformat-extra-args] - 109 | "Cannot allocate object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:79:5: note: in expansion of macro 'test_sum' - 79 | test_sum(&array, 15); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' + 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' + 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' + 48 | test_atomic_op(name, type, fmt, add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' + 48 | test_atomic_op(name, type, fmt, add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:478:21: warning: too many arguments for format [-Wformat-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3496,52 +4328,58 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:112:29: warning: too many arguments for format [-Wformat-extra-args] - 112 | fail_unless(*obj == 12, "Unexpected value %" PRId64, *obj); - | ^~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:120:13: warning: too many arguments for format [-Wformat-extra-args] - 120 | "Cannot allocate object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:121:29: warning: too many arguments for format [-Wformat-extra-args] - 121 | fail_unless(*obj == 42, "Unexpected value %" PRId64, *obj); - | ^~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' + 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' + 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' + 50 | fail_unless_equal(#name, fmt, 4, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' + 50 | fail_unless_equal(#name, fmt, 4, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3554,62 +4392,64 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:128:17: warning: too many arguments for format [-Wformat-extra-args] - 128 | "done_object called an unexpected number of times: %zu", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:81:5: note: in expansion of macro 'test_sum' - 81 | test_sum(&array, 21); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-mempool.c:159:10: warning: unused parameter 'argc' [-Wunused-parameter] - 159 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:159:29: warning: unused parameter 'argv' [-Wunused-parameter] - 159 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' + 51 | test_atomic_op(name, type, fmt, sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' + 51 | test_atomic_op(name, type, fmt, sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' + 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' + 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:471:21: warning: too many arguments for format [-Wformat-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3619,27 +4459,52 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:83:5: note: in expansion of macro 'test_sum' - 83 | test_sum(&array, 28); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' + 53 | test_atomic_op(name, type, fmt, sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' + 53 | test_atomic_op(name, type, fmt, sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' + 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:478:21: warning: too many arguments for format [-Wformat-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3649,40 +4514,41 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:85:5: note: in expansion of macro 'test_sum' - 85 | test_sum(&array, 36); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' + 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' + 55 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' + 55 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3695,52 +4561,64 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:87:5: note: in expansion of macro 'test_sum' - 87 | test_sum(&array, 45); \ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' + 57 | test_cas(name, type, fmt, 0, 1); \ | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' + 57 | test_cas(name, type, fmt, 0, 1); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' + 58 | test_cas(name, type, fmt, 1, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' + 58 | test_cas(name, type, fmt, 1, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:471:21: warning: too many arguments for format [-Wformat-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3750,43 +4628,64 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' + 59 | test_cas(name, type, fmt, 10, 2); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' + 59 | test_cas(name, type, fmt, 10, 2); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' + 60 | test_cas(name, type, fmt, 2, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' + 60 | test_cas(name, type, fmt, 2, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:478:21: warning: too many arguments for format [-Wformat-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3796,24 +4695,39 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:89:5: note: in expansion of macro 'test_sum' - 89 | test_sum(&array, 55); \ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' + 61 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' + 61 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_ptr_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:79:5: note: in expansion of macro 'test_cas' + 79 | test_cas(ptr, uint64_t *, "%p", &v0, &v1); | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:92:5: note: in expansion of macro 'fail_if_error' - 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3826,6 +4740,24 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:80:5: note: in expansion of macro 'test_cas' + 80 | test_cas(ptr, uint64_t *, "%p", &v1, &v2); + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:81:5: note: in expansion of macro 'test_cas' + 81 | test_cas(ptr, uint64_t *, "%p", &v2, &v3); + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:471:21: warning: too many arguments for format [-Wformat-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3835,6 +4767,21 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:82:5: note: in expansion of macro 'test_cas' + 82 | test_cas(ptr, uint64_t *, "%p", &v3, &v0); + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:83:5: note: in expansion of macro 'fail_unless_equal' + 83 | fail_unless_equal("ptr", "%p", &v0, val); + | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:478:21: warning: too many arguments for format [-Wformat-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3844,14 +4791,14 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-managed-buffer.c:13: -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_managed_buffer_refcount_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:74:5: note: in expansion of macro 'fail_if_error' - 74 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); - | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_once_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:107:5: note: in expansion of macro 'fail_unless_equal' + 107 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +[ 61%] Building C object tests/CMakeFiles/embedded-test-threads.dir/test-threads.c.o /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3864,19 +4811,277 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:85:17: warning: too many arguments for format [-Wformat-extra-args] - 85 | "Managed buffer free function never called."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_managed_buffer_bad_refcount_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:109:5: note: in expansion of macro 'fail_unless_equal' + 109 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:111:5: note: in expansion of macro 'fail_unless_equal' + 111 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:113:5: note: in expansion of macro 'fail_unless_equal' + 113 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:115:5: note: in expansion of macro 'fail_unless_equal' + 115 | fail_unless_equal("Call count", "%zu", 1, call_count); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:115:5: note: in expansion of macro 'fail_unless_equal' + 115 | fail_unless_equal("Call count", "%zu", 1, call_count); + | ^~~~~~~~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-files.c:15: +/build/libcork-0.15.0+ds/tests/test-files.c: In function 'verify_path_content': +/build/libcork-0.15.0+ds/tests/test-files.c:34:42: warning: too many arguments for format [-Wformat-extra-args] + 34 | fail_if(cork_path_get(path) == NULL, "Path should not have NULL content"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c:35:5: note: in expansion of macro 'fail_unless_streq' + 35 | fail_unless_streq("Paths", expected, cork_path_get(path)); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_once_recursive_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:134:5: note: in expansion of macro 'fail_unless_equal' + 134 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:136:5: note: in expansion of macro 'fail_unless_equal' + 136 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:138:5: note: in expansion of macro 'fail_unless_equal' + 138 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:140:5: note: in expansion of macro 'fail_unless_equal' + 140 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:142:5: note: in expansion of macro 'fail_unless_equal' + 142 | fail_unless_equal("Call count", "%zu", 1, call_count); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:142:5: note: in expansion of macro 'fail_unless_equal' + 142 | fail_unless_equal("Call count", "%zu", 1, call_count); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_thread_ids_fn': +/build/libcork-0.15.0+ds/tests/test-threads.c:155:37: warning: too many arguments for format [-Wformat-extra-args] + 155 | fail_if(id == CORK_THREAD_NONE, "Expected a valid thread ID"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'cork_error_thread__run': +/build/libcork-0.15.0+ds/tests/test-threads.c:196:30: warning: unused parameter 'vself' [-Wunused-parameter] + 196 | cork_error_thread__run(void *vself) + | ~~~~~~^~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-threads.c:15: +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_01_fn': /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:100:5: note: in expansion of macro 'fail_if_error' - 100 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); +/build/libcork-0.15.0+ds/tests/test-threads.c:212:5: note: in expansion of macro 'fail_if_error' + 212 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:112:13: warning: too many arguments for format [-Wformat-extra-args] - 112 | "Managed buffer free function was called unexpectedly."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:213:5: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal("Values", "%d", -1, v1); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_02_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:225:5: note: in expansion of macro 'fail_if_error' + 225 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:226:5: note: in expansion of macro 'fail_if_error' + 226 | fail_if_error(cork_thread_start(t1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:227:5: note: in expansion of macro 'fail_if_error' + 227 | fail_if_error(cork_thread_join(t1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c: In function 'verify_path_list_content': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:228:5: note: in expansion of macro 'fail_unless_equal' + 228 | fail_unless_equal("Values", "%d", 1, v1); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c:317:5: note: in expansion of macro 'fail_unless_streq' + 317 | fail_unless_streq("path lists", expected, buf.buf); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c: In function 'test_path_list': +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_03_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:241:5: note: in expansion of macro 'fail_if_error' + 241 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c:330:5: note: in expansion of macro 'fail_unless_streq' + 330 | fail_unless_streq("path lists", p, cork_path_list_to_string(list)); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:242:5: note: in expansion of macro 'fail_if_error' + 242 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:243:5: note: in expansion of macro 'fail_if_error' + 243 | fail_if_error(cork_thread_start(t1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c: In function 'test_file_exists': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:244:5: note: in expansion of macro 'fail_if_error' + 244 | fail_if_error(cork_thread_start(t2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-files.c:359:5: note: in expansion of macro 'fail_if_error' + 359 | fail_if_error(cork_file_exists(file, &actual)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:245:5: note: in expansion of macro 'fail_if_error' + 245 | fail_if_error(cork_thread_join(t1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c:360:37: warning: too many arguments for format [-Wformat-extra-args] + 360 | fail_unless(actual == expected, "File %s should%s exist", + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:246:5: note: in expansion of macro 'fail_if_error' + 246 | fail_if_error(cork_thread_join(t2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:247:5: note: in expansion of macro 'fail_unless_equal' + 247 | fail_unless_equal("Values", "%d", 1, v1); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:248:5: note: in expansion of macro 'fail_unless_equal' + 248 | fail_unless_equal("Values", "%d", 2, v2); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_04_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:261:5: note: in expansion of macro 'fail_if_error' + 261 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:262:5: note: in expansion of macro 'fail_if_error' + 262 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:263:5: note: in expansion of macro 'fail_if_error' + 263 | fail_if_error(cork_thread_start(t1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:264:5: note: in expansion of macro 'fail_if_error' + 264 | fail_if_error(cork_thread_start(t2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:265:5: note: in expansion of macro 'fail_if_error' + 265 | fail_if_error(cork_thread_join(t2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:266:5: note: in expansion of macro 'fail_if_error' + 266 | fail_if_error(cork_thread_join(t1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:267:5: note: in expansion of macro 'fail_unless_equal' + 267 | fail_unless_equal("Values", "%d", 1, v1); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:268:5: note: in expansion of macro 'fail_unless_equal' + 268 | fail_unless_equal("Values", "%d", 2, v2); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_error_01_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:277:5: note: in expansion of macro 'fail_if_error' + 277 | fail_if_error(t1 = cork_thread_new + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:279:5: note: in expansion of macro 'fail_if_error' + 279 | fail_if_error(cork_thread_start(t1)); + | ^~~~~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-threads.dir/test-threads.c.o -c /build/libcork-0.15.0+ds/tests/test-threads.c /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3889,28 +5094,13 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_fn': -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:131:23: warning: too many arguments for format [-Wformat-extra-args] - 131 | "Shouldn't be able to slice a NULL buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:129:5: note: in expansion of macro 'fail_unless_error' - 129 | fail_unless_error(cork_managed_buffer_slice - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:134:23: warning: too many arguments for format [-Wformat-extra-args] - 134 | "Shouldn't be able to slice a NULL buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:132:5: note: in expansion of macro 'fail_unless_error' - 132 | fail_unless_error(cork_managed_buffer_slice_offset - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:93:5: note: in expansion of macro 'test_sum' - 93 | test_sum(©, 55); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' - 100 | test_int(int8_t) - | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-threads.c:320:10: warning: unused parameter 'argc' [-Wunused-parameter] + 320 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:320:29: warning: unused parameter 'argv' [-Wunused-parameter] + 320 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3923,41 +5113,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:138:23: warning: too many arguments for format [-Wformat-extra-args] - 138 | "Shouldn't be able to slice a NULL slice"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:136:5: note: in expansion of macro 'fail_unless_error' - 136 | fail_unless_error(cork_slice_copy - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:141:23: warning: too many arguments for format [-Wformat-extra-args] - 141 | "Shouldn't be able to slice a NULL slice"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:139:5: note: in expansion of macro 'fail_unless_error' - 139 | fail_unless_error(cork_slice_copy_offset - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_int16_t_fn': -/build/libcork-0.15.0+ds/tests/test-array.c:64:17: warning: too many arguments for format [-Wformat-extra-args] - 64 | "Unexpected size of array: got %zu, expected 0", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_refcount_fn': -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:69:5: note: in expansion of macro 'test_sum' - 69 | test_sum(&array, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:164:5: note: in expansion of macro 'fail_if_error' - 164 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3970,73 +5125,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:170:5: note: in expansion of macro 'fail_if_error' - 170 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:171:5: note: in expansion of macro 'fail_if_error' - 171 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:172:5: note: in expansion of macro 'fail_if_error' - 172 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:180:17: warning: too many arguments for format [-Wformat-extra-args] - 180 | "Managed buffer free function never called."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:71:5: note: in expansion of macro 'test_sum' - 71 | test_sum(&array, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4049,114 +5137,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_bad_refcount_fn': -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:199:5: note: in expansion of macro 'fail_if_error' - 199 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:73:5: note: in expansion of macro 'test_sum' - 73 | test_sum(&array, 3); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:205:5: note: in expansion of macro 'fail_if_error' - 205 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:206:5: note: in expansion of macro 'fail_if_error' - 206 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:207:5: note: in expansion of macro 'fail_if_error' - 207 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4169,68 +5149,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:215:13: warning: too many arguments for format [-Wformat-extra-args] - 215 | "Managed buffer free function was called unexpectedly."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:75:5: note: in expansion of macro 'test_sum' - 75 | test_sum(&array, 6); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_equals_01_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:239:5: note: in expansion of macro 'fail_if_error' - 239 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:244:5: note: in expansion of macro 'fail_if_error' - 244 | fail_if_error(cork_managed_buffer_slice_offset(&ps1, pb, 0)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4243,68 +5161,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:245:5: note: in expansion of macro 'fail_if_error' - 245 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 0, LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:248:17: warning: too many arguments for format [-Wformat-extra-args] - 248 | "Slices aren't equal"); - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:77:5: note: in expansion of macro 'test_sum' - 77 | test_sum(&array, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_equals_02_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:269:5: note: in expansion of macro 'fail_if_error' - 269 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4317,79 +5173,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:275:5: note: in expansion of macro 'fail_if_error' - 275 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 3, 3)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:277:5: note: in expansion of macro 'fail_if_error' - 277 | fail_if_error(cork_managed_buffer_slice_offset(&ps2, pb, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:79:5: note: in expansion of macro 'test_sum' - 79 | test_sum(&array, 15); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:278:5: note: in expansion of macro 'fail_if_error' - 278 | fail_if_error(cork_slice_copy(&ps3, &ps2, 2, 3)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:279:5: note: in expansion of macro 'fail_if_error' - 279 | fail_if_error(cork_slice_slice(&ps2, 2, 3)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:282:17: warning: too many arguments for format [-Wformat-extra-args] - 282 | "Slices aren't equal"); - | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4402,56 +5185,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:284:17: warning: too many arguments for format [-Wformat-extra-args] - 284 | "Slices aren't equal"); - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:81:5: note: in expansion of macro 'test_sum' - 81 | test_sum(&array, 21); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'main': /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4464,48 +5197,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:327:10: warning: unused parameter 'argc' [-Wunused-parameter] - 327 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:83:5: note: in expansion of macro 'test_sum' - 83 | test_sum(&array, 28); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:327:29: warning: unused parameter 'argv' [-Wunused-parameter] - 327 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4518,16 +5209,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4540,27 +5221,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:85:5: note: in expansion of macro 'test_sum' - 85 | test_sum(&array, 36); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4573,52 +5233,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:87:5: note: in expansion of macro 'test_sum' - 87 | test_sum(&array, 45); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4631,49 +5245,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:89:5: note: in expansion of macro 'test_sum' - 89 | test_sum(&array, 55); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:92:5: note: in expansion of macro 'fail_if_error' - 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4686,22 +5257,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:93:5: note: in expansion of macro 'test_sum' - 93 | test_sum(©, 55); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' - 101 | test_int(int16_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_int32_t_fn': -/build/libcork-0.15.0+ds/tests/test-array.c:64:17: warning: too many arguments for format [-Wformat-extra-args] - 64 | "Unexpected size of array: got %zu, expected 0", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4714,52 +5269,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:69:5: note: in expansion of macro 'test_sum' - 69 | test_sum(&array, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4772,36 +5281,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:71:5: note: in expansion of macro 'test_sum' - 71 | test_sum(&array, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4814,57 +5293,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:73:5: note: in expansion of macro 'test_sum' - 73 | test_sum(&array, 3); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-files.c:15: -/build/libcork-0.15.0+ds/tests/test-files.c: In function 'verify_path_content': -/build/libcork-0.15.0+ds/tests/test-files.c:34:42: warning: too many arguments for format [-Wformat-extra-args] - 34 | fail_if(cork_path_get(path) == NULL, "Path should not have NULL content"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4877,58 +5305,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:75:5: note: in expansion of macro 'test_sum' - 75 | test_sum(&array, 6); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c:35:5: note: in expansion of macro 'fail_unless_streq' - 35 | fail_unless_streq("Paths", expected, cork_path_get(path)); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4941,52 +5317,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:77:5: note: in expansion of macro 'test_sum' - 77 | test_sum(&array, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4999,52 +5329,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:79:5: note: in expansion of macro 'test_sum' - 79 | test_sum(&array, 15); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5057,52 +5341,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:81:5: note: in expansion of macro 'test_sum' - 81 | test_sum(&array, 21); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5115,48 +5353,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-subprocess.c:16: -/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'verify_consumer__eof': -/build/libcork-0.15.0+ds/tests/test-subprocess.c:60:17: warning: too many arguments for format [-Wformat-extra-args] - 60 | "Unexpected %s: got\n%s\nexpected\n%s\n", self->name, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:83:5: note: in expansion of macro 'test_sum' - 83 | test_sum(&array, 28); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5169,65 +5365,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'test_subprocesses_': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:144:9: note: in expansion of macro 'fail_if_error' - 144 | fail_if_error(exec = cork_exec_new_with_param_array - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:85:5: note: in expansion of macro 'test_sum' - 85 | test_sum(&array, 36); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:147:9: note: in expansion of macro 'fail_if_error' - 147 | fail_if_error(sub = cork_subprocess_new_exec - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5240,79 +5377,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:153:5: note: in expansion of macro 'fail_if_error' - 153 | fail_if_error(cork_subprocess_group_start(group)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:154:5: note: in expansion of macro 'fail_if_error' - 154 | fail_if_error(cork_subprocess_group_wait(group)); - | ^~~~~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c: In function 'verify_path_list_content': -[ 57%] Building C object tests/CMakeFiles/embedded-test-slice.dir/test-slice.c.o -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:87:5: note: in expansion of macro 'test_sum' - 87 | test_sum(&array, 45); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:158:9: note: in expansion of macro 'fail_unless_equal' - 158 | fail_unless_equal("Exit codes", "%d", - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c:317:5: note: in expansion of macro 'fail_unless_streq' - 317 | fail_unless_streq("path lists", expected, buf.buf); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c: At top level: /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5325,81 +5389,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:178:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 178 | }; - | ^ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c: In function 'test_path_list': -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c:330:5: note: in expansion of macro 'fail_unless_streq' - 330 | fail_unless_streq("path lists", p, cork_path_list_to_string(list)); - | ^~~~~~~~~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:183:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 183 | }; - | ^ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:89:5: note: in expansion of macro 'test_sum' - 89 | test_sum(&array, 55); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:192:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 192 | }; - | ^ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:197:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 197 | }; - | ^ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:92:5: note: in expansion of macro 'fail_if_error' - 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c: In function 'test_file_exists': /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5412,31 +5401,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-files.c:359:5: note: in expansion of macro 'fail_if_error' - 359 | fail_if_error(cork_file_exists(file, &actual)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:93:5: note: in expansion of macro 'test_sum' - 93 | test_sum(©, 55); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' - 102 | test_int(int32_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c:360:37: warning: too many arguments for format [-Wformat-extra-args] - 360 | fail_unless(actual == expected, "File %s should%s exist", - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_int64_t_fn': -/build/libcork-0.15.0+ds/tests/test-array.c:64:17: warning: too many arguments for format [-Wformat-extra-args] - 64 | "Unexpected size of array: got %zu, expected 0", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5449,56 +5413,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:69:5: note: in expansion of macro 'test_sum' - 69 | test_sum(&array, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' - 70 | add_element ( 1, 1); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:267:10: warning: unused parameter 'argc' [-Wunused-parameter] - 267 | main(int argc, const char **argv) - | ~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5511,55 +5425,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:267:29: warning: unused parameter 'argv' [-Wunused-parameter] - 267 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:71:5: note: in expansion of macro 'test_sum' - 71 | test_sum(&array, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' - 72 | add_element0( 2, 2, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5572,145 +5437,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:73:5: note: in expansion of macro 'test_sum' - 73 | test_sum(&array, 3); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' - 74 | add_element ( 3, 3); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:75:5: note: in expansion of macro 'test_sum' - 75 | test_sum(&array, 6); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' - 76 | add_element0( 4, 4, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:77:5: note: in expansion of macro 'test_sum' - 77 | test_sum(&array, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -[ 57%] Built target libcork-shared -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' - 78 | add_element0( 5, 5, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5723,52 +5449,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:79:5: note: in expansion of macro 'test_sum' - 79 | test_sum(&array, 15); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' - 80 | add_element ( 6, 6); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5781,52 +5461,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:81:5: note: in expansion of macro 'test_sum' - 81 | test_sum(&array, 21); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' - 82 | add_element ( 7, 7); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5839,53 +5473,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-slice.dir/test-slice.c.o -c /build/libcork-0.15.0+ds/tests/test-slice.c -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:83:5: note: in expansion of macro 'test_sum' - 83 | test_sum(&array, 28); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' - 84 | add_element0( 8, 8, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5898,36 +5485,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:85:5: note: in expansion of macro 'test_sum' - 85 | test_sum(&array, 36); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' - 27 | fail_if_error(cork_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5940,52 +5497,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] - 29 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' - 86 | add_element ( 9, 9); \ - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:87:5: note: in expansion of macro 'test_sum' - 87 | test_sum(&array, 45); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(__element = cork_array_append_get(&array)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5998,49 +5509,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ~~^ - | | - | long unsigned int - | %u -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' - 88 | add_element0(10, 10, int_type); \ - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:89:5: note: in expansion of macro 'test_sum' - 89 | test_sum(&array, 55); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:92:5: note: in expansion of macro 'fail_if_error' - 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Unexpected sum, got %ld, expected %ld", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:93:5: note: in expansion of macro 'test_sum' - 93 | test_sum(©, 55); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' - 103 | test_int(int64_t) - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6053,22 +5521,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_string_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:111:5: note: in expansion of macro 'fail_if_error' - 111 | fail_if_error(cork_string_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:129:5: note: in expansion of macro 'add_string' - 129 | add_string("hello", 1); - | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] - 113 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:129:5: note: in expansion of macro 'add_string' - 129 | add_string("hello", 1); - | ^~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6081,36 +5533,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:111:5: note: in expansion of macro 'fail_if_error' - 111 | fail_if_error(cork_string_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:130:5: note: in expansion of macro 'add_string' - 130 | add_string("there", 2); - | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] - 113 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:130:5: note: in expansion of macro 'add_string' - 130 | add_string("there", 2); - | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:111:5: note: in expansion of macro 'fail_if_error' - 111 | fail_if_error(cork_string_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:131:5: note: in expansion of macro 'add_string' - 131 | add_string("world", 3); - | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] - 113 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:131:5: note: in expansion of macro 'add_string' - 131 | add_string("world", 3); - | ^~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6123,33 +5545,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' - 119 | fail_unless_streq("Array elements", expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:132:5: note: in expansion of macro 'test_string' - 132 | test_string(&array, 0, "hello"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' - 119 | fail_unless_streq("Array elements", expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:133:5: note: in expansion of macro 'test_string' - 133 | test_string(&array, 1, "there"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' - 119 | fail_unless_streq("Array elements", expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:134:5: note: in expansion of macro 'test_string' - 134 | test_string(&array, 2, "world"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6162,36 +5557,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:111:5: note: in expansion of macro 'fail_if_error' - 111 | fail_if_error(cork_string_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:136:5: note: in expansion of macro 'add_string' - 136 | add_string("reusing", 1); - | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] - 113 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:136:5: note: in expansion of macro 'add_string' - 136 | add_string("reusing", 1); - | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:111:5: note: in expansion of macro 'fail_if_error' - 111 | fail_if_error(cork_string_array_append(&array, element)); \ - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:137:5: note: in expansion of macro 'add_string' - 137 | add_string("entries", 2); - | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] - 113 | "Unexpected size of array: got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:137:5: note: in expansion of macro 'add_string' - 137 | add_string("entries", 2); - | ^~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6204,43 +5569,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -make -f tests/CMakeFiles/embedded-test-hash-table.dir/build.make tests/CMakeFiles/embedded-test-hash-table.dir/depend -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' - 119 | fail_unless_streq("Array elements", expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:138:5: note: in expansion of macro 'test_string' - 138 | test_string(&array, 0, "reusing"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' - 119 | fail_unless_streq("Array elements", expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:139:5: note: in expansion of macro 'test_string' - 139 | test_string(&array, 1, "entries"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' - 119 | fail_unless_streq("Array elements", expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:143:5: note: in expansion of macro 'test_string' - 143 | test_string(©, 0, "reusing"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' - 119 | fail_unless_streq("Array elements", expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:144:5: note: in expansion of macro 'test_string' - 144 | test_string(©, 1, "entries"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6253,70 +5581,16 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array__init': -/build/libcork-0.15.0+ds/tests/test-array.c:164:41: warning: unused parameter 'vvalue' [-Wunused-parameter] - 164 | test_array__init(void *user_data, void *vvalue) - | ~~~~~~^~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array__done': -/build/libcork-0.15.0+ds/tests/test-array.c:171:41: warning: unused parameter 'vvalue' [-Wunused-parameter] - 171 | test_array__done(void *user_data, void *vvalue) - | ~~~~~~^~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array__reuse': -/build/libcork-0.15.0+ds/tests/test-array.c:178:42: warning: unused parameter 'vvalue' [-Wunused-parameter] - 178 | test_array__reuse(void *user_data, void *vvalue) - | ~~~~~~^~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array__remove': -/build/libcork-0.15.0+ds/tests/test-array.c:185:43: warning: unused parameter 'vvalue' [-Wunused-parameter] - 185 | test_array__remove(void *user_data, void *vvalue) - | ~~~~~~^~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:504:17: warning: too many arguments for format [-Wformat-extra-args] 504 | "Bad CIDR block for 1.2.3.4 and %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:507:13: warning: too many arguments for format [-Wformat-extra-args] 507 | "IPv4 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_callbacks_fn': /build/libcork-0.15.0+ds/tests/test-core.c:510:13: warning: too many arguments for format [-Wformat-extra-args] 510 | "IPv4 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:226:5: note: in expansion of macro 'check_counts' - 226 | check_counts(&counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:226:5: note: in expansion of macro 'check_counts' - 226 | check_counts(&counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_ipv6_address_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:226:5: note: in expansion of macro 'check_counts' - 226 | check_counts(&counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:226:5: note: in expansion of macro 'check_counts' - 226 | check_counts(&counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -6329,24 +5603,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:229:5: note: in expansion of macro 'check_counts' - 229 | check_counts(&counts, 2, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:229:5: note: in expansion of macro 'check_counts' - 229 | check_counts(&counts, 2, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6356,15 +5612,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:229:5: note: in expansion of macro 'check_counts' - 229 | check_counts(&counts, 2, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6374,15 +5621,8 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:229:5: note: in expansion of macro 'check_counts' - 229 | check_counts(&counts, 2, 0, 0, 0); - | ^~~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 61%] Linking C executable shared-test-dllist /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -6395,33 +5635,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' - 232 | check_counts(&counts, 4, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' - 232 | check_counts(&counts, 4, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' - 232 | check_counts(&counts, 4, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6431,24 +5644,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' - 232 | check_counts(&counts, 4, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' - 234 | check_counts(&counts, 4, 0, 0, 4); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6458,24 +5653,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' - 234 | check_counts(&counts, 4, 0, 0, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' - 234 | check_counts(&counts, 4, 0, 0, 4); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -6488,24 +5665,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' - 234 | check_counts(&counts, 4, 0, 0, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' - 237 | check_counts(&counts, 4, 0, 2, 4); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6515,33 +5674,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' - 237 | check_counts(&counts, 4, 0, 2, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' - 237 | check_counts(&counts, 4, 0, 2, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' - 237 | check_counts(&counts, 4, 0, 2, 4); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6551,24 +5683,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:240:5: note: in expansion of macro 'check_counts' - 240 | check_counts(&counts, 4, 0, 4, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:240:5: note: in expansion of macro 'check_counts' - 240 | check_counts(&counts, 4, 0, 4, 4); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -6581,24 +5695,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:240:5: note: in expansion of macro 'check_counts' - 240 | check_counts(&counts, 4, 0, 4, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:240:5: note: in expansion of macro 'check_counts' - 240 | check_counts(&counts, 4, 0, 4, 4); - | ^~~~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-dllist.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6608,33 +5705,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:242:5: note: in expansion of macro 'check_counts' - 242 | check_counts(&counts, 5, 0, 4, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:242:5: note: in expansion of macro 'check_counts' - 242 | check_counts(&counts, 5, 0, 4, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:242:5: note: in expansion of macro 'check_counts' - 242 | check_counts(&counts, 5, 0, 4, 4); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6644,24 +5714,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:242:5: note: in expansion of macro 'check_counts' - 242 | check_counts(&counts, 5, 0, 4, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:245:5: note: in expansion of macro 'check_counts' - 245 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -6674,24 +5726,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:245:5: note: in expansion of macro 'check_counts' - 245 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:245:5: note: in expansion of macro 'check_counts' - 245 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6701,35 +5735,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:245:5: note: in expansion of macro 'check_counts' - 245 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' - 247 | check_counts(©_counts, 5, 0, 0, 0); - | ^~~~~~~~~~~~ -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-hash-table.dir/DependInfo.cmake --color= -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' - 247 | check_counts(©_counts, 5, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6739,24 +5744,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' - 247 | check_counts(©_counts, 5, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' - 247 | check_counts(©_counts, 5, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -6769,24 +5756,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:249:5: note: in expansion of macro 'check_counts' - 249 | check_counts(©_counts, 5, 5, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:249:5: note: in expansion of macro 'check_counts' - 249 | check_counts(©_counts, 5, 5, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6796,33 +5765,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:249:5: note: in expansion of macro 'check_counts' - 249 | check_counts(©_counts, 5, 5, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:249:5: note: in expansion of macro 'check_counts' - 249 | check_counts(©_counts, 5, 5, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:252:5: note: in expansion of macro 'check_counts' - 252 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6832,24 +5774,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:252:5: note: in expansion of macro 'check_counts' - 252 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:252:5: note: in expansion of macro 'check_counts' - 252 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -6862,24 +5786,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:252:5: note: in expansion of macro 'check_counts' - 252 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' - 255 | check_counts(©_counts, 2, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6889,24 +5795,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' - 255 | check_counts(©_counts, 2, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' - 255 | check_counts(©_counts, 2, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6916,24 +5804,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' - 255 | check_counts(©_counts, 2, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:257:5: note: in expansion of macro 'check_counts' - 257 | check_counts(©_counts, 5, 0, 2, 2); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -6946,33 +5816,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:257:5: note: in expansion of macro 'check_counts' - 257 | check_counts(©_counts, 5, 0, 2, 2); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:257:5: note: in expansion of macro 'check_counts' - 257 | check_counts(©_counts, 5, 0, 2, 2); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:257:5: note: in expansion of macro 'check_counts' - 257 | check_counts(©_counts, 5, 0, 2, 2); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6982,24 +5825,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:259:5: note: in expansion of macro 'check_counts' - 259 | check_counts(©_counts, 5, 5, 2, 2); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:259:5: note: in expansion of macro 'check_counts' - 259 | check_counts(©_counts, 5, 5, 2, 2); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7009,24 +5834,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:259:5: note: in expansion of macro 'check_counts' - 259 | check_counts(©_counts, 5, 5, 2, 2); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:259:5: note: in expansion of macro 'check_counts' - 259 | check_counts(©_counts, 5, 5, 2, 2); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -7039,24 +5846,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:262:5: note: in expansion of macro 'check_counts' - 262 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:262:5: note: in expansion of macro 'check_counts' - 262 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7066,24 +5855,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:262:5: note: in expansion of macro 'check_counts' - 262 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:262:5: note: in expansion of macro 'check_counts' - 262 | check_counts(©_counts, 0, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7093,15 +5864,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:270:5: note: in expansion of macro 'check_counts' - 270 | check_counts(©_counts, 7, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -7114,24 +5876,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:270:5: note: in expansion of macro 'check_counts' - 270 | check_counts(©_counts, 7, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:270:5: note: in expansion of macro 'check_counts' - 270 | check_counts(©_counts, 7, 0, 0, 0); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7141,24 +5885,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:270:5: note: in expansion of macro 'check_counts' - 270 | check_counts(©_counts, 7, 0, 0, 0); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:272:5: note: in expansion of macro 'check_counts' - 272 | check_counts(©_counts, 7, 0, 5, 7); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7168,33 +5894,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:272:5: note: in expansion of macro 'check_counts' - 272 | check_counts(©_counts, 7, 0, 5, 7); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:272:5: note: in expansion of macro 'check_counts' - 272 | check_counts(©_counts, 7, 0, 5, 7); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:272:5: note: in expansion of macro 'check_counts' - 272 | check_counts(©_counts, 7, 0, 5, 7); - | ^~~~~~~~~~~~ +[ 62%] Linking C executable shared-test-slice /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -7207,24 +5907,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:274:5: note: in expansion of macro 'check_counts' - 274 | check_counts(©_counts, 7, 7, 5, 7); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:274:5: note: in expansion of macro 'check_counts' - 274 | check_counts(©_counts, 7, 7, 5, 7); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7234,24 +5916,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:274:5: note: in expansion of macro 'check_counts' - 274 | check_counts(©_counts, 7, 7, 5, 7); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:274:5: note: in expansion of macro 'check_counts' - 274 | check_counts(©_counts, 7, 7, 5, 7); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7261,33 +5925,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' - 207 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:277:5: note: in expansion of macro 'check_counts' - 277 | check_counts(&counts, 5, 5, 4, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' - 209 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:277:5: note: in expansion of macro 'check_counts' - 277 | check_counts(&counts, 5, 5, 4, 4); - | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' - 211 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:277:5: note: in expansion of macro 'check_counts' - 277 | check_counts(&counts, 5, 5, 4, 4); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -7300,15 +5937,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:277:5: note: in expansion of macro 'check_counts' - 277 | check_counts(&counts, 5, 5, 4, 4); - | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7318,13 +5946,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-array.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-array.c:305:10: warning: unused parameter 'argc' [-Wunused-parameter] - 305 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-array.c:305:29: warning: unused parameter 'argv' [-Wunused-parameter] - 305 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-slice.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7346,6 +5968,17 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-managed-buffer.c:13: +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_managed_buffer_refcount_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:74:5: note: in expansion of macro 'fail_if_error' + 74 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:85:17: warning: too many arguments for format [-Wformat-extra-args] + 85 | "Managed buffer free function never called."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7355,6 +5988,16 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_managed_buffer_bad_refcount_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:100:5: note: in expansion of macro 'fail_if_error' + 100 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:112:13: warning: too many arguments for format [-Wformat-extra-args] + 112 | "Managed buffer free function was called unexpectedly."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7364,6 +6007,13 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_fn': +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:131:23: warning: too many arguments for format [-Wformat-extra-args] + 131 | "Shouldn't be able to slice a NULL buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:129:5: note: in expansion of macro 'fail_unless_error' + 129 | fail_unless_error(cork_managed_buffer_slice + | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -7376,6 +6026,24 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:134:23: warning: too many arguments for format [-Wformat-extra-args] + 134 | "Shouldn't be able to slice a NULL buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:132:5: note: in expansion of macro 'fail_unless_error' + 132 | fail_unless_error(cork_managed_buffer_slice_offset + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:138:23: warning: too many arguments for format [-Wformat-extra-args] + 138 | "Shouldn't be able to slice a NULL slice"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:136:5: note: in expansion of macro 'fail_unless_error' + 136 | fail_unless_error(cork_slice_copy + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:141:23: warning: too many arguments for format [-Wformat-extra-args] + 141 | "Shouldn't be able to slice a NULL slice"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:139:5: note: in expansion of macro 'fail_unless_error' + 139 | fail_unless_error(cork_slice_copy_offset + | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7385,6 +6053,19 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_refcount_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:164:5: note: in expansion of macro 'fail_if_error' + 164 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:170:5: note: in expansion of macro 'fail_if_error' + 170 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7397,6 +6078,18 @@ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:171:5: note: in expansion of macro 'fail_if_error' + 171 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:172:5: note: in expansion of macro 'fail_if_error' + 172 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:523:9: note: in expansion of macro 'fail_if_error' 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ @@ -7406,6 +6099,16 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:180:17: warning: too many arguments for format [-Wformat-extra-args] + 180 | "Managed buffer free function never called."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_bad_refcount_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:199:5: note: in expansion of macro 'fail_if_error' + 199 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7415,6 +6118,18 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:205:5: note: in expansion of macro 'fail_if_error' + 205 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:206:5: note: in expansion of macro 'fail_if_error' + 206 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7424,6 +6139,22 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:207:5: note: in expansion of macro 'fail_if_error' + 207 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:215:13: warning: too many arguments for format [-Wformat-extra-args] + 215 | "Managed buffer free function was called unexpectedly."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_equals_01_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:239:5: note: in expansion of macro 'fail_if_error' + 239 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7436,6 +6167,22 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:244:5: note: in expansion of macro 'fail_if_error' + 244 | fail_if_error(cork_managed_buffer_slice_offset(&ps1, pb, 0)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:245:5: note: in expansion of macro 'fail_if_error' + 245 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 0, LEN)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:248:17: warning: too many arguments for format [-Wformat-extra-args] + 248 | "Slices aren't equal"); + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_equals_02_fn': /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7448,6 +6195,30 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:269:5: note: in expansion of macro 'fail_if_error' + 269 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:275:5: note: in expansion of macro 'fail_if_error' + 275 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 3, 3)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:277:5: note: in expansion of macro 'fail_if_error' + 277 | fail_if_error(cork_managed_buffer_slice_offset(&ps2, pb, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:278:5: note: in expansion of macro 'fail_if_error' + 278 | fail_if_error(cork_slice_copy(&ps3, &ps2, 2, 3)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7460,6 +6231,18 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:279:5: note: in expansion of macro 'fail_if_error' + 279 | fail_if_error(cork_slice_slice(&ps2, 2, 3)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:282:17: warning: too many arguments for format [-Wformat-extra-args] + 282 | "Slices aren't equal"); + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:284:17: warning: too many arguments for format [-Wformat-extra-args] + 284 | "Slices aren't equal"); + | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7472,6 +6255,13 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:327:10: warning: unused parameter 'argc' [-Wunused-parameter] + 327 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:327:29: warning: unused parameter 'argv' [-Wunused-parameter] + 327 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7532,6 +6322,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +reading sources... [ 29%] config /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -7574,6 +6365,14 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'uint64__equals': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:36:22: warning: unused parameter 'user_data' [-Wunused-parameter] + 36 | uint64__equals(void *user_data, const void *va, const void *vb) + | ~~~~~~^~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'uint64__hash': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:48:20: warning: unused parameter 'user_data' [-Wunused-parameter] + 48 | uint64__hash(void *user_data, const void *velement) + | ~~~~~~^~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7583,6 +6382,11 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-hash-table.c:14: +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_map_sum': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:72:17: warning: too many arguments for format [-Wformat-extra-args] + 72 | "Unexpected map sum, got %" PRIu64 + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7592,6 +6396,11 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_iterator_sum': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:89:17: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Unexpected iterator sum, got %" PRIu64 + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_map_to_string': /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -7604,6 +6413,19 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:114:5: note: in expansion of macro 'fail_unless_streq' + 114 | fail_unless_streq("Integer arrays", expected, buf.buf); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_iterator_to_string': +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:135:5: note: in expansion of macro 'fail_unless_streq' + 135 | fail_unless_streq("Integer arrays", expected, buf.buf); + | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7613,6 +6435,10 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_uint64_hash_table_fn': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:154:17: warning: too many arguments for format [-Wformat-extra-args] + 154 | "Hash table should start empty"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7622,6 +6448,18 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:158:17: warning: too many arguments for format [-Wformat-extra-args] + 158 | "Shouldn't get value pointer from empty hash table"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:169:5: note: in expansion of macro 'fail_if_error' + 169 | fail_if_error(cork_hash_table_put + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:172:25: warning: too many arguments for format [-Wformat-extra-args] + 172 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -7634,6 +6472,21 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:177:17: warning: too many arguments for format [-Wformat-extra-args] + 177 | "Unexpected previous key"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:179:17: warning: too many arguments for format [-Wformat-extra-args] + 179 | "Unexpected previous value"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:182:17: warning: too many arguments for format [-Wformat-extra-args] + 182 | "Unexpected size after adding {0->32}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:184:5: note: in expansion of macro 'fail_if_error' + 184 | fail_if_error(entry = cork_hash_table_get_or_create + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7643,6 +6496,15 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:186:21: warning: too many arguments for format [-Wformat-extra-args] + 186 | fail_if(is_new, "Shouldn't create new {0=>X} entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:189:17: warning: too many arguments for format [-Wformat-extra-args] + 189 | "Unexpected value for {0=>X} entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:192:17: warning: too many arguments for format [-Wformat-extra-args] + 192 | "Unexpected size after retrieving {0->32}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7655,6 +6517,18 @@ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:195:5: note: in expansion of macro 'fail_if_error' + 195 | fail_if_error(entry = cork_hash_table_get_or_create + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:197:25: warning: too many arguments for format [-Wformat-extra-args] + 197 | fail_unless(is_new, "Should create new {1=>X} entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:206:17: warning: too many arguments for format [-Wformat-extra-args] + 206 | "Unexpected size after adding {1=>2}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:523:9: note: in expansion of macro 'fail_if_error' 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ @@ -7664,6 +6538,19 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:215:17: warning: too many arguments for format [-Wformat-extra-args] + 215 | "Couldn't delete {0=>32}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +[ 63%] Linking C executable cork-hash +/build/libcork-0.15.0+ds/tests/test-hash-table.c:218:17: warning: too many arguments for format [-Wformat-extra-args] + 218 | "Unexpected size after deleting entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:225:13: warning: too many arguments for format [-Wformat-extra-args] + 225 | "Shouldn't be able to delete nonexistent {3=>X}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:230:17: warning: too many arguments for format [-Wformat-extra-args] + 230 | "Unexpected size after deleting last entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7673,6 +6560,21 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:241:5: note: in expansion of macro 'fail_if_error' + 241 | fail_if_error(cork_hash_table_put + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:244:25: warning: too many arguments for format [-Wformat-extra-args] + 244 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:252:5: note: in expansion of macro 'fail_if_error' + 252 | fail_if_error(cork_hash_table_put + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7682,11 +6584,13 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-bitset.c:14: -/build/libcork-0.15.0+ds/tests/test-bitset.c: In function 'test_bitset_of_size': -/build/libcork-0.15.0+ds/tests/test-bitset.c:34:46: warning: too many arguments for format [-Wformat-extra-args] - 34 | fail_unless(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:255:25: warning: too many arguments for format [-Wformat-extra-args] + 255 | fail_unless(is_new, "Couldn't append {1=>2} to hash table"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:261:17: warning: too many arguments for format [-Wformat-extra-args] + 261 | "Unexpected size after deleting entries using map"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-hash.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -7699,11 +6603,19 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-bitset.c:39:42: warning: too many arguments for format [-Wformat-extra-args] - 39 | fail_if(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-threads.c:15: -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_int_fn': +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_string_hash_table_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:281:5: note: in expansion of macro 'fail_if_error' + 281 | fail_if_error(cork_hash_table_put + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:284:17: warning: too many arguments for format [-Wformat-extra-args] + 284 | "Unexpected size after adding {key1->1}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:288:13: warning: too many arguments for format [-Wformat-extra-args] + 288 | "No entry for key1"); + | ^~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7713,37 +6625,13 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' - 46 | test_atomic_op(name, type, fmt, add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' - 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-bitset.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-bitset.c:91:10: warning: unused parameter 'argc' [-Wunused-parameter] - 91 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-bitset.c:91:29: warning: unused parameter 'argv' [-Wunused-parameter] - 91 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:291:17: warning: too many arguments for format [-Wformat-extra-args] + 291 | "Unexpected value for key1"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:295:17: warning: too many arguments for format [-Wformat-extra-args] + 295 | "Unexpected entry for key2"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_pointer_hash_table_fn': /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7753,51 +6641,21 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' - 48 | test_atomic_op(name, type, fmt, add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' - 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' - 50 | fail_unless_equal(#name, fmt, 4, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' - 51 | test_atomic_op(name, type, fmt, sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:315:5: note: in expansion of macro 'fail_if_error' + 315 | fail_if_error(cork_hash_table_put + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:318:17: warning: too many arguments for format [-Wformat-extra-args] + 318 | "Unexpected size after adding {key1->1}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:321:13: warning: too many arguments for format [-Wformat-extra-args] + 321 | "No entry for key1"); + | ^~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:324:17: warning: too many arguments for format [-Wformat-extra-args] + 324 | "Unexpected value for key1"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7810,51 +6668,16 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' - 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' - 53 | test_atomic_op(name, type, fmt, sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' - 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' - 55 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:327:17: warning: too many arguments for format [-Wformat-extra-args] + 327 | "Unexpected entry for key2"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:354:10: warning: unused parameter 'argc' [-Wunused-parameter] + 354 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:354:29: warning: unused parameter 'argv' [-Wunused-parameter] + 354 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7867,42 +6690,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' - 57 | test_cas(name, type, fmt, 0, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' - 58 | test_cas(name, type, fmt, 1, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' - 59 | test_cas(name, type, fmt, 10, 2); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7915,85 +6702,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' - 60 | test_cas(name, type, fmt, 2, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' - 61 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_uint_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' - 46 | test_atomic_op(name, type, fmt, add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' - 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' - 48 | test_atomic_op(name, type, fmt, add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' - 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' - 50 | fail_unless_equal(#name, fmt, 4, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8006,54 +6714,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' - 51 | test_atomic_op(name, type, fmt, sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' - 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' - 53 | test_atomic_op(name, type, fmt, sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' - 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ +[ 64%] Linking C executable shared-test-gc /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8066,51 +6727,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' - 55 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' - 57 | test_cas(name, type, fmt, 0, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' - 58 | test_cas(name, type, fmt, 1, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' - 59 | test_cas(name, type, fmt, 10, 2); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-dllist.dir/test-dllist.c.o -o shared-test-dllist -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8123,28 +6740,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' - 60 | test_cas(name, type, fmt, 2, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' - 61 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_size_fn': /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8157,81 +6752,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' - 46 | test_atomic_op(name, type, fmt, add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' - 46 | test_atomic_op(name, type, fmt, add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' - 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' - 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' - 48 | test_atomic_op(name, type, fmt, add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-gc.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8244,70 +6765,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' - 48 | test_atomic_op(name, type, fmt, add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' - 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' - 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' - 50 | fail_unless_equal(#name, fmt, 4, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' - 50 | fail_unless_equal(#name, fmt, 4, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8320,64 +6777,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' - 51 | test_atomic_op(name, type, fmt, sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' - 51 | test_atomic_op(name, type, fmt, sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' - 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' - 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8390,87 +6789,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' - 53 | test_atomic_op(name, type, fmt, sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' - 53 | test_atomic_op(name, type, fmt, sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' - 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' - 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' - 55 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' - 55 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8483,81 +6801,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' - 57 | test_cas(name, type, fmt, 0, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' - 57 | test_cas(name, type, fmt, 0, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' - 58 | test_cas(name, type, fmt, 1, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' - 58 | test_cas(name, type, fmt, 1, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' - 59 | test_cas(name, type, fmt, 10, 2); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8570,70 +6813,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' - 59 | test_cas(name, type, fmt, 10, 2); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' - 60 | test_cas(name, type, fmt, 2, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' - 60 | test_cas(name, type, fmt, 2, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' - 61 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' - 61 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8646,25 +6825,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_ptr_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:79:5: note: in expansion of macro 'test_cas' - 79 | test_cas(ptr, uint64_t *, "%p", &v0, &v1); - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:80:5: note: in expansion of macro 'test_cas' - 80 | test_cas(ptr, uint64_t *, "%p", &v1, &v2); - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8677,30 +6837,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:81:5: note: in expansion of macro 'test_cas' - 81 | test_cas(ptr, uint64_t *, "%p", &v2, &v3); - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:82:5: note: in expansion of macro 'test_cas' - 82 | test_cas(ptr, uint64_t *, "%p", &v3, &v0); - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:83:5: note: in expansion of macro 'fail_unless_equal' - 83 | fail_unless_equal("ptr", "%p", &v0, val); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8713,21 +6849,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-dllist.c:14: -/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'check_int64_list': -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_once_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:107:5: note: in expansion of macro 'fail_unless_equal' - 107 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:59:5: note: in expansion of macro 'fail_unless_streq' - 59 | fail_unless_streq("List contents", expected, buf.buf); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8740,70 +6861,16 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:109:5: note: in expansion of macro 'fail_unless_equal' - 109 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'test_dllist_fn': -/build/libcork-0.15.0+ds/tests/test-dllist.c:76:17: warning: too many arguments for format [-Wformat-extra-args] - 76 | "Unexpected size of list: got %zu, expected 0", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:560:17: warning: too many arguments for format [-Wformat-extra-args] 560 | "Bad CIDR block %u", | ^~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:111:5: note: in expansion of macro 'fail_unless_equal' - 111 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:79:17: warning: too many arguments for format [-Wformat-extra-args] - 79 | "Expected empty list"); - | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:563:13: warning: too many arguments for format [-Wformat-extra-args] 563 | "IPv6 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:85:17: warning: too many arguments for format [-Wformat-extra-args] - 85 | "Unexpected size of list: got %zu, expected 1", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:113:5: note: in expansion of macro 'fail_unless_equal' - 113 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:566:13: warning: too many arguments for format [-Wformat-extra-args] 566 | "IPv6 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:92:17: warning: too many arguments for format [-Wformat-extra-args] - 92 | "Unexpected size of list: got %zu, expected 2", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:115:5: note: in expansion of macro 'fail_unless_equal' - 115 | fail_unless_equal("Call count", "%zu", 1, call_count); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:115:5: note: in expansion of macro 'fail_unless_equal' - 115 | fail_unless_equal("Call count", "%zu", 1, call_count); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:99:17: warning: too many arguments for format [-Wformat-extra-args] - 99 | "Unexpected size of list: got %zu, expected 3", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_ip_address_fn': -/build/libcork-0.15.0+ds/tests/test-dllist.c:106:17: warning: too many arguments for format [-Wformat-extra-args] - 106 | "Unexpected sum, got %ld, expected 6", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -8816,25 +6883,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_once_recursive_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:134:5: note: in expansion of macro 'fail_unless_equal' - 134 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:114:17: warning: too many arguments for format [-Wformat-extra-args] - 114 | "Unexpected sum, got %ld, expected 6", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:119:17: warning: too many arguments for format [-Wformat-extra-args] - 119 | "Unexpected size of list: got %zu, expected 2", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:136:5: note: in expansion of macro 'fail_unless_equal' - 136 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8844,12 +6892,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:138:5: note: in expansion of macro 'fail_unless_equal' - 138 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8859,40 +6901,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:140:5: note: in expansion of macro 'fail_unless_equal' - 140 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:142:5: note: in expansion of macro 'fail_unless_equal' - 142 | fail_unless_equal("Call count", "%zu", 1, call_count); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:142:5: note: in expansion of macro 'fail_unless_equal' - 142 | fail_unless_equal("Call count", "%zu", 1, call_count); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-dllist.c:184:10: warning: unused parameter 'argc' [-Wunused-parameter] - 184 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:184:29: warning: unused parameter 'argv' [-Wunused-parameter] - 184 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_thread_ids_fn': -/build/libcork-0.15.0+ds/tests/test-threads.c:155:37: warning: too many arguments for format [-Wformat-extra-args] - 155 | fail_if(id == CORK_THREAD_NONE, "Expected a valid thread ID"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -8905,24 +6913,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'cork_error_thread__run': -/build/libcork-0.15.0+ds/tests/test-threads.c:196:30: warning: unused parameter 'vself' [-Wunused-parameter] - 196 | cork_error_thread__run(void *vself) - | ~~~~~~^~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-threads.c:15: -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_01_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:212:5: note: in expansion of macro 'fail_if_error' - 212 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:213:5: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal("Values", "%d", -1, v1); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8932,45 +6922,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_02_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:225:5: note: in expansion of macro 'fail_if_error' - 225 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:226:5: note: in expansion of macro 'fail_if_error' - 226 | fail_if_error(cork_thread_start(t1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:227:5: note: in expansion of macro 'fail_if_error' - 227 | fail_if_error(cork_thread_join(t1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:228:5: note: in expansion of macro 'fail_unless_equal' - 228 | fail_unless_equal("Values", "%d", 1, v1); - | ^~~~~~~~~~~~~~~~~ -reading sources... [ 16%] bitset -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_03_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:241:5: note: in expansion of macro 'fail_if_error' - 241 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:242:5: note: in expansion of macro 'fail_if_error' - 242 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8980,42 +6931,24 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:243:5: note: in expansion of macro 'fail_if_error' - 243 | fail_if_error(cork_thread_start(t1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:244:5: note: in expansion of macro 'fail_if_error' - 244 | fail_if_error(cork_thread_start(t2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:245:5: note: in expansion of macro 'fail_if_error' - 245 | fail_if_error(cork_thread_join(t1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:246:5: note: in expansion of macro 'fail_if_error' - 246 | fail_if_error(cork_thread_join(t2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:247:5: note: in expansion of macro 'fail_unless_equal' - 247 | fail_unless_equal("Values", "%d", 1, v1); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:248:5: note: in expansion of macro 'fail_unless_equal' - 248 | fail_unless_equal("Values", "%d", 2, v2); - | ^~~~~~~~~~~~~~~~~ +[ 64%] Built target cork-initializer +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_int8_t_fn': +/build/libcork-0.15.0+ds/tests/test-array.c:64:17: warning: too many arguments for format [-Wformat-extra-args] + 64 | "Unexpected size of array: got %zu, expected 0", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:69:5: note: in expansion of macro 'test_sum' + 69 | test_sum(&array, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9028,37 +6961,43 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_04_fn': /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:261:5: note: in expansion of macro 'fail_if_error' - 261 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:262:5: note: in expansion of macro 'fail_if_error' - 262 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:263:5: note: in expansion of macro 'fail_if_error' - 263 | fail_if_error(cork_thread_start(t1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:264:5: note: in expansion of macro 'fail_if_error' - 264 | fail_if_error(cork_thread_start(t2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:265:5: note: in expansion of macro 'fail_if_error' - 265 | fail_if_error(cork_thread_join(t2)); +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9068,24 +7007,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:266:5: note: in expansion of macro 'fail_if_error' - 266 | fail_if_error(cork_thread_join(t1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:267:5: note: in expansion of macro 'fail_unless_equal' - 267 | fail_unless_equal("Values", "%d", 1, v1); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:268:5: note: in expansion of macro 'fail_unless_equal' - 268 | fail_unless_equal("Values", "%d", 2, v2); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9095,19 +7016,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_error_01_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:277:5: note: in expansion of macro 'fail_if_error' - 277 | fail_if_error(t1 = cork_thread_new - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:279:5: note: in expansion of macro 'fail_if_error' - 279 | fail_if_error(cork_thread_start(t1)); - | ^~~~~~~~~~~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-slice.dir/test-slice.c.o -o shared-test-slice -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9120,7 +7029,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'main': /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9130,12 +7038,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:320:10: warning: unused parameter 'argc' [-Wunused-parameter] - 320 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:320:29: warning: unused parameter 'argv' [-Wunused-parameter] - 320 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9145,26 +7047,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-ring-buffer.c:14: -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'test_ring_buffer_1_fn': -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:32:17: warning: too many arguments for format [-Wformat-extra-args] - 32 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:34:17: warning: too many arguments for format [-Wformat-extra-args] - 34 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:36:17: warning: too many arguments for format [-Wformat-extra-args] - 36 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:38:17: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:40:13: warning: too many arguments for format [-Wformat-extra-args] - 40 | "Shouldn't be able to add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:43:17: warning: too many arguments for format [-Wformat-extra-args] - 43 | "Unexpected head of ring buffer (peek)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9177,33 +7059,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:45:17: warning: too many arguments for format [-Wformat-extra-args] - 45 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:47:17: warning: too many arguments for format [-Wformat-extra-args] - 47 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:50:17: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:52:17: warning: too many arguments for format [-Wformat-extra-args] - 52 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:54:13: warning: too many arguments for format [-Wformat-extra-args] - 54 | "Shouldn't be able to add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:57:17: warning: too many arguments for format [-Wformat-extra-args] - 57 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:59:17: warning: too many arguments for format [-Wformat-extra-args] - 59 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:61:17: warning: too many arguments for format [-Wformat-extra-args] - 61 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:63:17: warning: too many arguments for format [-Wformat-extra-args] - 63 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9216,25 +7071,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:65:17: warning: too many arguments for format [-Wformat-extra-args] - 65 | "Shouldn't be able to pop from ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'test_ring_buffer_2_fn': -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:77:17: warning: too many arguments for format [-Wformat-extra-args] - 77 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:79:17: warning: too many arguments for format [-Wformat-extra-args] - 79 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:81:17: warning: too many arguments for format [-Wformat-extra-args] - 81 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:83:17: warning: too many arguments for format [-Wformat-extra-args] - 83 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:85:13: warning: too many arguments for format [-Wformat-extra-args] - 85 | "Shouldn't be able to add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9247,24 +7083,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:88:17: warning: too many arguments for format [-Wformat-extra-args] - 88 | "Unexpected head of ring buffer (peek)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:90:17: warning: too many arguments for format [-Wformat-extra-args] - 90 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:92:17: warning: too many arguments for format [-Wformat-extra-args] - 92 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:95:17: warning: too many arguments for format [-Wformat-extra-args] - 95 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:97:17: warning: too many arguments for format [-Wformat-extra-args] - 97 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:99:13: warning: too many arguments for format [-Wformat-extra-args] - 99 | "Shouldn't be able to add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9277,21 +7095,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:102:17: warning: too many arguments for format [-Wformat-extra-args] - 102 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:104:17: warning: too many arguments for format [-Wformat-extra-args] - 104 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:106:17: warning: too many arguments for format [-Wformat-extra-args] - 106 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:108:17: warning: too many arguments for format [-Wformat-extra-args] - 108 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:110:17: warning: too many arguments for format [-Wformat-extra-args] - 110 | "Shouldn't be able to pop from ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9304,13 +7107,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:136:10: warning: unused parameter 'argc' [-Wunused-parameter] - 136 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:136:29: warning: unused parameter 'argv' [-Wunused-parameter] - 136 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9347,6 +7143,15 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:71:5: note: in expansion of macro 'test_sum' + 71 | test_sum(&array, 1); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9359,6 +7164,43 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9371,6 +7213,36 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:73:5: note: in expansion of macro 'test_sum' + 73 | test_sum(&array, 3); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9383,8 +7255,58 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-hash-table.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-hash-table.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-hash-table.dir/depend.internal". +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:75:5: note: in expansion of macro 'test_sum' + 75 | test_sum(&array, 6); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9397,6 +7319,37 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:77:5: note: in expansion of macro 'test_sum' + 77 | test_sum(&array, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9409,6 +7362,52 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:79:5: note: in expansion of macro 'test_sum' + 79 | test_sum(&array, 15); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9418,6 +7417,53 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:81:5: note: in expansion of macro 'test_sum' + 81 | test_sum(&array, 21); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +make -f tests/CMakeFiles/shared-test-mempool.dir/build.make tests/CMakeFiles/shared-test-mempool.dir/depend /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9427,7 +7473,52 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -Scanning dependencies of target embedded-test-hash-table +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:83:5: note: in expansion of macro 'test_sum' + 83 | test_sum(&array, 28); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9440,6 +7531,52 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:85:5: note: in expansion of macro 'test_sum' + 85 | test_sum(&array, 36); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9449,6 +7586,52 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:87:5: note: in expansion of macro 'test_sum' + 87 | test_sum(&array, 45); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9458,6 +7641,40 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:89:5: note: in expansion of macro 'test_sum' + 89 | test_sum(&array, 55); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9470,6 +7687,24 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:92:5: note: in expansion of macro 'fail_if_error' + 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:93:5: note: in expansion of macro 'test_sum' + 93 | test_sum(©, 55); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:100:1: note: in expansion of macro 'test_int' + 100 | test_int(int8_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9479,6 +7714,34 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_int16_t_fn': +/build/libcork-0.15.0+ds/tests/test-array.c:64:17: warning: too many arguments for format [-Wformat-extra-args] + 64 | "Unexpected size of array: got %zu, expected 0", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:69:5: note: in expansion of macro 'test_sum' + 69 | test_sum(&array, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9488,6 +7751,40 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:71:5: note: in expansion of macro 'test_sum' + 71 | test_sum(&array, 1); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9500,6 +7797,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-gc.dir/test-gc.c.o -o shared-test-gc -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9560,7 +7858,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9600,6 +7897,33 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o -o cork-hash -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src: libcork.so.16.0.2 -lpthread +In file included from /build/libcork-0.15.0+ds/tests/test-threads.c:15: +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_int_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' + 46 | test_atomic_op(name, type, fmt, add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' + 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9609,6 +7933,51 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' + 48 | test_atomic_op(name, type, fmt, add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' + 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' + 50 | fail_unless_equal(#name, fmt, 4, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' + 51 | test_atomic_op(name, type, fmt, sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9621,6 +7990,42 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' + 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' + 53 | test_atomic_op(name, type, fmt, sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' + 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9630,7 +8035,64 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make -f tests/CMakeFiles/embedded-test-hash-table.dir/build.make tests/CMakeFiles/embedded-test-hash-table.dir/build +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' + 55 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +[ 65%] Linking C executable shared-test-bitset +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' + 57 | test_cas(name, type, fmt, 0, 1); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' + 58 | test_cas(name, type, fmt, 1, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' + 59 | test_cas(name, type, fmt, 10, 2); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9640,6 +8102,73 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' + 60 | test_cas(name, type, fmt, 2, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' + 61 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' + 65 | test_atomic(int, int, "%d"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:73:5: note: in expansion of macro 'test_sum' + 73 | test_sum(&array, 3); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9652,6 +8181,89 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_uint_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' + 46 | test_atomic_op(name, type, fmt, add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' + 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:75:5: note: in expansion of macro 'test_sum' + 75 | test_sum(&array, 6); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' + 48 | test_atomic_op(name, type, fmt, add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9661,6 +8273,87 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' + 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' + 50 | fail_unless_equal(#name, fmt, 4, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-mempool.dir/DependInfo.cmake --color= +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:77:5: note: in expansion of macro 'test_sum' + 77 | test_sum(&array, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' + 51 | test_atomic_op(name, type, fmt, sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9670,14 +8363,97 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-gc.c:19: -/build/libcork-0.15.0+ds/tests/test-gc.c: In function 'tree__free': -/build/libcork-0.15.0+ds/include/libcork/helpers/gc.h:21:20: warning: unused parameter 'obj' [-Wunused-parameter] - 21 | name##__free(void *obj) - | ~~~~~~^~~ -/build/libcork-0.15.0+ds/tests/test-gc.c:34:1: note: in expansion of macro '_free_' - 34 | _free_(tree) { - | ^~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' + 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' + 53 | test_atomic_op(name, type, fmt, sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' + 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:79:5: note: in expansion of macro 'test_sum' + 79 | test_sum(&array, 15); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' + 55 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9690,6 +8466,100 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' + 57 | test_cas(name, type, fmt, 0, 1); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' + 58 | test_cas(name, type, fmt, 1, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:81:5: note: in expansion of macro 'test_sum' + 81 | test_sum(&array, 21); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' + 59 | test_cas(name, type, fmt, 10, 2); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' + 60 | test_cas(name, type, fmt, 2, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9699,6 +8569,100 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' + 61 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' + 66 | test_atomic(uint, unsigned int, "%u"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:83:5: note: in expansion of macro 'test_sum' + 83 | test_sum(&array, 28); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_size_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' + 46 | test_atomic_op(name, type, fmt, add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' + 46 | test_atomic_op(name, type, fmt, add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9708,13 +8672,31 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-gc.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-gc.c:146:10: warning: unused parameter 'argc' [-Wunused-parameter] - 146 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-gc.c:146:29: warning: unused parameter 'argv' [-Wunused-parameter] - 146 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:85:5: note: in expansion of macro 'test_sum' + 85 | test_sum(&array, 36); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9727,6 +8709,43 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9736,6 +8755,52 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:87:5: note: in expansion of macro 'test_sum' + 87 | test_sum(&array, 45); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9745,6 +8810,33 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:89:5: note: in expansion of macro 'test_sum' + 89 | test_sum(&array, 55); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:92:5: note: in expansion of macro 'fail_if_error' + 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:93:5: note: in expansion of macro 'test_sum' + 93 | test_sum(©, 55); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:101:1: note: in expansion of macro 'test_int' + 101 | test_int(int16_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9757,6 +8849,22 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_int32_t_fn': +/build/libcork-0.15.0+ds/tests/test-array.c:64:17: warning: too many arguments for format [-Wformat-extra-args] + 64 | "Unexpected size of array: got %zu, expected 0", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:69:5: note: in expansion of macro 'test_sum' + 69 | test_sum(&array, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9766,6 +8874,52 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:71:5: note: in expansion of macro 'test_sum' + 71 | test_sum(&array, 1); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9778,6 +8932,52 @@ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:73:5: note: in expansion of macro 'test_sum' + 73 | test_sum(&array, 3); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:580:9: note: in expansion of macro 'fail_if_error' 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ @@ -9787,6 +8987,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-bitset.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9805,7 +9006,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9857,6 +9057,81 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' + 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' + 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' + 48 | test_atomic_op(name, type, fmt, add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' + 48 | test_atomic_op(name, type, fmt, add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' + 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9866,6 +9141,99 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' + 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' + 50 | fail_unless_equal(#name, fmt, 4, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' + 50 | fail_unless_equal(#name, fmt, 4, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' + 51 | test_atomic_op(name, type, fmt, sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' + 51 | test_atomic_op(name, type, fmt, sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' + 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' + 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9878,6 +9246,87 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' + 53 | test_atomic_op(name, type, fmt, sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' + 53 | test_atomic_op(name, type, fmt, sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' + 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' + 32 | fail_unless_equal(#name, fmt, expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' + 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ + | ^~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' + 55 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' + 55 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9890,6 +9339,93 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' + 57 | test_cas(name, type, fmt, 0, 1); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' + 57 | test_cas(name, type, fmt, 0, 1); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' + 58 | test_cas(name, type, fmt, 1, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' + 58 | test_cas(name, type, fmt, 1, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' + 59 | test_cas(name, type, fmt, 10, 2); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' + 59 | test_cas(name, type, fmt, 10, 2); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9902,6 +9438,58 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' + 60 | test_cas(name, type, fmt, 2, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' + 60 | test_cas(name, type, fmt, 2, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' + 61 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' + 61 | fail_unless_equal(#name, fmt, 0, val); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' + 67 | test_atomic(size, size_t, "%zu"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9914,6 +9502,80 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_ptr_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:79:5: note: in expansion of macro 'test_cas' + 79 | test_cas(ptr, uint64_t *, "%p", &v0, &v1); + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:80:5: note: in expansion of macro 'test_cas' + 80 | test_cas(ptr, uint64_t *, "%p", &v1, &v2); + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:81:5: note: in expansion of macro 'test_cas' + 81 | test_cas(ptr, uint64_t *, "%p", &v2, &v3); + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' + 38 | fail_unless_equal(#name, fmt, ov, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:82:5: note: in expansion of macro 'test_cas' + 82 | test_cas(ptr, uint64_t *, "%p", &v3, &v0); + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9926,6 +9588,74 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:83:5: note: in expansion of macro 'fail_unless_equal' + 83 | fail_unless_equal("ptr", "%p", &v0, val); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:75:5: note: in expansion of macro 'test_sum' + 75 | test_sum(&array, 6); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_once_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:107:5: note: in expansion of macro 'fail_unless_equal' + 107 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:77:5: note: in expansion of macro 'test_sum' + 77 | test_sum(&array, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9938,6 +9668,76 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:109:5: note: in expansion of macro 'fail_unless_equal' + 109 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:79:5: note: in expansion of macro 'test_sum' + 79 | test_sum(&array, 15); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:111:5: note: in expansion of macro 'fail_unless_equal' + 111 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9950,6 +9750,100 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:113:5: note: in expansion of macro 'fail_unless_equal' + 113 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:81:5: note: in expansion of macro 'test_sum' + 81 | test_sum(&array, 21); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:115:5: note: in expansion of macro 'fail_unless_equal' + 115 | fail_unless_equal("Call count", "%zu", 1, call_count); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:115:5: note: in expansion of macro 'fail_unless_equal' + 115 | fail_unless_equal("Call count", "%zu", 1, call_count); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9962,6 +9856,65 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:83:5: note: in expansion of macro 'test_sum' + 83 | test_sum(&array, 28); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_once_recursive_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:134:5: note: in expansion of macro 'fail_unless_equal' + 134 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:136:5: note: in expansion of macro 'fail_unless_equal' + 136 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9974,6 +9927,58 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:85:5: note: in expansion of macro 'test_sum' + 85 | test_sum(&array, 36); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:138:5: note: in expansion of macro 'fail_unless_equal' + 138 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9986,6 +9991,58 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:87:5: note: in expansion of macro 'test_sum' + 87 | test_sum(&array, 45); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:140:5: note: in expansion of macro 'fail_unless_equal' + 140 | fail_unless_equal("Value", "%d", 1, value); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9995,6 +10052,33 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:89:5: note: in expansion of macro 'test_sum' + 89 | test_sum(&array, 55); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:92:5: note: in expansion of macro 'fail_if_error' + 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:93:5: note: in expansion of macro 'test_sum' + 93 | test_sum(©, 55); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' + 102 | test_int(int32_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10004,6 +10088,22 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_int64_t_fn': +/build/libcork-0.15.0+ds/tests/test-array.c:64:17: warning: too many arguments for format [-Wformat-extra-args] + 64 | "Unexpected size of array: got %zu, expected 0", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:69:5: note: in expansion of macro 'test_sum' + 69 | test_sum(&array, 0); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -10016,6 +10116,52 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:70:5: note: in expansion of macro 'add_element' + 70 | add_element ( 1, 1); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:71:5: note: in expansion of macro 'test_sum' + 71 | test_sum(&array, 1); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10025,6 +10171,89 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:72:5: note: in expansion of macro 'add_element0' + 72 | add_element0( 2, 2, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:73:5: note: in expansion of macro 'test_sum' + 73 | test_sum(&array, 3); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:74:5: note: in expansion of macro 'add_element' + 74 | add_element ( 3, 3); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10034,6 +10263,52 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:75:5: note: in expansion of macro 'test_sum' + 75 | test_sum(&array, 6); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:76:5: note: in expansion of macro 'add_element0' + 76 | add_element0( 4, 4, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -10046,6 +10321,15 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:77:5: note: in expansion of macro 'test_sum' + 77 | test_sum(&array, 10); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10094,6 +10378,29 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ + 87 | ", got " format ")", \ + 88 | (what), (expected), (actual))) + | ~~~~~~~~~~ + | | + | int +/build/libcork-0.15.0+ds/tests/test-threads.c:142:5: note: in expansion of macro 'fail_unless_equal' + 142 | fail_unless_equal("Call count", "%zu", 1, call_count); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:142:5: note: in expansion of macro 'fail_unless_equal' + 142 | fail_unless_equal("Call count", "%zu", 1, call_count); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_thread_ids_fn': +/build/libcork-0.15.0+ds/tests/test-threads.c:155:37: warning: too many arguments for format [-Wformat-extra-args] + 155 | fail_if(id == CORK_THREAD_NONE, "Expected a valid thread ID"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-mempool.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-mempool.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-mempool.dir/depend.internal". /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -10106,6 +10413,18 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'cork_error_thread__run': +/build/libcork-0.15.0+ds/tests/test-threads.c:196:30: warning: unused parameter 'vself' [-Wunused-parameter] + 196 | cork_error_thread__run(void *vself) + | ~~~~~~^~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-threads.c:15: +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_01_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:212:5: note: in expansion of macro 'fail_if_error' + 212 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10115,6 +10434,31 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:213:5: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal("Values", "%d", -1, v1); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_02_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:225:5: note: in expansion of macro 'fail_if_error' + 225 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:226:5: note: in expansion of macro 'fail_if_error' + 226 | fail_if_error(cork_thread_start(t1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:227:5: note: in expansion of macro 'fail_if_error' + 227 | fail_if_error(cork_thread_join(t1)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10124,6 +10468,31 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:228:5: note: in expansion of macro 'fail_unless_equal' + 228 | fail_unless_equal("Values", "%d", 1, v1); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_03_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:241:5: note: in expansion of macro 'fail_if_error' + 241 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:242:5: note: in expansion of macro 'fail_if_error' + 242 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:243:5: note: in expansion of macro 'fail_if_error' + 243 | fail_if_error(cork_thread_start(t1)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -10136,6 +10505,31 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:244:5: note: in expansion of macro 'fail_if_error' + 244 | fail_if_error(cork_thread_start(t2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:245:5: note: in expansion of macro 'fail_if_error' + 245 | fail_if_error(cork_thread_join(t1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:246:5: note: in expansion of macro 'fail_if_error' + 246 | fail_if_error(cork_thread_join(t2)); + | ^~~~~~~~~~~~~ +Scanning dependencies of target shared-test-mempool +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:247:5: note: in expansion of macro 'fail_unless_equal' + 247 | fail_unless_equal("Values", "%d", 1, v1); + | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10145,6 +10539,26 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:248:5: note: in expansion of macro 'fail_unless_equal' + 248 | fail_unless_equal("Values", "%d", 2, v2); + | ^~~~~~~~~~~~~~~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-bitset.dir/test-bitset.c.o -o shared-test-bitset -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_04_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:261:5: note: in expansion of macro 'fail_if_error' + 261 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:262:5: note: in expansion of macro 'fail_if_error' + 262 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10154,199 +10568,590 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:263:5: note: in expansion of macro 'fail_if_error' + 263 | fail_if_error(cork_thread_start(t1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:264:5: note: in expansion of macro 'fail_if_error' + 264 | fail_if_error(cork_thread_start(t2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:265:5: note: in expansion of macro 'fail_if_error' + 265 | fail_if_error(cork_thread_join(t2)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:616:17: warning: too many arguments for format [-Wformat-extra-args] 616 | "Unexpected IP address version (expected 4, got %u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:266:5: note: in expansion of macro 'fail_if_error' + 266 | fail_if_error(cork_thread_join(t1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:267:5: note: in expansion of macro 'fail_unless_equal' + 267 | fail_unless_equal("Values", "%d", 1, v1); + | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:619:17: warning: too many arguments for format [-Wformat-extra-args] 619 | "IP addresses should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c:268:5: note: in expansion of macro 'fail_unless_equal' + 268 | fail_unless_equal("Values", "%d", 2, v2); + | ^~~~~~~~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:78:5: note: in expansion of macro 'add_element0' + 78 | add_element0( 5, 5, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:624:17: warning: too many arguments for format [-Wformat-extra-args] 624 | "Unexpected IP address version (expected 6, got %u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-slice.c:14: -/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'test_static_slice_fn': -/build/libcork-0.15.0+ds/tests/test-core.c:627:17: warning: too many arguments for format [-Wformat-extra-args] - 627 | "IP addresses should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_error_01_fn': +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:79:5: note: in expansion of macro 'test_sum' + 79 | test_sum(&array, 15); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:34:5: note: in expansion of macro 'fail_if_error' - 34 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); +/build/libcork-0.15.0+ds/tests/test-threads.c:277:5: note: in expansion of macro 'fail_if_error' + 277 | fail_if_error(t1 = cork_thread_new | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-core.c:627:17: warning: too many arguments for format [-Wformat-extra-args] + 627 | "IP addresses should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:35:5: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); +/build/libcork-0.15.0+ds/tests/test-threads.c:279:5: note: in expansion of macro 'fail_if_error' + 279 | fail_if_error(cork_thread_start(t1)); | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:36:5: note: in expansion of macro 'fail_if_error' - 36 | fail_if_error(cork_slice_slice(&slice, 8, 4)); +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_timestamp_utc_format': -/build/libcork-0.15.0+ds/tests/test-slice.c:37:51: warning: too many arguments for format [-Wformat-extra-args] - 37 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:80:5: note: in expansion of macro 'add_element' + 80 | add_element ( 6, 6); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:649:5: note: in expansion of macro 'fail_if_error' 649 | fail_if_error(cork_timestamp_format_utc(ts, format, &buf)); | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:38:52: warning: too many arguments for format [-Wformat-extra-args] - 38 | fail_unless(cork_slice_equal(&slice, &lcopy1), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:81:5: note: in expansion of macro 'test_sum' + 81 | test_sum(&array, 21); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:651:17: warning: too many arguments for format [-Wformat-extra-args] 651 | "Unexpected formatted UTC time " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'test_copy_once_slice_fn': -/build/libcork-0.15.0+ds/tests/test-slice.c:63:35: warning: too many arguments for format [-Wformat-extra-args] - 63 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_timestamp_local_format': /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:65:5: note: in expansion of macro 'fail_if_error' - 65 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:68:35: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-threads.c:320:10: warning: unused parameter 'argc' [-Wunused-parameter] + 320 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_timestamp_local_format': +/build/libcork-0.15.0+ds/tests/test-threads.c:320:29: warning: unused parameter 'argv' [-Wunused-parameter] + 320 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:662:5: note: in expansion of macro 'fail_if_error' 662 | fail_if_error(cork_timestamp_format_local(ts, format, &buf)); | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:69:46: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail_unless(slice.buf + 8 == lcopy1.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:71:5: note: in expansion of macro 'fail_if_error' - 71 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); - | ^~~~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:82:5: note: in expansion of macro 'add_element' + 82 | add_element ( 7, 7); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:83:5: note: in expansion of macro 'test_sum' + 83 | test_sum(&array, 28); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:664:17: warning: too many arguments for format [-Wformat-extra-args] 664 | "Unexpected formatted local time " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:72:5: note: in expansion of macro 'fail_if_error' - 72 | fail_if_error(cork_slice_slice(&slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:76:35: warning: too many arguments for format [-Wformat-extra-args] - 76 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:77:41: warning: too many arguments for format [-Wformat-extra-args] - 77 | fail_unless(slice.buf == copy1.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:80:51: warning: too many arguments for format [-Wformat-extra-args] - 80 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:84:5: note: in expansion of macro 'fail_if_error' - 84 | fail_if_error(cork_slice_light_copy(&lcopy2, &slice, 0, 4)); - | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_timestamp_fn': -/build/libcork-0.15.0+ds/tests/test-slice.c:85:35: warning: too many arguments for format [-Wformat-extra-args] - 85 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:86:42: warning: too many arguments for format [-Wformat-extra-args] - 86 | fail_unless(slice.buf == lcopy2.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:88:5: note: in expansion of macro 'fail_if_error' - 88 | fail_if_error(cork_slice_copy(©2, &slice, 0, 4)); - | ^~~~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:84:5: note: in expansion of macro 'add_element0' + 84 | add_element0( 8, 8, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:85:5: note: in expansion of macro 'test_sum' + 85 | test_sum(&array, 36); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:705:5: note: in expansion of macro 'test' 705 | test(sec, TEST_TIME_1); | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:91:41: warning: too many arguments for format [-Wformat-extra-args] - 91 | fail_unless(slice.buf == copy2.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:92:41: warning: too many arguments for format [-Wformat-extra-args] - 92 | fail_unless(copy1.buf == copy2.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:93:51: warning: too many arguments for format [-Wformat-extra-args] - 93 | fail_unless(cork_slice_equal(&slice, ©2), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:94:51: warning: too many arguments for format [-Wformat-extra-args] - 94 | fail_unless(cork_slice_equal(©1, ©2), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:27:5: note: in expansion of macro 'fail_if_error' + 27 | fail_if_error(cork_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] + 29 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:86:5: note: in expansion of macro 'add_element' + 86 | add_element ( 9, 9); \ + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:706:5: note: in expansion of macro 'test' 706 | test(gsec, 0); | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-slice.c:125:10: warning: unused parameter 'argc' [-Wunused-parameter] - 125 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:125:29: warning: unused parameter 'argv' [-Wunused-parameter] - 125 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:87:5: note: in expansion of macro 'test_sum' + 87 | test_sum(&array, 45); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:35:9: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(__element = cork_array_append_get(&array)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ~~^ + | | + | long unsigned int + | %u /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:707:5: note: in expansion of macro 'test' 707 | test(msec, 0); | ^~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:88:5: note: in expansion of macro 'add_element0' + 88 | add_element0(10, 10, int_type); \ + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +make -f tests/CMakeFiles/shared-test-mempool.dir/build.make tests/CMakeFiles/shared-test-mempool.dir/build +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:89:5: note: in expansion of macro 'test_sum' + 89 | test_sum(&array, 55); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:92:5: note: in expansion of macro 'fail_if_error' + 92 | fail_if_error(cork_array_copy(©, &array, NULL, NULL)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:708:5: note: in expansion of macro 'test' 708 | test(usec, 0); | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Unexpected sum, got %ld, expected %ld", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:93:5: note: in expansion of macro 'test_sum' + 93 | test_sum(©, 55); \ + | ^~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' + 103 | test_int(int64_t) + | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:709:5: note: in expansion of macro 'test' 709 | test(nsec, 0); | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_string_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:111:5: note: in expansion of macro 'fail_if_error' + 111 | fail_if_error(cork_string_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:129:5: note: in expansion of macro 'add_string' + 129 | add_string("hello", 1); + | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] + 113 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:129:5: note: in expansion of macro 'add_string' + 129 | add_string("hello", 1); + | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:111:5: note: in expansion of macro 'fail_if_error' + 111 | fail_if_error(cork_string_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:130:5: note: in expansion of macro 'add_string' + 130 | add_string("there", 2); + | ^~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:713:5: note: in expansion of macro 'test' 713 | test(sec, TEST_TIME_2); | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] + 113 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:130:5: note: in expansion of macro 'add_string' + 130 | add_string("there", 2); + | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:111:5: note: in expansion of macro 'fail_if_error' + 111 | fail_if_error(cork_string_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:131:5: note: in expansion of macro 'add_string' + 131 | add_string("world", 3); + | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] + 113 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:131:5: note: in expansion of macro 'add_string' + 131 | add_string("world", 3); + | ^~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:714:5: note: in expansion of macro 'test' 714 | test(gsec, 0); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' + 119 | fail_unless_streq("Array elements", expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:132:5: note: in expansion of macro 'test_string' + 132 | test_string(&array, 0, "hello"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' + 119 | fail_unless_streq("Array elements", expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:133:5: note: in expansion of macro 'test_string' + 133 | test_string(&array, 1, "there"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:715:5: note: in expansion of macro 'test' 715 | test(msec, 0); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' + 119 | fail_unless_streq("Array elements", expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:134:5: note: in expansion of macro 'test_string' + 134 | test_string(&array, 2, "world"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:111:5: note: in expansion of macro 'fail_if_error' + 111 | fail_if_error(cork_string_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:136:5: note: in expansion of macro 'add_string' + 136 | add_string("reusing", 1); + | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] + 113 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:136:5: note: in expansion of macro 'add_string' + 136 | add_string("reusing", 1); + | ^~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:716:5: note: in expansion of macro 'test' 716 | test(usec, 0); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:111:5: note: in expansion of macro 'fail_if_error' + 111 | fail_if_error(cork_string_array_append(&array, element)); \ + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:137:5: note: in expansion of macro 'add_string' + 137 | add_string("entries", 2); + | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] + 113 | "Unexpected size of array: got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:137:5: note: in expansion of macro 'add_string' + 137 | add_string("entries", 2); + | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' + 119 | fail_unless_streq("Array elements", expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:138:5: note: in expansion of macro 'test_string' + 138 | test_string(&array, 0, "reusing"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:717:5: note: in expansion of macro 'test' 717 | test(nsec, 0); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' + 119 | fail_unless_streq("Array elements", expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:139:5: note: in expansion of macro 'test_string' + 139 | test_string(&array, 1, "entries"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' + 119 | fail_unless_streq("Array elements", expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:143:5: note: in expansion of macro 'test_string' + 143 | test_string(©, 0, "reusing"); + | ^~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:119:9: note: in expansion of macro 'fail_unless_streq' + 119 | fail_unless_streq("Array elements", expected, actual); \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:144:5: note: in expansion of macro 'test_string' + 144 | test_string(©, 1, "entries"); + | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -10377,6 +11182,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:725:5: note: in expansion of macro 'test' 725 | test(nsec, 0); | ^~~~ +[ 66%] Linking C executable cork-test /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -10389,7 +11195,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:730:5: note: in expansion of macro 'test' 730 | test(gsec, 1 << 30); | ^~~~ -[ 58%] Building C object tests/CMakeFiles/embedded-test-hash-table.dir/test-hash-table.c.o /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -10408,13 +11213,13 @@ /build/libcork-0.15.0+ds/tests/test-core.c:733:5: note: in expansion of macro 'test' 733 | test(nsec, 250000000); | ^~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:736:5: note: in expansion of macro 'test' 736 | test(sec, TEST_TIME_1); | ^~~~ -[ 59%] Linking C executable embedded-test-mempool /build/libcork-0.15.0+ds/tests/test-core.c:694:43: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 694 | fail_unless(cork_timestamp_##unit(ts) == expected, \ | ^~ @@ -10433,101 +11238,342 @@ /build/libcork-0.15.0+ds/tests/test-core.c:738:5: note: in expansion of macro 'test' 738 | test(msec, 500); | ^~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-test.dir/link.txt --verbose=1 +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array__init': +/build/libcork-0.15.0+ds/tests/test-array.c:164:41: warning: unused parameter 'vvalue' [-Wunused-parameter] + 164 | test_array__init(void *user_data, void *vvalue) + | ~~~~~~^~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array__done': /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:739:5: note: in expansion of macro 'test' 739 | test(usec, 500000); | ^~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:171:41: warning: unused parameter 'vvalue' [-Wunused-parameter] + 171 | test_array__done(void *user_data, void *vvalue) + | ~~~~~~^~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array__reuse': +/build/libcork-0.15.0+ds/tests/test-array.c:178:42: warning: unused parameter 'vvalue' [-Wunused-parameter] + 178 | test_array__reuse(void *user_data, void *vvalue) + | ~~~~~~^~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array__remove': +/build/libcork-0.15.0+ds/tests/test-array.c:185:43: warning: unused parameter 'vvalue' [-Wunused-parameter] + 185 | test_array__remove(void *user_data, void *vvalue) + | ~~~~~~^~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:740:5: note: in expansion of macro 'test' 740 | test(nsec, 500000000); | ^~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_callbacks_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:226:5: note: in expansion of macro 'check_counts' + 226 | check_counts(&counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:743:5: note: in expansion of macro 'test' 743 | test(sec, TEST_TIME_1); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:226:5: note: in expansion of macro 'check_counts' + 226 | check_counts(&counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:226:5: note: in expansion of macro 'check_counts' + 226 | check_counts(&counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:694:43: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 694 | fail_unless(cork_timestamp_##unit(ts) == expected, \ | ^~ /build/libcork-0.15.0+ds/tests/test-core.c:744:5: note: in expansion of macro 'test' 744 | test(gsec, 1 << 31); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:226:5: note: in expansion of macro 'check_counts' + 226 | check_counts(&counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:744:5: note: in expansion of macro 'test' 744 | test(gsec, 1 << 31); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:229:5: note: in expansion of macro 'check_counts' + 229 | check_counts(&counts, 2, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:229:5: note: in expansion of macro 'check_counts' + 229 | check_counts(&counts, 2, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:745:5: note: in expansion of macro 'test' 745 | test(msec, 500); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:229:5: note: in expansion of macro 'check_counts' + 229 | check_counts(&counts, 2, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:746:5: note: in expansion of macro 'test' 746 | test(usec, 500000); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:229:5: note: in expansion of macro 'check_counts' + 229 | check_counts(&counts, 2, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:747:5: note: in expansion of macro 'test' 747 | test(nsec, 500000000); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' + 232 | check_counts(&counts, 4, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' + 232 | check_counts(&counts, 4, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:750:5: note: in expansion of macro 'test' 750 | test(sec, TEST_TIME_1); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' + 232 | check_counts(&counts, 4, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' + 232 | check_counts(&counts, 4, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:694:43: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 694 | fail_unless(cork_timestamp_##unit(ts) == expected, \ | ^~ /build/libcork-0.15.0+ds/tests/test-core.c:751:5: note: in expansion of macro 'test' 751 | test(gsec, 1 << 31); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' + 234 | check_counts(&counts, 4, 0, 0, 4); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' + 234 | check_counts(&counts, 4, 0, 0, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:751:5: note: in expansion of macro 'test' 751 | test(gsec, 1 << 31); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' + 234 | check_counts(&counts, 4, 0, 0, 4); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' + 234 | check_counts(&counts, 4, 0, 0, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:752:5: note: in expansion of macro 'test' 752 | test(msec, 500); | ^~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-mempool.dir/link.txt --verbose=1 -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-hash-table.dir/test-hash-table.c.o -c /build/libcork-0.15.0+ds/tests/test-hash-table.c -reading sources... [ 19%] buffer +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' + 237 | check_counts(&counts, 4, 0, 2, 4); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' + 237 | check_counts(&counts, 4, 0, 2, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:753:5: note: in expansion of macro 'test' 753 | test(usec, 500000); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' + 237 | check_counts(&counts, 4, 0, 2, 4); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' + 237 | check_counts(&counts, 4, 0, 2, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:754:5: note: in expansion of macro 'test' 754 | test(nsec, 500000000); | ^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:240:5: note: in expansion of macro 'check_counts' + 240 | check_counts(&counts, 4, 0, 4, 4); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:240:5: note: in expansion of macro 'check_counts' + 240 | check_counts(&counts, 4, 0, 4, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_one_u128_decimal': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:240:5: note: in expansion of macro 'check_counts' + 240 | check_counts(&counts, 4, 0, 4, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:792:5: note: in expansion of macro 'fail_unless_streq' 792 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:240:5: note: in expansion of macro 'check_counts' + 240 | check_counts(&counts, 4, 0, 4, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_one_u128_hex': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:242:5: note: in expansion of macro 'check_counts' + 242 | check_counts(&counts, 5, 0, 4, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10535,12 +11581,30 @@ 800 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_one_u128_padded_hex': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:242:5: note: in expansion of macro 'check_counts' + 242 | check_counts(&counts, 5, 0, 4, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:808:5: note: in expansion of macro 'fail_unless_streq' 808 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:242:5: note: in expansion of macro 'check_counts' + 242 | check_counts(&counts, 5, 0, 4, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_one_u128_eq': /build/libcork-0.15.0+ds/tests/test-core.c:962:21: warning: too many arguments for format [-Wformat-extra-args] 962 | "%" PRIu64 ":%" PRIu64 \ @@ -10600,765 +11664,475 @@ /build/libcork-0.15.0+ds/tests/test-core.c:1059:5: note: in expansion of macro 'fail_unless_streq' 1059 | fail_unless_streq("UID name", "test_id_02", cork_uid_name(test_id_02)); | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:242:5: note: in expansion of macro 'check_counts' + 242 | check_counts(&counts, 5, 0, 4, 4); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:1063:39: warning: too many arguments for format [-Wformat-extra-args] 1063 | fail_if(cork_uid_equal(id1, id2), "Unique IDs aren't unique"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:245:5: note: in expansion of macro 'check_counts' + 245 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:1067:43: warning: too many arguments for format [-Wformat-extra-args] 1067 | fail_unless(cork_uid_equal(id1, id2), "Unique ID isn't equal to itself"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:245:5: note: in expansion of macro 'check_counts' + 245 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:245:5: note: in expansion of macro 'check_counts' + 245 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:1071:39: warning: too many arguments for format [-Wformat-extra-args] 1071 | fail_if(cork_uid_equal(id1, id2), "NULL unique ID isn't unique"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:245:5: note: in expansion of macro 'check_counts' + 245 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' + 247 | check_counts(©_counts, 5, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' + 247 | check_counts(©_counts, 5, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' + 247 | check_counts(©_counts, 5, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c: In function 'main': +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' + 247 | check_counts(©_counts, 5, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:1141:10: warning: unused parameter 'argc' [-Wunused-parameter] 1141 | main(int argc, const char **argv) | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:249:5: note: in expansion of macro 'check_counts' + 249 | check_counts(©_counts, 5, 5, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:249:5: note: in expansion of macro 'check_counts' + 249 | check_counts(©_counts, 5, 5, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:1141:29: warning: unused parameter 'argv' [-Wunused-parameter] 1141 | main(int argc, const char **argv) | ~~~~~~~~~~~~~^~~~ -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-mempool.dir/test-mempool.c.o -o embedded-test-mempool -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -In file included from /build/libcork-0.15.0+ds/tests/test-core.c:21: -/build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_big_hash_buffer': -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 299 | case 15: k2 ^= (uint64_t) (tail[14]) << 48; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:300:9: note: here - 300 | case 14: k2 ^= (uint64_t) (tail[13]) << 40; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:300:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 300 | case 14: k2 ^= (uint64_t) (tail[13]) << 40; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:301:9: note: here - 301 | case 13: k2 ^= (uint64_t) (tail[12]) << 32; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:301:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 301 | case 13: k2 ^= (uint64_t) (tail[12]) << 32; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:302:9: note: here - 302 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:302:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 302 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:303:9: note: here - 303 | case 11: k2 ^= (uint64_t) (tail[10]) << 16; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:303:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 303 | case 11: k2 ^= (uint64_t) (tail[10]) << 16; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:304:9: note: here - 304 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:304:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 304 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:305:9: note: here - 305 | case 9: k2 ^= (uint64_t) (tail[ 8]) << 0; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:306:66: warning: this statement may fall through [-Wimplicit-fallthrough=] - 306 | k2 *= c2; k2 = CORK_ROTL64(k2,33); k2 *= c1; h2 ^= k2; \ - | ~~~^~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:308:9: note: here - 308 | case 8: k1 ^= (uint64_t) (tail[ 7]) << 56; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:308:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 308 | case 8: k1 ^= (uint64_t) (tail[ 7]) << 56; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:309:9: note: here - 309 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:309:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 309 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:310:9: note: here - 310 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:310:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 310 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:311:9: note: here - 311 | case 5: k1 ^= (uint64_t) (tail[ 4]) << 32; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:311:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 311 | case 5: k1 ^= (uint64_t) (tail[ 4]) << 32; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:312:9: note: here - 312 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:312:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 312 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:313:9: note: here - 313 | case 3: k1 ^= (uint64_t) (tail[ 2]) << 16; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:313:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 313 | case 3: k1 ^= (uint64_t) (tail[ 2]) << 16; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:314:9: note: here - 314 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:314:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 314 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:315:9: note: here - 315 | case 1: k1 ^= (uint64_t) (tail[ 0]) << 0; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 360 | cork_murmur_hash_x64_128(seed, src, len, &result); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_stable_hash_buffer': -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:123:20: warning: this statement may fall through [-Wimplicit-fallthrough=] - 123 | case 3: k1 ^= tail[2] << 16; - | ~~~^~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:124:9: note: here - 124 | case 2: k1 ^= tail[1] << 8; - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:124:20: warning: this statement may fall through [-Wimplicit-fallthrough=] - 124 | case 2: k1 ^= tail[1] << 8; - | ~~~^~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:125:9: note: here - 125 | case 1: k1 ^= tail[0]; - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_hash_buffer': -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 299 | case 15: k2 ^= (uint64_t) (tail[14]) << 48; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:300:9: note: here - 300 | case 14: k2 ^= (uint64_t) (tail[13]) << 40; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:300:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 300 | case 14: k2 ^= (uint64_t) (tail[13]) << 40; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:301:9: note: here - 301 | case 13: k2 ^= (uint64_t) (tail[12]) << 32; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:301:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 301 | case 13: k2 ^= (uint64_t) (tail[12]) << 32; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:302:9: note: here - 302 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:302:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 302 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:303:9: note: here - 303 | case 11: k2 ^= (uint64_t) (tail[10]) << 16; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:303:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 303 | case 11: k2 ^= (uint64_t) (tail[10]) << 16; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:304:9: note: here - 304 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:304:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 304 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:305:9: note: here - 305 | case 9: k2 ^= (uint64_t) (tail[ 8]) << 0; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:306:66: warning: this statement may fall through [-Wimplicit-fallthrough=] - 306 | k2 *= c2; k2 = CORK_ROTL64(k2,33); k2 *= c1; h2 ^= k2; \ - | ~~~^~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:308:9: note: here - 308 | case 8: k1 ^= (uint64_t) (tail[ 7]) << 56; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:308:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 308 | case 8: k1 ^= (uint64_t) (tail[ 7]) << 56; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:309:9: note: here - 309 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:309:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 309 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:310:9: note: here - 310 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:310:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 310 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:311:9: note: here - 311 | case 5: k1 ^= (uint64_t) (tail[ 4]) << 32; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:311:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 311 | case 5: k1 ^= (uint64_t) (tail[ 4]) << 32; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:312:9: note: here - 312 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:312:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 312 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:313:9: note: here - 313 | case 3: k1 ^= (uint64_t) (tail[ 2]) << 16; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:313:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 313 | case 3: k1 ^= (uint64_t) (tail[ 2]) << 16; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:314:9: note: here - 314 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:314:21: warning: this statement may fall through [-Wimplicit-fallthrough=] - 314 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ - | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:315:9: note: here - 315 | case 1: k1 ^= (uint64_t) (tail[ 0]) << 0; \ - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' - 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -[ 60%] Linking C executable embedded-test-subprocess -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-subprocess.dir/link.txt --verbose=1 -[ 60%] Linking C executable embedded-test-managed-buffer -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-managed-buffer.dir/link.txt --verbose=1 -[ 61%] Linking C executable embedded-test-ring-buffer -[ 62%] Linking C executable embedded-test-bitset -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-ring-buffer.dir/link.txt --verbose=1 -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-bitset.dir/link.txt --verbose=1 -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-subprocess.dir/test-subprocess.c.o -o embedded-test-subprocess -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-managed-buffer.dir/test-managed-buffer.c.o -o embedded-test-managed-buffer -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -[ 63%] Linking C executable embedded-test-buffer -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'uint64__equals': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:36:22: warning: unused parameter 'user_data' [-Wunused-parameter] - 36 | uint64__equals(void *user_data, const void *va, const void *vb) - | ~~~~~~^~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'uint64__hash': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:48:20: warning: unused parameter 'user_data' [-Wunused-parameter] - 48 | uint64__hash(void *user_data, const void *velement) - | ~~~~~~^~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-hash-table.c:14: -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_map_sum': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:72:17: warning: too many arguments for format [-Wformat-extra-args] - 72 | "Unexpected map sum, got %" PRIu64 - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_iterator_sum': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:89:17: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Unexpected iterator sum, got %" PRIu64 - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_map_to_string': -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:114:5: note: in expansion of macro 'fail_unless_streq' - 114 | fail_unless_streq("Integer arrays", expected, buf.buf); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_iterator_to_string': -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:135:5: note: in expansion of macro 'fail_unless_streq' - 135 | fail_unless_streq("Integer arrays", expected, buf.buf); - | ^~~~~~~~~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-buffer.dir/link.txt --verbose=1 -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_uint64_hash_table_fn': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:154:17: warning: too many arguments for format [-Wformat-extra-args] - 154 | "Hash table should start empty"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:158:17: warning: too many arguments for format [-Wformat-extra-args] - 158 | "Shouldn't get value pointer from empty hash table"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:169:5: note: in expansion of macro 'fail_if_error' - 169 | fail_if_error(cork_hash_table_put - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:172:25: warning: too many arguments for format [-Wformat-extra-args] - 172 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:177:17: warning: too many arguments for format [-Wformat-extra-args] - 177 | "Unexpected previous key"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:179:17: warning: too many arguments for format [-Wformat-extra-args] - 179 | "Unexpected previous value"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:182:17: warning: too many arguments for format [-Wformat-extra-args] - 182 | "Unexpected size after adding {0->32}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:184:5: note: in expansion of macro 'fail_if_error' - 184 | fail_if_error(entry = cork_hash_table_get_or_create - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:186:21: warning: too many arguments for format [-Wformat-extra-args] - 186 | fail_if(is_new, "Shouldn't create new {0=>X} entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:189:17: warning: too many arguments for format [-Wformat-extra-args] - 189 | "Unexpected value for {0=>X} entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:192:17: warning: too many arguments for format [-Wformat-extra-args] - 192 | "Unexpected size after retrieving {0->32}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-ring-buffer.dir/test-ring-buffer.c.o -o embedded-test-ring-buffer -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:195:5: note: in expansion of macro 'fail_if_error' - 195 | fail_if_error(entry = cork_hash_table_get_or_create - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:197:25: warning: too many arguments for format [-Wformat-extra-args] - 197 | fail_unless(is_new, "Should create new {1=>X} entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:206:17: warning: too many arguments for format [-Wformat-extra-args] - 206 | "Unexpected size after adding {1=>2}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:215:17: warning: too many arguments for format [-Wformat-extra-args] - 215 | "Couldn't delete {0=>32}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:218:17: warning: too many arguments for format [-Wformat-extra-args] - 218 | "Unexpected size after deleting entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:225:13: warning: too many arguments for format [-Wformat-extra-args] - 225 | "Shouldn't be able to delete nonexistent {3=>X}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:230:17: warning: too many arguments for format [-Wformat-extra-args] - 230 | "Unexpected size after deleting last entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:241:5: note: in expansion of macro 'fail_if_error' - 241 | fail_if_error(cork_hash_table_put - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:244:25: warning: too many arguments for format [-Wformat-extra-args] - 244 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:252:5: note: in expansion of macro 'fail_if_error' - 252 | fail_if_error(cork_hash_table_put - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:255:25: warning: too many arguments for format [-Wformat-extra-args] - 255 | fail_unless(is_new, "Couldn't append {1=>2} to hash table"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:261:17: warning: too many arguments for format [-Wformat-extra-args] - 261 | "Unexpected size after deleting entries using map"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_string_hash_table_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:281:5: note: in expansion of macro 'fail_if_error' - 281 | fail_if_error(cork_hash_table_put - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:284:17: warning: too many arguments for format [-Wformat-extra-args] - 284 | "Unexpected size after adding {key1->1}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:288:13: warning: too many arguments for format [-Wformat-extra-args] - 288 | "No entry for key1"); - | ^~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:291:17: warning: too many arguments for format [-Wformat-extra-args] - 291 | "Unexpected value for key1"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:295:17: warning: too many arguments for format [-Wformat-extra-args] - 295 | "Unexpected entry for key2"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_pointer_hash_table_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:315:5: note: in expansion of macro 'fail_if_error' - 315 | fail_if_error(cork_hash_table_put - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:318:17: warning: too many arguments for format [-Wformat-extra-args] - 318 | "Unexpected size after adding {key1->1}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:321:13: warning: too many arguments for format [-Wformat-extra-args] - 321 | "No entry for key1"); - | ^~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:324:17: warning: too many arguments for format [-Wformat-extra-args] - 324 | "Unexpected value for key1"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:327:17: warning: too many arguments for format [-Wformat-extra-args] - 327 | "Unexpected entry for key2"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:354:10: warning: unused parameter 'argc' [-Wunused-parameter] - 354 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:354:29: warning: unused parameter 'argv' [-Wunused-parameter] - 354 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -[ 64%] Linking C executable embedded-test-gc -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-gc.dir/link.txt --verbose=1 -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o -o embedded-test-bitset -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -[ 64%] Linking C executable embedded-test-slice -[ 65%] Linking C executable embedded-test-dllist -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o -o embedded-test-buffer -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-slice.dir/link.txt --verbose=1 -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-dllist.dir/link.txt --verbose=1 -[ 65%] Built target embedded-test-mempool -make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/depend -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/DependInfo.cmake --color= -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-gc.dir/test-gc.c.o -o embedded-test-gc -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-slice.dir/test-slice.c.o -o embedded-test-slice -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o -o embedded-test-dllist -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -[ 66%] Linking C executable embedded-test-files -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-files.dir/link.txt --verbose=1 -[ 66%] Built target embedded-test-managed-buffer -make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/depend -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/DependInfo.cmake --color= -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/depend.internal". -Scanning dependencies of target cork-test -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/build -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-files.dir/test-files.c.o -o embedded-test-files -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -[ 66%] Built target embedded-test-subprocess -make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/depend -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 66%] Building C object src/CMakeFiles/cork-test.dir/cork-test/cork-test.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/cork-test.dir/cork-test/cork-test.c.o -c /build/libcork-0.15.0+ds/src/cork-test/cork-test.c -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/depend.internal". -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/DependInfo.cmake --color= -reading sources... [ 22%] byte-order -Scanning dependencies of target cork-initializer -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 66%] Built target embedded-test-bitset -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/depend.internal". -Scanning dependencies of target cork-hash -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/build -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 66%] Built target embedded-test-buffer -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/build -[ 66%] Built target embedded-test-ring-buffer -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-dllist.dir/build.make tests/CMakeFiles/shared-test-dllist.dir/depend -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 66%] Built target embedded-test-gc -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-dllist.dir/DependInfo.cmake --color= -[ 67%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o -c /build/libcork-0.15.0+ds/src/cork-initializer/init1.c -[ 67%] Built target embedded-test-slice -make -f tests/CMakeFiles/shared-test-core.dir/build.make tests/CMakeFiles/shared-test-core.dir/depend -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'c1_s1_run': -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:73:15: warning: unused parameter 'argc' [-Wunused-parameter] - 73 | c1_s1_run(int argc, char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:73:28: warning: unused parameter 'argv' [-Wunused-parameter] - 73 | c1_s1_run(int argc, char **argv) - | ~~~~~~~^~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'c1_s2_run': -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:89:15: warning: unused parameter 'argc' [-Wunused-parameter] - 89 | c1_s2_run(int argc, char **argv) - | ~~~~^~~~ -[ 68%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:89:28: warning: unused parameter 'argv' [-Wunused-parameter] - 89 | c1_s2_run(int argc, char **argv) - | ~~~~~~~^~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'c2_run': -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:149:12: warning: unused parameter 'argc' [-Wunused-parameter] - 149 | c2_run(int argc, char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:149:25: warning: unused parameter 'argv' [-Wunused-parameter] - 149 | c2_run(int argc, char **argv) - | ~~~~~~~^~~~ -[ 69%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'pwd_run': -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:261:13: warning: unused parameter 'argc' [-Wunused-parameter] - 261 | pwd_run(int argc, char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:261:26: warning: unused parameter 'argv' [-Wunused-parameter] - 261 | pwd_run(int argc, char **argv) - | ~~~~~~~^~~~ -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-dllist.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-dllist.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-dllist.dir/depend.internal". -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'paths_run': -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:494:15: warning: unused parameter 'argc' [-Wunused-parameter] - 494 | paths_run(int argc, char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:494:28: warning: unused parameter 'argv' [-Wunused-parameter] - 494 | paths_run(int argc, char **argv) - | ~~~~~~~^~~~ -[ 69%] Built target embedded-test-files -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'enter_directory': -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:549:41: warning: unused parameter 'walker' [-Wunused-parameter] - 549 | enter_directory(struct cork_dir_walker *walker, const char *full_path, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ -Scanning dependencies of target shared-test-dllist -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:549:61: warning: unused parameter 'full_path' [-Wunused-parameter] - 549 | enter_directory(struct cork_dir_walker *walker, const char *full_path, - | ~~~~~~~~~~~~^~~~~~~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'print_file': -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:566:36: warning: unused parameter 'walker' [-Wunused-parameter] - 566 | print_file(struct cork_dir_walker *walker, const char *full_path, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'leave_directory': -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:579:41: warning: unused parameter 'walker' [-Wunused-parameter] - 579 | leave_directory(struct cork_dir_walker *walker, const char *full_path, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:579:61: warning: unused parameter 'full_path' [-Wunused-parameter] - 579 | leave_directory(struct cork_dir_walker *walker, const char *full_path, - | ~~~~~~~~~~~~^~~~~~~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:580:51: warning: unused parameter 'base_name' [-Wunused-parameter] - 580 | const char *rel_path, const char *base_name) - | ~~~~~~~~~~~~^~~~~~~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'dir_run': -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:597:13: warning: unused parameter 'argc' [-Wunused-parameter] - 597 | dir_run(int argc, char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:597:26: warning: unused parameter 'argv' [-Wunused-parameter] - 597 | dir_run(int argc, char **argv) - | ~~~~~~~^~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c: In function 'cleanup_run': -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:629:17: warning: unused parameter 'argc' [-Wunused-parameter] - 629 | cleanup_run(int argc, char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/src/cork-test/cork-test.c:629:30: warning: unused parameter 'argv' [-Wunused-parameter] - 629 | cleanup_run(int argc, char **argv) - | ~~~~~~~^~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:249:5: note: in expansion of macro 'check_counts' + 249 | check_counts(©_counts, 5, 5, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:249:5: note: in expansion of macro 'check_counts' + 249 | check_counts(©_counts, 5, 5, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:252:5: note: in expansion of macro 'check_counts' + 252 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:252:5: note: in expansion of macro 'check_counts' + 252 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:252:5: note: in expansion of macro 'check_counts' + 252 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:252:5: note: in expansion of macro 'check_counts' + 252 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' + 255 | check_counts(©_counts, 2, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' + 255 | check_counts(©_counts, 2, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' + 255 | check_counts(©_counts, 2, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' + 255 | check_counts(©_counts, 2, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:257:5: note: in expansion of macro 'check_counts' + 257 | check_counts(©_counts, 5, 0, 2, 2); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:257:5: note: in expansion of macro 'check_counts' + 257 | check_counts(©_counts, 5, 0, 2, 2); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:257:5: note: in expansion of macro 'check_counts' + 257 | check_counts(©_counts, 5, 0, 2, 2); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:257:5: note: in expansion of macro 'check_counts' + 257 | check_counts(©_counts, 5, 0, 2, 2); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:259:5: note: in expansion of macro 'check_counts' + 259 | check_counts(©_counts, 5, 5, 2, 2); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:259:5: note: in expansion of macro 'check_counts' + 259 | check_counts(©_counts, 5, 5, 2, 2); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:259:5: note: in expansion of macro 'check_counts' + 259 | check_counts(©_counts, 5, 5, 2, 2); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:259:5: note: in expansion of macro 'check_counts' + 259 | check_counts(©_counts, 5, 5, 2, 2); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:262:5: note: in expansion of macro 'check_counts' + 262 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:262:5: note: in expansion of macro 'check_counts' + 262 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:262:5: note: in expansion of macro 'check_counts' + 262 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:262:5: note: in expansion of macro 'check_counts' + 262 | check_counts(©_counts, 0, 0, 0, 0); + | ^~~~~~~~~~~~ +[ 67%] Building C object tests/CMakeFiles/shared-test-mempool.dir/test-mempool.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-mempool.dir/test-mempool.c.o -c /build/libcork-0.15.0+ds/tests/test-mempool.c make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 69%] Building C object src/CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o -make -f tests/CMakeFiles/shared-test-dllist.dir/build.make tests/CMakeFiles/shared-test-dllist.dir/build -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-core.dir/DependInfo.cmake --color= -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o -c /build/libcork-0.15.0+ds/src/cork-initializer/init2.c -make -f tests/CMakeFiles/shared-test-buffer.dir/build.make tests/CMakeFiles/shared-test-buffer.dir/depend -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o -c /build/libcork-0.15.0+ds/src/cork-initializer/main.c -make -f tests/CMakeFiles/shared-test-bitset.dir/build.make tests/CMakeFiles/shared-test-bitset.dir/depend -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-buffer.dir/DependInfo.cmake --color= -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o -c /build/libcork-0.15.0+ds/src/cork-hash/cork-hash.c -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-bitset.dir/DependInfo.cmake --color= -[ 69%] Built target embedded-test-dllist -make -f tests/CMakeFiles/shared-test-slice.dir/build.make tests/CMakeFiles/shared-test-slice.dir/depend -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-slice.dir/DependInfo.cmake --color= -reading sources... [ 25%] cli -[ 70%] Linking C executable embedded-test-hash-table -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-hash-table.dir/link.txt --verbose=1 -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-bitset.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-bitset.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-bitset.dir/depend.internal". -Scanning dependencies of target shared-test-bitset -/build/libcork-0.15.0+ds/src/cork-initializer/main.c: In function 'main': -/build/libcork-0.15.0+ds/src/cork-initializer/main.c:12:10: warning: unused parameter 'argc' [-Wunused-parameter] - 12 | main(int argc, char **argv) +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:270:5: note: in expansion of macro 'check_counts' + 270 | check_counts(©_counts, 7, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:270:5: note: in expansion of macro 'check_counts' + 270 | check_counts(©_counts, 7, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:270:5: note: in expansion of macro 'check_counts' + 270 | check_counts(©_counts, 7, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:270:5: note: in expansion of macro 'check_counts' + 270 | check_counts(©_counts, 7, 0, 0, 0); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:272:5: note: in expansion of macro 'check_counts' + 272 | check_counts(©_counts, 7, 0, 5, 7); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:272:5: note: in expansion of macro 'check_counts' + 272 | check_counts(©_counts, 7, 0, 5, 7); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:272:5: note: in expansion of macro 'check_counts' + 272 | check_counts(©_counts, 7, 0, 5, 7); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:272:5: note: in expansion of macro 'check_counts' + 272 | check_counts(©_counts, 7, 0, 5, 7); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:274:5: note: in expansion of macro 'check_counts' + 274 | check_counts(©_counts, 7, 7, 5, 7); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:274:5: note: in expansion of macro 'check_counts' + 274 | check_counts(©_counts, 7, 7, 5, 7); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:274:5: note: in expansion of macro 'check_counts' + 274 | check_counts(©_counts, 7, 7, 5, 7); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:274:5: note: in expansion of macro 'check_counts' + 274 | check_counts(©_counts, 7, 7, 5, 7); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:207:9: note: in expansion of macro 'fail_unless_equal' + 207 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:277:5: note: in expansion of macro 'check_counts' + 277 | check_counts(&counts, 5, 5, 4, 4); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' + 209 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:277:5: note: in expansion of macro 'check_counts' + 277 | check_counts(&counts, 5, 5, 4, 4); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' + 211 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:277:5: note: in expansion of macro 'check_counts' + 277 | check_counts(&counts, 5, 5, 4, 4); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' + 213 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c:277:5: note: in expansion of macro 'check_counts' + 277 | check_counts(&counts, 5, 5, 4, 4); + | ^~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-array.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-array.c:305:10: warning: unused parameter 'argc' [-Wunused-parameter] + 305 | main(int argc, const char **argv) | ~~~~^~~~ -/build/libcork-0.15.0+ds/src/cork-initializer/main.c:12:23: warning: unused parameter 'argv' [-Wunused-parameter] - 12 | main(int argc, char **argv) - | ~~~~~~~^~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-bitset.dir/build.make tests/CMakeFiles/shared-test-bitset.dir/build -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-core.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-core.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-core.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-buffer.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-buffer.dir/depend.internal". -Scanning dependencies of target shared-test-core -Scanning dependencies of target shared-test-buffer -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-core.dir/build.make tests/CMakeFiles/shared-test-core.dir/build -[ 71%] Building C object tests/CMakeFiles/shared-test-dllist.dir/test-dllist.c.o -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-buffer.dir/build.make tests/CMakeFiles/shared-test-buffer.dir/build -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-dllist.dir/test-dllist.c.o -c /build/libcork-0.15.0+ds/tests/test-dllist.c -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-slice.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-slice.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-slice.dir/depend.internal". -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-hash-table.dir/test-hash-table.c.o -o embedded-test-hash-table -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -Scanning dependencies of target shared-test-slice -make -f tests/CMakeFiles/shared-test-gc.dir/build.make tests/CMakeFiles/shared-test-gc.dir/depend -[ 72%] Linking C executable embedded-test-threads -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-gc.dir/DependInfo.cmake --color= -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-threads.dir/link.txt --verbose=1 -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-slice.dir/build.make tests/CMakeFiles/shared-test-slice.dir/build -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 72%] Building C object tests/CMakeFiles/shared-test-bitset.dir/test-bitset.c.o -[ 73%] Building C object tests/CMakeFiles/shared-test-core.dir/test-core.c.o -make -f tests/CMakeFiles/shared-test-files.dir/build.make tests/CMakeFiles/shared-test-files.dir/depend -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-core.dir/test-core.c.o -c /build/libcork-0.15.0+ds/tests/test-core.c -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-files.dir/DependInfo.cmake --color= -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-bitset.dir/test-bitset.c.o -c /build/libcork-0.15.0+ds/tests/test-bitset.c -In file included from /build/libcork-0.15.0+ds/include/libcork/core/callbacks.h:14, - from /build/libcork-0.15.0+ds/include/libcork/core/allocator.h:18, - from /build/libcork-0.15.0+ds/include/libcork/core.h:15, - from /build/libcork-0.15.0+ds/src/cork-hash/cork-hash.c:15: +/build/libcork-0.15.0+ds/tests/test-array.c:305:29: warning: unused parameter 'argv' [-Wunused-parameter] + 305 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/cork-test.dir/cork-test/cork-test.c.o -o cork-test -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src libcork.so.16.0.2 -lpthread +In file included from /build/libcork-0.15.0+ds/tests/test-core.c:21: /build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_big_hash_buffer': /build/libcork-0.15.0+ds/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 299 | case 15: k2 ^= (uint64_t) (tail[14]) << 48; \ @@ -11528,6 +12302,19 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 360 | cork_murmur_hash_x64_128(seed, src, len, &result); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_stable_hash_buffer': +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:123:20: warning: this statement may fall through [-Wimplicit-fallthrough=] + 123 | case 3: k1 ^= tail[2] << 16; + | ~~~^~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:124:9: note: here + 124 | case 2: k1 ^= tail[1] << 8; + | ^~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:124:20: warning: this statement may fall through [-Wimplicit-fallthrough=] + 124 | case 2: k1 ^= tail[1] << 8; + | ~~~^~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/include/libcork/core/hash.h:125:9: note: here + 125 | case 1: k1 ^= tail[0]; + | ^~~~ /build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_hash_buffer': /build/libcork-0.15.0+ds/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 299 | case 15: k2 ^= (uint64_t) (tail[14]) << 48; \ @@ -11697,82 +12484,796 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_stable_hash_buffer': -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:123:20: warning: this statement may fall through [-Wimplicit-fallthrough=] - 123 | case 3: k1 ^= tail[2] << 16; - | ~~~^~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:124:9: note: here - 124 | case 2: k1 ^= tail[1] << 8; - | ^~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:124:20: warning: this statement may fall through [-Wimplicit-fallthrough=] - 124 | case 2: k1 ^= tail[1] << 8; - | ~~~^~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/core/hash.h:125:9: note: here - 125 | case 1: k1 ^= tail[0]; - | ^~~~ -[ 74%] Building C object tests/CMakeFiles/shared-test-slice.dir/test-slice.c.o -[ 75%] Building C object tests/CMakeFiles/shared-test-buffer.dir/test-buffer.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-slice.dir/test-slice.c.o -c /build/libcork-0.15.0+ds/tests/test-slice.c -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-threads.dir/test-threads.c.o -o embedded-test-threads -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-gc.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-gc.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-gc.dir/depend.internal". -Scanning dependencies of target shared-test-gc -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-buffer.dir/test-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-buffer.c -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-files.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-files.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-files.dir/depend.internal". +reading sources... [ 32%] dllist make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-gc.dir/build.make tests/CMakeFiles/shared-test-gc.dir/build -Scanning dependencies of target shared-test-files +[ 68%] Linking C executable shared-test-files +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-files.dir/link.txt --verbose=1 make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -In file included from /build/libcork-0.15.0+ds/tests/test-dllist.c:14: -/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'check_int64_list': +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 68%] Built target shared-test-dllist +[ 68%] Built target shared-test-slice +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-files.dir/test-files.c.o -o shared-test-files -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread +make -f tests/CMakeFiles/shared-test-ring-buffer.dir/build.make tests/CMakeFiles/shared-test-ring-buffer.dir/depend +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-ring-buffer.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/embedded-test-ring-buffer.dir/build.make tests/CMakeFiles/embedded-test-ring-buffer.dir/depend +[ 68%] Built target shared-test-bitset +[ 68%] Built target cork-hash +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-ring-buffer.dir/DependInfo.cmake --color= +In file included from /build/libcork-0.15.0+ds/tests/test-mempool.c:15: +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_01_fn': +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +/build/libcork-0.15.0+ds/tests/test-mempool.c:40:17: warning: too many arguments for format [-Wformat-extra-args] + 40 | "Cannot allocate object #%zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:49:17: warning: too many arguments for format [-Wformat-extra-args] + 49 | "Cannot reallocate object #%zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_fail_01_fn': +/build/libcork-0.15.0+ds/tests/test-mempool.c:68:13: warning: too many arguments for format [-Wformat-extra-args] + 68 | "Cannot allocate object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'int64_init': +/build/libcork-0.15.0+ds/tests/test-mempool.c:77:18: warning: unused parameter 'user_data' [-Wunused-parameter] + 77 | int64_init(void *user_data, void *vobj) + | ~~~~~~^~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'int64_done': +/build/libcork-0.15.0+ds/tests/test-mempool.c:84:35: warning: unused parameter 'vobj' [-Wunused-parameter] + 84 | int64_done(void *user_data, void *vobj) + | ~~~~~~^~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-mempool.c:15: +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_reuse_01_fn': +/build/libcork-0.15.0+ds/tests/test-mempool.c:109:13: warning: too many arguments for format [-Wformat-extra-args] + 109 | "Cannot allocate object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:112:29: warning: too many arguments for format [-Wformat-extra-args] + 112 | fail_unless(*obj == 12, "Unexpected value %" PRId64, *obj); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:120:13: warning: too many arguments for format [-Wformat-extra-args] + 120 | "Cannot allocate object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:121:29: warning: too many arguments for format [-Wformat-extra-args] + 121 | fail_unless(*obj == 42, "Unexpected value %" PRId64, *obj); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:128:17: warning: too many arguments for format [-Wformat-extra-args] + 128 | "done_object called an unexpected number of times: %zu", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-mempool.c:159:10: warning: unused parameter 'argc' [-Wunused-parameter] + 159 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:159:29: warning: unused parameter 'argv' [-Wunused-parameter] + 159 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-ring-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-ring-buffer.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-ring-buffer.dir/depend.internal". +make -f tests/CMakeFiles/embedded-test-slice.dir/build.make tests/CMakeFiles/embedded-test-slice.dir/depend +Scanning dependencies of target embedded-test-ring-buffer +[ 69%] Linking C executable shared-test-managed-buffer +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-managed-buffer.dir/link.txt --verbose=1 +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-slice.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/embedded-test-ring-buffer.dir/build.make tests/CMakeFiles/embedded-test-ring-buffer.dir/build +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-ring-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-ring-buffer.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-ring-buffer.dir/depend.internal". +Scanning dependencies of target shared-test-ring-buffer +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/shared-test-subprocess.dir/build.make tests/CMakeFiles/shared-test-subprocess.dir/depend +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-subprocess.dir/DependInfo.cmake --color= +[ 69%] Built target shared-test-gc +[ 70%] Linking C executable shared-test-buffer +make -f tests/CMakeFiles/shared-test-ring-buffer.dir/build.make tests/CMakeFiles/shared-test-ring-buffer.dir/build +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-buffer.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-managed-buffer.dir/test-managed-buffer.c.o -o shared-test-managed-buffer -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 70%] Built target cork-test +[ 71%] Building C object tests/CMakeFiles/embedded-test-ring-buffer.dir/test-ring-buffer.c.o +make -f tests/CMakeFiles/embedded-test-hash-table.dir/build.make tests/CMakeFiles/embedded-test-hash-table.dir/depend +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-slice.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-slice.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-slice.dir/depend.internal". +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-hash-table.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/embedded-test-mempool.dir/build.make tests/CMakeFiles/embedded-test-mempool.dir/depend +Scanning dependencies of target embedded-test-slice +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-ring-buffer.dir/test-ring-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-ring-buffer.c +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-mempool.dir/DependInfo.cmake --color= +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-slice.dir/build.make tests/CMakeFiles/embedded-test-slice.dir/build +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-hash-table.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-hash-table.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-hash-table.dir/depend.internal". +[ 71%] Linking C executable shared-test-hash-table +Scanning dependencies of target embedded-test-hash-table +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-subprocess.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-subprocess.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-subprocess.dir/depend.internal". +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-hash-table.dir/link.txt --verbose=1 +make -f tests/CMakeFiles/embedded-test-hash-table.dir/build.make tests/CMakeFiles/embedded-test-hash-table.dir/build +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-buffer.dir/test-buffer.c.o -o shared-test-buffer -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread +[ 72%] Building C object tests/CMakeFiles/shared-test-ring-buffer.dir/test-ring-buffer.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-ring-buffer.dir/test-ring-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-ring-buffer.c +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +Scanning dependencies of target shared-test-subprocess +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-mempool.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-mempool.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-mempool.dir/depend.internal". +make -f tests/CMakeFiles/shared-test-subprocess.dir/build.make tests/CMakeFiles/shared-test-subprocess.dir/build +Scanning dependencies of target embedded-test-mempool +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 73%] Building C object tests/CMakeFiles/embedded-test-hash-table.dir/test-hash-table.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-hash-table.dir/test-hash-table.c.o -c /build/libcork-0.15.0+ds/tests/test-hash-table.c +make -f tests/CMakeFiles/embedded-test-mempool.dir/build.make tests/CMakeFiles/embedded-test-mempool.dir/build +[ 74%] Building C object tests/CMakeFiles/embedded-test-slice.dir/test-slice.c.o +reading sources... [ 35%] ds +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-slice.dir/test-slice.c.o -c /build/libcork-0.15.0+ds/tests/test-slice.c +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 75%] Linking C executable shared-test-mempool +[ 76%] Linking C executable shared-test-threads +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-mempool.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-hash-table.dir/test-hash-table.c.o -o shared-test-hash-table -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-threads.dir/link.txt --verbose=1 +[ 76%] Built target shared-test-files +reading sources... [ 38%] errors +make -f tests/CMakeFiles/embedded-test-core.dir/build.make tests/CMakeFiles/embedded-test-core.dir/depend +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-core.dir/DependInfo.cmake --color= +[ 77%] Building C object tests/CMakeFiles/shared-test-subprocess.dir/test-subprocess.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-subprocess.dir/test-subprocess.c.o -c /build/libcork-0.15.0+ds/tests/test-subprocess.c +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-mempool.dir/test-mempool.c.o -o shared-test-mempool -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread +[ 78%] Building C object tests/CMakeFiles/embedded-test-mempool.dir/test-mempool.c.o +In file included from /build/libcork-0.15.0+ds/tests/test-ring-buffer.c:14: +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'test_ring_buffer_1_fn': +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:32:17: warning: too many arguments for format [-Wformat-extra-args] + 32 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:34:17: warning: too many arguments for format [-Wformat-extra-args] + 34 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:36:17: warning: too many arguments for format [-Wformat-extra-args] + 36 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:38:17: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:40:13: warning: too many arguments for format [-Wformat-extra-args] + 40 | "Shouldn't be able to add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:43:17: warning: too many arguments for format [-Wformat-extra-args] + 43 | "Unexpected head of ring buffer (peek)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:45:17: warning: too many arguments for format [-Wformat-extra-args] + 45 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:47:17: warning: too many arguments for format [-Wformat-extra-args] + 47 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:50:17: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:52:17: warning: too many arguments for format [-Wformat-extra-args] + 52 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:54:13: warning: too many arguments for format [-Wformat-extra-args] + 54 | "Shouldn't be able to add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:57:17: warning: too many arguments for format [-Wformat-extra-args] + 57 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:59:17: warning: too many arguments for format [-Wformat-extra-args] + 59 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:61:17: warning: too many arguments for format [-Wformat-extra-args] + 61 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:63:17: warning: too many arguments for format [-Wformat-extra-args] + 63 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:65:17: warning: too many arguments for format [-Wformat-extra-args] + 65 | "Shouldn't be able to pop from ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'test_ring_buffer_2_fn': +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:77:17: warning: too many arguments for format [-Wformat-extra-args] + 77 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:79:17: warning: too many arguments for format [-Wformat-extra-args] + 79 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:81:17: warning: too many arguments for format [-Wformat-extra-args] + 81 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:83:17: warning: too many arguments for format [-Wformat-extra-args] + 83 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-mempool.dir/test-mempool.c.o -c /build/libcork-0.15.0+ds/tests/test-mempool.c +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:85:13: warning: too many arguments for format [-Wformat-extra-args] + 85 | "Shouldn't be able to add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:88:17: warning: too many arguments for format [-Wformat-extra-args] + 88 | "Unexpected head of ring buffer (peek)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:90:17: warning: too many arguments for format [-Wformat-extra-args] + 90 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:92:17: warning: too many arguments for format [-Wformat-extra-args] + 92 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:95:17: warning: too many arguments for format [-Wformat-extra-args] + 95 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:97:17: warning: too many arguments for format [-Wformat-extra-args] + 97 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:99:13: warning: too many arguments for format [-Wformat-extra-args] + 99 | "Shouldn't be able to add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:102:17: warning: too many arguments for format [-Wformat-extra-args] + 102 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:104:17: warning: too many arguments for format [-Wformat-extra-args] + 104 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:106:17: warning: too many arguments for format [-Wformat-extra-args] + 106 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:108:17: warning: too many arguments for format [-Wformat-extra-args] + 108 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:110:17: warning: too many arguments for format [-Wformat-extra-args] + 110 | "Shouldn't be able to pop from ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:136:10: warning: unused parameter 'argc' [-Wunused-parameter] + 136 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:136:29: warning: unused parameter 'argv' [-Wunused-parameter] + 136 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-threads.dir/test-threads.c.o -o shared-test-threads -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-core.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-core.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-core.dir/depend.internal". +Scanning dependencies of target embedded-test-core +[ 78%] Built target shared-test-managed-buffer +make -f tests/CMakeFiles/embedded-test-buffer.dir/build.make tests/CMakeFiles/embedded-test-buffer.dir/depend +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-buffer.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/embedded-test-core.dir/build.make tests/CMakeFiles/embedded-test-core.dir/build +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'uint64__equals': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:36:22: warning: unused parameter 'user_data' [-Wunused-parameter] + 36 | uint64__equals(void *user_data, const void *va, const void *vb) + | ~~~~~~^~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'uint64__hash': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:48:20: warning: unused parameter 'user_data' [-Wunused-parameter] + 48 | uint64__hash(void *user_data, const void *velement) + | ~~~~~~^~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-hash-table.c:14: +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_map_sum': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:72:17: warning: too many arguments for format [-Wformat-extra-args] + 72 | "Unexpected map sum, got %" PRIu64 + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_iterator_sum': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:89:17: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Unexpected iterator sum, got %" PRIu64 + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_map_to_string': /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:59:5: note: in expansion of macro 'fail_unless_streq' - 59 | fail_unless_streq("List contents", expected, buf.buf); +/build/libcork-0.15.0+ds/tests/test-hash-table.c:114:5: note: in expansion of macro 'fail_unless_streq' + 114 | fail_unless_streq("Integer arrays", expected, buf.buf); | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'test_dllist_fn': -/build/libcork-0.15.0+ds/tests/test-dllist.c:76:17: warning: too many arguments for format [-Wformat-extra-args] - 76 | "Unexpected size of list: got %zu, expected 0", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:79:17: warning: too many arguments for format [-Wformat-extra-args] - 79 | "Expected empty list"); - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:85:17: warning: too many arguments for format [-Wformat-extra-args] - 85 | "Unexpected size of list: got %zu, expected 1", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/build/libcork-0.15.0+ds/tests/test-dllist.c:92:17: warning: too many arguments for format [-Wformat-extra-args] - 92 | "Unexpected size of list: got %zu, expected 2", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_iterator_to_string': +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:135:5: note: in expansion of macro 'fail_unless_streq' + 135 | fail_unless_streq("Integer arrays", expected, buf.buf); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_uint64_hash_table_fn': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:154:17: warning: too many arguments for format [-Wformat-extra-args] + 154 | "Hash table should start empty"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:158:17: warning: too many arguments for format [-Wformat-extra-args] + 158 | "Shouldn't get value pointer from empty hash table"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:169:5: note: in expansion of macro 'fail_if_error' + 169 | fail_if_error(cork_hash_table_put + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:172:25: warning: too many arguments for format [-Wformat-extra-args] + 172 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:177:17: warning: too many arguments for format [-Wformat-extra-args] + 177 | "Unexpected previous key"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:179:17: warning: too many arguments for format [-Wformat-extra-args] + 179 | "Unexpected previous value"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-files.dir/build.make tests/CMakeFiles/shared-test-files.dir/build -/build/libcork-0.15.0+ds/tests/test-dllist.c:99:17: warning: too many arguments for format [-Wformat-extra-args] - 99 | "Unexpected size of list: got %zu, expected 3", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:106:17: warning: too many arguments for format [-Wformat-extra-args] - 106 | "Unexpected sum, got %ld, expected 6", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:114:17: warning: too many arguments for format [-Wformat-extra-args] - 114 | "Unexpected sum, got %ld, expected 6", +/build/libcork-0.15.0+ds/tests/test-hash-table.c:182:17: warning: too many arguments for format [-Wformat-extra-args] + 182 | "Unexpected size after adding {0->32}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:184:5: note: in expansion of macro 'fail_if_error' + 184 | fail_if_error(entry = cork_hash_table_get_or_create + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:186:21: warning: too many arguments for format [-Wformat-extra-args] + 186 | fail_if(is_new, "Shouldn't create new {0=>X} entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:189:17: warning: too many arguments for format [-Wformat-extra-args] + 189 | "Unexpected value for {0=>X} entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:192:17: warning: too many arguments for format [-Wformat-extra-args] + 192 | "Unexpected size after retrieving {0->32}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:195:5: note: in expansion of macro 'fail_if_error' + 195 | fail_if_error(entry = cork_hash_table_get_or_create + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:197:25: warning: too many arguments for format [-Wformat-extra-args] + 197 | fail_unless(is_new, "Should create new {1=>X} entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:206:17: warning: too many arguments for format [-Wformat-extra-args] + 206 | "Unexpected size after adding {1=>2}"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:119:17: warning: too many arguments for format [-Wformat-extra-args] - 119 | "Unexpected size of list: got %zu, expected 2", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-dllist.c:184:10: warning: unused parameter 'argc' [-Wunused-parameter] - 184 | main(int argc, const char **argv) +/build/libcork-0.15.0+ds/tests/test-hash-table.c:215:17: warning: too many arguments for format [-Wformat-extra-args] + 215 | "Couldn't delete {0=>32}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:218:17: warning: too many arguments for format [-Wformat-extra-args] + 218 | "Unexpected size after deleting entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:225:13: warning: too many arguments for format [-Wformat-extra-args] + 225 | "Shouldn't be able to delete nonexistent {3=>X}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:230:17: warning: too many arguments for format [-Wformat-extra-args] + 230 | "Unexpected size after deleting last entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:241:5: note: in expansion of macro 'fail_if_error' + 241 | fail_if_error(cork_hash_table_put + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:244:25: warning: too many arguments for format [-Wformat-extra-args] + 244 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:252:5: note: in expansion of macro 'fail_if_error' + 252 | fail_if_error(cork_hash_table_put + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:255:25: warning: too many arguments for format [-Wformat-extra-args] + 255 | fail_unless(is_new, "Couldn't append {1=>2} to hash table"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:261:17: warning: too many arguments for format [-Wformat-extra-args] + 261 | "Unexpected size after deleting entries using map"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_string_hash_table_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:281:5: note: in expansion of macro 'fail_if_error' + 281 | fail_if_error(cork_hash_table_put + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:284:17: warning: too many arguments for format [-Wformat-extra-args] + 284 | "Unexpected size after adding {key1->1}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:288:13: warning: too many arguments for format [-Wformat-extra-args] + 288 | "No entry for key1"); + | ^~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:291:17: warning: too many arguments for format [-Wformat-extra-args] + 291 | "Unexpected value for key1"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:295:17: warning: too many arguments for format [-Wformat-extra-args] + 295 | "Unexpected entry for key2"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_pointer_hash_table_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:315:5: note: in expansion of macro 'fail_if_error' + 315 | fail_if_error(cork_hash_table_put + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:318:17: warning: too many arguments for format [-Wformat-extra-args] + 318 | "Unexpected size after adding {key1->1}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:321:13: warning: too many arguments for format [-Wformat-extra-args] + 321 | "No entry for key1"); + | ^~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:324:17: warning: too many arguments for format [-Wformat-extra-args] + 324 | "Unexpected value for key1"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c:327:17: warning: too many arguments for format [-Wformat-extra-args] + 327 | "Unexpected entry for key2"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-hash-table.c:354:10: warning: unused parameter 'argc' [-Wunused-parameter] + 354 | main(int argc, const char **argv) | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-dllist.c:184:29: warning: unused parameter 'argv' [-Wunused-parameter] - 184 | main(int argc, const char **argv) +/build/libcork-0.15.0+ds/tests/test-hash-table.c:354:29: warning: unused parameter 'argv' [-Wunused-parameter] + 354 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +In file included from /build/libcork-0.15.0+ds/tests/test-ring-buffer.c:14: +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'test_ring_buffer_1_fn': +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:32:17: warning: too many arguments for format [-Wformat-extra-args] + 32 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:34:17: warning: too many arguments for format [-Wformat-extra-args] + 34 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:36:17: warning: too many arguments for format [-Wformat-extra-args] + 36 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:38:17: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:40:13: warning: too many arguments for format [-Wformat-extra-args] + 40 | "Shouldn't be able to add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:43:17: warning: too many arguments for format [-Wformat-extra-args] + 43 | "Unexpected head of ring buffer (peek)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:45:17: warning: too many arguments for format [-Wformat-extra-args] + 45 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:47:17: warning: too many arguments for format [-Wformat-extra-args] + 47 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:50:17: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:52:17: warning: too many arguments for format [-Wformat-extra-args] + 52 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:54:13: warning: too many arguments for format [-Wformat-extra-args] + 54 | "Shouldn't be able to add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:57:17: warning: too many arguments for format [-Wformat-extra-args] + 57 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:59:17: warning: too many arguments for format [-Wformat-extra-args] + 59 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:61:17: warning: too many arguments for format [-Wformat-extra-args] + 61 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:63:17: warning: too many arguments for format [-Wformat-extra-args] + 63 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:65:17: warning: too many arguments for format [-Wformat-extra-args] + 65 | "Shouldn't be able to pop from ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'test_ring_buffer_2_fn': +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:77:17: warning: too many arguments for format [-Wformat-extra-args] + 77 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:79:17: warning: too many arguments for format [-Wformat-extra-args] + 79 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:81:17: warning: too many arguments for format [-Wformat-extra-args] + 81 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:83:17: warning: too many arguments for format [-Wformat-extra-args] + 83 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:85:13: warning: too many arguments for format [-Wformat-extra-args] + 85 | "Shouldn't be able to add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:88:17: warning: too many arguments for format [-Wformat-extra-args] + 88 | "Unexpected head of ring buffer (peek)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:90:17: warning: too many arguments for format [-Wformat-extra-args] + 90 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:92:17: warning: too many arguments for format [-Wformat-extra-args] + 92 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:95:17: warning: too many arguments for format [-Wformat-extra-args] + 95 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:97:17: warning: too many arguments for format [-Wformat-extra-args] + 97 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:99:13: warning: too many arguments for format [-Wformat-extra-args] + 99 | "Shouldn't be able to add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:102:17: warning: too many arguments for format [-Wformat-extra-args] + 102 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:104:17: warning: too many arguments for format [-Wformat-extra-args] + 104 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:106:17: warning: too many arguments for format [-Wformat-extra-args] + 106 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-mempool.c:15: +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_01_fn': +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:108:17: warning: too many arguments for format [-Wformat-extra-args] + 108 | "Unexpected head of ring buffer (pop)"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:40:17: warning: too many arguments for format [-Wformat-extra-args] + 40 | "Cannot allocate object #%zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:110:17: warning: too many arguments for format [-Wformat-extra-args] + 110 | "Shouldn't be able to pop from ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:49:17: warning: too many arguments for format [-Wformat-extra-args] + 49 | "Cannot reallocate object #%zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:136:10: warning: unused parameter 'argc' [-Wunused-parameter] + 136 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:136:29: warning: unused parameter 'argv' [-Wunused-parameter] + 136 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_fail_01_fn': +/build/libcork-0.15.0+ds/tests/test-mempool.c:68:13: warning: too many arguments for format [-Wformat-extra-args] + 68 | "Cannot allocate object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'int64_init': +/build/libcork-0.15.0+ds/tests/test-mempool.c:77:18: warning: unused parameter 'user_data' [-Wunused-parameter] + 77 | int64_init(void *user_data, void *vobj) + | ~~~~~~^~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'int64_done': +/build/libcork-0.15.0+ds/tests/test-mempool.c:84:35: warning: unused parameter 'vobj' [-Wunused-parameter] + 84 | int64_done(void *user_data, void *vobj) + | ~~~~~~^~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-mempool.c:15: +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_reuse_01_fn': +/build/libcork-0.15.0+ds/tests/test-mempool.c:109:13: warning: too many arguments for format [-Wformat-extra-args] + 109 | "Cannot allocate object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:112:29: warning: too many arguments for format [-Wformat-extra-args] + 112 | fail_unless(*obj == 12, "Unexpected value %" PRId64, *obj); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:120:13: warning: too many arguments for format [-Wformat-extra-args] + 120 | "Cannot allocate object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:121:29: warning: too many arguments for format [-Wformat-extra-args] + 121 | fail_unless(*obj == 42, "Unexpected value %" PRId64, *obj); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:128:17: warning: too many arguments for format [-Wformat-extra-args] + 128 | "done_object called an unexpected number of times: %zu", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-mempool.c:159:10: warning: unused parameter 'argc' [-Wunused-parameter] + 159 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-mempool.c:159:29: warning: unused parameter 'argv' [-Wunused-parameter] + 159 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-buffer.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-buffer.dir/depend.internal". +Scanning dependencies of target embedded-test-buffer +In file included from /build/libcork-0.15.0+ds/tests/test-subprocess.c:16: +/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'verify_consumer__eof': +/build/libcork-0.15.0+ds/tests/test-subprocess.c:60:17: warning: too many arguments for format [-Wformat-extra-args] + 60 | "Unexpected %s: got\n%s\nexpected\n%s\n", self->name, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'test_subprocesses_': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:144:9: note: in expansion of macro 'fail_if_error' + 144 | fail_if_error(exec = cork_exec_new_with_param_array + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:147:9: note: in expansion of macro 'fail_if_error' + 147 | fail_if_error(sub = cork_subprocess_new_exec + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:153:5: note: in expansion of macro 'fail_if_error' + 153 | fail_if_error(cork_subprocess_group_start(group)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:154:5: note: in expansion of macro 'fail_if_error' + 154 | fail_if_error(cork_subprocess_group_wait(group)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:158:9: note: in expansion of macro 'fail_unless_equal' + 158 | fail_unless_equal("Exit codes", "%d", + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c: At top level: +/build/libcork-0.15.0+ds/tests/test-subprocess.c:178:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 178 | }; + | ^ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:183:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 183 | }; + | ^ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +/build/libcork-0.15.0+ds/tests/test-subprocess.c:192:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 192 | }; + | ^ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:197:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 197 | }; + | ^ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +make -f tests/CMakeFiles/embedded-test-buffer.dir/build.make tests/CMakeFiles/embedded-test-buffer.dir/build +/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-subprocess.c:267:10: warning: unused parameter 'argc' [-Wunused-parameter] + 267 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:267:29: warning: unused parameter 'argv' [-Wunused-parameter] + 267 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 79%] Building C object tests/CMakeFiles/embedded-test-core.dir/test-core.c.o +[ 79%] Built target shared-test-buffer +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-core.dir/test-core.c.o -c /build/libcork-0.15.0+ds/tests/test-core.c +In file included from /build/libcork-0.15.0+ds/tests/test-slice.c:14: +/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'test_static_slice_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:34:5: note: in expansion of macro 'fail_if_error' + 34 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:35:5: note: in expansion of macro 'fail_if_error' + 35 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:36:5: note: in expansion of macro 'fail_if_error' + 36 | fail_if_error(cork_slice_slice(&slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:37:51: warning: too many arguments for format [-Wformat-extra-args] + 37 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:38:52: warning: too many arguments for format [-Wformat-extra-args] + 38 | fail_unless(cork_slice_equal(&slice, &lcopy1), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'test_copy_once_slice_fn': +/build/libcork-0.15.0+ds/tests/test-slice.c:63:35: warning: too many arguments for format [-Wformat-extra-args] + 63 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:65:5: note: in expansion of macro 'fail_if_error' + 65 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:68:35: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:69:46: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail_unless(slice.buf + 8 == lcopy1.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:71:5: note: in expansion of macro 'fail_if_error' + 71 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:72:5: note: in expansion of macro 'fail_if_error' + 72 | fail_if_error(cork_slice_slice(&slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:76:35: warning: too many arguments for format [-Wformat-extra-args] + 76 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:77:41: warning: too many arguments for format [-Wformat-extra-args] + 77 | fail_unless(slice.buf == copy1.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:80:51: warning: too many arguments for format [-Wformat-extra-args] + 80 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:84:5: note: in expansion of macro 'fail_if_error' + 84 | fail_if_error(cork_slice_light_copy(&lcopy2, &slice, 0, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:85:35: warning: too many arguments for format [-Wformat-extra-args] + 85 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:86:42: warning: too many arguments for format [-Wformat-extra-args] + 86 | fail_unless(slice.buf == lcopy2.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:88:5: note: in expansion of macro 'fail_if_error' + 88 | fail_if_error(cork_slice_copy(©2, &slice, 0, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:91:41: warning: too many arguments for format [-Wformat-extra-args] + 91 | fail_unless(slice.buf == copy2.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +make -f tests/CMakeFiles/embedded-test-managed-buffer.dir/build.make tests/CMakeFiles/embedded-test-managed-buffer.dir/depend +/build/libcork-0.15.0+ds/tests/test-slice.c:92:41: warning: too many arguments for format [-Wformat-extra-args] + 92 | fail_unless(copy1.buf == copy2.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:93:51: warning: too many arguments for format [-Wformat-extra-args] + 93 | fail_unless(cork_slice_equal(&slice, ©2), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:94:51: warning: too many arguments for format [-Wformat-extra-args] + 94 | fail_unless(cork_slice_equal(©1, ©2), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-slice.c:125:10: warning: unused parameter 'argc' [-Wunused-parameter] + 125 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-slice.c:125:29: warning: unused parameter 'argv' [-Wunused-parameter] + 125 | main(int argc, const char **argv) | ~~~~~~~~~~~~~^~~~ make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-managed-buffer.dir/DependInfo.cmake --color= +[ 79%] Built target shared-test-threads +make -f tests/CMakeFiles/embedded-test-files.dir/build.make tests/CMakeFiles/embedded-test-files.dir/depend +[ 79%] Building C object tests/CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o +[ 80%] Linking C executable embedded-test-threads +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-buffer.c +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-files.dir/DependInfo.cmake --color= +[ 81%] Linking C executable embedded-test-ring-buffer +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-threads.dir/link.txt --verbose=1 +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-ring-buffer.dir/link.txt --verbose=1 +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-managed-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-managed-buffer.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-managed-buffer.dir/depend.internal". +Scanning dependencies of target embedded-test-managed-buffer +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-managed-buffer.dir/build.make tests/CMakeFiles/embedded-test-managed-buffer.dir/build +[ 81%] Built target shared-test-mempool +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-subprocess.dir/build.make tests/CMakeFiles/embedded-test-subprocess.dir/depend +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-subprocess.dir/DependInfo.cmake --color= +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-files.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-files.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-files.dir/depend.internal". +[ 81%] Built target shared-test-hash-table +Scanning dependencies of target embedded-test-files +make -f tests/CMakeFiles/embedded-test-dllist.dir/build.make tests/CMakeFiles/embedded-test-dllist.dir/depend In file included from /build/libcork-0.15.0+ds/tests/test-core.c:16: /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_bool_fn': /build/libcork-0.15.0+ds/tests/test-core.c:41:24: warning: too many arguments for format [-Wformat-extra-args] 41 | fail_unless(value, "Unexpected true value"); | ^~~~~~~~~~~~~~~~~~~~~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-threads.dir/test-threads.c.o -o embedded-test-threads -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:44:20: warning: too many arguments for format [-Wformat-extra-args] 44 | fail_if(value, "Unexpected false value"); | ^~~~~~~~~~~~~~~~~~~~~~~~ @@ -11837,6 +13338,8 @@ /build/libcork-0.15.0+ds/tests/test-core.c:70:5: note: in expansion of macro 'TEST_INT_TYPE' 70 | TEST_INT_TYPE(ptrdiff_t); | ^~~~~~~~~~~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-dllist.dir/DependInfo.cmake --color= /build/libcork-0.15.0+ds/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] 58 | fail_unless(i == 0, "Unexpected value for " #type); \ | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -11921,6 +13424,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:197:5: note: in expansion of macro 'TEST_ENDIAN' 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:160:21: warning: too many arguments for format [-Wformat-extra-args] 160 | "Unexpected in-place big-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11939,6 +13443,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:197:5: note: in expansion of macro 'TEST_ENDIAN' 197 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); | ^~~~~~~~~~~ +make -f tests/CMakeFiles/embedded-test-files.dir/build.make tests/CMakeFiles/embedded-test-files.dir/build /build/libcork-0.15.0+ds/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] 180 | "Unexpected little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11987,13 +13492,14 @@ /build/libcork-0.15.0+ds/tests/test-core.c:198:5: note: in expansion of macro 'TEST_ENDIAN' 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ -reading sources... [ 29%] config +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-ring-buffer.dir/test-ring-buffer.c.o -o embedded-test-ring-buffer -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] 180 | "Unexpected little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:198:5: note: in expansion of macro 'TEST_ENDIAN' 198 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); | ^~~~~~~~~~~ +[ 82%] Linking C executable embedded-test-mempool /build/libcork-0.15.0+ds/tests/test-core.c:185:21: warning: too many arguments for format [-Wformat-extra-args] 185 | "Unexpected in-place little-to-host " #type " value"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12244,14 +13750,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-bitset.c:14: -/build/libcork-0.15.0+ds/tests/test-bitset.c: In function 'test_bitset_of_size': -/build/libcork-0.15.0+ds/tests/test-bitset.c:34:46: warning: too many arguments for format [-Wformat-extra-args] - 34 | fail_unless(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-bitset.c:39:42: warning: too many arguments for format [-Wformat-extra-args] - 39 | fail_if(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:478:21: warning: too many arguments for format [-Wformat-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12261,13 +13759,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-bitset.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-bitset.c:91:10: warning: unused parameter 'argc' [-Wunused-parameter] - 91 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-bitset.c:91:29: warning: unused parameter 'argv' [-Wunused-parameter] - 91 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -12289,6 +13780,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +reading sources... [ 41%] files /build/libcork-0.15.0+ds/tests/test-core.c:478:21: warning: too many arguments for format [-Wformat-extra-args] 478 | "IPv4 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12328,6 +13820,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-mempool.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -12340,6 +13833,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:471:21: warning: too many arguments for format [-Wformat-extra-args] 471 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12370,7 +13864,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 76%] Building C object tests/CMakeFiles/shared-test-gc.dir/test-gc.c.o /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12395,6 +13888,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +[ 83%] Building C object tests/CMakeFiles/embedded-test-managed-buffer.dir/test-managed-buffer.c.o /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12491,8 +13985,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-slice.c:14: -/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'test_static_slice_fn': /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12505,28 +13997,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:490:5: note: in expansion of macro 'IPV4_TESTS' 490 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:34:5: note: in expansion of macro 'fail_if_error' - 34 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:35:5: note: in expansion of macro 'fail_if_error' - 35 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:36:5: note: in expansion of macro 'fail_if_error' - 36 | fail_if_error(cork_slice_slice(&slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:37:51: warning: too many arguments for format [-Wformat-extra-args] - 37 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-gc.dir/test-gc.c.o -c /build/libcork-0.15.0+ds/tests/test-gc.c /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12539,13 +14009,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:38:52: warning: too many arguments for format [-Wformat-extra-args] - 38 | fail_unless(cork_slice_equal(&slice, &lcopy1), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'test_copy_once_slice_fn': -/build/libcork-0.15.0+ds/tests/test-slice.c:63:35: warning: too many arguments for format [-Wformat-extra-args] - 63 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-managed-buffer.dir/test-managed-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-managed-buffer.c /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12558,24 +14022,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:65:5: note: in expansion of macro 'fail_if_error' - 65 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:68:35: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:69:46: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail_unless(slice.buf + 8 == lcopy1.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:71:5: note: in expansion of macro 'fail_if_error' - 71 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12588,27 +14034,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:72:5: note: in expansion of macro 'fail_if_error' - 72 | fail_if_error(cork_slice_slice(&slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:76:35: warning: too many arguments for format [-Wformat-extra-args] - 76 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:77:41: warning: too many arguments for format [-Wformat-extra-args] - 77 | fail_unless(slice.buf == copy1.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:80:51: warning: too many arguments for format [-Wformat-extra-args] - 80 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:84:5: note: in expansion of macro 'fail_if_error' - 84 | fail_if_error(cork_slice_light_copy(&lcopy2, &slice, 0, 4)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12621,24 +14046,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:85:35: warning: too many arguments for format [-Wformat-extra-args] - 85 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:86:42: warning: too many arguments for format [-Wformat-extra-args] - 86 | fail_unless(slice.buf == lcopy2.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:88:5: note: in expansion of macro 'fail_if_error' - 88 | fail_if_error(cork_slice_copy(©2, &slice, 0, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:91:41: warning: too many arguments for format [-Wformat-extra-args] - 91 | fail_unless(slice.buf == copy2.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:92:41: warning: too many arguments for format [-Wformat-extra-args] - 92 | fail_unless(copy1.buf == copy2.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12651,12 +14058,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:93:51: warning: too many arguments for format [-Wformat-extra-args] - 93 | fail_unless(cork_slice_equal(&slice, ©2), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:94:51: warning: too many arguments for format [-Wformat-extra-args] - 94 | fail_unless(cork_slice_equal(©1, ©2), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12669,13 +14070,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-slice.c:125:10: warning: unused parameter 'argc' [-Wunused-parameter] - 125 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-slice.c:125:29: warning: unused parameter 'argv' [-Wunused-parameter] - 125 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12784,6 +14178,8 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-subprocess.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-subprocess.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-subprocess.dir/depend.internal". /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12916,8 +14312,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:491:5: note: in expansion of macro 'IPV6_TESTS' 491 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ -[ 76%] Built target embedded-test-hash-table -[ 77%] Building C object tests/CMakeFiles/shared-test-files.dir/test-files.c.o /build/libcork-0.15.0+ds/tests/test-core.c:486:14: warning: too many arguments for format [-Wformat-extra-args] 486 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -12969,10 +14363,10 @@ /build/libcork-0.15.0+ds/tests/test-core.c:504:17: warning: too many arguments for format [-Wformat-extra-args] 504 | "Bad CIDR block for 1.2.3.4 and %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:507:13: warning: too many arguments for format [-Wformat-extra-args] 507 | "IPv4 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Scanning dependencies of target embedded-test-subprocess /build/libcork-0.15.0+ds/tests/test-core.c:510:13: warning: too many arguments for format [-Wformat-extra-args] 510 | "IPv4 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13079,7 +14473,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-files.dir/test-files.c.o -c /build/libcork-0.15.0+ds/tests/test-files.c /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13089,7 +14482,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 78%] Linking C executable cork-initializer /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13141,6 +14533,8 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-dllist.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-dllist.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-dllist.dir/depend.internal". /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13150,7 +14544,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make -f tests/CMakeFiles/shared-test-array.dir/build.make tests/CMakeFiles/shared-test-array.dir/depend /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13160,7 +14553,8 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-initializer.dir/link.txt --verbose=1 +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-subprocess.dir/build.make tests/CMakeFiles/embedded-test-subprocess.dir/build /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -13191,6 +14585,39 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: +/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'check_buffers': +/build/libcork-0.15.0+ds/tests/test-buffer.c:33:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void * const' [-Wformat=] + 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 34 | buf1->size, buf1->buf, buf2->size, buf2->buf); + | ~~~~~~~~~ + | | + | void * const +/build/libcork-0.15.0+ds/tests/test-buffer.c:33:52: note: format string is defined here + 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ~^ + | | + | char * + | %p +In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: +/build/libcork-0.15.0+ds/tests/test-buffer.c:33:17: warning: format '%s' expects argument of type 'char *', but argument 8 has type 'void * const' [-Wformat=] + 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 34 | buf1->size, buf1->buf, buf2->size, buf2->buf); + | ~~~~~~~~~ + | | + | void * const +/build/libcork-0.15.0+ds/tests/test-buffer.c:33:69: note: format string is defined here + 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ~^ + | | + | char * + | %p +In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: +/build/libcork-0.15.0+ds/tests/test-buffer.c:33:17: warning: too many arguments for format [-Wformat-extra-args] + 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -13203,6 +14630,24 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'check_buffer': +/build/libcork-0.15.0+ds/tests/test-buffer.c:42:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void * const' [-Wformat=] + 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 43 | buf->size, buf->buf, expected_len, expected); + | ~~~~~~~~ + | | + | void * const +/build/libcork-0.15.0+ds/tests/test-buffer.c:42:54: note: format string is defined here + 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", + | ~^ + | | + | char * + | %p +In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: +/build/libcork-0.15.0+ds/tests/test-buffer.c:42:17: warning: too many arguments for format [-Wformat-extra-args] + 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13212,6 +14657,17 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +Scanning dependencies of target embedded-test-dllist +/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'test_buffer_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:58:5: note: in expansion of macro 'fail_if_error' + 58 | fail_if_error(cork_buffer_set(&buffer1, SRC, SRC_LEN)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:61:17: warning: too many arguments for format [-Wformat-extra-args] + 61 | "Unexpected character at position 0: got %c, expected %c", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13221,6 +14677,27 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:65:17: warning: too many arguments for format [-Wformat-extra-args] + 65 | "Unexpected character at position 1: got %c, expected %c", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:68:5: note: in expansion of macro 'fail_if_error' + 68 | fail_if_error(buffer2 = cork_buffer_new()); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:69:5: note: in expansion of macro 'fail_if_error' + 69 | fail_if_error(cork_buffer_set_string(buffer2, SRC)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:72:5: note: in expansion of macro 'fail_if_error' + 72 | fail_if_error(buffer3 = cork_buffer_new()); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -13233,6 +14710,12 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:73:5: note: in expansion of macro 'fail_if_error' + 73 | fail_if_error(cork_buffer_printf + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13242,6 +14725,25 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'test_buffer_append_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:109:5: note: in expansion of macro 'fail_if_error' + 109 | fail_if_error(cork_buffer_set(&buffer1, SRC2, SRC2_LEN)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:116:5: note: in expansion of macro 'fail_if_error' + 116 | fail_if_error(cork_buffer_append(&buffer1, SRC1, SRC1_LEN)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:117:5: note: in expansion of macro 'fail_if_error' + 117 | fail_if_error(cork_buffer_append(&buffer1, SRC2, SRC2_LEN)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13254,6 +14756,24 @@ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:118:5: note: in expansion of macro 'fail_if_error' + 118 | fail_if_error(cork_buffer_append_string(&buffer1, SRC3)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:119:5: note: in expansion of macro 'fail_if_error' + 119 | fail_if_error(cork_buffer_append_string(&buffer1, SRC4)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:122:5: note: in expansion of macro 'fail_if_error' + 122 | fail_if_error(cork_buffer_set_string(&buffer2, EXPECTED)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:523:9: note: in expansion of macro 'fail_if_error' 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ @@ -13263,6 +14783,24 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:125:5: note: in expansion of macro 'fail_if_error' + 125 | fail_if_error(buffer3 = cork_buffer_new()); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:126:5: note: in expansion of macro 'fail_if_error' + 126 | fail_if_error(cork_buffer_set(buffer3, SRC1, SRC1_LEN)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:127:5: note: in expansion of macro 'fail_if_error' + 127 | fail_if_error(cork_buffer_append_printf + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13272,6 +14810,33 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:132:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat=] + 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 133 | buffer1.size, buffer1.buf, buffer3->size, buffer3->buf); + | ~~~~~~~~~~~ + | | + | void * +/build/libcork-0.15.0+ds/tests/test-buffer.c:132:52: note: format string is defined here + 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ~^ + | | + | char * + | %p +In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: +/build/libcork-0.15.0+ds/tests/test-buffer.c:132:17: warning: format '%s' expects argument of type 'char *', but argument 8 has type 'void *' [-Wformat=] + 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 133 | buffer1.size, buffer1.buf, buffer3->size, buffer3->buf); + | ~~~~~~~~~~~~ + | | + | void * +/build/libcork-0.15.0+ds/tests/test-buffer.c:132:69: note: format string is defined here + 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ~^ + | | + | char * + | %p /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13281,6 +14846,23 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: +/build/libcork-0.15.0+ds/tests/test-buffer.c:132:17: warning: too many arguments for format [-Wformat-extra-args] + 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'test_buffer_slicing_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:152:5: note: in expansion of macro 'fail_if_error' + 152 | fail_if_error(buffer = cork_buffer_new()); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:153:5: note: in expansion of macro 'fail_if_error' + 153 | fail_if_error(cork_buffer_set_string(buffer, SRC)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -13293,6 +14875,24 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:155:5: note: in expansion of macro 'fail_if_error' + 155 | fail_if_error(managed = cork_buffer_to_managed_buffer + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:159:5: note: in expansion of macro 'fail_if_error' + 159 | fail_if_error(buffer = cork_buffer_new()); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:160:5: note: in expansion of macro 'fail_if_error' + 160 | fail_if_error(cork_buffer_set_string(buffer, SRC)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13302,6 +14902,25 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:162:5: note: in expansion of macro 'fail_if_error' + 162 | fail_if_error(cork_buffer_to_slice(buffer, &slice1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:164:5: note: in expansion of macro 'fail_if_error' + 164 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, 2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:167:5: note: in expansion of macro 'fail_if_error' + 167 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, buffer->size)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13314,6 +14933,18 @@ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:170:5: note: in expansion of macro 'fail_if_error' + 170 | fail_if_error(cork_slice_copy_fast(&slice2, &slice1, 2, 2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:173:5: note: in expansion of macro 'fail_if_error' + 173 | fail_if_error(cork_slice_copy_offset_fast(&slice2, &slice1, 2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:523:9: note: in expansion of macro 'fail_if_error' 523 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ @@ -13323,9 +14954,18 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 78%] Built target embedded-test-threads -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-array.dir/DependInfo.cmake --color= +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:176:5: note: in expansion of macro 'fail_if_error' + 176 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, 0)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:177:5: note: in expansion of macro 'fail_if_error' + 177 | fail_if_error(cork_slice_slice_offset_fast(&slice2, 2)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13335,6 +14975,22 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:178:5: note: in expansion of macro 'fail_if_error' + 178 | fail_if_error(cork_slice_slice_fast(&slice2, 0, 2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:179:5: note: in expansion of macro 'fail_if_error' + 179 | fail_if_error(cork_slice_slice(&slice1, 2, 2)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:180:53: warning: too many arguments for format [-Wformat-extra-args] + 180 | fail_unless(cork_slice_equal(&slice1, &slice2), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13344,6 +15000,13 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'test_buffer_stream_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:204:5: note: in expansion of macro 'fail_if_error' + 204 | fail_if_error(consumer = + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -13356,6 +15019,25 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +make -f tests/CMakeFiles/embedded-test-dllist.dir/build.make tests/CMakeFiles/embedded-test-dllist.dir/build +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:208:5: note: in expansion of macro 'fail_if_error' + 208 | fail_if_error(cork_stream_consumer_data(consumer, SRC1, SRC1_LEN, true)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:211:5: note: in expansion of macro 'fail_if_error' + 211 | fail_if_error(cork_stream_consumer_data(consumer, SRC2, SRC2_LEN, false)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:214:5: note: in expansion of macro 'fail_if_error' + 214 | fail_if_error(cork_stream_consumer_eof(consumer)); + | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13365,6 +15047,13 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:218:5: note: in expansion of macro 'fail_if_error' + 218 | fail_if_error(cork_buffer_set(&buffer2, EXPECTED, EXPECTED_SIZE)); + | ^~~~~~~~~~~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-mempool.dir/test-mempool.c.o -o embedded-test-mempool -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13374,7 +15063,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make -f tests/CMakeFiles/shared-test-threads.dir/build.make tests/CMakeFiles/shared-test-threads.dir/depend +[ 84%] Linking C executable shared-test-subprocess /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -13396,6 +15085,13 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-buffer.c:336:10: warning: unused parameter 'argc' [-Wunused-parameter] + 336 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-buffer.c:336:29: warning: unused parameter 'argv' [-Wunused-parameter] + 336 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13435,6 +15131,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-subprocess.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13471,6 +15168,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +[ 84%] Building C object tests/CMakeFiles/embedded-test-files.dir/test-files.c.o /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13519,8 +15217,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-threads.dir/DependInfo.cmake --color= +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-files.dir/test-files.c.o -c /build/libcork-0.15.0+ds/tests/test-files.c /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13656,6 +15353,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:534:21: warning: too many arguments for format [-Wformat-extra-args] 534 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13677,8 +15375,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:546:5: note: in expansion of macro 'IPV6_TESTS' 546 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-array.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-array.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-array.dir/depend.internal". /build/libcork-0.15.0+ds/tests/test-core.c:527:21: warning: too many arguments for format [-Wformat-extra-args] 527 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13787,7 +15483,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -Scanning dependencies of target shared-test-array /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13812,6 +15507,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ +[ 85%] Building C object tests/CMakeFiles/embedded-test-subprocess.dir/test-subprocess.c.o /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13848,6 +15544,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-subprocess.dir/test-subprocess.c.o -c /build/libcork-0.15.0+ds/tests/test-subprocess.c /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13872,7 +15569,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o -o cork-initializer -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src libcork.so.16.0.2 -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13909,7 +15605,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:547:5: note: in expansion of macro 'IPV4_TESTS' 547 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:542:14: warning: too many arguments for format [-Wformat-extra-args] 542 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -13932,7 +15627,6 @@ 566 | "IPv6 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_ip_address_fn': -make -f tests/CMakeFiles/shared-test-array.dir/build.make tests/CMakeFiles/shared-test-array.dir/build /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -14101,6 +15795,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14149,39 +15844,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: -/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'check_buffers': -/build/libcork-0.15.0+ds/tests/test-buffer.c:33:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void * const' [-Wformat=] - 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 34 | buf1->size, buf1->buf, buf2->size, buf2->buf); - | ~~~~~~~~~ - | | - | void * const -/build/libcork-0.15.0+ds/tests/test-buffer.c:33:52: note: format string is defined here - 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ~^ - | | - | char * - | %p -In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: -/build/libcork-0.15.0+ds/tests/test-buffer.c:33:17: warning: format '%s' expects argument of type 'char *', but argument 8 has type 'void * const' [-Wformat=] - 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 34 | buf1->size, buf1->buf, buf2->size, buf2->buf); - | ~~~~~~~~~ - | | - | void * const -/build/libcork-0.15.0+ds/tests/test-buffer.c:33:69: note: format string is defined here - 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ~^ - | | - | char * - | %p -In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: -/build/libcork-0.15.0+ds/tests/test-buffer.c:33:17: warning: too many arguments for format [-Wformat-extra-args] - 33 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-subprocess.dir/test-subprocess.c.o -o shared-test-subprocess -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14194,26 +15857,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'check_buffer': -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/build/libcork-0.15.0+ds/tests/test-buffer.c:42:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void * const' [-Wformat=] - 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 43 | buf->size, buf->buf, expected_len, expected); - | ~~~~~~~~ - | | - | void * const -/build/libcork-0.15.0+ds/tests/test-buffer.c:42:54: note: format string is defined here - 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", - | ~^ - | | - | char * - | %p -In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: -/build/libcork-0.15.0+ds/tests/test-buffer.c:42:17: warning: too many arguments for format [-Wformat-extra-args] - 42 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'test_buffer_fn': /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14226,36 +15869,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:58:5: note: in expansion of macro 'fail_if_error' - 58 | fail_if_error(cork_buffer_set(&buffer1, SRC, SRC_LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:61:17: warning: too many arguments for format [-Wformat-extra-args] - 61 | "Unexpected character at position 0: got %c, expected %c", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:65:17: warning: too many arguments for format [-Wformat-extra-args] - 65 | "Unexpected character at position 1: got %c, expected %c", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:68:5: note: in expansion of macro 'fail_if_error' - 68 | fail_if_error(buffer2 = cork_buffer_new()); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:69:5: note: in expansion of macro 'fail_if_error' - 69 | fail_if_error(cork_buffer_set_string(buffer2, SRC)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:72:5: note: in expansion of macro 'fail_if_error' - 72 | fail_if_error(buffer3 = cork_buffer_new()); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14268,12 +15881,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:73:5: note: in expansion of macro 'fail_if_error' - 73 | fail_if_error(cork_buffer_printf - | ^~~~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14286,31 +15894,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:603:5: note: in expansion of macro 'IPV4_TESTS' 603 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'test_buffer_append_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:109:5: note: in expansion of macro 'fail_if_error' - 109 | fail_if_error(cork_buffer_set(&buffer1, SRC2, SRC2_LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:116:5: note: in expansion of macro 'fail_if_error' - 116 | fail_if_error(cork_buffer_append(&buffer1, SRC1, SRC1_LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:117:5: note: in expansion of macro 'fail_if_error' - 117 | fail_if_error(cork_buffer_append(&buffer1, SRC2, SRC2_LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:118:5: note: in expansion of macro 'fail_if_error' - 118 | fail_if_error(cork_buffer_append_string(&buffer1, SRC3)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -14323,24 +15906,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:119:5: note: in expansion of macro 'fail_if_error' - 119 | fail_if_error(cork_buffer_append_string(&buffer1, SRC4)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:122:5: note: in expansion of macro 'fail_if_error' - 122 | fail_if_error(cork_buffer_set_string(&buffer2, EXPECTED)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:125:5: note: in expansion of macro 'fail_if_error' - 125 | fail_if_error(buffer3 = cork_buffer_new()); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14350,45 +15915,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:126:5: note: in expansion of macro 'fail_if_error' - 126 | fail_if_error(cork_buffer_set(buffer3, SRC1, SRC1_LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:127:5: note: in expansion of macro 'fail_if_error' - 127 | fail_if_error(cork_buffer_append_printf - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:132:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat=] - 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 133 | buffer1.size, buffer1.buf, buffer3->size, buffer3->buf); - | ~~~~~~~~~~~ - | | - | void * -/build/libcork-0.15.0+ds/tests/test-buffer.c:132:52: note: format string is defined here - 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ~^ - | | - | char * - | %p -In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: -/build/libcork-0.15.0+ds/tests/test-buffer.c:132:17: warning: format '%s' expects argument of type 'char *', but argument 8 has type 'void *' [-Wformat=] - 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 133 | buffer1.size, buffer1.buf, buffer3->size, buffer3->buf); - | ~~~~~~~~~~~~ - | | - | void * -/build/libcork-0.15.0+ds/tests/test-buffer.c:132:69: note: format string is defined here - 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ~^ - | | - | char * - | %p /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14398,23 +15924,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-buffer.c:15: -/build/libcork-0.15.0+ds/tests/test-buffer.c:132:17: warning: too many arguments for format [-Wformat-extra-args] - 132 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'test_buffer_slicing_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:152:5: note: in expansion of macro 'fail_if_error' - 152 | fail_if_error(buffer = cork_buffer_new()); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:153:5: note: in expansion of macro 'fail_if_error' - 153 | fail_if_error(cork_buffer_set_string(buffer, SRC)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -14427,30 +15936,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:155:5: note: in expansion of macro 'fail_if_error' - 155 | fail_if_error(managed = cork_buffer_to_managed_buffer - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:159:5: note: in expansion of macro 'fail_if_error' - 159 | fail_if_error(buffer = cork_buffer_new()); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:160:5: note: in expansion of macro 'fail_if_error' - 160 | fail_if_error(cork_buffer_set_string(buffer, SRC)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:162:5: note: in expansion of macro 'fail_if_error' - 162 | fail_if_error(cork_buffer_to_slice(buffer, &slice1)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14460,8 +15945,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-threads.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-threads.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-threads.dir/depend.internal". /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14522,7 +16005,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -Scanning dependencies of target shared-test-threads /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14574,7 +16056,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 79%] Linking C executable shared-test-bitset /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14584,13 +16065,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:164:5: note: in expansion of macro 'fail_if_error' - 164 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, 2)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14603,30 +16077,6 @@ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:167:5: note: in expansion of macro 'fail_if_error' - 167 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, buffer->size)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:170:5: note: in expansion of macro 'fail_if_error' - 170 | fail_if_error(cork_slice_copy_fast(&slice2, &slice1, 2, 2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:173:5: note: in expansion of macro 'fail_if_error' - 173 | fail_if_error(cork_slice_copy_offset_fast(&slice2, &slice1, 2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:176:5: note: in expansion of macro 'fail_if_error' - 176 | fail_if_error(cork_slice_copy_offset(&slice2, &slice1, 0)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:580:9: note: in expansion of macro 'fail_if_error' 580 | fail_if_error(cork_ip_init(&addr, str)); \ | ^~~~~~~~~~~~~ @@ -14636,18 +16086,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:177:5: note: in expansion of macro 'fail_if_error' - 177 | fail_if_error(cork_slice_slice_offset_fast(&slice2, 2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:178:5: note: in expansion of macro 'fail_if_error' - 178 | fail_if_error(cork_slice_slice_fast(&slice2, 0, 2)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14657,16 +16095,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make -f tests/CMakeFiles/shared-test-threads.dir/build.make tests/CMakeFiles/shared-test-threads.dir/build -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:179:5: note: in expansion of macro 'fail_if_error' - 179 | fail_if_error(cork_slice_slice(&slice1, 2, 2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:180:53: warning: too many arguments for format [-Wformat-extra-args] - 180 | fail_unless(cork_slice_equal(&slice1, &slice2), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14676,25 +16104,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'test_buffer_stream_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:204:5: note: in expansion of macro 'fail_if_error' - 204 | fail_if_error(consumer = - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:208:5: note: in expansion of macro 'fail_if_error' - 208 | fail_if_error(cork_stream_consumer_data(consumer, SRC1, SRC1_LEN, true)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:211:5: note: in expansion of macro 'fail_if_error' - 211 | fail_if_error(cork_stream_consumer_data(consumer, SRC2, SRC2_LEN, false)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -14707,18 +16116,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:214:5: note: in expansion of macro 'fail_if_error' - 214 | fail_if_error(cork_stream_consumer_eof(consumer)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:218:5: note: in expansion of macro 'fail_if_error' - 218 | fail_if_error(cork_buffer_set(&buffer2, EXPECTED, EXPECTED_SIZE)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14728,7 +16125,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14750,13 +16146,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-buffer.c:336:10: warning: unused parameter 'argc' [-Wunused-parameter] - 336 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-buffer.c:336:29: warning: unused parameter 'argv' [-Wunused-parameter] - 336 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14766,7 +16155,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 80%] Linking C executable cork-hash /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14788,6 +16176,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +[ 86%] Building C object tests/CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14797,7 +16186,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-bitset.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14858,7 +16246,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-hash.dir/link.txt --verbose=1 +[ 86%] Linking C executable embedded-test-slice /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14889,6 +16277,8 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-slice.dir/link.txt --verbose=1 +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o -c /build/libcork-0.15.0+ds/tests/test-dllist.c /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14928,6 +16318,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +[ 86%] Linking C executable shared-test-ring-buffer /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -14940,7 +16331,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 81%] Building C object tests/CMakeFiles/shared-test-array.dir/test-array.c.o /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14971,7 +16361,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-array.dir/test-array.c.o -c /build/libcork-0.15.0+ds/tests/test-array.c +[ 86%] Built target embedded-test-threads /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14996,6 +16386,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-ring-buffer.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15008,7 +16399,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 82%] Linking C executable cork-test /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15021,7 +16411,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 83%] Building C object tests/CMakeFiles/shared-test-threads.dir/test-threads.c.o /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15034,8 +16423,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-gc.c:19: -/build/libcork-0.15.0+ds/tests/test-gc.c: In function 'tree__free': +make -f tests/CMakeFiles/embedded-test-bitset.dir/build.make tests/CMakeFiles/embedded-test-bitset.dir/depend /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15048,12 +16436,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/include/libcork/helpers/gc.h:21:20: warning: unused parameter 'obj' [-Wunused-parameter] - 21 | name##__free(void *obj) - | ~~~~~~^~~ -/build/libcork-0.15.0+ds/tests/test-gc.c:34:1: note: in expansion of macro '_free_' - 34 | _free_(tree) { - | ^~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15066,14 +16448,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-test.dir/link.txt --verbose=1 -/build/libcork-0.15.0+ds/tests/test-gc.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-gc.c:146:10: warning: unused parameter 'argc' [-Wunused-parameter] - 146 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-gc.c:146:29: warning: unused parameter 'argv' [-Wunused-parameter] - 146 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/test-core.c:599:14: warning: too many arguments for format [-Wformat-extra-args] 599 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15098,7 +16472,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-threads.dir/test-threads.c.o -c /build/libcork-0.15.0+ds/tests/test-threads.c /build/libcork-0.15.0+ds/tests/test-core.c:584:21: warning: too many arguments for format [-Wformat-extra-args] 584 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15108,7 +16481,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-bitset.dir/test-bitset.c.o -o shared-test-bitset -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15139,7 +16511,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 83%] Linking C executable shared-test-dllist /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15149,7 +16520,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -reading sources... [ 32%] dllist /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -15171,7 +16541,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-dllist.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15262,7 +16631,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:604:5: note: in expansion of macro 'IPV6_TESTS' 604 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o -o cork-hash -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src: libcork.so.16.0.2 -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:591:21: warning: too many arguments for format [-Wformat-extra-args] 591 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15275,6 +16643,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:616:17: warning: too many arguments for format [-Wformat-extra-args] 616 | "Unexpected IP address version (expected 4, got %u)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 87%] Linking C executable embedded-test-hash-table /build/libcork-0.15.0+ds/tests/test-core.c:619:17: warning: too many arguments for format [-Wformat-extra-args] 619 | "IP addresses should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -15304,6 +16673,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:664:17: warning: too many arguments for format [-Wformat-extra-args] 664 | "Unexpected formatted local time " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 87%] Built target embedded-test-ring-buffer /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_timestamp_fn': /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ @@ -15329,30 +16699,18 @@ /build/libcork-0.15.0+ds/tests/test-core.c:708:5: note: in expansion of macro 'test' 708 | test(usec, 0); | ^~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-files.c:15: -/build/libcork-0.15.0+ds/tests/test-files.c: In function 'verify_path_content': -/build/libcork-0.15.0+ds/tests/test-files.c:34:42: warning: too many arguments for format [-Wformat-extra-args] - 34 | fail_if(cork_path_get(path) == NULL, "Path should not have NULL content"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:709:5: note: in expansion of macro 'test' 709 | test(nsec, 0); | ^~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c:35:5: note: in expansion of macro 'fail_unless_streq' - 35 | fail_unless_streq("Paths", expected, cork_path_get(path)); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:713:5: note: in expansion of macro 'test' 713 | test(sec, TEST_TIME_2); | ^~~~ -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/cork-test.dir/cork-test/cork-test.c.o -o cork-test -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src libcork.so.16.0.2 -lpthread /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -15365,7 +16723,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:715:5: note: in expansion of macro 'test' 715 | test(msec, 0); | ^~~~ -[ 84%] Linking C executable shared-test-slice /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -15384,43 +16741,18 @@ /build/libcork-0.15.0+ds/tests/test-core.c:721:5: note: in expansion of macro 'test' 721 | test(sec, TEST_TIME_3); | ^~~~ -/build/libcork-0.15.0+ds/tests/test-files.c: In function 'verify_path_list_content': -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c:317:5: note: in expansion of macro 'fail_unless_streq' - 317 | fail_unless_streq("path lists", expected, buf.buf); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c: In function 'test_path_list': /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:722:5: note: in expansion of macro 'test' 722 | test(gsec, 0); | ^~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c:330:5: note: in expansion of macro 'fail_unless_streq' - 330 | fail_unless_streq("path lists", p, cork_path_list_to_string(list)); - | ^~~~~~~~~~~~~~~~~ -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-slice.dir/link.txt --verbose=1 -/build/libcork-0.15.0+ds/tests/test-files.c: In function 'test_file_exists': /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:723:5: note: in expansion of macro 'test' 723 | test(msec, 0); | ^~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-files.c:359:5: note: in expansion of macro 'fail_if_error' - 359 | fail_if_error(cork_file_exists(file, &actual)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-files.c:360:37: warning: too many arguments for format [-Wformat-extra-args] - 360 | fail_unless(actual == expected, "File %s should%s exist", - | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -15433,6 +16765,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:725:5: note: in expansion of macro 'test' 725 | test(nsec, 0); | ^~~~ +make -f tests/CMakeFiles/embedded-test-array.dir/build.make tests/CMakeFiles/embedded-test-array.dir/depend /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -15445,12 +16778,15 @@ /build/libcork-0.15.0+ds/tests/test-core.c:730:5: note: in expansion of macro 'test' 730 | test(gsec, 1 << 30); | ^~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-bitset.dir/DependInfo.cmake --color= /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-core.c:731:5: note: in expansion of macro 'test' 731 | test(msec, 250); | ^~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-hash-table.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -15475,6 +16811,8 @@ /build/libcork-0.15.0+ds/tests/test-core.c:737:5: note: in expansion of macro 'test' 737 | test(gsec, 1 << 31); | ^~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-array.dir/DependInfo.cmake --color= /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -15493,6 +16831,7 @@ /build/libcork-0.15.0+ds/tests/test-core.c:739:5: note: in expansion of macro 'test' 739 | test(usec, 500000); | ^~~~ +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/test-core.c:695:17: warning: too many arguments for format [-Wformat-extra-args] 695 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -15585,7 +16924,6 @@ /build/libcork-0.15.0+ds/tests/test-core.c:800:5: note: in expansion of macro 'fail_unless_streq' 800 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-dllist.dir/test-dllist.c.o -o shared-test-dllist -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread /build/libcork-0.15.0+ds/tests/test-core.c: In function 'test_one_u128_padded_hex': /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ @@ -15668,8 +17006,47 @@ /build/libcork-0.15.0+ds/tests/test-core.c:1141:29: warning: unused parameter 'argv' [-Wunused-parameter] 1141 | main(int argc, const char **argv) | ~~~~~~~~~~~~~^~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-slice.dir/test-slice.c.o -o embedded-test-slice -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-ring-buffer.dir/test-ring-buffer.c.o -o shared-test-ring-buffer -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-bitset.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-bitset.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-bitset.dir/depend.internal". +In file included from /build/libcork-0.15.0+ds/tests/test-files.c:15: +/build/libcork-0.15.0+ds/tests/test-files.c: In function 'verify_path_content': +/build/libcork-0.15.0+ds/tests/test-files.c:34:42: warning: too many arguments for format [-Wformat-extra-args] + 34 | fail_if(cork_path_get(path) == NULL, "Path should not have NULL content"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c:35:5: note: in expansion of macro 'fail_unless_streq' + 35 | fail_unless_streq("Paths", expected, cork_path_get(path)); + | ^~~~~~~~~~~~~~~~~ +Scanning dependencies of target embedded-test-bitset +/build/libcork-0.15.0+ds/tests/test-files.c: In function 'verify_path_list_content': +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c:317:5: note: in expansion of macro 'fail_unless_streq' + 317 | fail_unless_streq("path lists", expected, buf.buf); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c: In function 'test_path_list': +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c:330:5: note: in expansion of macro 'fail_unless_streq' + 330 | fail_unless_streq("path lists", p, cork_path_list_to_string(list)); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c: In function 'test_file_exists': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-files.c:359:5: note: in expansion of macro 'fail_if_error' + 359 | fail_if_error(cork_file_exists(file, &actual)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-files.c:360:37: warning: too many arguments for format [-Wformat-extra-args] + 360 | fail_unless(actual == expected, "File %s should%s exist", + | ^~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-slice.dir/test-slice.c.o -o shared-test-slice -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread In file included from /build/libcork-0.15.0+ds/tests/test-core.c:21: /build/libcork-0.15.0+ds/include/libcork/core/hash.h: In function 'cork_big_hash_buffer': /build/libcork-0.15.0+ds/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] @@ -15786,6 +17163,7 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:360:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 360 | cork_murmur_hash_x64_128(seed, src, len, &result); | ^~~~~~~~~~~~~~~~~~~~~~~~ +make -f tests/CMakeFiles/embedded-test-bitset.dir/build.make tests/CMakeFiles/embedded-test-bitset.dir/build /build/libcork-0.15.0+ds/include/libcork/core/hash.h:311:9: note: here 311 | case 5: k1 ^= (uint64_t) (tail[ 4]) << 32; \ | ^~~~ @@ -16022,7 +17400,331 @@ /build/libcork-0.15.0+ds/include/libcork/core/hash.h:344:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 344 | cork_murmur_hash_x64_128(big_seed, src, len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 87%] Built target embedded-test-mempool +make -f tests/CMakeFiles/embedded-test-gc.dir/build.make tests/CMakeFiles/embedded-test-gc.dir/depend +In file included from /build/libcork-0.15.0+ds/tests/test-subprocess.c:16: +/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'verify_consumer__eof': +/build/libcork-0.15.0+ds/tests/test-subprocess.c:60:17: warning: too many arguments for format [-Wformat-extra-args] + 60 | "Unexpected %s: got\n%s\nexpected\n%s\n", self->name, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'test_subprocesses_': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:144:9: note: in expansion of macro 'fail_if_error' + 144 | fail_if_error(exec = cork_exec_new_with_param_array + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:147:9: note: in expansion of macro 'fail_if_error' + 147 | fail_if_error(sub = cork_subprocess_new_exec + | ^~~~~~~~~~~~~ +In file included from /build/libcork-0.15.0+ds/tests/test-managed-buffer.c:13: +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_managed_buffer_refcount_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:153:5: note: in expansion of macro 'fail_if_error' + 153 | fail_if_error(cork_subprocess_group_start(group)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:74:5: note: in expansion of macro 'fail_if_error' + 74 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:154:5: note: in expansion of macro 'fail_if_error' + 154 | fail_if_error(cork_subprocess_group_wait(group)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:85:17: warning: too many arguments for format [-Wformat-extra-args] + 85 | "Managed buffer free function never called."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] + 86 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:158:9: note: in expansion of macro 'fail_unless_equal' + 158 | fail_unless_equal("Exit codes", "%d", + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_managed_buffer_bad_refcount_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:100:5: note: in expansion of macro 'fail_if_error' + 100 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c: At top level: +/build/libcork-0.15.0+ds/tests/test-subprocess.c:178:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 178 | }; + | ^ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:112:13: warning: too many arguments for format [-Wformat-extra-args] + 112 | "Managed buffer free function was called unexpectedly."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:183:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 183 | }; + | ^ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_fn': +/build/libcork-0.15.0+ds/tests/test-subprocess.c:192:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 192 | }; + | ^ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:131:23: warning: too many arguments for format [-Wformat-extra-args] + 131 | "Shouldn't be able to slice a NULL buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:129:5: note: in expansion of macro 'fail_unless_error' + 129 | fail_unless_error(cork_managed_buffer_slice + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:197:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 197 | }; + | ^ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:134:23: warning: too many arguments for format [-Wformat-extra-args] + 134 | "Shouldn't be able to slice a NULL buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:132:5: note: in expansion of macro 'fail_unless_error' + 132 | fail_unless_error(cork_managed_buffer_slice_offset + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:138:23: warning: too many arguments for format [-Wformat-extra-args] + 138 | "Shouldn't be able to slice a NULL slice"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:136:5: note: in expansion of macro 'fail_unless_error' + 136 | fail_unless_error(cork_slice_copy + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:141:23: warning: too many arguments for format [-Wformat-extra-args] + 141 | "Shouldn't be able to slice a NULL slice"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:139:5: note: in expansion of macro 'fail_unless_error' + 139 | fail_unless_error(cork_slice_copy_offset + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_refcount_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:164:5: note: in expansion of macro 'fail_if_error' + 164 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:170:5: note: in expansion of macro 'fail_if_error' + 170 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:171:5: note: in expansion of macro 'fail_if_error' + 171 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:172:5: note: in expansion of macro 'fail_if_error' + 172 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:180:17: warning: too many arguments for format [-Wformat-extra-args] + 180 | "Managed buffer free function never called."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:267:10: warning: unused parameter 'argc' [-Wunused-parameter] + 267 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-subprocess.c:267:29: warning: unused parameter 'argv' [-Wunused-parameter] + 267 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-hash-table.dir/test-hash-table.c.o -o embedded-test-hash-table -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-array.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-array.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-array.dir/depend.internal". +Scanning dependencies of target embedded-test-array +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_bad_refcount_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:199:5: note: in expansion of macro 'fail_if_error' + 199 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:205:5: note: in expansion of macro 'fail_if_error' + 205 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:206:5: note: in expansion of macro 'fail_if_error' + 206 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:207:5: note: in expansion of macro 'fail_if_error' + 207 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:215:13: warning: too many arguments for format [-Wformat-extra-args] + 215 | "Managed buffer free function was called unexpectedly."); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_equals_01_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:239:5: note: in expansion of macro 'fail_if_error' + 239 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:244:5: note: in expansion of macro 'fail_if_error' + 244 | fail_if_error(cork_managed_buffer_slice_offset(&ps1, pb, 0)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:245:5: note: in expansion of macro 'fail_if_error' + 245 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 0, LEN)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:248:17: warning: too many arguments for format [-Wformat-extra-args] + 248 | "Slices aren't equal"); + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_equals_02_fn': +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:269:5: note: in expansion of macro 'fail_if_error' + 269 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:275:5: note: in expansion of macro 'fail_if_error' + 275 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 3, 3)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:277:5: note: in expansion of macro 'fail_if_error' + 277 | fail_if_error(cork_managed_buffer_slice_offset(&ps2, pb, 1)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:278:5: note: in expansion of macro 'fail_if_error' + 278 | fail_if_error(cork_slice_copy(&ps3, &ps2, 2, 3)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] + 69 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:279:5: note: in expansion of macro 'fail_if_error' + 279 | fail_if_error(cork_slice_slice(&ps2, 2, 3)); + | ^~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:282:17: warning: too many arguments for format [-Wformat-extra-args] + 282 | "Slices aren't equal"); + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:284:17: warning: too many arguments for format [-Wformat-extra-args] + 284 | "Slices aren't equal"); + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:327:10: warning: unused parameter 'argc' [-Wunused-parameter] + 327 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:327:29: warning: unused parameter 'argv' [-Wunused-parameter] + 327 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-gc.dir/DependInfo.cmake --color= +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-array.dir/build.make tests/CMakeFiles/embedded-test-array.dir/build +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 88%] Building C object tests/CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o -c /build/libcork-0.15.0+ds/tests/test-bitset.c +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-gc.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-gc.dir/depend.internal". +Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-gc.dir/depend.internal". +Scanning dependencies of target embedded-test-gc +[ 89%] Building C object tests/CMakeFiles/embedded-test-array.dir/test-array.c.o +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-array.dir/test-array.c.o -c /build/libcork-0.15.0+ds/tests/test-array.c +[ 89%] Built target shared-test-subprocess +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-gc.dir/build.make tests/CMakeFiles/embedded-test-gc.dir/build +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +In file included from /build/libcork-0.15.0+ds/tests/test-dllist.c:14: +/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'check_int64_list': +/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] + 92 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:59:5: note: in expansion of macro 'fail_unless_streq' + 59 | fail_unless_streq("List contents", expected, buf.buf); + | ^~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'test_dllist_fn': +/build/libcork-0.15.0+ds/tests/test-dllist.c:76:17: warning: too many arguments for format [-Wformat-extra-args] + 76 | "Unexpected size of list: got %zu, expected 0", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:79:17: warning: too many arguments for format [-Wformat-extra-args] + 79 | "Expected empty list"); + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:85:17: warning: too many arguments for format [-Wformat-extra-args] + 85 | "Unexpected size of list: got %zu, expected 1", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:92:17: warning: too many arguments for format [-Wformat-extra-args] + 92 | "Unexpected size of list: got %zu, expected 2", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:99:17: warning: too many arguments for format [-Wformat-extra-args] + 99 | "Unexpected size of list: got %zu, expected 3", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:106:17: warning: too many arguments for format [-Wformat-extra-args] + 106 | "Unexpected sum, got %ld, expected 6", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:114:17: warning: too many arguments for format [-Wformat-extra-args] + 114 | "Unexpected sum, got %ld, expected 6", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:119:17: warning: too many arguments for format [-Wformat-extra-args] + 119 | "Unexpected size of list: got %zu, expected 2", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-dllist.c:184:10: warning: unused parameter 'argc' [-Wunused-parameter] + 184 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-dllist.c:184:29: warning: unused parameter 'argv' [-Wunused-parameter] + 184 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +[ 89%] Built target shared-test-ring-buffer make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 89%] Built target embedded-test-slice +[ 90%] Building C object tests/CMakeFiles/embedded-test-gc.dir/test-gc.c.o +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -DCORK_EMBEDDED_TEST=1 -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/embedded-test-gc.dir/test-gc.c.o -c /build/libcork-0.15.0+ds/tests/test-gc.c +In file included from /build/libcork-0.15.0+ds/tests/test-bitset.c:14: +/build/libcork-0.15.0+ds/tests/test-bitset.c: In function 'test_bitset_of_size': +/build/libcork-0.15.0+ds/tests/test-bitset.c:34:46: warning: too many arguments for format [-Wformat-extra-args] + 34 | fail_unless(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 90%] Built target embedded-test-hash-table +/build/libcork-0.15.0+ds/tests/test-bitset.c:39:42: warning: too many arguments for format [-Wformat-extra-args] + 39 | fail_if(cork_bitset_get(set, i), "Unexpected value for bit %zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-0.15.0+ds/tests/test-bitset.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-bitset.c:91:10: warning: unused parameter 'argc' [-Wunused-parameter] + 91 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-0.15.0+ds/tests/test-bitset.c:91:29: warning: unused parameter 'argv' [-Wunused-parameter] + 91 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +[ 91%] Linking C executable embedded-test-subprocess +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-subprocess.dir/link.txt --verbose=1 In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: /build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_int8_t_fn': /build/libcork-0.15.0+ds/tests/test-array.c:64:17: warning: too many arguments for format [-Wformat-extra-args] @@ -17442,8 +19144,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' 102 | test_int(int32_t) | ^~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-threads.c:15: -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_int_fn': /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -17456,18 +19156,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' 102 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' - 46 | test_atomic_op(name, type, fmt, add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17493,19 +19181,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' 102 | test_int(int32_t) | ^~~~~~~~ -[ 84%] Built target cork-initializer -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' - 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17515,18 +19190,7 @@ /build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' 102 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' - 48 | test_atomic_op(name, type, fmt, add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-subprocess.dir/test-subprocess.c.o -o embedded-test-subprocess -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -17545,104 +19209,13 @@ /build/libcork-0.15.0+ds/tests/test-array.c:102:1: note: in expansion of macro 'test_int' 102 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' - 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' - 50 | fail_unless_equal(#name, fmt, 4, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' - 51 | test_atomic_op(name, type, fmt, sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' - 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' - 53 | test_atomic_op(name, type, fmt, sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' - 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' - 55 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_int64_t_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' - 57 | test_cas(name, type, fmt, 0, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:64:17: warning: too many arguments for format [-Wformat-extra-args] 64 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -make -f tests/CMakeFiles/shared-test-hash-table.dir/build.make tests/CMakeFiles/shared-test-hash-table.dir/depend /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17652,18 +19225,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' - 58 | test_cas(name, type, fmt, 1, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -17676,18 +19237,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' - 59 | test_cas(name, type, fmt, 10, 2); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17713,18 +19262,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' - 60 | test_cas(name, type, fmt, 2, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17734,15 +19271,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' - 61 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' - 65 | test_atomic(int, int, "%d"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -17780,19 +19308,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_uint_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' - 46 | test_atomic_op(name, type, fmt, add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17802,18 +19317,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' - 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -17826,18 +19329,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' - 48 | test_atomic_op(name, type, fmt, add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17872,18 +19363,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' - 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -17896,64 +19375,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' - 50 | fail_unless_equal(#name, fmt, 4, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' - 51 | test_atomic_op(name, type, fmt, sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' - 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' - 53 | test_atomic_op(name, type, fmt, sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' - 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -17963,15 +19384,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' - 55 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ @@ -17988,18 +19400,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' - 57 | test_cas(name, type, fmt, 0, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18009,18 +19409,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' - 58 | test_cas(name, type, fmt, 1, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18042,18 +19430,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' - 59 | test_cas(name, type, fmt, 10, 2); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:38:68: note: format string is defined here 38 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ @@ -18070,20 +19446,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' - 60 | test_cas(name, type, fmt, 2, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-hash-table.dir/DependInfo.cmake --color= /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18093,15 +19455,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' - 61 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' - 66 | test_atomic(uint, unsigned int, "%u"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18139,7 +19492,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_size_fn': /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18149,35 +19501,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' - 46 | test_atomic_op(name, type, fmt, add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:46:5: note: in expansion of macro 'test_atomic_op' - 46 | test_atomic_op(name, type, fmt, add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18199,41 +19522,12 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' - 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ | | | long unsigned int | %u -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:47:5: note: in expansion of macro 'test_atomic_op' - 47 | test_atomic_op(name, type, fmt, pre_add, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: /build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ @@ -18244,23 +19538,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' - 48 | test_atomic_op(name, type, fmt, add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18270,18 +19547,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:48:5: note: in expansion of macro 'test_atomic_op' - 48 | test_atomic_op(name, type, fmt, add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18294,35 +19559,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' - 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:49:5: note: in expansion of macro 'test_atomic_op' - 49 | test_atomic_op(name, type, fmt, pre_add, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18348,29 +19584,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' - 50 | fail_unless_equal(#name, fmt, 4, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:50:5: note: in expansion of macro 'fail_unless_equal' - 50 | fail_unless_equal(#name, fmt, 4, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18380,23 +19593,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' - 51 | test_atomic_op(name, type, fmt, sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18409,18 +19605,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:51:5: note: in expansion of macro 'test_atomic_op' - 51 | test_atomic_op(name, type, fmt, sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18436,23 +19620,6 @@ | | | long unsigned int | %u -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' - 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: /build/libcork-0.15.0+ds/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ @@ -18463,18 +19630,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:52:5: note: in expansion of macro 'test_atomic_op' - 52 | test_atomic_op(name, type, fmt, pre_sub, 3); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18484,35 +19639,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' - 53 | test_atomic_op(name, type, fmt, sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:53:5: note: in expansion of macro 'test_atomic_op' - 53 | test_atomic_op(name, type, fmt, sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18525,23 +19651,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' - 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] 38 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18557,18 +19666,6 @@ | | | long unsigned int | %u -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:32:9: note: in expansion of macro 'fail_unless_equal' - 32 | fail_unless_equal(#name, fmt, expected, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:54:5: note: in expansion of macro 'test_atomic_op' - 54 | test_atomic_op(name, type, fmt, pre_sub, 1); \ - | ^~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: /build/libcork-0.15.0+ds/tests/test-array.c:38:21: warning: too many arguments for format [-Wformat-extra-args] 38 | "Unexpected size of array: got %zu, expected %zu", \ @@ -18579,20 +19676,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' - 55 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18602,15 +19685,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:55:5: note: in expansion of macro 'fail_unless_equal' - 55 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18620,35 +19694,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' - 57 | test_cas(name, type, fmt, 0, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:57:5: note: in expansion of macro 'test_cas' - 57 | test_cas(name, type, fmt, 0, 1); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:50:21: warning: too many arguments for format [-Wformat-extra-args] 50 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18658,65 +19703,7 @@ /build/libcork-0.15.0+ds/tests/test-array.c:103:1: note: in expansion of macro 'test_int' 103 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' - 58 | test_cas(name, type, fmt, 1, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:58:5: note: in expansion of macro 'test_cas' - 58 | test_cas(name, type, fmt, 1, 10); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' - 59 | test_cas(name, type, fmt, 10, 2); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_string_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:59:5: note: in expansion of macro 'test_cas' - 59 | test_cas(name, type, fmt, 10, 2); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18732,35 +19719,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:129:5: note: in expansion of macro 'add_string' 129 | add_string("hello", 1); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' - 60 | test_cas(name, type, fmt, 2, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:60:5: note: in expansion of macro 'test_cas' - 60 | test_cas(name, type, fmt, 2, 0); \ - | ^~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18770,36 +19728,12 @@ /build/libcork-0.15.0+ds/tests/test-array.c:130:5: note: in expansion of macro 'add_string' 130 | add_string("there", 2); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' - 61 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:130:5: note: in expansion of macro 'add_string' 130 | add_string("there", 2); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:61:5: note: in expansion of macro 'fail_unless_equal' - 61 | fail_unless_equal(#name, fmt, 0, val); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' - 67 | test_atomic(size, size_t, "%zu"); - | ^~~~~~~~~~~ -[ 84%] Built target cork-hash /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18815,16 +19749,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:131:5: note: in expansion of macro 'add_string' 131 | add_string("world", 3); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_atomic_ptr_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:79:5: note: in expansion of macro 'test_cas' - 79 | test_cas(ptr, uint64_t *, "%p", &v0, &v1); - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18834,15 +19758,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:132:5: note: in expansion of macro 'test_string' 132 | test_string(&array, 0, "hello"); | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:80:5: note: in expansion of macro 'test_cas' - 80 | test_cas(ptr, uint64_t *, "%p", &v1, &v2); - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18852,15 +19767,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:133:5: note: in expansion of macro 'test_string' 133 | test_string(&array, 1, "there"); | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:81:5: note: in expansion of macro 'test_cas' - 81 | test_cas(ptr, uint64_t *, "%p", &v2, &v3); - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18870,15 +19776,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:134:5: note: in expansion of macro 'test_string' 134 | test_string(&array, 2, "world"); | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:38:9: note: in expansion of macro 'fail_unless_equal' - 38 | fail_unless_equal(#name, fmt, ov, actual); \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:82:5: note: in expansion of macro 'test_cas' - 82 | test_cas(ptr, uint64_t *, "%p", &v3, &v0); - | ^~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] 69 | fail("%s", cork_error_message()); \ | ^~~~ @@ -18888,19 +19785,7 @@ /build/libcork-0.15.0+ds/tests/test-array.c:136:5: note: in expansion of macro 'add_string' 136 | add_string("reusing", 1); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:83:5: note: in expansion of macro 'fail_unless_equal' - 83 | fail_unless_equal("ptr", "%p", &v0, val); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_once_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:107:5: note: in expansion of macro 'fail_unless_equal' - 107 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ +reading sources... [ 45%] gc /build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18916,24 +19801,12 @@ /build/libcork-0.15.0+ds/tests/test-array.c:137:5: note: in expansion of macro 'add_string' 137 | add_string("entries", 2); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:109:5: note: in expansion of macro 'fail_unless_equal' - 109 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:113:17: warning: too many arguments for format [-Wformat-extra-args] 113 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:137:5: note: in expansion of macro 'add_string' 137 | add_string("entries", 2); | ^~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:111:5: note: in expansion of macro 'fail_unless_equal' - 111 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18952,12 +19825,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:139:5: note: in expansion of macro 'test_string' 139 | test_string(&array, 1, "entries"); | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:113:5: note: in expansion of macro 'fail_unless_equal' - 113 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -18967,23 +19834,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:143:5: note: in expansion of macro 'test_string' 143 | test_string(©, 0, "reusing"); | ^~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:115:5: note: in expansion of macro 'fail_unless_equal' - 115 | fail_unless_equal("Call count", "%zu", 1, call_count); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:115:5: note: in expansion of macro 'fail_unless_equal' - 115 | fail_unless_equal("Call count", "%zu", 1, call_count); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] 92 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19009,21 +19859,9 @@ /build/libcork-0.15.0+ds/tests/test-array.c:185:43: warning: unused parameter 'vvalue' [-Wunused-parameter] 185 | test_array__remove(void *user_data, void *vvalue) | ~~~~~~^~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_once_recursive_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:134:5: note: in expansion of macro 'fail_unless_equal' - 134 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:136:5: note: in expansion of macro 'fail_unless_equal' - 136 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ In file included from /build/libcork-0.15.0+ds/tests/test-array.c:14: /build/libcork-0.15.0+ds/tests/test-array.c: In function 'test_array_callbacks_fn': +[ 92%] Linking C executable embedded-test-buffer /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19036,12 +19874,6 @@ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:138:5: note: in expansion of macro 'fail_unless_equal' - 138 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ @@ -19060,30 +19892,12 @@ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:140:5: note: in expansion of macro 'fail_unless_equal' - 140 | fail_unless_equal("Value", "%d", 1, value); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:226:5: note: in expansion of macro 'check_counts' 226 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: format '%zu' expects argument of type 'size_t', but argument 6 has type 'int' [-Wformat=] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - 87 | ", got " format ")", \ - 88 | (what), (expected), (actual))) - | ~~~~~~~~~~ - | | - | int -/build/libcork-0.15.0+ds/tests/test-threads.c:142:5: note: in expansion of macro 'fail_unless_equal' - 142 | fail_unless_equal("Call count", "%zu", 1, call_count); - | ^~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19096,16 +19910,6 @@ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:142:5: note: in expansion of macro 'fail_unless_equal' - 142 | fail_unless_equal("Call count", "%zu", 1, call_count); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_thread_ids_fn': -/build/libcork-0.15.0+ds/tests/test-threads.c:155:37: warning: too many arguments for format [-Wformat-extra-args] - 155 | fail_if(id == CORK_THREAD_NONE, "Expected a valid thread ID"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ @@ -19121,24 +19925,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:229:5: note: in expansion of macro 'check_counts' 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'cork_error_thread__run': -/build/libcork-0.15.0+ds/tests/test-threads.c:196:30: warning: unused parameter 'vself' [-Wunused-parameter] - 196 | cork_error_thread__run(void *vself) - | ~~~~~~^~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-threads.c:15: -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_01_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:212:5: note: in expansion of macro 'fail_if_error' - 212 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:213:5: note: in expansion of macro 'fail_unless_equal' - 213 | fail_unless_equal("Values", "%d", -1, v1); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19148,13 +19934,7 @@ /build/libcork-0.15.0+ds/tests/test-array.c:229:5: note: in expansion of macro 'check_counts' 229 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_02_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:225:5: note: in expansion of macro 'fail_if_error' - 225 | fail_if_error(t1 = cork_test_thread_new("test", &v1, 1)); - | ^~~~~~~~~~~~~ +[ 93%] Linking C executable embedded-test-files /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19164,12 +19944,7 @@ /build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:226:5: note: in expansion of macro 'fail_if_error' - 226 | fail_if_error(cork_thread_start(t1)); - | ^~~~~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-buffer.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19179,12 +19954,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:227:5: note: in expansion of macro 'fail_if_error' - 227 | fail_if_error(cork_thread_join(t1)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19197,25 +19966,12 @@ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:228:5: note: in expansion of macro 'fail_unless_equal' - 228 | fail_unless_equal("Values", "%d", 1, v1); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:213:9: note: in expansion of macro 'fail_unless_equal' 213 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:232:5: note: in expansion of macro 'check_counts' 232 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_03_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:241:5: note: in expansion of macro 'fail_if_error' - 241 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19225,18 +19981,7 @@ /build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:242:5: note: in expansion of macro 'fail_if_error' - 242 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:243:5: note: in expansion of macro 'fail_if_error' - 243 | fail_if_error(cork_thread_start(t1)); - | ^~~~~~~~~~~~~ +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-files.dir/link.txt --verbose=1 /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19246,12 +19991,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:244:5: note: in expansion of macro 'fail_if_error' - 244 | fail_if_error(cork_thread_start(t2)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19261,12 +20000,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:245:5: note: in expansion of macro 'fail_if_error' - 245 | fail_if_error(cork_thread_join(t1)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19276,18 +20009,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:234:5: note: in expansion of macro 'check_counts' 234 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:246:5: note: in expansion of macro 'fail_if_error' - 246 | fail_if_error(cork_thread_join(t2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:247:5: note: in expansion of macro 'fail_unless_equal' - 247 | fail_unless_equal("Values", "%d", 1, v1); - | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19300,31 +20021,12 @@ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:248:5: note: in expansion of macro 'fail_unless_equal' - 248 | fail_unless_equal("Values", "%d", 2, v2); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_04_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:261:5: note: in expansion of macro 'fail_if_error' - 261 | fail_if_error(t1 = cork_test_thread_new("test1", &v1, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:262:5: note: in expansion of macro 'fail_if_error' - 262 | fail_if_error(t2 = cork_test_thread_new("test2", &v2, 2)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19334,18 +20036,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:263:5: note: in expansion of macro 'fail_if_error' - 263 | fail_if_error(cork_thread_start(t1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:264:5: note: in expansion of macro 'fail_if_error' - 264 | fail_if_error(cork_thread_start(t2)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19355,18 +20045,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:237:5: note: in expansion of macro 'check_counts' 237 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:265:5: note: in expansion of macro 'fail_if_error' - 265 | fail_if_error(cork_thread_join(t2)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:266:5: note: in expansion of macro 'fail_if_error' - 266 | fail_if_error(cork_thread_join(t1)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19379,12 +20057,6 @@ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:267:5: note: in expansion of macro 'fail_unless_equal' - 267 | fail_unless_equal("Values", "%d", 1, v1); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:209:9: note: in expansion of macro 'fail_unless_equal' 209 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ @@ -19394,19 +20066,12 @@ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:268:5: note: in expansion of macro 'fail_unless_equal' - 268 | fail_unless_equal("Values", "%d", 2, v2); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:211:9: note: in expansion of macro 'fail_unless_equal' 211 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/test-array.c:240:5: note: in expansion of macro 'check_counts' 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'test_threads_error_01_fn': /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19416,18 +20081,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:240:5: note: in expansion of macro 'check_counts' 240 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:277:5: note: in expansion of macro 'fail_if_error' - 277 | fail_if_error(t1 = cork_thread_new - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:279:5: note: in expansion of macro 'fail_if_error' - 279 | fail_if_error(cork_thread_start(t1)); - | ^~~~~~~~~~~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19464,10 +20117,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:242:5: note: in expansion of macro 'check_counts' 242 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-threads.c:320:10: warning: unused parameter 'argc' [-Wunused-parameter] - 320 | main(int argc, const char **argv) - | ~~~~^~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19477,9 +20126,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:245:5: note: in expansion of macro 'check_counts' 245 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-threads.c:320:29: warning: unused parameter 'argv' [-Wunused-parameter] - 320 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19786,7 +20432,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:270:5: note: in expansion of macro 'check_counts' 270 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ -[ 85%] Linking C executable shared-test-gc /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19805,8 +20450,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:272:5: note: in expansion of macro 'check_counts' 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-hash-table.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-hash-table.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-hash-table.dir/depend.internal". /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19816,7 +20459,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:272:5: note: in expansion of macro 'check_counts' 272 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ -make -f tests/CMakeFiles/shared-test-managed-buffer.dir/build.make tests/CMakeFiles/shared-test-managed-buffer.dir/depend /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19898,7 +20540,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:277:5: note: in expansion of macro 'check_counts' 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ -Scanning dependencies of target shared-test-hash-table /build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] 86 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -19908,8 +20549,6 @@ /build/libcork-0.15.0+ds/tests/test-array.c:277:5: note: in expansion of macro 'check_counts' 277 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-managed-buffer.dir/DependInfo.cmake --color= /build/libcork-0.15.0+ds/tests/test-array.c: In function 'main': /build/libcork-0.15.0+ds/tests/test-array.c:305:10: warning: unused parameter 'argc' [-Wunused-parameter] 305 | main(int argc, const char **argv) @@ -19917,683 +20556,79 @@ /build/libcork-0.15.0+ds/tests/test-array.c:305:29: warning: unused parameter 'argv' [-Wunused-parameter] 305 | main(int argc, const char **argv) | ~~~~~~~~~~~~~^~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-gc.dir/link.txt --verbose=1 -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-hash-table.dir/build.make tests/CMakeFiles/shared-test-hash-table.dir/build -[ 85%] Built target shared-test-bitset -[ 85%] Built target cork-test -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-gc.dir/test-gc.c.o -o shared-test-gc -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-mempool.dir/build.make tests/CMakeFiles/shared-test-mempool.dir/depend -[ 85%] Built target shared-test-dllist -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-managed-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-managed-buffer.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-managed-buffer.dir/depend.internal". -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-mempool.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/shared-test-ring-buffer.dir/build.make tests/CMakeFiles/shared-test-ring-buffer.dir/depend -Scanning dependencies of target shared-test-managed-buffer -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-managed-buffer.dir/build.make tests/CMakeFiles/shared-test-managed-buffer.dir/build -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-ring-buffer.dir/DependInfo.cmake --color= -[ 86%] Building C object tests/CMakeFiles/shared-test-hash-table.dir/test-hash-table.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-hash-table.dir/test-hash-table.c.o -c /build/libcork-0.15.0+ds/tests/test-hash-table.c -make -f tests/CMakeFiles/shared-test-subprocess.dir/build.make tests/CMakeFiles/shared-test-subprocess.dir/depend -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-subprocess.dir/DependInfo.cmake --color= -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-mempool.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-mempool.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-mempool.dir/depend.internal". -[ 87%] Linking C executable embedded-test-array -Scanning dependencies of target shared-test-mempool -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-array.dir/link.txt --verbose=1 -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 88%] Building C object tests/CMakeFiles/shared-test-managed-buffer.dir/test-managed-buffer.c.o -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-array.dir/test-array.c.o -o embedded-test-array -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread -make -f tests/CMakeFiles/shared-test-mempool.dir/build.make tests/CMakeFiles/shared-test-mempool.dir/build -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-ring-buffer.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-ring-buffer.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-ring-buffer.dir/depend.internal". -reading sources... [ 35%] ds -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-managed-buffer.dir/test-managed-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-managed-buffer.c -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-subprocess.dir/DependInfo.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-subprocess.dir/depend.internal". -Dependee "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-subprocess.dir/depend.internal". -Scanning dependencies of target shared-test-ring-buffer -Scanning dependencies of target shared-test-subprocess -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-ring-buffer.dir/build.make tests/CMakeFiles/shared-test-ring-buffer.dir/build -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-subprocess.dir/build.make tests/CMakeFiles/shared-test-subprocess.dir/build -reading sources... [ 38%] errors -[ 88%] Built target shared-test-slice -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 89%] Linking C executable shared-test-files -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-files.dir/link.txt --verbose=1 -[ 90%] Building C object tests/CMakeFiles/shared-test-ring-buffer.dir/test-ring-buffer.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-ring-buffer.dir/test-ring-buffer.c.o -c /build/libcork-0.15.0+ds/tests/test-ring-buffer.c -[ 91%] Building C object tests/CMakeFiles/shared-test-mempool.dir/test-mempool.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-mempool.dir/test-mempool.c.o -c /build/libcork-0.15.0+ds/tests/test-mempool.c -[ 91%] Built target shared-test-gc -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-files.dir/test-files.c.o -o shared-test-files -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread -[ 92%] Building C object tests/CMakeFiles/shared-test-subprocess.dir/test-subprocess.c.o -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cc -I/build/libcork-0.15.0+ds/include -I/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/include -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -o CMakeFiles/shared-test-subprocess.dir/test-subprocess.c.o -c /build/libcork-0.15.0+ds/tests/test-subprocess.c -In file included from /build/libcork-0.15.0+ds/tests/test-managed-buffer.c:13: -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_managed_buffer_refcount_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:74:5: note: in expansion of macro 'fail_if_error' - 74 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:85:17: warning: too many arguments for format [-Wformat-extra-args] - 85 | "Managed buffer free function never called."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_managed_buffer_bad_refcount_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:100:5: note: in expansion of macro 'fail_if_error' - 100 | fail_if_error(pb0 = flag_buffer_new(NULL, 0, &flag)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:112:13: warning: too many arguments for format [-Wformat-extra-args] - 112 | "Managed buffer free function was called unexpectedly."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_fn': -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:131:23: warning: too many arguments for format [-Wformat-extra-args] - 131 | "Shouldn't be able to slice a NULL buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:129:5: note: in expansion of macro 'fail_unless_error' - 129 | fail_unless_error(cork_managed_buffer_slice - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:134:23: warning: too many arguments for format [-Wformat-extra-args] - 134 | "Shouldn't be able to slice a NULL buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:132:5: note: in expansion of macro 'fail_unless_error' - 132 | fail_unless_error(cork_managed_buffer_slice_offset - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:138:23: warning: too many arguments for format [-Wformat-extra-args] - 138 | "Shouldn't be able to slice a NULL slice"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:136:5: note: in expansion of macro 'fail_unless_error' - 136 | fail_unless_error(cork_slice_copy - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:141:23: warning: too many arguments for format [-Wformat-extra-args] - 141 | "Shouldn't be able to slice a NULL slice"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:139:5: note: in expansion of macro 'fail_unless_error' - 139 | fail_unless_error(cork_slice_copy_offset - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_refcount_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:164:5: note: in expansion of macro 'fail_if_error' - 164 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:170:5: note: in expansion of macro 'fail_if_error' - 170 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:171:5: note: in expansion of macro 'fail_if_error' - 171 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:172:5: note: in expansion of macro 'fail_if_error' - 172 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:180:17: warning: too many arguments for format [-Wformat-extra-args] - 180 | "Managed buffer free function never called."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_bad_refcount_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:199:5: note: in expansion of macro 'fail_if_error' - 199 | fail_if_error(pb = flag_buffer_new(BUF, LEN, &flag)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:205:5: note: in expansion of macro 'fail_if_error' - 205 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 0, 7)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:206:5: note: in expansion of macro 'fail_if_error' - 206 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 1, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:207:5: note: in expansion of macro 'fail_if_error' - 207 | fail_if_error(cork_managed_buffer_slice(&ps3, pb, 4, 3)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:215:13: warning: too many arguments for format [-Wformat-extra-args] - 215 | "Managed buffer free function was called unexpectedly."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_equals_01_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:239:5: note: in expansion of macro 'fail_if_error' - 239 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:244:5: note: in expansion of macro 'fail_if_error' - 244 | fail_if_error(cork_managed_buffer_slice_offset(&ps1, pb, 0)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:245:5: note: in expansion of macro 'fail_if_error' - 245 | fail_if_error(cork_managed_buffer_slice(&ps2, pb, 0, LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:248:17: warning: too many arguments for format [-Wformat-extra-args] - 248 | "Slices aren't equal"); - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'test_slice_equals_02_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:269:5: note: in expansion of macro 'fail_if_error' - 269 | fail_if_error(pb = cork_managed_buffer_new_copy(BUF, LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:275:5: note: in expansion of macro 'fail_if_error' - 275 | fail_if_error(cork_managed_buffer_slice(&ps1, pb, 3, 3)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:277:5: note: in expansion of macro 'fail_if_error' - 277 | fail_if_error(cork_managed_buffer_slice_offset(&ps2, pb, 1)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:278:5: note: in expansion of macro 'fail_if_error' - 278 | fail_if_error(cork_slice_copy(&ps3, &ps2, 2, 3)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:279:5: note: in expansion of macro 'fail_if_error' - 279 | fail_if_error(cork_slice_slice(&ps2, 2, 3)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:282:17: warning: too many arguments for format [-Wformat-extra-args] - 282 | "Slices aren't equal"); - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:284:17: warning: too many arguments for format [-Wformat-extra-args] - 284 | "Slices aren't equal"); - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:327:10: warning: unused parameter 'argc' [-Wunused-parameter] - 327 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-managed-buffer.c:327:29: warning: unused parameter 'argv' [-Wunused-parameter] - 327 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'uint64__equals': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:36:22: warning: unused parameter 'user_data' [-Wunused-parameter] - 36 | uint64__equals(void *user_data, const void *va, const void *vb) - | ~~~~~~^~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'uint64__hash': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:48:20: warning: unused parameter 'user_data' [-Wunused-parameter] - 48 | uint64__hash(void *user_data, const void *velement) - | ~~~~~~^~~~~~~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-hash-table.c:14: -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_map_sum': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:72:17: warning: too many arguments for format [-Wformat-extra-args] - 72 | "Unexpected map sum, got %" PRIu64 - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_iterator_sum': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:89:17: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Unexpected iterator sum, got %" PRIu64 - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_map_to_string': -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:114:5: note: in expansion of macro 'fail_unless_streq' - 114 | fail_unless_streq("Integer arrays", expected, buf.buf); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_iterator_to_string': -/build/libcork-0.15.0+ds/tests/helpers.h:92:18: warning: too many arguments for format [-Wformat-extra-args] - 92 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:135:5: note: in expansion of macro 'fail_unless_streq' - 135 | fail_unless_streq("Integer arrays", expected, buf.buf); - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_uint64_hash_table_fn': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:154:17: warning: too many arguments for format [-Wformat-extra-args] - 154 | "Hash table should start empty"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:158:17: warning: too many arguments for format [-Wformat-extra-args] - 158 | "Shouldn't get value pointer from empty hash table"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:169:5: note: in expansion of macro 'fail_if_error' - 169 | fail_if_error(cork_hash_table_put - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:172:25: warning: too many arguments for format [-Wformat-extra-args] - 172 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:177:17: warning: too many arguments for format [-Wformat-extra-args] - 177 | "Unexpected previous key"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:179:17: warning: too many arguments for format [-Wformat-extra-args] - 179 | "Unexpected previous value"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:182:17: warning: too many arguments for format [-Wformat-extra-args] - 182 | "Unexpected size after adding {0->32}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:184:5: note: in expansion of macro 'fail_if_error' - 184 | fail_if_error(entry = cork_hash_table_get_or_create - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:186:21: warning: too many arguments for format [-Wformat-extra-args] - 186 | fail_if(is_new, "Shouldn't create new {0=>X} entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:189:17: warning: too many arguments for format [-Wformat-extra-args] - 189 | "Unexpected value for {0=>X} entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:192:17: warning: too many arguments for format [-Wformat-extra-args] - 192 | "Unexpected size after retrieving {0->32}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:195:5: note: in expansion of macro 'fail_if_error' - 195 | fail_if_error(entry = cork_hash_table_get_or_create - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:197:25: warning: too many arguments for format [-Wformat-extra-args] - 197 | fail_unless(is_new, "Should create new {1=>X} entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:206:17: warning: too many arguments for format [-Wformat-extra-args] - 206 | "Unexpected size after adding {1=>2}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:215:17: warning: too many arguments for format [-Wformat-extra-args] - 215 | "Couldn't delete {0=>32}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:218:17: warning: too many arguments for format [-Wformat-extra-args] - 218 | "Unexpected size after deleting entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:225:13: warning: too many arguments for format [-Wformat-extra-args] - 225 | "Shouldn't be able to delete nonexistent {3=>X}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:230:17: warning: too many arguments for format [-Wformat-extra-args] - 230 | "Unexpected size after deleting last entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:241:5: note: in expansion of macro 'fail_if_error' - 241 | fail_if_error(cork_hash_table_put - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:244:25: warning: too many arguments for format [-Wformat-extra-args] - 244 | fail_unless(is_new, "Couldn't append {0=>32} to hash table"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:252:5: note: in expansion of macro 'fail_if_error' - 252 | fail_if_error(cork_hash_table_put - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:255:25: warning: too many arguments for format [-Wformat-extra-args] - 255 | fail_unless(is_new, "Couldn't append {1=>2} to hash table"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:261:17: warning: too many arguments for format [-Wformat-extra-args] - 261 | "Unexpected size after deleting entries using map"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_string_hash_table_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:281:5: note: in expansion of macro 'fail_if_error' - 281 | fail_if_error(cork_hash_table_put - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:284:17: warning: too many arguments for format [-Wformat-extra-args] - 284 | "Unexpected size after adding {key1->1}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:288:13: warning: too many arguments for format [-Wformat-extra-args] - 288 | "No entry for key1"); - | ^~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:291:17: warning: too many arguments for format [-Wformat-extra-args] - 291 | "Unexpected value for key1"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:295:17: warning: too many arguments for format [-Wformat-extra-args] - 295 | "Unexpected entry for key2"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'test_pointer_hash_table_fn': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:315:5: note: in expansion of macro 'fail_if_error' - 315 | fail_if_error(cork_hash_table_put - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:318:17: warning: too many arguments for format [-Wformat-extra-args] - 318 | "Unexpected size after adding {key1->1}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:321:13: warning: too many arguments for format [-Wformat-extra-args] - 321 | "No entry for key1"); - | ^~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:324:17: warning: too many arguments for format [-Wformat-extra-args] - 324 | "Unexpected value for key1"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:327:17: warning: too many arguments for format [-Wformat-extra-args] - 327 | "Unexpected entry for key2"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-hash-table.c:354:10: warning: unused parameter 'argc' [-Wunused-parameter] - 354 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-hash-table.c:354:29: warning: unused parameter 'argv' [-Wunused-parameter] - 354 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -In file included from /build/libcork-0.15.0+ds/tests/test-ring-buffer.c:14: -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'test_ring_buffer_1_fn': -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:32:17: warning: too many arguments for format [-Wformat-extra-args] - 32 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:34:17: warning: too many arguments for format [-Wformat-extra-args] - 34 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:36:17: warning: too many arguments for format [-Wformat-extra-args] - 36 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:38:17: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:40:13: warning: too many arguments for format [-Wformat-extra-args] - 40 | "Shouldn't be able to add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:43:17: warning: too many arguments for format [-Wformat-extra-args] - 43 | "Unexpected head of ring buffer (peek)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:45:17: warning: too many arguments for format [-Wformat-extra-args] - 45 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:47:17: warning: too many arguments for format [-Wformat-extra-args] - 47 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:50:17: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:52:17: warning: too many arguments for format [-Wformat-extra-args] - 52 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:54:13: warning: too many arguments for format [-Wformat-extra-args] - 54 | "Shouldn't be able to add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:57:17: warning: too many arguments for format [-Wformat-extra-args] - 57 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:59:17: warning: too many arguments for format [-Wformat-extra-args] - 59 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:61:17: warning: too many arguments for format [-Wformat-extra-args] - 61 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:63:17: warning: too many arguments for format [-Wformat-extra-args] - 63 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:65:17: warning: too many arguments for format [-Wformat-extra-args] - 65 | "Shouldn't be able to pop from ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'test_ring_buffer_2_fn': -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:77:17: warning: too many arguments for format [-Wformat-extra-args] - 77 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:79:17: warning: too many arguments for format [-Wformat-extra-args] - 79 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:81:17: warning: too many arguments for format [-Wformat-extra-args] - 81 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:83:17: warning: too many arguments for format [-Wformat-extra-args] - 83 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:85:13: warning: too many arguments for format [-Wformat-extra-args] - 85 | "Shouldn't be able to add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:88:17: warning: too many arguments for format [-Wformat-extra-args] - 88 | "Unexpected head of ring buffer (peek)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:90:17: warning: too many arguments for format [-Wformat-extra-args] - 90 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:92:17: warning: too many arguments for format [-Wformat-extra-args] - 92 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:95:17: warning: too many arguments for format [-Wformat-extra-args] - 95 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:97:17: warning: too many arguments for format [-Wformat-extra-args] - 97 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:99:13: warning: too many arguments for format [-Wformat-extra-args] - 99 | "Shouldn't be able to add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:102:17: warning: too many arguments for format [-Wformat-extra-args] - 102 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:104:17: warning: too many arguments for format [-Wformat-extra-args] - 104 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:106:17: warning: too many arguments for format [-Wformat-extra-args] - 106 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:108:17: warning: too many arguments for format [-Wformat-extra-args] - 108 | "Unexpected head of ring buffer (pop)"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:110:17: warning: too many arguments for format [-Wformat-extra-args] - 110 | "Shouldn't be able to pop from ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:136:10: warning: unused parameter 'argc' [-Wunused-parameter] - 136 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-ring-buffer.c:136:29: warning: unused parameter 'argv' [-Wunused-parameter] - 136 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -[ 93%] Linking C executable shared-test-buffer -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-buffer.dir/link.txt --verbose=1 -[ 93%] Built target embedded-test-array -In file included from /build/libcork-0.15.0+ds/tests/test-mempool.c:15: -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_01_fn': -/build/libcork-0.15.0+ds/tests/test-mempool.c:40:17: warning: too many arguments for format [-Wformat-extra-args] - 40 | "Cannot allocate object #%zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:49:17: warning: too many arguments for format [-Wformat-extra-args] - 49 | "Cannot reallocate object #%zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_fail_01_fn': -/build/libcork-0.15.0+ds/tests/test-mempool.c:68:13: warning: too many arguments for format [-Wformat-extra-args] - 68 | "Cannot allocate object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'int64_init': -/build/libcork-0.15.0+ds/tests/test-mempool.c:77:18: warning: unused parameter 'user_data' [-Wunused-parameter] - 77 | int64_init(void *user_data, void *vobj) - | ~~~~~~^~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'int64_done': -/build/libcork-0.15.0+ds/tests/test-mempool.c:84:35: warning: unused parameter 'vobj' [-Wunused-parameter] - 84 | int64_done(void *user_data, void *vobj) - | ~~~~~~^~~~ -In file included from /build/libcork-0.15.0+ds/tests/test-mempool.c:15: -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'test_mempool_reuse_01_fn': -/build/libcork-0.15.0+ds/tests/test-mempool.c:109:13: warning: too many arguments for format [-Wformat-extra-args] - 109 | "Cannot allocate object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:112:29: warning: too many arguments for format [-Wformat-extra-args] - 112 | fail_unless(*obj == 12, "Unexpected value %" PRId64, *obj); - | ^~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:120:13: warning: too many arguments for format [-Wformat-extra-args] - 120 | "Cannot allocate object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:121:29: warning: too many arguments for format [-Wformat-extra-args] - 121 | fail_unless(*obj == 42, "Unexpected value %" PRId64, *obj); - | ^~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:128:17: warning: too many arguments for format [-Wformat-extra-args] - 128 | "done_object called an unexpected number of times: %zu", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-mempool.c:159:10: warning: unused parameter 'argc' [-Wunused-parameter] - 159 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-mempool.c:159:29: warning: unused parameter 'argv' [-Wunused-parameter] - 159 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-buffer.dir/test-buffer.c.o -o shared-test-buffer -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -In file included from /build/libcork-0.15.0+ds/tests/test-subprocess.c:16: -/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'verify_consumer__eof': -/build/libcork-0.15.0+ds/tests/test-subprocess.c:60:17: warning: too many arguments for format [-Wformat-extra-args] - 60 | "Unexpected %s: got\n%s\nexpected\n%s\n", self->name, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'test_subprocesses_': -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:144:9: note: in expansion of macro 'fail_if_error' - 144 | fail_if_error(exec = cork_exec_new_with_param_array - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:147:9: note: in expansion of macro 'fail_if_error' - 147 | fail_if_error(sub = cork_subprocess_new_exec - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:153:5: note: in expansion of macro 'fail_if_error' - 153 | fail_if_error(cork_subprocess_group_start(group)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:69:18: warning: too many arguments for format [-Wformat-extra-args] - 69 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:154:5: note: in expansion of macro 'fail_if_error' - 154 | fail_if_error(cork_subprocess_group_wait(group)); - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/helpers.h:86:18: warning: too many arguments for format [-Wformat-extra-args] - 86 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:158:9: note: in expansion of macro 'fail_unless_equal' - 158 | fail_unless_equal("Exit codes", "%d", - | ^~~~~~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c: At top level: -/build/libcork-0.15.0+ds/tests/test-subprocess.c:178:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 178 | }; - | ^ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:183:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 183 | }; - | ^ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:192:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 192 | }; - | ^ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:197:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 197 | }; - | ^ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c: In function 'main': -/build/libcork-0.15.0+ds/tests/test-subprocess.c:267:10: warning: unused parameter 'argc' [-Wunused-parameter] - 267 | main(int argc, const char **argv) +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-buffer.dir/test-buffer.c.o -o embedded-test-buffer -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread +In file included from /build/libcork-0.15.0+ds/tests/test-gc.c:19: +/build/libcork-0.15.0+ds/tests/test-gc.c: In function 'tree__free': +/build/libcork-0.15.0+ds/include/libcork/helpers/gc.h:21:20: warning: unused parameter 'obj' [-Wunused-parameter] + 21 | name##__free(void *obj) + | ~~~~~~^~~ +/build/libcork-0.15.0+ds/tests/test-gc.c:34:1: note: in expansion of macro '_free_' + 34 | _free_(tree) { + | ^~~~~~ +/build/libcork-0.15.0+ds/tests/test-gc.c: In function 'main': +/build/libcork-0.15.0+ds/tests/test-gc.c:146:10: warning: unused parameter 'argc' [-Wunused-parameter] + 146 | main(int argc, const char **argv) | ~~~~^~~~ -/build/libcork-0.15.0+ds/tests/test-subprocess.c:267:29: warning: unused parameter 'argv' [-Wunused-parameter] - 267 | main(int argc, const char **argv) +/build/libcork-0.15.0+ds/tests/test-gc.c:146:29: warning: unused parameter 'argv' [-Wunused-parameter] + 146 | main(int argc, const char **argv) | ~~~~~~~~~~~~~^~~~ -[ 93%] Built target shared-test-files -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 93%] Linking C executable shared-test-ring-buffer -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-ring-buffer.dir/link.txt --verbose=1 -[ 93%] Built target shared-test-buffer -reading sources... [ 41%] files -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-ring-buffer.dir/test-ring-buffer.c.o -o shared-test-ring-buffer -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread -[ 94%] Linking C executable shared-test-mempool -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-mempool.dir/link.txt --verbose=1 -[ 95%] Linking C executable shared-test-managed-buffer -[ 96%] Linking C executable shared-test-threads -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-managed-buffer.dir/link.txt --verbose=1 -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-threads.dir/link.txt --verbose=1 -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-mempool.dir/test-mempool.c.o -o shared-test-mempool -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-managed-buffer.dir/test-managed-buffer.c.o -o shared-test-managed-buffer -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-threads.dir/test-threads.c.o -o shared-test-threads -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread -[ 97%] Linking C executable shared-test-subprocess -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-subprocess.dir/link.txt --verbose=1 +[ 94%] Linking C executable embedded-test-bitset +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-bitset.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-files.dir/test-files.c.o -o embedded-test-files -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread +[ 94%] Linking C executable embedded-test-managed-buffer +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-managed-buffer.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-bitset.dir/test-bitset.c.o -o embedded-test-bitset -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread +[ 95%] Linking C executable embedded-test-dllist +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-dllist.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-managed-buffer.dir/test-managed-buffer.c.o -o embedded-test-managed-buffer -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-subprocess.dir/test-subprocess.c.o -o shared-test-subprocess -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread -[ 97%] Built target shared-test-ring-buffer -[ 97%] Linking C executable shared-test-hash-table -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-hash-table.dir/link.txt --verbose=1 make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-dllist.dir/test-dllist.c.o -o embedded-test-dllist -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread +[ 95%] Built target embedded-test-subprocess make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 95%] Built target embedded-test-buffer +[ 96%] Linking C executable embedded-test-gc +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-gc.dir/link.txt --verbose=1 +[ 96%] Built target embedded-test-files make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-hash-table.dir/test-hash-table.c.o -o shared-test-hash-table -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread -[ 97%] Built target shared-test-mempool -[ 97%] Built target shared-test-threads -[ 97%] Built target shared-test-managed-buffer +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-gc.dir/test-gc.c.o -o embedded-test-gc -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread +reading sources... [ 48%] hash-table make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 97%] Built target shared-test-subprocess +[ 96%] Built target embedded-test-bitset +[ 96%] Built target embedded-test-managed-buffer make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 97%] Built target shared-test-hash-table -reading sources... [ 45%] gc -[ 98%] Linking C executable embedded-test-core -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-core.dir/link.txt --verbose=1 -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-core.dir/test-core.c.o -o embedded-test-core -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 98%] Built target embedded-test-core -reading sources... [ 48%] hash-table -[ 99%] Linking C executable shared-test-array +[ 96%] Built target embedded-test-dllist +[ 96%] Built target embedded-test-gc +[ 97%] Linking C executable shared-test-array cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-array.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-array.dir/test-array.c.o -o shared-test-array -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 99%] Built target shared-test-array +[ 97%] Built target shared-test-array reading sources... [ 51%] hash-values reading sources... [ 54%] index -[100%] Linking C executable shared-test-core +[ 98%] Linking C executable shared-test-core cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/shared-test-core.dir/link.txt --verbose=1 -/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-core.dir/test-core.c.o -o shared-test-core -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread reading sources... [ 58%] int128 +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/shared-test-core.dir/test-core.c.o -o shared-test-core -Wl,-rpath,/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.0.2 -lpthread make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[100%] Built target shared-test-core reading sources... [ 61%] managed-buffer +[ 98%] Built target shared-test-core reading sources... [ 64%] mempool reading sources... [ 67%] net-addresses +[ 99%] Linking C executable embedded-test-array +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-array.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-array.dir/test-array.c.o -o embedded-test-array -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread reading sources... [ 70%] process +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 99%] Built target embedded-test-array +[100%] Linking C executable embedded-test-core +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/embedded-test-core.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -fdebug-prefix-map=/build/libcork-0.15.0+ds=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic CMakeFiles/embedded-test-core.dir/test-core.c.o -o embedded-test-core -lcheck_pic -lrt -lm -lsubunit ../src/libcork.a -lpthread reading sources... [ 74%] ring-buffer reading sources... [ 77%] slice +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[100%] Built target embedded-test-core reading sources... [ 80%] stream reading sources... [ 83%] subprocess reading sources... [ 87%] threads @@ -21416,10 +21451,10 @@ /usr/bin/cmake -E cmake_progress_start /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/CMakeFiles 0 make[1]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' dh_auto_test - cd obj-x86_64-linux-gnu && make -j15 test ARGS\+=-j15 + cd obj-x86_64-linux-gnu && make -j16 test ARGS\+=-j16 make[1]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' Running tests... -/usr/bin/ctest --force-new-ctest-process -j15 +/usr/bin/ctest --force-new-ctest-process -j16 Test project /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu Start 1: shared-test-array Start 2: embedded-test-array @@ -21436,140 +21471,140 @@ Start 13: shared-test-gc Start 14: embedded-test-gc Start 15: shared-test-hash-table - 1/70 Test #1: shared-test-array ................ Passed 0.04 sec Start 16: embedded-test-hash-table - 2/70 Test #2: embedded-test-array .............. Passed 0.04 sec + 1/70 Test #1: shared-test-array ................ Passed 0.03 sec Start 17: shared-test-managed-buffer - 3/70 Test #5: shared-test-buffer ............... Passed 0.03 sec + 2/70 Test #2: embedded-test-array .............. Passed 0.03 sec Start 18: embedded-test-managed-buffer - 4/70 Test #6: embedded-test-buffer ............. Passed 0.04 sec + 3/70 Test #5: shared-test-buffer ............... Passed 0.03 sec Start 19: shared-test-mempool - 5/70 Test #7: shared-test-core ................. Passed 0.04 sec + 4/70 Test #6: embedded-test-buffer ............. Passed 0.03 sec Start 20: embedded-test-mempool - 6/70 Test #9: shared-test-dllist ............... Passed 0.03 sec + 5/70 Test #9: shared-test-dllist ............... Passed 0.02 sec Start 21: shared-test-ring-buffer - 7/70 Test #10: embedded-test-dllist ............. Passed 0.03 sec + 6/70 Test #10: embedded-test-dllist ............. Passed 0.02 sec Start 22: embedded-test-ring-buffer - 8/70 Test #13: shared-test-gc ................... Passed 0.03 sec + 7/70 Test #13: shared-test-gc ................... Passed 0.02 sec Start 23: shared-test-slice - 9/70 Test #8: embedded-test-core ............... Passed 0.05 sec + 8/70 Test #14: embedded-test-gc ................. Passed 0.02 sec Start 24: embedded-test-slice -10/70 Test #11: shared-test-files ................ Passed 0.04 sec + 9/70 Test #7: shared-test-core ................. Passed 0.04 sec Start 25: shared-test-subprocess -11/70 Test #12: embedded-test-files .............. Passed 0.04 sec +10/70 Test #8: embedded-test-core ............... Passed 0.04 sec Start 26: embedded-test-subprocess -12/70 Test #14: embedded-test-gc ................. Passed 0.04 sec +11/70 Test #11: shared-test-files ................ Passed 0.03 sec Start 27: shared-test-threads -13/70 Test #15: shared-test-hash-table ........... Passed 0.04 sec +12/70 Test #12: embedded-test-files .............. Passed 0.03 sec Start 28: embedded-test-threads -14/70 Test #16: embedded-test-hash-table ......... Passed 0.04 sec +13/70 Test #15: shared-test-hash-table ........... Passed 0.03 sec Start 29: cork-hash -15/70 Test #17: shared-test-managed-buffer ....... Passed 0.04 sec +14/70 Test #16: embedded-test-hash-table ......... Passed 0.03 sec Start 30: cork-initializer -16/70 Test #18: embedded-test-managed-buffer ..... Passed 0.04 sec +15/70 Test #17: shared-test-managed-buffer ....... Passed 0.03 sec Start 31: cleanup -17/70 Test #19: shared-test-mempool .............. Passed 0.05 sec +16/70 Test #18: embedded-test-managed-buffer ..... Passed 0.03 sec Start 32: directory-watcher -18/70 Test #20: embedded-test-mempool ............ Passed 0.06 sec +17/70 Test #19: shared-test-mempool .............. Passed 0.03 sec Start 33: help1-c1-s1 -19/70 Test #21: shared-test-ring-buffer .......... Passed 0.07 sec +18/70 Test #20: embedded-test-mempool ............ Passed 0.03 sec Start 34: help1-c1-s2 -20/70 Test #22: embedded-test-ring-buffer ........ Passed 0.08 sec +19/70 Test #21: shared-test-ring-buffer .......... Passed 0.03 sec Start 35: help1-c1 -21/70 Test #23: shared-test-slice ................ Passed 0.08 sec +20/70 Test #22: embedded-test-ring-buffer ........ Passed 0.04 sec Start 36: help1-c2 -22/70 Test #24: embedded-test-slice .............. Passed 0.10 sec +21/70 Test #23: shared-test-slice ................ Passed 0.05 sec Start 37: help1-root -23/70 Test #25: shared-test-subprocess ........... Passed 0.11 sec +22/70 Test #24: embedded-test-slice .............. Passed 0.06 sec Start 38: help2-c1-s1 -24/70 Test #26: embedded-test-subprocess ......... Passed 0.12 sec +23/70 Test #25: shared-test-subprocess ........... Passed 0.07 sec Start 39: help2-c1-s2 -25/70 Test #27: shared-test-threads .............. Passed 0.13 sec +24/70 Test #26: embedded-test-subprocess ......... Passed 0.08 sec Start 40: help2-c1 -26/70 Test #28: embedded-test-threads ............ Passed 0.13 sec +25/70 Test #28: embedded-test-threads ............ Passed 0.10 sec Start 41: help2-c2 -27/70 Test #30: cork-initializer ................. Passed 0.17 sec +26/70 Test #27: shared-test-threads .............. Passed 0.11 sec Start 42: help2-root -28/70 Test #29: cork-hash ........................ Passed 0.19 sec +27/70 Test #33: help1-c1-s1 ...................... Passed 0.16 sec Start 43: help3-c1-s1 -29/70 Test #31: cleanup .......................... Passed 0.20 sec +28/70 Test #34: help1-c1-s2 ...................... Passed 0.17 sec Start 44: help3-c1-s2 -30/70 Test #34: help1-c1-s2 ...................... Passed 0.26 sec +29/70 Test #31: cleanup .......................... Passed 0.18 sec Start 45: help3-c1 -31/70 Test #33: help1-c1-s1 ...................... Passed 0.32 sec +30/70 Test #29: cork-hash ........................ Passed 0.19 sec Start 46: help3-c2 -32/70 Test #35: help1-c1 ......................... Passed 0.31 sec +31/70 Test #30: cork-initializer ................. Passed 0.20 sec Start 47: help3-root -33/70 Test #36: help1-c2 ......................... Passed 0.32 sec +32/70 Test #35: help1-c1 ......................... Passed 0.20 sec Start 48: no-command-c1 -34/70 Test #37: help1-root ....................... Passed 0.30 sec +33/70 Test #38: help2-c1-s1 ...................... Passed 0.18 sec Start 49: no-command-root -35/70 Test #38: help2-c1-s1 ...................... Passed 0.30 sec +34/70 Test #39: help2-c1-s2 ...................... Passed 0.22 sec Start 50: run-c1-s1-f-t -36/70 Test #40: help2-c1 ......................... Passed 0.29 sec +35/70 Test #40: help2-c1 ......................... Passed 0.22 sec Start 51: run-c1-s1-f -37/70 Test #41: help2-c2 ......................... Passed 0.29 sec +36/70 Test #41: help2-c2 ......................... Passed 0.22 sec Start 52: run-c1-s1-t -38/70 Test #43: help3-c1-s1 ...................... Passed 0.24 sec +37/70 Test #36: help1-c2 ......................... Passed 0.31 sec Start 53: run-c1-s1-test -39/70 Test #39: help2-c1-s2 ...................... Passed 0.33 sec +38/70 Test #42: help2-root ....................... Passed 0.23 sec Start 54: run-c1-s1 -40/70 Test #44: help3-c1-s2 ...................... Passed 0.24 sec +39/70 Test #43: help3-c1-s1 ...................... Passed 0.18 sec Start 55: run-c1-s2-f -41/70 Test #42: help2-root ....................... Passed 0.30 sec +40/70 Test #46: help3-c2 ......................... Passed 0.16 sec Start 56: run-c1-s2-file -42/70 Test #45: help3-c1 ......................... Passed 0.20 sec +41/70 Test #37: help1-root ....................... Passed 0.34 sec Start 57: run-c1-s2 -43/70 Test #32: directory-watcher ................ Passed 0.51 sec +42/70 Test #44: help3-c1-s2 ...................... Passed 0.21 sec Start 58: run-c2 -44/70 Test #46: help3-c2 ......................... Passed 0.22 sec +43/70 Test #47: help3-root ....................... Passed 0.19 sec Start 59: run-find-01 -45/70 Test #47: help3-root ....................... Passed 0.21 sec +44/70 Test #48: no-command-c1 .................... Passed 0.19 sec Start 60: run-find-all-01 -46/70 Test #48: no-command-c1 .................... Passed 0.21 sec +45/70 Test #45: help3-c1 ......................... Passed 0.23 sec Start 61: run-mkdir-01 -47/70 Test #50: run-c1-s1-f-t .................... Passed 0.22 sec +46/70 Test #32: directory-watcher ................ Passed 0.43 sec Start 62: run-paths-01 -48/70 Test #49: no-command-root .................. Passed 0.26 sec +47/70 Test #49: no-command-root .................. Passed 0.22 sec Start 63: run-pwd-01 -49/70 Test #51: run-c1-s1-f ...................... Passed 0.28 sec +48/70 Test #54: run-c1-s1 ........................ Passed 0.18 sec Start 64: run-rm-01 -50/70 Test #55: run-c1-s2-f ...................... Passed 0.25 sec +49/70 Test #52: run-c1-s1-t ...................... Passed 0.21 sec Start 65: run-sub-01 -51/70 Test #56: run-c1-s2-file ................... Passed 0.24 sec +50/70 Test #55: run-c1-s2-f ...................... Passed 0.19 sec Start 66: run-sub-02 -52/70 Test #52: run-c1-s1-t ...................... Passed 0.30 sec +51/70 Test #51: run-c1-s1-f ...................... Passed 0.25 sec Start 67: run-sub-03 -53/70 Test #53: run-c1-s1-test ................... Passed 0.30 sec +52/70 Test #56: run-c1-s2-file ................... Passed 0.20 sec Start 68: run-sub-04 -54/70 Test #54: run-c1-s1 ........................ Passed 0.30 sec +53/70 Test #53: run-c1-s1-test ................... Passed 0.23 sec Start 69: run-sub-05 -55/70 Test #59: run-find-01 ...................... Passed 0.21 sec +54/70 Test #50: run-c1-s1-f-t .................... Passed 0.30 sec Start 70: run-sub-06 -56/70 Test #58: run-c2 ........................... Passed 0.26 sec -57/70 Test #57: run-c1-s2 ........................ Passed 0.31 sec -58/70 Test #60: run-find-all-01 .................. Passed 0.29 sec -59/70 Test #62: run-paths-01 ..................... Passed 0.25 sec -60/70 Test #66: run-sub-02 ....................... Passed 0.17 sec -61/70 Test #61: run-mkdir-01 ..................... Passed 0.30 sec -62/70 Test #67: run-sub-03 ....................... Passed 0.17 sec -63/70 Test #63: run-pwd-01 ....................... Passed 0.25 sec -64/70 Test #65: run-sub-01 ....................... Passed 0.20 sec -65/70 Test #69: run-sub-05 ....................... Passed 0.17 sec -66/70 Test #68: run-sub-04 ....................... Passed 0.20 sec -67/70 Test #64: run-rm-01 ........................ Passed 0.26 sec -68/70 Test #70: run-sub-06 ....................... Passed 0.17 sec -69/70 Test #4: embedded-test-bitset ............. Passed 1.09 sec -70/70 Test #3: shared-test-bitset ............... Passed 1.16 sec +55/70 Test #57: run-c1-s2 ........................ Passed 0.21 sec +56/70 Test #58: run-c2 ........................... Passed 0.21 sec +57/70 Test #62: run-paths-01 ..................... Passed 0.23 sec +58/70 Test #60: run-find-all-01 .................. Passed 0.27 sec +59/70 Test #65: run-sub-01 ....................... Passed 0.15 sec +60/70 Test #66: run-sub-02 ....................... Passed 0.16 sec +61/70 Test #67: run-sub-03 ....................... Passed 0.15 sec +62/70 Test #63: run-pwd-01 ....................... Passed 0.26 sec +63/70 Test #59: run-find-01 ...................... Passed 0.31 sec +64/70 Test #64: run-rm-01 ........................ Passed 0.20 sec +65/70 Test #68: run-sub-04 ....................... Passed 0.16 sec +66/70 Test #61: run-mkdir-01 ..................... Passed 0.32 sec +67/70 Test #70: run-sub-06 ....................... Passed 0.17 sec +68/70 Test #69: run-sub-05 ....................... Passed 0.19 sec +69/70 Test #4: embedded-test-bitset ............. Passed 0.95 sec +70/70 Test #3: shared-test-bitset ............... Passed 1.06 sec 100% tests passed, 0 tests failed out of 70 -Total Test time (real) = 1.17 sec +Total Test time (real) = 1.07 sec make[1]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - cd obj-x86_64-linux-gnu && make -j15 install DESTDIR=/build/libcork-0.15.0\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd obj-x86_64-linux-gnu && make -j16 install DESTDIR=/build/libcork-0.15.0\+ds/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' /usr/bin/cmake -S/build/libcork-0.15.0+ds -B/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/CMakeFiles /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu//CMakeFiles/progress.marks @@ -21585,11 +21620,11 @@ make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-static.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make -f docs/old/CMakeFiles/old-doc.dir/build.make docs/old/CMakeFiles/old-doc.dir/build +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make -f src/CMakeFiles/libcork-shared.dir/build.make src/CMakeFiles/libcork-shared.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make -f src/CMakeFiles/libcork-static.dir/build.make src/CMakeFiles/libcork-static.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'src/CMakeFiles/libcork-shared.dir/build'. @@ -21599,287 +21634,287 @@ make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' [ 1%] Building HTML documentation with Sphinx cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old && /usr/bin/sphinx-build -b html -d /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/_doctrees -c /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old /build/libcork-0.15.0+ds/docs/old /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/docs/old/html -[ 24%] Built target libcork-static -[ 46%] Built target libcork-shared -make -f tests/CMakeFiles/embedded-test-mempool.dir/build.make tests/CMakeFiles/embedded-test-mempool.dir/depend -make -f tests/CMakeFiles/embedded-test-core.dir/build.make tests/CMakeFiles/embedded-test-core.dir/depend -make -f tests/CMakeFiles/embedded-test-buffer.dir/build.make tests/CMakeFiles/embedded-test-buffer.dir/depend +[ 23%] Built target libcork-shared +make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/depend +make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/depend +[ 46%] Built target libcork-static +make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/depend +make -f tests/CMakeFiles/shared-test-dllist.dir/build.make tests/CMakeFiles/shared-test-dllist.dir/depend +make -f tests/CMakeFiles/shared-test-core.dir/build.make tests/CMakeFiles/shared-test-core.dir/depend +make -f tests/CMakeFiles/shared-test-buffer.dir/build.make tests/CMakeFiles/shared-test-buffer.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-mempool.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-managed-buffer.dir/build.make tests/CMakeFiles/embedded-test-managed-buffer.dir/depend +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/shared-test-bitset.dir/build.make tests/CMakeFiles/shared-test-bitset.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-core.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-files.dir/build.make tests/CMakeFiles/embedded-test-files.dir/depend +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-buffer.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/shared-test-buffer.dir/build.make tests/CMakeFiles/shared-test-buffer.dir/depend +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-managed-buffer.dir/DependInfo.cmake --color= +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-dllist.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-files.dir/DependInfo.cmake --color= +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-core.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-buffer.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-subprocess.dir/build.make tests/CMakeFiles/embedded-test-subprocess.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-subprocess.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-dllist.dir/build.make tests/CMakeFiles/embedded-test-dllist.dir/depend -make -f tests/CMakeFiles/embedded-test-bitset.dir/build.make tests/CMakeFiles/embedded-test-bitset.dir/depend +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-bitset.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/embedded-test-array.dir/build.make tests/CMakeFiles/embedded-test-array.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-dllist.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/shared-test-bitset.dir/build.make tests/CMakeFiles/shared-test-bitset.dir/depend +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-array.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/shared-test-slice.dir/build.make tests/CMakeFiles/shared-test-slice.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-bitset.dir/DependInfo.cmake --color= +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-slice.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/shared-test-gc.dir/build.make tests/CMakeFiles/shared-test-gc.dir/depend +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-gc.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/embedded-test-gc.dir/build.make tests/CMakeFiles/embedded-test-gc.dir/depend +make -f tests/CMakeFiles/shared-test-files.dir/build.make tests/CMakeFiles/shared-test-files.dir/depend make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-mempool.dir/build.make tests/CMakeFiles/embedded-test-mempool.dir/build +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-gc.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/build +make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/build +make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-bitset.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-core.dir/build.make tests/CMakeFiles/embedded-test-core.dir/build -make -f tests/CMakeFiles/embedded-test-buffer.dir/build.make tests/CMakeFiles/embedded-test-buffer.dir/build -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-mempool.dir/build'. -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-files.dir/DependInfo.cmake --color= make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-core.dir/build'. -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-managed-buffer.dir/build.make tests/CMakeFiles/embedded-test-managed-buffer.dir/build +make[3]: Nothing to be done for 'src/CMakeFiles/cork-test.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-files.dir/build.make tests/CMakeFiles/embedded-test-files.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-buffer.dir/build'. +make[3]: Nothing to be done for 'src/CMakeFiles/cork-hash.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-managed-buffer.dir/build'. +make[3]: Nothing to be done for 'src/CMakeFiles/cork-initializer.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-files.dir/build'. +make -f tests/CMakeFiles/shared-test-dllist.dir/build.make tests/CMakeFiles/shared-test-dllist.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-buffer.dir/build.make tests/CMakeFiles/shared-test-buffer.dir/build -make -f tests/CMakeFiles/embedded-test-subprocess.dir/build.make tests/CMakeFiles/embedded-test-subprocess.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-buffer.dir/build'. +make -f tests/CMakeFiles/shared-test-core.dir/build.make tests/CMakeFiles/shared-test-core.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/shared-test-buffer.dir/build.make tests/CMakeFiles/shared-test-buffer.dir/build +make -f tests/CMakeFiles/shared-test-bitset.dir/build.make tests/CMakeFiles/shared-test-bitset.dir/build +make -f tests/CMakeFiles/embedded-test-array.dir/build.make tests/CMakeFiles/embedded-test-array.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-subprocess.dir/build'. -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-dllist.dir/build.make tests/CMakeFiles/embedded-test-dllist.dir/build +make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-dllist.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-bitset.dir/build.make tests/CMakeFiles/embedded-test-bitset.dir/build -make -f tests/CMakeFiles/shared-test-bitset.dir/build.make tests/CMakeFiles/shared-test-bitset.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-dllist.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-core.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-bitset.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-buffer.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-bitset.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 47%] Built target embedded-test-buffer -[ 49%] Built target embedded-test-core -[ 52%] Built target shared-test-buffer -[ 52%] Built target embedded-test-managed-buffer -[ 54%] Built target embedded-test-mempool -[ 55%] Built target embedded-test-files -make -f tests/CMakeFiles/embedded-test-array.dir/build.make tests/CMakeFiles/embedded-test-array.dir/depend -make -f tests/CMakeFiles/shared-test-slice.dir/build.make tests/CMakeFiles/shared-test-slice.dir/depend -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-array.dir/DependInfo.cmake --color= -[ 57%] Built target embedded-test-subprocess -make -f tests/CMakeFiles/shared-test-gc.dir/build.make tests/CMakeFiles/shared-test-gc.dir/depend -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-slice.dir/DependInfo.cmake --color= -[ 58%] Built target shared-test-bitset -[ 60%] Built target embedded-test-dllist -[ 62%] Built target embedded-test-bitset -make -f tests/CMakeFiles/embedded-test-gc.dir/build.make tests/CMakeFiles/embedded-test-gc.dir/depend -make -f tests/CMakeFiles/shared-test-files.dir/build.make tests/CMakeFiles/shared-test-files.dir/depend -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-gc.dir/DependInfo.cmake --color= -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-gc.dir/DependInfo.cmake --color= -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-files.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/shared-test-array.dir/build.make tests/CMakeFiles/shared-test-array.dir/depend make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-array.dir/build.make tests/CMakeFiles/embedded-test-array.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-array.dir/DependInfo.cmake --color= -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-array.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-gc.dir/build.make tests/CMakeFiles/shared-test-gc.dir/build make -f tests/CMakeFiles/shared-test-slice.dir/build.make tests/CMakeFiles/shared-test-slice.dir/build +make -f tests/CMakeFiles/shared-test-gc.dir/build.make tests/CMakeFiles/shared-test-gc.dir/build make -f tests/CMakeFiles/embedded-test-gc.dir/build.make tests/CMakeFiles/embedded-test-gc.dir/build +make -f tests/CMakeFiles/shared-test-files.dir/build.make tests/CMakeFiles/shared-test-files.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-array.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-slice.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-gc.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-slice.dir/build'. -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-gc.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-files.dir/build.make tests/CMakeFiles/shared-test-files.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-files.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 47%] Built target cork-test +[ 49%] Built target cork-hash +[ 49%] Built target shared-test-dllist +[ 53%] Built target cork-initializer +[ 55%] Built target shared-test-buffer +[ 57%] Built target shared-test-core +[ 59%] Built target embedded-test-array +make -f tests/CMakeFiles/shared-test-array.dir/build.make tests/CMakeFiles/shared-test-array.dir/depend make -f tests/CMakeFiles/shared-test-threads.dir/build.make tests/CMakeFiles/shared-test-threads.dir/depend -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-array.dir/build.make tests/CMakeFiles/shared-test-array.dir/build -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-threads.dir/DependInfo.cmake --color= -[ 64%] Built target embedded-test-array -[ 66%] Built target shared-test-gc -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-array.dir/build'. -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 68%] Built target shared-test-slice make -f tests/CMakeFiles/shared-test-hash-table.dir/build.make tests/CMakeFiles/shared-test-hash-table.dir/depend make -f tests/CMakeFiles/shared-test-managed-buffer.dir/build.make tests/CMakeFiles/shared-test-managed-buffer.dir/depend +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-array.dir/DependInfo.cmake --color= make -f tests/CMakeFiles/embedded-test-threads.dir/build.make tests/CMakeFiles/embedded-test-threads.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-threads.dir/DependInfo.cmake --color= +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-hash-table.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-managed-buffer.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/shared-test-mempool.dir/build.make tests/CMakeFiles/shared-test-mempool.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-threads.dir/DependInfo.cmake --color= -[ 70%] Built target embedded-test-gc -make -f tests/CMakeFiles/shared-test-mempool.dir/build.make tests/CMakeFiles/shared-test-mempool.dir/depend -[ 72%] Built target shared-test-files +[ 61%] Built target shared-test-slice +[ 62%] Built target shared-test-bitset +[ 64%] Built target embedded-test-gc make -f tests/CMakeFiles/shared-test-ring-buffer.dir/build.make tests/CMakeFiles/shared-test-ring-buffer.dir/depend +[ 66%] Built target shared-test-files make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-mempool.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/embedded-test-ring-buffer.dir/build.make tests/CMakeFiles/embedded-test-ring-buffer.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-ring-buffer.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/embedded-test-ring-buffer.dir/build.make tests/CMakeFiles/embedded-test-ring-buffer.dir/depend +[ 68%] Built target shared-test-gc +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/shared-test-hash-table.dir/build.make tests/CMakeFiles/shared-test-hash-table.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 74%] Built target shared-test-array make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-ring-buffer.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/shared-test-threads.dir/build.make tests/CMakeFiles/shared-test-threads.dir/build -make -f tests/CMakeFiles/embedded-test-slice.dir/build.make tests/CMakeFiles/embedded-test-slice.dir/depend -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-threads.dir/build'. -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-slice.dir/DependInfo.cmake --color= +make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-hash-table.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/shared-test-array.dir/build.make tests/CMakeFiles/shared-test-array.dir/build +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-array.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/shared-test-threads.dir/build.make tests/CMakeFiles/shared-test-threads.dir/build +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-threads.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-hash-table.dir/build.make tests/CMakeFiles/shared-test-hash-table.dir/build -make -f tests/CMakeFiles/shared-test-managed-buffer.dir/build.make tests/CMakeFiles/shared-test-managed-buffer.dir/build make -f tests/CMakeFiles/embedded-test-threads.dir/build.make tests/CMakeFiles/embedded-test-threads.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-ring-buffer.dir/build.make tests/CMakeFiles/shared-test-ring-buffer.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-hash-table.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-threads.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-managed-buffer.dir/build'. +make -f tests/CMakeFiles/shared-test-managed-buffer.dir/build.make tests/CMakeFiles/shared-test-managed-buffer.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-threads.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/shared-test-mempool.dir/build.make tests/CMakeFiles/shared-test-mempool.dir/build -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/shared-test-ring-buffer.dir/build.make tests/CMakeFiles/shared-test-ring-buffer.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-ring-buffer.dir/build'. -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-managed-buffer.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-mempool.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/embedded-test-slice.dir/build.make tests/CMakeFiles/embedded-test-slice.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-slice.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-ring-buffer.dir/build'. +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-slice.dir/build.make tests/CMakeFiles/embedded-test-slice.dir/depend make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/embedded-test-ring-buffer.dir/build.make tests/CMakeFiles/embedded-test-ring-buffer.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-slice.dir/DependInfo.cmake --color= +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-ring-buffer.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 69%] Built target shared-test-hash-table +[ 71%] Built target shared-test-array +[ 73%] Built target embedded-test-threads +[ 75%] Built target shared-test-managed-buffer +[ 78%] Built target shared-test-mempool +[ 78%] Built target shared-test-ring-buffer make -f tests/CMakeFiles/shared-test-subprocess.dir/build.make tests/CMakeFiles/shared-test-subprocess.dir/depend -[ 76%] Built target shared-test-threads -[ 77%] Built target shared-test-hash-table -[ 79%] Built target embedded-test-threads -[ 81%] Built target shared-test-managed-buffer -make -f tests/CMakeFiles/embedded-test-hash-table.dir/build.make tests/CMakeFiles/embedded-test-hash-table.dir/depend +[ 80%] Built target shared-test-threads make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-subprocess.dir/DependInfo.cmake --color= -[ 82%] Built target shared-test-ring-buffer -make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/depend -make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/depend +make -f tests/CMakeFiles/embedded-test-hash-table.dir/build.make tests/CMakeFiles/embedded-test-hash-table.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-hash-table.dir/DependInfo.cmake --color= -[ 85%] Built target embedded-test-ring-buffer -make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/depend +[ 82%] Built target embedded-test-ring-buffer +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-mempool.dir/build.make tests/CMakeFiles/embedded-test-mempool.dir/depend +make -f tests/CMakeFiles/embedded-test-slice.dir/build.make tests/CMakeFiles/embedded-test-slice.dir/build +make -f tests/CMakeFiles/embedded-test-core.dir/build.make tests/CMakeFiles/embedded-test-core.dir/depend +make -f tests/CMakeFiles/embedded-test-buffer.dir/build.make tests/CMakeFiles/embedded-test-buffer.dir/depend +make -f tests/CMakeFiles/embedded-test-managed-buffer.dir/build.make tests/CMakeFiles/embedded-test-managed-buffer.dir/depend +make -f tests/CMakeFiles/embedded-test-files.dir/build.make tests/CMakeFiles/embedded-test-files.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/DependInfo.cmake --color= +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-mempool.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/embedded-test-subprocess.dir/build.make tests/CMakeFiles/embedded-test-subprocess.dir/depend make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/DependInfo.cmake --color= -make -f tests/CMakeFiles/shared-test-dllist.dir/build.make tests/CMakeFiles/shared-test-dllist.dir/depend -make -f tests/CMakeFiles/shared-test-core.dir/build.make tests/CMakeFiles/shared-test-core.dir/depend +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-slice.dir/build'. +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/DependInfo.cmake --color= +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-core.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-dllist.dir/DependInfo.cmake --color= +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-buffer.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/shared-test-core.dir/DependInfo.cmake --color= -[ 86%] Built target shared-test-mempool -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/build +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-managed-buffer.dir/DependInfo.cmake --color= +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-files.dir/DependInfo.cmake --color= +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-subprocess.dir/DependInfo.cmake --color= +make -f tests/CMakeFiles/embedded-test-dllist.dir/build.make tests/CMakeFiles/embedded-test-dllist.dir/depend make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/shared-test-subprocess.dir/build.make tests/CMakeFiles/shared-test-subprocess.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'src/CMakeFiles/cork-initializer.dir/build'. -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 87%] Built target embedded-test-slice +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-dllist.dir/DependInfo.cmake --color= make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-subprocess.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/embedded-test-hash-table.dir/build.make tests/CMakeFiles/embedded-test-hash-table.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-hash-table.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 83%] Built target embedded-test-slice +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-mempool.dir/build.make tests/CMakeFiles/embedded-test-mempool.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/build -make -f tests/CMakeFiles/shared-test-core.dir/build.make tests/CMakeFiles/shared-test-core.dir/build make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'src/CMakeFiles/cork-test.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-mempool.dir/build'. +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-buffer.dir/build.make tests/CMakeFiles/embedded-test-buffer.dir/build +make -f tests/CMakeFiles/embedded-test-managed-buffer.dir/build.make tests/CMakeFiles/embedded-test-managed-buffer.dir/build +make -f tests/CMakeFiles/embedded-test-files.dir/build.make tests/CMakeFiles/embedded-test-files.dir/build +make -f tests/CMakeFiles/embedded-test-bitset.dir/build.make tests/CMakeFiles/embedded-test-bitset.dir/depend +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-buffer.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-core.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-managed-buffer.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/shared-test-dllist.dir/build.make tests/CMakeFiles/shared-test-dllist.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/shared-test-dllist.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-files.dir/build'. make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/build +make -f tests/CMakeFiles/embedded-test-dllist.dir/build.make tests/CMakeFiles/embedded-test-dllist.dir/build make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'src/CMakeFiles/cork-hash.dir/build'. +cd /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/libcork-0.15.0+ds /build/libcork-0.15.0+ds/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests /build/libcork-0.15.0+ds/obj-x86_64-linux-gnu/tests/CMakeFiles/embedded-test-bitset.dir/DependInfo.cmake --color= +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-dllist.dir/build'. +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' -[ 91%] Built target cork-initializer -[ 95%] Built target shared-test-core -[ 95%] Built target embedded-test-hash-table -[ 97%] Built target shared-test-subprocess -[ 99%] Built target cork-test -[ 99%] Built target shared-test-dllist -[100%] Built target cork-hash +make -f tests/CMakeFiles/embedded-test-core.dir/build.make tests/CMakeFiles/embedded-test-core.dir/build +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-core.dir/build'. +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 85%] Built target shared-test-subprocess +[ 87%] Built target embedded-test-hash-table +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 89%] Built target embedded-test-mempool +make -f tests/CMakeFiles/embedded-test-subprocess.dir/build.make tests/CMakeFiles/embedded-test-subprocess.dir/build +[ 90%] Built target embedded-test-buffer +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-subprocess.dir/build'. +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/embedded-test-bitset.dir/build.make tests/CMakeFiles/embedded-test-bitset.dir/build +make[3]: Entering directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/embedded-test-bitset.dir/build'. +make[3]: Leaving directory '/build/libcork-0.15.0+ds/obj-x86_64-linux-gnu' +[ 91%] Built target embedded-test-managed-buffer +[ 95%] Built target embedded-test-dllist +[ 95%] Built target embedded-test-core +[ 97%] Built target embedded-test-subprocess +[ 98%] Built target embedded-test-files +[100%] Built target embedded-test-bitset Running Sphinx v3.4.3 loading pickled environment... done building [mo]: targets for 0 po files that are out of date @@ -22177,8 +22212,8 @@ dh_md5sums dh_builddeb dpkg-deb: building package 'libcork-dev' in '../libcork-dev_0.15.0+ds-16_amd64.deb'. -dpkg-deb: building package 'libcork16' in '../libcork16_0.15.0+ds-16_amd64.deb'. dpkg-deb: building package 'libcork16-dbgsym' in '../libcork16-dbgsym_0.15.0+ds-16_amd64.deb'. +dpkg-deb: building package 'libcork16' in '../libcork16_0.15.0+ds-16_amd64.deb'. dpkg-deb: building package 'libcork-doc' in '../libcork-doc_0.15.0+ds-16_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../libcork_0.15.0+ds-16_amd64.changes @@ -22187,12 +22222,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2954573/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2954573/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2341909 and its subdirectories -I: Current time: Wed Dec 29 04:16:32 -12 2021 -I: pbuilder-time-stamp: 1640794592 +I: removing directory /srv/workspace/pbuilder/2954573 and its subdirectories +I: Current time: Wed Feb 1 12:40:38 +14 2023 +I: pbuilder-time-stamp: 1675204838