Diff of the two buildlogs: -- --- b1/build.log 2023-05-22 16:33:09.378314590 +0000 +++ b2/build.log 2023-05-22 16:35:01.077414823 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 22 04:31:21 -12 2023 -I: pbuilder-time-stamp: 1684773081 +I: Current time: Mon Jun 24 12:56:14 +14 2024 +I: pbuilder-time-stamp: 1719183374 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./libcork_1.0.0~rc3.orig.tar.gz] I: copying [./libcork_1.0.0~rc3-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Aug 28 18:43:04 2021 -12 +gpgv: Signature made Sun Aug 29 20:43:04 2021 +14 gpgv: using RSA key 0A32ADBE80399BE7163859ECA4786B0DA70334A8 gpgv: issuer "rosh@debian.org" gpgv: Can't check signature: No public key @@ -30,135 +30,167 @@ dpkg-source: info: applying 03-Use-system-python3-cram.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1122171/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3345355/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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 24 12:56 /bin/sh -> /bin/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/3345355/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3345355/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 parallel=15 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.15(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 parallel=16 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='4f0779174aac438dae7ec13a11b5e7cc' - 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='1122171' - PS1='# ' - PS2='> ' + INVOCATION_ID=3073a62bdbd34b5d96b6fbf7ece58ef3 + 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=3345355 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/r-b-build.1TslpkBi/pbuilderrc_aX5K --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1TslpkBi/b1 --logfile b1/build.log libcork_1.0.0~rc3-3.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/r-b-build.1TslpkBi/pbuilderrc_PB0W --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.1TslpkBi/b2 --logfile b2/build.log --extrapackages usrmerge libcork_1.0.0~rc3-3.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-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/1122171/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 Jun 24 12:56 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/3345355/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -303,7 +335,7 @@ Get: 97 http://deb.debian.org/debian bookworm/main amd64 python3-snowballstemmer all 2.2.0-2 [57.8 kB] Get: 98 http://deb.debian.org/debian bookworm/main amd64 sphinx-common all 5.3.0-4 [653 kB] Get: 99 http://deb.debian.org/debian bookworm/main amd64 python3-sphinx all 5.3.0-4 [549 kB] -Fetched 50.0 MB in 1s (79.8 MB/s) +Fetched 50.0 MB in 1s (80.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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 ... 19596 files and directories currently installed.) @@ -725,8 +757,19 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/libcork-1.0.0~rc3/ && 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_1.0.0~rc3-3_source.changes +I: user script /srv/workspace/pbuilder/3345355/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/3345355/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/libcork-1.0.0~rc3/ && 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_1.0.0~rc3-3_source.changes dpkg-buildpackage: info: source package libcork dpkg-buildpackage: info: source version 1.0.0~rc3-3 dpkg-buildpackage: info: source distribution unstable @@ -789,7 +832,7 @@ -- Build files have been written to: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu make[1]: Leaving directory '/build/libcork-1.0.0~rc3' 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-1.0.0~rc3/obj-x86_64-linux-gnu' /usr/bin/cmake -S"/build/libcork-1.0.0~rc3" -B"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/CMakeFiles" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu//CMakeFiles/progress.marks" @@ -803,100 +846,102 @@ make -f tests/CMakeFiles/u128-test-le.dir/build.make tests/CMakeFiles/u128-test-le.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-sub.dir/DependInfo.cmake" --color= -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-eq.dir/DependInfo.cmake" --color= make -f tests/CMakeFiles/u128-test-gt.dir/build.make tests/CMakeFiles/u128-test-gt.dir/depend -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-shared.dir/DependInfo.cmake" --color= make -f tests/CMakeFiles/u128-test-ge.dir/build.make tests/CMakeFiles/u128-test-ge.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-eq.dir/DependInfo.cmake" --color= +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-ne.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/u128-test-shl.dir/build.make tests/CMakeFiles/u128-test-shl.dir/depend +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-shared.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-lt.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/u128-test-shr.dir/build.make tests/CMakeFiles/u128-test-shr.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-le.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/u128-test-shl.dir/build.make tests/CMakeFiles/u128-test-shl.dir/depend +make -f tests/CMakeFiles/u128-test-add.dir/build.make tests/CMakeFiles/u128-test-add.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-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-gt.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-ge.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-shl.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/u128-test-shr.dir/build.make tests/CMakeFiles/u128-test-shr.dir/depend -make -f tests/CMakeFiles/u128-test-add.dir/build.make tests/CMakeFiles/u128-test-add.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-shr.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-add.dir/DependInfo.cmake" --color= -make -f docs/old/CMakeFiles/old-doc.dir/build.make docs/old/CMakeFiles/old-doc.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/docs/old" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old/CMakeFiles/old-doc.dir/DependInfo.cmake" --color= make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-eq.dir/build.make tests/CMakeFiles/u128-test-eq.dir/build +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-ne.dir/build.make tests/CMakeFiles/u128-test-ne.dir/build +make -f tests/CMakeFiles/u128-test-add.dir/build.make tests/CMakeFiles/u128-test-add.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-sub.dir/build.make tests/CMakeFiles/u128-test-sub.dir/build +make -f tests/CMakeFiles/u128-test-ne.dir/build.make tests/CMakeFiles/u128-test-ne.dir/build +make -f tests/CMakeFiles/u128-test-ge.dir/build.make tests/CMakeFiles/u128-test-ge.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-lt.dir/build.make tests/CMakeFiles/u128-test-lt.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/libcork-shared.dir/build.make src/CMakeFiles/libcork-shared.dir/build +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/u128-test-le.dir/build.make tests/CMakeFiles/u128-test-le.dir/build -make -f tests/CMakeFiles/u128-test-gt.dir/build.make tests/CMakeFiles/u128-test-gt.dir/build -make -f tests/CMakeFiles/u128-test-eq.dir/build.make tests/CMakeFiles/u128-test-eq.dir/build +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-ge.dir/build.make tests/CMakeFiles/u128-test-ge.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-shr.dir/build.make tests/CMakeFiles/u128-test-shr.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/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-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-lt.dir/build.make tests/CMakeFiles/u128-test-lt.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-sub.dir/build.make tests/CMakeFiles/u128-test-sub.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-gt.dir/build.make tests/CMakeFiles/u128-test-gt.dir/build make -f tests/CMakeFiles/u128-test-shl.dir/build.make tests/CMakeFiles/u128-test-shl.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-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-shr.dir/build.make tests/CMakeFiles/u128-test-shr.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' [ 1%] Generating u128 ne test cases -[ 2%] Generating u128 le test cases -[ 3%] Generating u128 gt test cases -[ 5%] Generating u128 eq test cases +[ 2%] Generating u128 eq test cases +[ 3%] Generating u128 add test cases +[ 6%] Generating u128 lt test cases +[ 6%] Generating u128 le test cases cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py ne /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-ne.c.in -make -f tests/CMakeFiles/u128-test-add.dir/build.make tests/CMakeFiles/u128-test-add.dir/build -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py le /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-le.c.in -[ 6%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 7%] Generating u128 ge test cases -make -f docs/old/CMakeFiles/old-doc.dir/build.make docs/old/CMakeFiles/old-doc.dir/build -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py gt /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-gt.c.in cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py eq /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-eq.c.in -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py ge /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-ge.c.in -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c" -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 8%] Generating u128 sub test cases -[ 10%] Generating u128 shl test cases -[ 11%] Generating u128 lt test cases -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py sub /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-sub.c.in -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py shl /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-shl.c.in +[ 7%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py lt /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-lt.c.in -[ 14%] Generating u128 add test cases -[ 14%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o -[ 15%] Building HTML documentation with Sphinx -[ 16%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py le /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-le.c.in +[ 8%] Generating u128 shl test cases cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o -MF CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/cli/commands.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/cli/commands.c" +[ 10%] Generating u128 ge test cases +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py shl /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-shl.c.in +[ 11%] Generating u128 sub test cases cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py add /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-add.c.in +[ 12%] Generating u128 gt test cases +[ 14%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/error.c.o +[ 15%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o +[ 16%] Generating u128 shr test cases +[ 17%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py sub /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-sub.c.in +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py ge /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-ge.c.in +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py gt /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-gt.c.in +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/error.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/error.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/error.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/error.c" +[ 19%] Building HTML documentation with Sphinx +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/allocator.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c" +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py shr /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-shr.c.in cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/gc.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/gc.c" cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old" && /usr/bin/sphinx-build -b html -d /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old/_doctrees -c /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old /build/libcork-1.0.0~rc3/docs/old /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old/html -[ 17%] Generating u128 shr test cases -[ 19%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/error.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/python3 /build/libcork-1.0.0~rc3/tests/create-u128-test-cases.py shr /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/u128-tests-shr.c.in -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/error.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/error.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/error.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/error.c" +[ 20%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/hash.c" /build/libcork-1.0.0~rc3/src/libcork/core/gc.c: In function 'cork_gc_decref_step': /build/libcork-1.0.0~rc3/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) @@ -934,45 +979,6 @@ /build/libcork-1.0.0~rc3/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-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__calloc': -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:290:52: warning: unused parameter 'alloc' [-Wunused-parameter] - 290 | cork_stdlib_alloc__calloc(const struct cork_alloc *alloc, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__malloc': -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:301:52: warning: unused parameter 'alloc' [-Wunused-parameter] - 301 | cork_stdlib_alloc__malloc(const struct cork_alloc *alloc, size_t size) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__realloc': -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:311:53: warning: unused parameter 'alloc' [-Wunused-parameter] - 311 | cork_stdlib_alloc__realloc(const struct cork_alloc *alloc, void *ptr, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:312:35: warning: unused parameter 'old_size' [-Wunused-parameter] - 312 | size_t old_size, size_t new_size) - | ~~~~~~~^~~~~~~~ -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xcalloc': -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:335:53: warning: unused parameter 'alloc' [-Wunused-parameter] - 335 | cork_stdlib_alloc__xcalloc(const struct cork_alloc *alloc, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xmalloc': -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:342:53: warning: unused parameter 'alloc' [-Wunused-parameter] - 342 | cork_stdlib_alloc__xmalloc(const struct cork_alloc *alloc, size_t size) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xrealloc': -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:348:54: warning: unused parameter 'alloc' [-Wunused-parameter] - 348 | cork_stdlib_alloc__xrealloc(const struct cork_alloc *alloc, void *ptr, - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:349:36: warning: unused parameter 'old_size' [-Wunused-parameter] - 349 | size_t old_size, size_t new_size) - | ~~~~~~~^~~~~~~~ -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__free': -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:355:50: warning: unused parameter 'alloc' [-Wunused-parameter] - 355 | cork_stdlib_alloc__free(const struct cork_alloc *alloc, void *ptr, size_t size) - | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:355:75: warning: unused parameter 'size' [-Wunused-parameter] - 355 | cork_stdlib_alloc__free(const struct cork_alloc *alloc, void *ptr, size_t size) - | ~~~~~~~^~~~ -[ 20%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/hash.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/hash.c" In file included from /build/libcork-1.0.0~rc3/src/libcork/core/hash.c:10: /build/libcork-1.0.0~rc3/include/libcork/core/hash.h: In function 'cork_stable_hash_buffer': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:120:20: warning: this statement may fall through [-Wimplicit-fallthrough=] @@ -984,9 +990,18 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:121:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 121 | case 2: k1 ^= tail[1] << 8; | ~~~^~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__calloc': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:122:9: note: here 122 | case 1: k1 ^= tail[0]; | ^~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:290:52: warning: unused parameter 'alloc' [-Wunused-parameter] + 290 | cork_stdlib_alloc__calloc(const struct cork_alloc *alloc, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__malloc': +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:301:52: warning: unused parameter 'alloc' [-Wunused-parameter] + 301 | cork_stdlib_alloc__malloc(const struct cork_alloc *alloc, size_t size) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__realloc': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h: In function 'cork_hash_buffer': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:296:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 296 | case 15: k2 ^= (uint64_t) (tail[14]) << 48; \ @@ -994,6 +1009,9 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:311:53: warning: unused parameter 'alloc' [-Wunused-parameter] + 311 | cork_stdlib_alloc__realloc(const struct cork_alloc *alloc, void *ptr, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:297:9: note: here 297 | case 14: k2 ^= (uint64_t) (tail[13]) << 40; \ | ^~~~ @@ -1012,6 +1030,9 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:312:35: warning: unused parameter 'old_size' [-Wunused-parameter] + 312 | size_t old_size, size_t new_size) + | ~~~~~~~^~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:298:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 298 | case 13: k2 ^= (uint64_t) (tail[12]) << 32; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1024,6 +1045,7 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xcalloc': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 299 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1042,12 +1064,16 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:335:53: warning: unused parameter 'alloc' [-Wunused-parameter] + 335 | cork_stdlib_alloc__xcalloc(const struct cork_alloc *alloc, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:301:9: note: here 301 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ | ^~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xmalloc': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:301:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 301 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1066,6 +1092,9 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:342:53: warning: unused parameter 'alloc' [-Wunused-parameter] + 342 | cork_stdlib_alloc__xmalloc(const struct cork_alloc *alloc, size_t size) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:305:9: note: here 305 | case 8: k1 ^= (uint64_t) (tail[ 7]) << 56; \ | ^~~~ @@ -1078,6 +1107,7 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__xrealloc': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:306:9: note: here 306 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ | ^~~~ @@ -1096,6 +1126,9 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:348:54: warning: unused parameter 'alloc' [-Wunused-parameter] + 348 | cork_stdlib_alloc__xrealloc(const struct cork_alloc *alloc, void *ptr, + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:307:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 307 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1108,6 +1141,9 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:349:36: warning: unused parameter 'old_size' [-Wunused-parameter] + 349 | size_t old_size, size_t new_size) + | ~~~~~~~^~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:308:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 308 | case 5: k1 ^= (uint64_t) (tail[ 4]) << 32; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1120,6 +1156,7 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c: In function 'cork_stdlib_alloc__free': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:309:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 309 | case 4: k1 ^= (uint64_t) (tail[ 3]) << 24; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1138,6 +1175,9 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:355:50: warning: unused parameter 'alloc' [-Wunused-parameter] + 355 | cork_stdlib_alloc__free(const struct cork_alloc *alloc, void *ptr, size_t size) + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:311:9: note: here 311 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ | ^~~~ @@ -1156,6 +1196,9 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/core/allocator.c:355:75: warning: unused parameter 'size' [-Wunused-parameter] + 355 | cork_stdlib_alloc__free(const struct cork_alloc *alloc, void *ptr, size_t size) + | ~~~~~~~^~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h: In function 'cork_big_hash_buffer': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:296:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 296 | case 15: k2 ^= (uint64_t) (tail[14]) << 48; \ @@ -1330,45 +1373,36 @@ [ 23%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/ip-address.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/ip-address.c" [ 24%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/mempool.c" [ 25%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/mempool.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/mempool.c" cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/timestamp.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/timestamp.c" [ 26%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/u128.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/u128.c" -Running Sphinx v5.3.0 -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 26%] Built target u128-test-shl -[ 26%] Built target u128-test-add [ 28%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/core/version.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/core/version.c.o -MF CMakeFiles/libcork-shared.dir/libcork/core/version.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/core/version.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/core/version.c" -[ 29%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/bitset.c" -[ 30%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 28%] Built target u128-test-shl +Running Sphinx v5.3.0 +[ 29%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/array.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/array.c" -[ 32%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o -[ 33%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/dllist.c" -[ 34%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o +[ 30%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/bitset.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/bitset.c" +[ 32%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/buffer.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/buffer.c" -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/file-stream.c" -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 35%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/hash-table.c" -making output directory... done /build/libcork-1.0.0~rc3/src/libcork/ds/array.c: In function 'pointer__init': /build/libcork-1.0.0~rc3/src/libcork/ds/array.c:336:21: warning: unused parameter 'user_data' [-Wunused-parameter] 336 | pointer__init(void *user_data, void *vvalue) | ~~~~~~^~~~~~~~~ -building [mo]: targets for 0 po files that are out of date /build/libcork-1.0.0~rc3/src/libcork/ds/array.c: In function 'string__copy': /build/libcork-1.0.0~rc3/src/libcork/ds/array.c:402:20: warning: unused parameter 'user_data' [-Wunused-parameter] 402 | string__copy(void *user_data, void *vdest, const void *vsrc) | ~~~~~~^~~~~~~~~ -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 -[ 35%] Built target u128-test-sub +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 33%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/dllist.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/dllist.c" +[ 33%] Built target u128-test-shr +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 34%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o /build/libcork-1.0.0~rc3/src/libcork/ds/buffer.c: In function 'cork_buffer_stream_consumer_data': /build/libcork-1.0.0~rc3/src/libcork/ds/buffer.c:385:39: warning: unused parameter 'is_first_chunk' [-Wunused-parameter] 385 | bool is_first_chunk) @@ -1377,22 +1411,18 @@ /build/libcork-1.0.0~rc3/src/libcork/ds/buffer.c:394:62: warning: unused parameter 'consumer' [-Wunused-parameter] 394 | cork_buffer_stream_consumer_eof(struct cork_stream_consumer *consumer) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ +[ 35%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/file-stream.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/file-stream.c" +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/hash-table.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/hash-table.c" +[ 35%] Built target u128-test-sub [ 37%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/managed-buffer.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/managed-buffer.c" -/build/libcork-1.0.0~rc3/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__data': -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__eof': -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/src/libcork/ds/file-stream.c: In function 'cork_fd_consumer__data': -/build/libcork-1.0.0~rc3/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) - | ^ [ 38%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/ring-buffer.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/ring-buffer.c" +[ 39%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/slice.c" +[ 41%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/stream.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/stream.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/stream.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/stream.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/stream.c" /build/libcork-1.0.0~rc3/src/libcork/ds/hash-table.c: In function 'cork_hash_table__default_hash': /build/libcork-1.0.0~rc3/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) @@ -1584,39 +1614,52 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__data': +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/src/libcork/ds/file-stream.c: In function 'cork_file_consumer__eof': +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/src/libcork/ds/file-stream.c: In function 'cork_fd_consumer__data': +/build/libcork-1.0.0~rc3/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) + | ^ +making output directory... done make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 39%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/slice.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/slice.c" -[ 39%] Built target u128-test-shr -[ 41%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/ds/stream.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/ds/stream.c.o -MF CMakeFiles/libcork-shared.dir/libcork/ds/stream.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/ds/stream.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/ds/stream.c" -[ 42%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o -MF CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/posix/directory-walker.c" -reading sources... [ 6%] array +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 +[ 41%] Built target u128-test-add [ 43%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o +[ 43%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o -MF CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/posix/directory-walker.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/posix/directory-walker.c" cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o -MF CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/posix/env.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/posix/env.c" [ 44%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o -MF CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/posix/exec.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/posix/exec.c" [ 46%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o -reading sources... [ 9%] attributes cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o -MF CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/posix/files.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/posix/files.c" [ 47%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o -MF CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/posix/process.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/posix/process.c" -reading sources... [ 12%] basic-types [ 48%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o -MF CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/posix/subprocess.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/posix/subprocess.c" -[ 50%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o -MF CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/pthreads/thread.c" -reading sources... [ 16%] bitset /build/libcork-1.0.0~rc3/src/libcork/posix/env.c: In function 'cork_env_set_vars': /build/libcork-1.0.0~rc3/src/libcork/posix/env.c:183:25: warning: unused parameter 'user_data' [-Wunused-parameter] 183 | cork_env_set_vars(void *user_data, struct cork_hash_table_entry *entry) | ~~~~~~^~~~~~~~~ +[ 50%] Building C object src/CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -DCORK_API=CORK_EXPORT -Dlibcork_shared_EXPORTS -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o -MF CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o.d -o CMakeFiles/libcork-shared.dir/libcork/pthreads/thread.c.o -c "/build/libcork-1.0.0~rc3/src/libcork/pthreads/thread.c" +/build/libcork-1.0.0~rc3/src/libcork/posix/files.c: In function 'cork_file_remove_iterator': +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/src/libcork/posix/process.c: In function 'cork_cleanup_call_one': /build/libcork-1.0.0~rc3/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) | ~~~~~~^~~~~~~~~ -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +reading sources... [ 6%] array /build/libcork-1.0.0~rc3/src/libcork/posix/subprocess.c: In function 'cork_write_pipe__data': /build/libcork-1.0.0~rc3/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) @@ -1625,155 +1668,160 @@ /build/libcork-1.0.0~rc3/src/libcork/posix/subprocess.c:259:52: warning: unused parameter 'consumer' [-Wunused-parameter] 259 | cork_write_pipe__free(struct cork_stream_consumer *consumer) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ -reading sources... [ 19%] buffer -/build/libcork-1.0.0~rc3/src/libcork/posix/files.c: In function 'cork_file_remove_iterator': -/build/libcork-1.0.0~rc3/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, - | ~~~~~~~~~~~~^~~~~~~~ +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' [ 50%] Built target u128-test-ge +reading sources... [ 9%] attributes +reading sources... [ 12%] basic-types +reading sources... [ 16%] bitset make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 50%] Built target u128-test-lt +reading sources... [ 19%] buffer make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' [ 50%] Built target u128-test-ne -[ 50%] Built target u128-test-eq +[ 51%] Linking C shared library libcork.so +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cmake -E cmake_link_script CMakeFiles/libcork-shared.dir/link.txt --verbose=1 reading sources... [ 22%] byte-order make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -reading sources... [ 25%] cli -[ 50%] Built target u128-test-lt -[ 50%] Built target u128-test-le +/usr/bin/cc -fPIC -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -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.1.0 "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/id.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/ds/stream.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" +[ 51%] Built target u128-test-eq make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 50%] Built target u128-test-gt +[ 51%] Built target u128-test-le +[ 51%] Built target u128-test-gt make -f tests/CMakeFiles/u128-test-suite.dir/build.make tests/CMakeFiles/u128-test-suite.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-suite.dir/DependInfo.cmake" --color= +reading sources... [ 25%] cli +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cmake -E cmake_symlink_library libcork.so.16.1.0 libcork.so.16 libcork.so make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/u128-test-suite.dir/build.make tests/CMakeFiles/u128-test-suite.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-suite.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 50%] Built target u128-test-suite -reading sources... [ 29%] config -[ 51%] Linking C shared library libcork.so -cd "/build/libcork-1.0.0~rc3/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 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -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.1.0 "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/id.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/ds/stream.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" -reading sources... [ 32%] dllist -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cmake -E cmake_symlink_library libcork.so.16.1.0 libcork.so.16 libcork.so +[ 51%] Built target u128-test-suite make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' [ 51%] Built target libcork-shared make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/depend make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/depend make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/depend make -f tests/CMakeFiles/test-array.dir/build.make tests/CMakeFiles/test-array.dir/depend +make -f tests/CMakeFiles/test-bitset.dir/build.make tests/CMakeFiles/test-bitset.dir/depend +make -f tests/CMakeFiles/test-buffer.dir/build.make tests/CMakeFiles/test-buffer.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/test-core.dir/build.make tests/CMakeFiles/test-core.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/test-dllist.dir/build.make tests/CMakeFiles/test-dllist.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/test-files.dir/build.make tests/CMakeFiles/test-files.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-array.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/test-bitset.dir/build.make tests/CMakeFiles/test-bitset.dir/depend -make -f tests/CMakeFiles/test-buffer.dir/build.make tests/CMakeFiles/test-buffer.dir/depend -make -f tests/CMakeFiles/test-core.dir/build.make tests/CMakeFiles/test-core.dir/depend -make -f tests/CMakeFiles/test-dllist.dir/build.make tests/CMakeFiles/test-dllist.dir/depend -make -f tests/CMakeFiles/test-files.dir/build.make tests/CMakeFiles/test-files.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-bitset.dir/DependInfo.cmake" --color= make -f tests/CMakeFiles/test-gc.dir/build.make tests/CMakeFiles/test-gc.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-buffer.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/test-hash-table.dir/build.make tests/CMakeFiles/test-hash-table.dir/depend +make -f tests/CMakeFiles/test-managed-buffer.dir/build.make tests/CMakeFiles/test-managed-buffer.dir/depend +make -f tests/CMakeFiles/test-mempool.dir/build.make tests/CMakeFiles/test-mempool.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-core.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-dllist.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/test-ring-buffer.dir/build.make tests/CMakeFiles/test-ring-buffer.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-files.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/test-hash-table.dir/build.make tests/CMakeFiles/test-hash-table.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-gc.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/test-managed-buffer.dir/build.make tests/CMakeFiles/test-managed-buffer.dir/depend +make -f tests/CMakeFiles/test-slice.dir/build.make tests/CMakeFiles/test-slice.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-hash-table.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/test-mempool.dir/build.make tests/CMakeFiles/test-mempool.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-managed-buffer.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/test-ring-buffer.dir/build.make tests/CMakeFiles/test-ring-buffer.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-mempool.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-ring-buffer.dir/DependInfo.cmake" --color= +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-slice.dir/DependInfo.cmake" --color= make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-dllist.dir/build.make tests/CMakeFiles/test-dllist.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/build +make -f tests/CMakeFiles/test-files.dir/build.make tests/CMakeFiles/test-files.dir/build +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-buffer.dir/build.make tests/CMakeFiles/test-buffer.dir/build +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/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-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/build make -f tests/CMakeFiles/test-array.dir/build.make tests/CMakeFiles/test-array.dir/build -make -f tests/CMakeFiles/test-bitset.dir/build.make tests/CMakeFiles/test-bitset.dir/build -make -f tests/CMakeFiles/test-buffer.dir/build.make tests/CMakeFiles/test-buffer.dir/build -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-gc.dir/build.make tests/CMakeFiles/test-gc.dir/build +make -f tests/CMakeFiles/test-hash-table.dir/build.make tests/CMakeFiles/test-hash-table.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-managed-buffer.dir/build.make tests/CMakeFiles/test-managed-buffer.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-mempool.dir/build.make tests/CMakeFiles/test-mempool.dir/build +make -f tests/CMakeFiles/test-bitset.dir/build.make tests/CMakeFiles/test-bitset.dir/build +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/test-core.dir/build.make tests/CMakeFiles/test-core.dir/build +make -f tests/CMakeFiles/test-slice.dir/build.make tests/CMakeFiles/test-slice.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-files.dir/build.make tests/CMakeFiles/test-files.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-gc.dir/build.make tests/CMakeFiles/test-gc.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-hash-table.dir/build.make tests/CMakeFiles/test-hash-table.dir/build -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-dllist.dir/build.make tests/CMakeFiles/test-dllist.dir/build -make -f tests/CMakeFiles/test-mempool.dir/build.make tests/CMakeFiles/test-mempool.dir/build -[ 52%] Building C object src/CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 53%] Building C object tests/CMakeFiles/test-bitset.dir/test-bitset.c.o -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o -MF CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o.d -o CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o -c "/build/libcork-1.0.0~rc3/src/cork-hash/cork-hash.c" -[ 55%] Building C object tests/CMakeFiles/test-buffer.dir/test-buffer.c.o -[ 56%] Building C object tests/CMakeFiles/test-files.dir/test-files.c.o -make -f tests/CMakeFiles/test-managed-buffer.dir/build.make tests/CMakeFiles/test-managed-buffer.dir/build -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-bitset.dir/test-bitset.c.o -MF CMakeFiles/test-bitset.dir/test-bitset.c.o.d -o CMakeFiles/test-bitset.dir/test-bitset.c.o -c "/build/libcork-1.0.0~rc3/tests/test-bitset.c" make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 57%] Building C object src/CMakeFiles/cork-test.dir/cork-test/cork-test.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-buffer.dir/test-buffer.c.o -MF CMakeFiles/test-buffer.dir/test-buffer.c.o.d -o CMakeFiles/test-buffer.dir/test-buffer.c.o -c "/build/libcork-1.0.0~rc3/tests/test-buffer.c" +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/build make -f tests/CMakeFiles/test-ring-buffer.dir/build.make tests/CMakeFiles/test-ring-buffer.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-files.dir/test-files.c.o -MF CMakeFiles/test-files.dir/test-files.c.o.d -o CMakeFiles/test-files.dir/test-files.c.o -c "/build/libcork-1.0.0~rc3/tests/test-files.c" -[ 58%] Building C object tests/CMakeFiles/test-core.dir/test-core.c.o make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 60%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o -[ 61%] Building C object tests/CMakeFiles/test-gc.dir/test-gc.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/cork-test.dir/cork-test/cork-test.c.o -MF CMakeFiles/cork-test.dir/cork-test/cork-test.c.o.d -o CMakeFiles/cork-test.dir/cork-test/cork-test.c.o -c "/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c" -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-core.dir/test-core.c.o -MF CMakeFiles/test-core.dir/test-core.c.o.d -o CMakeFiles/test-core.dir/test-core.c.o -c "/build/libcork-1.0.0~rc3/tests/test-core.c" -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o -MF CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o.d -o CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o -c "/build/libcork-1.0.0~rc3/src/cork-initializer/init1.c" -[ 62%] Building C object tests/CMakeFiles/test-array.dir/test-array.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-gc.dir/test-gc.c.o -MF CMakeFiles/test-gc.dir/test-gc.c.o.d -o CMakeFiles/test-gc.dir/test-gc.c.o -c "/build/libcork-1.0.0~rc3/tests/test-gc.c" -[ 64%] Building C object tests/CMakeFiles/test-dllist.dir/test-dllist.c.o +[ 52%] Building C object tests/CMakeFiles/test-dllist.dir/test-dllist.c.o +[ 53%] Building C object src/CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o +[ 55%] Building C object tests/CMakeFiles/test-files.dir/test-files.c.o +[ 56%] Building C object tests/CMakeFiles/test-gc.dir/test-gc.c.o +[ 57%] Building C object tests/CMakeFiles/test-buffer.dir/test-buffer.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-dllist.dir/test-dllist.c.o -MF CMakeFiles/test-dllist.dir/test-dllist.c.o.d -o CMakeFiles/test-dllist.dir/test-dllist.c.o -c "/build/libcork-1.0.0~rc3/tests/test-dllist.c" -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-array.dir/test-array.c.o -MF CMakeFiles/test-array.dir/test-array.c.o.d -o CMakeFiles/test-array.dir/test-array.c.o -c "/build/libcork-1.0.0~rc3/tests/test-array.c" -reading sources... [ 35%] ds +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o -MF CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o.d -o CMakeFiles/cork-hash.dir/cork-hash/cork-hash.c.o -c "/build/libcork-1.0.0~rc3/src/cork-hash/cork-hash.c" +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-files.dir/test-files.c.o -MF CMakeFiles/test-files.dir/test-files.c.o.d -o CMakeFiles/test-files.dir/test-files.c.o -c "/build/libcork-1.0.0~rc3/tests/test-files.c" +[ 58%] Building C object tests/CMakeFiles/test-array.dir/test-array.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-buffer.dir/test-buffer.c.o -MF CMakeFiles/test-buffer.dir/test-buffer.c.o.d -o CMakeFiles/test-buffer.dir/test-buffer.c.o -c "/build/libcork-1.0.0~rc3/tests/test-buffer.c" +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-gc.dir/test-gc.c.o -MF CMakeFiles/test-gc.dir/test-gc.c.o.d -o CMakeFiles/test-gc.dir/test-gc.c.o -c "/build/libcork-1.0.0~rc3/tests/test-gc.c" +[ 60%] Building C object tests/CMakeFiles/test-managed-buffer.dir/test-managed-buffer.c.o +[ 62%] Building C object src/CMakeFiles/cork-test.dir/cork-test/cork-test.c.o +[ 62%] Building C object tests/CMakeFiles/test-bitset.dir/test-bitset.c.o [ 65%] Building C object tests/CMakeFiles/test-hash-table.dir/test-hash-table.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-array.dir/test-array.c.o -MF CMakeFiles/test-array.dir/test-array.c.o.d -o CMakeFiles/test-array.dir/test-array.c.o -c "/build/libcork-1.0.0~rc3/tests/test-array.c" +[ 65%] Building C object tests/CMakeFiles/test-core.dir/test-core.c.o +[ 66%] Building C object tests/CMakeFiles/test-slice.dir/test-slice.c.o +[ 67%] Building C object tests/CMakeFiles/test-mempool.dir/test-mempool.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-managed-buffer.dir/test-managed-buffer.c.o -MF CMakeFiles/test-managed-buffer.dir/test-managed-buffer.c.o.d -o CMakeFiles/test-managed-buffer.dir/test-managed-buffer.c.o -c "/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c" +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/cork-test.dir/cork-test/cork-test.c.o -MF CMakeFiles/cork-test.dir/cork-test/cork-test.c.o.d -o CMakeFiles/cork-test.dir/cork-test/cork-test.c.o -c "/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c" cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-hash-table.dir/test-hash-table.c.o -MF CMakeFiles/test-hash-table.dir/test-hash-table.c.o.d -o CMakeFiles/test-hash-table.dir/test-hash-table.c.o -c "/build/libcork-1.0.0~rc3/tests/test-hash-table.c" -[ 66%] Building C object tests/CMakeFiles/test-mempool.dir/test-mempool.c.o -[ 67%] Building C object tests/CMakeFiles/test-managed-buffer.dir/test-managed-buffer.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-bitset.dir/test-bitset.c.o -MF CMakeFiles/test-bitset.dir/test-bitset.c.o.d -o CMakeFiles/test-bitset.dir/test-bitset.c.o -c "/build/libcork-1.0.0~rc3/tests/test-bitset.c" cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-mempool.dir/test-mempool.c.o -MF CMakeFiles/test-mempool.dir/test-mempool.c.o.d -o CMakeFiles/test-mempool.dir/test-mempool.c.o -c "/build/libcork-1.0.0~rc3/tests/test-mempool.c" -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-managed-buffer.dir/test-managed-buffer.c.o -MF CMakeFiles/test-managed-buffer.dir/test-managed-buffer.c.o.d -o CMakeFiles/test-managed-buffer.dir/test-managed-buffer.c.o -c "/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c" -[ 69%] Building C object tests/CMakeFiles/test-ring-buffer.dir/test-ring-buffer.c.o -reading sources... [ 38%] errors +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-core.dir/test-core.c.o -MF CMakeFiles/test-core.dir/test-core.c.o.d -o CMakeFiles/test-core.dir/test-core.c.o -c "/build/libcork-1.0.0~rc3/tests/test-core.c" +[ 69%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-slice.dir/test-slice.c.o -MF CMakeFiles/test-slice.dir/test-slice.c.o.d -o CMakeFiles/test-slice.dir/test-slice.c.o -c "/build/libcork-1.0.0~rc3/tests/test-slice.c" +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o -MF CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o.d -o CMakeFiles/cork-initializer.dir/cork-initializer/init1.c.o -c "/build/libcork-1.0.0~rc3/src/cork-initializer/init1.c" +[ 70%] Building C object tests/CMakeFiles/test-ring-buffer.dir/test-ring-buffer.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-ring-buffer.dir/test-ring-buffer.c.o -MF CMakeFiles/test-ring-buffer.dir/test-ring-buffer.c.o.d -o CMakeFiles/test-ring-buffer.dir/test-ring-buffer.c.o -c "/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c" +reading sources... [ 29%] config In file included from /build/libcork-1.0.0~rc3/include/libcork/core/callbacks.h:14, from /build/libcork-1.0.0~rc3/include/libcork/core/allocator.h:18, from /build/libcork-1.0.0~rc3/include/libcork/core.h:15, @@ -1978,30 +2026,61 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /build/libcork-1.0.0~rc3/tests/test-buffer.c:14: +/build/libcork-1.0.0~rc3/tests/test-buffer.c: In function 'check_buffers': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:299:9: note: here 299 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ | ^~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:32:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat=] + 32 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 33 | buf1->size, buf1->buf, buf2->size, buf2->buf); + | ~~~~~~~~~ + | | + | void * /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:299:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 299 | case 12: k2 ^= (uint64_t) (tail[11]) << 24; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:32:52: note: format string is defined here + 32 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ~^ + | | + | char * + | %p /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:300:9: note: here 300 | case 11: k2 ^= (uint64_t) (tail[10]) << 16; \ | ^~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:32:17: warning: format '%s' expects argument of type 'char *', but argument 8 has type 'void *' [-Wformat=] + 32 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 33 | buf1->size, buf1->buf, buf2->size, buf2->buf); + | ~~~~~~~~~ + | | + | void * /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:300:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 300 | case 11: k2 ^= (uint64_t) (tail[10]) << 16; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:32:69: note: format string is defined here + 32 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ~^ + | | + | char * + | %p +/build/libcork-1.0.0~rc3/tests/test-buffer.c:32:17: warning: too many arguments for format [-Wformat-extra-args] + 32 | "Buffers should be equal: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:301:9: note: here 301 | case 10: k2 ^= (uint64_t) (tail[ 9]) << 8; \ | ^~~~ @@ -2032,24 +2111,41 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c: In function 'check_buffer': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:305:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 305 | case 8: k1 ^= (uint64_t) (tail[ 7]) << 56; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:41:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat=] + 41 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 42 | buf->size, buf->buf, expected_len, expected); + | ~~~~~~~~ + | | + | void * /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:306:9: note: here 306 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ | ^~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:41:54: note: format string is defined here + 41 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", + | ~^ + | | + | char * + | %p /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:306:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 306 | case 7: k1 ^= (uint64_t) (tail[ 6]) << 48; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:41:17: warning: too many arguments for format [-Wformat-extra-args] + 41 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:307:9: note: here 307 | case 6: k1 ^= (uint64_t) (tail[ 5]) << 40; \ | ^~~~ @@ -2104,18 +2200,37 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c: In function 'test_buffer_fn': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:311:21: warning: this statement may fall through [-Wimplicit-fallthrough=] 311 | case 2: k1 ^= (uint64_t) (tail[ 1]) << 8; \ | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:57:5: note: in expansion of macro 'fail_if_error' + 57 | fail_if_error(cork_buffer_set(&buffer1, SRC, SRC_LEN)); + | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:312:9: note: here 312 | case 1: k1 ^= (uint64_t) (tail[ 0]) << 0; \ | ^~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:60:17: warning: too many arguments for format [-Wformat-extra-args] + 60 | "Unexpected character at position 0: got %c, expected %c", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:64:17: warning: too many arguments for format [-Wformat-extra-args] + 64 | "Unexpected character at position 1: got %c, expected %c", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:67:5: note: in expansion of macro 'fail_if_error' + 67 | fail_if_error(buffer2 = cork_buffer_new()); + | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h: In function 'cork_stable_hash_buffer': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:120:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 120 | case 3: k1 ^= tail[2] << 16; @@ -2129,308 +2244,32 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:122:9: note: here 122 | case 1: k1 ^= tail[0]; | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'uint64__equals': -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c: In function 'uint64__hash': -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c:14: -/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'test_map_sum': -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:72:17: warning: too many arguments for format [-Wformat-extra-args] - 72 | "Unexpected map sum, got %" PRIu64 - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'test_iterator_sum': -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:89:17: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Unexpected iterator sum, got %" PRIu64 - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'test_map_to_string': -/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] - 91 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c: In function 'test_iterator_to_string': -/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] - 91 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c: In function 'test_uint64_hash_table_fn': -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:154:17: warning: too many arguments for format [-Wformat-extra-args] - 154 | "Hash table should start empty"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c:177:17: warning: too many arguments for format [-Wformat-extra-args] - 177 | "Unexpected previous key"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:179:17: warning: too many arguments for format [-Wformat-extra-args] - 179 | "Unexpected previous value"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/src/cork-test/cork-test.c: In function 'c1_s1_run': -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:76:15: warning: unused parameter 'argc' [-Wunused-parameter] - 76 | c1_s1_run(int argc, char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:76:28: warning: unused parameter 'argv' [-Wunused-parameter] - 76 | c1_s1_run(int argc, char **argv) - | ~~~~~~~^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c:215:17: warning: too many arguments for format [-Wformat-extra-args] - 215 | "Couldn't delete {0=>32}"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'c1_s2_run': -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:92:15: warning: unused parameter 'argc' [-Wunused-parameter] - 92 | c1_s2_run(int argc, char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:92:28: warning: unused parameter 'argv' [-Wunused-parameter] - 92 | c1_s2_run(int argc, char **argv) - | ~~~~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:218:17: warning: too many arguments for format [-Wformat-extra-args] - 218 | "Unexpected size after deleting entry"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/src/cork-test/cork-test.c: In function 'c2_run': -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:152:12: warning: unused parameter 'argc' [-Wunused-parameter] - 152 | c2_run(int argc, char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:152:25: warning: unused parameter 'argv' [-Wunused-parameter] - 152 | c2_run(int argc, char **argv) - | ~~~~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c: In function 'test_string_hash_table_fn': -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c:288:13: warning: too many arguments for format [-Wformat-extra-args] - 288 | "No entry for key1"); - | ^~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:291:17: warning: too many arguments for format [-Wformat-extra-args] - 291 | "Unexpected value for key1"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:295:17: warning: too many arguments for format [-Wformat-extra-args] - 295 | "Unexpected entry for key2"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'pwd_run': -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:274:13: warning: unused parameter 'argc' [-Wunused-parameter] - 274 | pwd_run(int argc, char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:274:26: warning: unused parameter 'argv' [-Wunused-parameter] - 274 | pwd_run(int argc, char **argv) - | ~~~~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'test_pointer_hash_table_fn': -In file included from /build/libcork-1.0.0~rc3/tests/test-bitset.c:14: -/build/libcork-1.0.0~rc3/tests/test-bitset.c: In function 'test_bitset_of_size': -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-bitset.c:35:47: warning: too many arguments for format [-Wformat-extra-args] - 35 | fail_unless(cork_bitset_get(set1, i), "Unexpected value for bit %zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-bitset.c:40:43: warning: too many arguments for format [-Wformat-extra-args] - 40 | fail_if(cork_bitset_get(set1, i), "Unexpected value for bit %zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:321:13: warning: too many arguments for format [-Wformat-extra-args] - 321 | "No entry for key1"); - | ^~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:324:17: warning: too many arguments for format [-Wformat-extra-args] - 324 | "Unexpected value for key1"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:327:17: warning: too many arguments for format [-Wformat-extra-args] - 327 | "Unexpected entry for key2"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-bitset.c:47:48: warning: too many arguments for format [-Wformat-extra-args] - 47 | fail_unless(cork_bitset_get(&set2, i), "Unexpected value for bit %zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/libcork-1.0.0~rc3/tests/test-buffer.c:14: -/build/libcork-1.0.0~rc3/tests/test-buffer.c: In function 'check_buffers': -/build/libcork-1.0.0~rc3/tests/test-buffer.c:32:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat=] - 32 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 33 | buf1->size, buf1->buf, buf2->size, buf2->buf); - | ~~~~~~~~~ - | | - | void * -/build/libcork-1.0.0~rc3/tests/test-buffer.c:32:52: note: format string is defined here - 32 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ~^ - | | - | char * - | %p -/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'main': -/build/libcork-1.0.0~rc3/tests/test-buffer.c:32:17: warning: format '%s' expects argument of type 'char *', but argument 8 has type 'void *' [-Wformat=] - 32 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 33 | buf1->size, buf1->buf, buf2->size, buf2->buf); - | ~~~~~~~~~ - | | - | void * -/build/libcork-1.0.0~rc3/tests/test-bitset.c:52:44: warning: too many arguments for format [-Wformat-extra-args] - 52 | fail_if(cork_bitset_get(&set2, i), "Unexpected value for bit %zu", i); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-buffer.c:32:69: note: format string is defined here - 32 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ~^ - | | - | char * - | %p -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:354:10: warning: unused parameter 'argc' [-Wunused-parameter] - 354 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-buffer.c:32:17: warning: too many arguments for format [-Wformat-extra-args] - 32 | "Buffers should be equal: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-hash-table.c:354:29: warning: unused parameter 'argv' [-Wunused-parameter] - 354 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-buffer.c: In function 'check_buffer': -/build/libcork-1.0.0~rc3/tests/test-buffer.c:41:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat=] - 41 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 42 | buf->size, buf->buf, expected_len, expected); - | ~~~~~~~~ - | | - | void * -/build/libcork-1.0.0~rc3/tests/test-buffer.c:41:54: note: format string is defined here - 41 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", - | ~^ - | | - | char * - | %p -/build/libcork-1.0.0~rc3/tests/test-buffer.c:41:17: warning: too many arguments for format [-Wformat-extra-args] - 41 | "Unexpected buffer content: got %zu:%s, expected %zu:%s", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-buffer.c: In function 'test_buffer_fn': -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-buffer.c:57:5: note: in expansion of macro 'fail_if_error' - 57 | fail_if_error(cork_buffer_set(&buffer1, SRC, SRC_LEN)); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-bitset.c: In function 'main': -/build/libcork-1.0.0~rc3/tests/test-bitset.c:103:10: warning: unused parameter 'argc' [-Wunused-parameter] - 103 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-bitset.c:103:29: warning: unused parameter 'argv' [-Wunused-parameter] - 103 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-buffer.c:60:17: warning: too many arguments for format [-Wformat-extra-args] - 60 | "Unexpected character at position 0: got %c, expected %c", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-buffer.c:64:17: warning: too many arguments for format [-Wformat-extra-args] - 64 | "Unexpected character at position 1: got %c, expected %c", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-buffer.c:67:5: note: in expansion of macro 'fail_if_error' - 67 | fail_if_error(buffer2 = cork_buffer_new()); - | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:68:5: note: in expansion of macro 'fail_if_error' 68 | fail_if_error(cork_buffer_set_string(buffer2, SRC)); | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'paths_run': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:71:5: note: in expansion of macro 'fail_if_error' 71 | fail_if_error(buffer3 = cork_buffer_new()); | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:507:15: warning: unused parameter 'argc' [-Wunused-parameter] - 507 | paths_run(int argc, char **argv) - | ~~~~^~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:72:5: note: in expansion of macro 'fail_if_error' 72 | fail_if_error(cork_buffer_printf | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:507:28: warning: unused parameter 'argv' [-Wunused-parameter] - 507 | paths_run(int argc, char **argv) - | ~~~~~~~^~~~ +In file included from /build/libcork-1.0.0~rc3/tests/test-mempool.c:15: +/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'test_mempool_01_fn': +/build/libcork-1.0.0~rc3/tests/test-mempool.c:40:17: warning: too many arguments for format [-Wformat-extra-args] + 40 | "Cannot allocate object #%zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-mempool.c:49:17: warning: too many arguments for format [-Wformat-extra-args] + 49 | "Cannot reallocate object #%zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c: In function 'test_buffer_append_fn': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ @@ -2438,75 +2277,79 @@ /build/libcork-1.0.0~rc3/tests/test-buffer.c:108:5: note: in expansion of macro 'fail_if_error' 108 | fail_if_error(cork_buffer_set(&buffer1, SRC2, SRC2_LEN)); | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'enter_directory': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:115:5: note: in expansion of macro 'fail_if_error' 115 | fail_if_error(cork_buffer_append(&buffer1, SRC1, SRC1_LEN)); | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:562:41: warning: unused parameter 'walker' [-Wunused-parameter] - 562 | enter_directory(struct cork_dir_walker *walker, const char *full_path, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'test_mempool_fail_01_fn': +/build/libcork-1.0.0~rc3/tests/test-mempool.c:68:13: warning: too many arguments for format [-Wformat-extra-args] + 68 | "Cannot allocate object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:116:5: note: in expansion of macro 'fail_if_error' 116 | fail_if_error(cork_buffer_append(&buffer1, SRC2, SRC2_LEN)); | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'int64_init': +/build/libcork-1.0.0~rc3/tests/test-mempool.c:77:18: warning: unused parameter 'user_data' [-Wunused-parameter] + 77 | int64_init(void *user_data, void *vobj) + | ~~~~~~^~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'int64_done': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:117:5: note: in expansion of macro 'fail_if_error' 117 | fail_if_error(cork_buffer_append_string(&buffer1, SRC3)); | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:562:61: warning: unused parameter 'full_path' [-Wunused-parameter] - 562 | enter_directory(struct cork_dir_walker *walker, const char *full_path, - | ~~~~~~~~~~~~^~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-mempool.c:84:35: warning: unused parameter 'vobj' [-Wunused-parameter] + 84 | int64_done(void *user_data, void *vobj) + | ~~~~~~^~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:118:5: note: in expansion of macro 'fail_if_error' 118 | fail_if_error(cork_buffer_append_string(&buffer1, SRC4)); | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'print_file': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:121:5: note: in expansion of macro 'fail_if_error' 121 | fail_if_error(cork_buffer_set_string(&buffer2, EXPECTED)); | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:579:36: warning: unused parameter 'walker' [-Wunused-parameter] - 579 | print_file(struct cork_dir_walker *walker, const char *full_path, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'leave_directory': +/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'test_mempool_reuse_01_fn': +/build/libcork-1.0.0~rc3/tests/test-mempool.c:109:13: warning: too many arguments for format [-Wformat-extra-args] + 109 | "Cannot allocate object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:124:5: note: in expansion of macro 'fail_if_error' 124 | fail_if_error(buffer3 = cork_buffer_new()); | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:592:41: warning: unused parameter 'walker' [-Wunused-parameter] - 592 | leave_directory(struct cork_dir_walker *walker, const char *full_path, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:125:5: note: in expansion of macro 'fail_if_error' 125 | fail_if_error(cork_buffer_set(buffer3, SRC1, SRC1_LEN)); | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:126:5: note: in expansion of macro 'fail_if_error' 126 | fail_if_error(cork_buffer_append_printf | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:592:61: warning: unused parameter 'full_path' [-Wunused-parameter] - 592 | leave_directory(struct cork_dir_walker *walker, const char *full_path, - | ~~~~~~~~~~~~^~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:593:51: warning: unused parameter 'base_name' [-Wunused-parameter] - 593 | const char *rel_path, const char *base_name) - | ~~~~~~~~~~~~^~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-mempool.c:120:13: warning: too many arguments for format [-Wformat-extra-args] + 120 | "Cannot allocate object"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-buffer.c:131:17: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat=] 131 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2520,7 +2363,9 @@ | | | char * | %p -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'dir_run': +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-buffer.c:131:17: warning: format '%s' expects argument of type 'char *', but argument 8 has type 'void *' [-Wformat=] 131 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2528,9 +2373,6 @@ | ~~~~~~~~~~~~ | | | void * -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:610:13: warning: unused parameter 'argc' [-Wunused-parameter] - 610 | dir_run(int argc, char **argv) - | ~~~~^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:131:69: note: format string is defined here 131 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ~^ @@ -2540,10 +2382,14 @@ /build/libcork-1.0.0~rc3/tests/test-buffer.c:131:17: warning: too many arguments for format [-Wformat-extra-args] 131 | "Buffers should be equal: got %zu:%s, expected %zu:%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:610:26: warning: unused parameter 'argv' [-Wunused-parameter] - 610 | dir_run(int argc, char **argv) - | ~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'main': +/build/libcork-1.0.0~rc3/tests/test-mempool.c:159:10: warning: unused parameter 'argc' [-Wunused-parameter] + 159 | main(int argc, const char **argv) + | ~~~~^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c: In function 'test_buffer_slicing_fn': +/build/libcork-1.0.0~rc3/tests/test-mempool.c:159:29: warning: unused parameter 'argv' [-Wunused-parameter] + 159 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -2556,25 +2402,18 @@ /build/libcork-1.0.0~rc3/tests/test-buffer.c:152:5: note: in expansion of macro 'fail_if_error' 152 | fail_if_error(cork_buffer_set_string(buffer, SRC)); | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'cleanup_run': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:154:5: note: in expansion of macro 'fail_if_error' 154 | fail_if_error(managed = cork_buffer_to_managed_buffer | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:642:17: warning: unused parameter 'argc' [-Wunused-parameter] - 642 | cleanup_run(int argc, char **argv) - | ~~~~^~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-buffer.c:158:5: note: in expansion of macro 'fail_if_error' 158 | fail_if_error(buffer = cork_buffer_new()); | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:642:30: warning: unused parameter 'argv' [-Wunused-parameter] - 642 | cleanup_run(int argc, char **argv) - | ~~~~~~~^~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -2669,21 +2508,395 @@ /build/libcork-1.0.0~rc3/tests/test-buffer.c:217:5: note: in expansion of macro 'fail_if_error' 217 | fail_if_error(cork_buffer_set(&buffer2, EXPECTED, EXPECTED_SIZE)); | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'c1_s1_run': +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:76:15: warning: unused parameter 'argc' [-Wunused-parameter] + 76 | c1_s1_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:76:28: warning: unused parameter 'argv' [-Wunused-parameter] + 76 | c1_s1_run(int argc, char **argv) + | ~~~~~~~^~~~ +In file included from /build/libcork-1.0.0~rc3/tests/test-core.c:16: +/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_bool_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:41:24: warning: too many arguments for format [-Wformat-extra-args] + 41 | fail_unless(value, "Unexpected true value"); + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:44:20: warning: too many arguments for format [-Wformat-extra-args] + 44 | fail_if(value, "Unexpected false value"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'c1_s2_run': +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:92:15: warning: unused parameter 'argc' [-Wunused-parameter] + 92 | c1_s2_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:92:28: warning: unused parameter 'argv' [-Wunused-parameter] + 92 | c1_s2_run(int argc, char **argv) + | ~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_int_types_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:61:5: note: in expansion of macro 'TEST_INT_TYPE' + 61 | TEST_INT_TYPE(int8_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:62:5: note: in expansion of macro 'TEST_INT_TYPE' + 62 | TEST_INT_TYPE(int16_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c: In function 'main': +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:63:5: note: in expansion of macro 'TEST_INT_TYPE' + 63 | TEST_INT_TYPE(int32_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:335:10: warning: unused parameter 'argc' [-Wunused-parameter] + 335 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'c2_run': +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:152:12: warning: unused parameter 'argc' [-Wunused-parameter] + 152 | c2_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-buffer.c:335:29: warning: unused parameter 'argv' [-Wunused-parameter] + 335 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:152:25: warning: unused parameter 'argv' [-Wunused-parameter] + 152 | c2_run(int argc, char **argv) + | ~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:64:5: note: in expansion of macro 'TEST_INT_TYPE' + 64 | TEST_INT_TYPE(int64_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:65:5: note: in expansion of macro 'TEST_INT_TYPE' + 65 | TEST_INT_TYPE(uint8_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:66:5: note: in expansion of macro 'TEST_INT_TYPE' + 66 | TEST_INT_TYPE(uint16_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:67:5: note: in expansion of macro 'TEST_INT_TYPE' + 67 | TEST_INT_TYPE(uint32_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:68:5: note: in expansion of macro 'TEST_INT_TYPE' + 68 | TEST_INT_TYPE(uint64_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:69:5: note: in expansion of macro 'TEST_INT_TYPE' + 69 | TEST_INT_TYPE(size_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:70:5: note: in expansion of macro 'TEST_INT_TYPE' + 70 | TEST_INT_TYPE(ptrdiff_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:71:5: note: in expansion of macro 'TEST_INT_TYPE' + 71 | TEST_INT_TYPE(intptr_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] + 58 | fail_unless(i == 0, "Unexpected value for " #type); \ + | ^~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:72:5: note: in expansion of macro 'TEST_INT_TYPE' + 72 | TEST_INT_TYPE(uintptr_t); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_int_sizeof_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:94:5: note: in expansion of macro 'TEST_SIZEOF' + 94 | TEST_SIZEOF(SHORT, short) + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:95:5: note: in expansion of macro 'TEST_SIZEOF' + 95 | TEST_SIZEOF(SHORT, unsigned short) + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:96:5: note: in expansion of macro 'TEST_SIZEOF' + 96 | TEST_SIZEOF(INT, int) + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'pwd_run': +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:274:13: warning: unused parameter 'argc' [-Wunused-parameter] + 274 | pwd_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:97:5: note: in expansion of macro 'TEST_SIZEOF' + 97 | TEST_SIZEOF(INT, unsigned int) + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:274:26: warning: unused parameter 'argv' [-Wunused-parameter] + 274 | pwd_run(int argc, char **argv) + | ~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:98:5: note: in expansion of macro 'TEST_SIZEOF' + 98 | TEST_SIZEOF(LONG, long) + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:99:5: note: in expansion of macro 'TEST_SIZEOF' + 99 | TEST_SIZEOF(LONG, unsigned long) + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:100:5: note: in expansion of macro 'TEST_SIZEOF' + 100 | TEST_SIZEOF(POINTER, void *) + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:101:5: note: in expansion of macro 'TEST_SIZEOF' + 101 | TEST_SIZEOF(POINTER, int *) + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:102:5: note: in expansion of macro 'TEST_SIZEOF' + 102 | TEST_SIZEOF(POINTER, void (*)(void)) + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_strndup': +/build/libcork-1.0.0~rc3/tests/test-core.c:120:14: warning: too many arguments for format [-Wformat-extra-args] + 120 | fail("cork_strndup failed"); + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:123:14: warning: too many arguments for format [-Wformat-extra-args] + 123 | fail("cork_strlen failed"); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:128:27: warning: too many arguments for format [-Wformat-extra-args] + 128 | fail_if(copy == NULL, "cork_xstrndup couldn't allocate copy"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:130:14: warning: too many arguments for format [-Wformat-extra-args] + 130 | fail("cork_xstrndup failed"); + | ^~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:133:14: warning: too many arguments for format [-Wformat-extra-args] + 133 | fail("cork_strlen failed"); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_endianness_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:166:21: warning: too many arguments for format [-Wformat-extra-args] + 166 | "Unexpected big-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' + 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:171:21: warning: too many arguments for format [-Wformat-extra-args] + 171 | "Unexpected in-place big-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' + 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'paths_run': +/build/libcork-1.0.0~rc3/tests/test-core.c:175:21: warning: too many arguments for format [-Wformat-extra-args] + 175 | "Unexpected host-to-big " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' + 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:507:15: warning: unused parameter 'argc' [-Wunused-parameter] + 507 | paths_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:507:28: warning: unused parameter 'argv' [-Wunused-parameter] + 507 | paths_run(int argc, char **argv) + | ~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] + 180 | "Unexpected in-place host-to-big " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' + 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:191:21: warning: too many arguments for format [-Wformat-extra-args] + 191 | "Unexpected little-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' + 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'enter_directory': +/build/libcork-1.0.0~rc3/tests/test-core.c:196:21: warning: too many arguments for format [-Wformat-extra-args] + 196 | "Unexpected in-place little-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' + 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:562:41: warning: unused parameter 'walker' [-Wunused-parameter] + 562 | enter_directory(struct cork_dir_walker *walker, const char *full_path, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:200:21: warning: too many arguments for format [-Wformat-extra-args] + 200 | "Unexpected host-to-little " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' + 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:562:61: warning: unused parameter 'full_path' [-Wunused-parameter] + 562 | enter_directory(struct cork_dir_walker *walker, const char *full_path, + | ~~~~~~~~~~~~^~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:205:21: warning: too many arguments for format [-Wformat-extra-args] + 205 | "Unexpected in-place host-to-little " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' + 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'print_file': +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:579:36: warning: unused parameter 'walker' [-Wunused-parameter] + 579 | print_file(struct cork_dir_walker *walker, const char *full_path, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'leave_directory': +/build/libcork-1.0.0~rc3/tests/test-core.c:166:21: warning: too many arguments for format [-Wformat-extra-args] + 166 | "Unexpected big-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' + 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:592:41: warning: unused parameter 'walker' [-Wunused-parameter] + 592 | leave_directory(struct cork_dir_walker *walker, const char *full_path, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:171:21: warning: too many arguments for format [-Wformat-extra-args] + 171 | "Unexpected in-place big-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' + 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:592:61: warning: unused parameter 'full_path' [-Wunused-parameter] + 592 | leave_directory(struct cork_dir_walker *walker, const char *full_path, + | ~~~~~~~~~~~~^~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:175:21: warning: too many arguments for format [-Wformat-extra-args] + 175 | "Unexpected host-to-big " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' + 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:593:51: warning: unused parameter 'base_name' [-Wunused-parameter] + 593 | const char *rel_path, const char *base_name) + | ~~~~~~~~~~~~^~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'dir_run': +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:610:13: warning: unused parameter 'argc' [-Wunused-parameter] + 610 | dir_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] + 180 | "Unexpected in-place host-to-big " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' + 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:610:26: warning: unused parameter 'argv' [-Wunused-parameter] + 610 | dir_run(int argc, char **argv) + | ~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:191:21: warning: too many arguments for format [-Wformat-extra-args] + 191 | "Unexpected little-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' + 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:196:21: warning: too many arguments for format [-Wformat-extra-args] + 196 | "Unexpected in-place little-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' + 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c: In function 'cleanup_run': +/build/libcork-1.0.0~rc3/tests/test-core.c:200:21: warning: too many arguments for format [-Wformat-extra-args] + 200 | "Unexpected host-to-little " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' + 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:642:17: warning: unused parameter 'argc' [-Wunused-parameter] + 642 | cleanup_run(int argc, char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:205:21: warning: too many arguments for format [-Wformat-extra-args] + 205 | "Unexpected in-place host-to-little " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' + 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/src/cork-test/cork-test.c:642:30: warning: unused parameter 'argv' [-Wunused-parameter] + 642 | cleanup_run(int argc, char **argv) + | ~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:166:21: warning: too many arguments for format [-Wformat-extra-args] + 166 | "Unexpected big-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' + 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:171:21: warning: too many arguments for format [-Wformat-extra-args] + 171 | "Unexpected in-place big-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' + 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:175:21: warning: too many arguments for format [-Wformat-extra-args] + 175 | "Unexpected host-to-big " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' + 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] + 180 | "Unexpected in-place host-to-big " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' + 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), + | ^~~~~~~~~~~ In file included from /build/libcork-1.0.0~rc3/tests/test-dllist.c:14: /build/libcork-1.0.0~rc3/tests/test-dllist.c: In function 'check_int64_list': +/build/libcork-1.0.0~rc3/tests/test-core.c:191:21: warning: too many arguments for format [-Wformat-extra-args] + 191 | "Unexpected little-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' + 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), + | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:196:21: warning: too many arguments for format [-Wformat-extra-args] + 196 | "Unexpected in-place little-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' + 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), + | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-dllist.c: In function 'test_dllist_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:200:21: warning: too many arguments for format [-Wformat-extra-args] + 200 | "Unexpected host-to-little " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' + 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), + | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-dllist.c:79:17: warning: too many arguments for format [-Wformat-extra-args] 79 | "Expected empty list"); | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:205:21: warning: too many arguments for format [-Wformat-extra-args] + 205 | "Unexpected in-place host-to-little " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' + 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), + | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-dllist.c:85:17: warning: too many arguments for format [-Wformat-extra-args] 85 | "Unexpected size of list: got %zu, expected 1", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2693,97 +2906,508 @@ /build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:166:21: warning: too many arguments for format [-Wformat-extra-args] + 166 | "Unexpected big-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' + 212 | TEST_ENDIAN( + | ^~~~~~~~~~~ +In file included from /build/libcork-1.0.0~rc3/tests/test-bitset.c:14: +/build/libcork-1.0.0~rc3/tests/test-bitset.c: In function 'test_bitset_of_size': +/build/libcork-1.0.0~rc3/tests/test-bitset.c:35:47: warning: too many arguments for format [-Wformat-extra-args] + 35 | fail_unless(cork_bitset_get(set1, i), "Unexpected value for bit %zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-dllist.c:106:17: warning: too many arguments for format [-Wformat-extra-args] 106 | "Unexpected sum, got %ld, expected 6", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-buffer.c: In function 'main': -/build/libcork-1.0.0~rc3/tests/test-buffer.c:335:10: warning: unused parameter 'argc' [-Wunused-parameter] - 335 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-buffer.c:335:29: warning: unused parameter 'argv' [-Wunused-parameter] - 335 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-bitset.c:40:43: warning: too many arguments for format [-Wformat-extra-args] + 40 | fail_if(cork_bitset_get(set1, i), "Unexpected value for bit %zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:171:21: warning: too many arguments for format [-Wformat-extra-args] + 171 | "Unexpected in-place big-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' + 212 | TEST_ENDIAN( + | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-dllist.c:114:17: warning: too many arguments for format [-Wformat-extra-args] 114 | "Unexpected sum, got %ld, expected 6", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-bitset.c:47:48: warning: too many arguments for format [-Wformat-extra-args] + 47 | fail_unless(cork_bitset_get(&set2, i), "Unexpected value for bit %zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-bitset.c:52:44: warning: too many arguments for format [-Wformat-extra-args] + 52 | fail_if(cork_bitset_get(&set2, i), "Unexpected value for bit %zu", i); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:175:21: warning: too many arguments for format [-Wformat-extra-args] + 175 | "Unexpected host-to-big " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' + 212 | TEST_ENDIAN( + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-bitset.c: In function 'main': +/build/libcork-1.0.0~rc3/tests/test-bitset.c:103:10: warning: unused parameter 'argc' [-Wunused-parameter] + 103 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] + 180 | "Unexpected in-place host-to-big " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' + 212 | TEST_ENDIAN( + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-bitset.c:103:29: warning: unused parameter 'argv' [-Wunused-parameter] + 103 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:191:21: warning: too many arguments for format [-Wformat-extra-args] + 191 | "Unexpected little-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' + 212 | TEST_ENDIAN( + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:196:21: warning: too many arguments for format [-Wformat-extra-args] + 196 | "Unexpected in-place little-to-host " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' + 212 | TEST_ENDIAN( + | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-dllist.c: In function 'main': /build/libcork-1.0.0~rc3/tests/test-dllist.c:184:10: warning: unused parameter 'argc' [-Wunused-parameter] 184 | main(int argc, const char **argv) | ~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:200:21: warning: too many arguments for format [-Wformat-extra-args] + 200 | "Unexpected host-to-little " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' + 212 | TEST_ENDIAN( + | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-dllist.c:184:29: warning: unused parameter 'argv' [-Wunused-parameter] 184 | main(int argc, const char **argv) | ~~~~~~~~~~~~~^~~~ -In file included from /build/libcork-1.0.0~rc3/tests/test-mempool.c:15: -/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'test_mempool_01_fn': -/build/libcork-1.0.0~rc3/tests/test-mempool.c:40:17: warning: too many arguments for format [-Wformat-extra-args] - 40 | "Cannot allocate object #%zu", i); +/build/libcork-1.0.0~rc3/tests/test-core.c:205:21: warning: too many arguments for format [-Wformat-extra-args] + 205 | "Unexpected in-place host-to-little " #type " value"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' + 212 | TEST_ENDIAN( + | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_error_prefix_fn': +/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] + 91 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:232:5: note: in expansion of macro 'fail_unless_streq' + 232 | fail_unless_streq("Error messages", + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] + 91 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:236:5: note: in expansion of macro 'fail_unless_streq' + 236 | fail_unless_streq("Error messages", + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_system_error_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:251:17: warning: too many arguments for format [-Wformat-extra-args] + 251 | "Expected a system error"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_hash_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-mempool.c:49:17: warning: too many arguments for format [-Wformat-extra-args] - 49 | "Cannot reallocate object #%zu", i); +/build/libcork-1.0.0~rc3/tests/test-core.c:296:5: note: in expansion of macro 'test_hash_func' + 296 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:351:5: note: in expansion of macro 'test_stable_hash_buf' + 351 | test_stable_hash_buf(BUF, LEN-1, 0xba6bd213); + | ^~~~~~~~~~~~~~~~~~~~ +In file included from /build/libcork-1.0.0~rc3/tests/test-managed-buffer.c:13: +/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_managed_buffer_refcount_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:271:5: note: in expansion of macro 'test_hash_func' + 271 | test_hash_func(cork_hash_buffer, little64, buf, len) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:352:5: note: in expansion of macro 'test_hash_buf' + 352 | test_hash_buf(BUF, LEN-1, + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:307:21: warning: too many arguments for format [-Wformat-extra-args] + 307 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:318:5: note: in expansion of macro 'test_big_hash_func' + 318 | test_big_hash_func(buf, len, l64a, l64b) + | ^~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:357:5: note: in expansion of macro 'test_big_hash_buf' + 357 | test_big_hash_buf(BUF, LEN-1, + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_managed_buffer_bad_refcount_fn': +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:296:5: note: in expansion of macro 'test_hash_func' + 296 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:364:5: note: in expansion of macro 'test_stable_hash_buf' + 364 | test_stable_hash_buf(BUF, LEN, 0x586fce33); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_slice_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:271:5: note: in expansion of macro 'test_hash_func' + 271 | test_hash_func(cork_hash_buffer, little64, buf, len) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:365:5: note: in expansion of macro 'test_hash_buf' + 365 | test_hash_buf(BUF, LEN, + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:307:21: warning: too many arguments for format [-Wformat-extra-args] + 307 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:318:5: note: in expansion of macro 'test_big_hash_func' + 318 | test_big_hash_func(buf, len, l64a, l64b) + | ^~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:370:5: note: in expansion of macro 'test_big_hash_buf' + 370 | test_big_hash_buf(BUF, LEN, + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c:136:5: note: in expansion of macro 'fail_unless_error' + 136 | fail_unless_error(cork_slice_copy + | ^~~~~~~~~~~~~~~~~ +In file included from /build/libcork-1.0.0~rc3/tests/test-gc.c:19: +/build/libcork-1.0.0~rc3/tests/test-gc.c: In function 'tree__free': +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/include/libcork/helpers/gc.h:20:20: warning: unused parameter 'obj' [-Wunused-parameter] + 20 | name##__free(void *obj) + | ~~~~~~^~~ +/build/libcork-1.0.0~rc3/tests/test-gc.c:34:1: note: in expansion of macro '_free_' + 34 | _free_(tree) { + | ^~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:296:5: note: in expansion of macro 'test_hash_func' + 296 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:377:5: note: in expansion of macro 'test_stable_hash_buf' + 377 | test_stable_hash_buf(LONG_BUF, LONG_LEN-1, 0x5caacc30); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_slice_refcount_fn': +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:271:5: note: in expansion of macro 'test_hash_func' + 271 | test_hash_func(cork_hash_buffer, little64, buf, len) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:378:5: note: in expansion of macro 'test_hash_buf' + 378 | test_hash_buf(LONG_BUF, LONG_LEN-1, + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:307:21: warning: too many arguments for format [-Wformat-extra-args] + 307 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:318:5: note: in expansion of macro 'test_big_hash_func' + 318 | test_big_hash_func(buf, len, l64a, l64b) + | ^~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:383:5: note: in expansion of macro 'test_big_hash_buf' + 383 | test_big_hash_buf(LONG_BUF, LONG_LEN-1, + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_slice_bad_refcount_fn': +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:296:5: note: in expansion of macro 'test_hash_func' + 296 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:390:5: note: in expansion of macro 'test_stable_hash_buf' + 390 | test_stable_hash_buf(LONG_BUF, LONG_LEN, 0x5e37d33d); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'uint64__equals': +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c: In function 'uint64__hash': +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:271:5: note: in expansion of macro 'test_hash_func' + 271 | test_hash_func(cork_hash_buffer, little64, buf, len) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:391:5: note: in expansion of macro 'test_hash_buf' + 391 | test_hash_buf(LONG_BUF, LONG_LEN, + | ^~~~~~~~~~~~~ +In file included from /build/libcork-1.0.0~rc3/tests/test-hash-table.c:14: +/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'test_map_sum': +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:72:17: warning: too many arguments for format [-Wformat-extra-args] + 72 | "Unexpected map sum, got %" PRIu64 + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c: In function 'test_iterator_sum': +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:89:17: warning: too many arguments for format [-Wformat-extra-args] + 89 | "Unexpected iterator sum, got %" PRIu64 + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:307:21: warning: too many arguments for format [-Wformat-extra-args] + 307 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:318:5: note: in expansion of macro 'test_big_hash_func' + 318 | test_big_hash_func(buf, len, l64a, l64b) + | ^~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:396:5: note: in expansion of macro 'test_big_hash_buf' + 396 | test_big_hash_buf(LONG_BUF, LONG_LEN, + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_slice_equals_01_fn': +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c: In function 'test_map_to_string': +/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:298:5: note: in expansion of macro 'test_hash_func' + 298 | test_hash_func(cork_stable_hash_variable, expected, var) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:402:5: note: in expansion of macro 'test_stable_hash_var' + 402 | test_stable_hash_var(stable_val32, 0x6bb65380); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] + 91 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:273:5: note: in expansion of macro 'test_hash_func' + 273 | test_hash_func(cork_hash_variable, little64, var) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:403:5: note: in expansion of macro 'test_hash_var' + 403 | test_hash_var(val32, + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'test_iterator_to_string': +/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c:248:17: warning: too many arguments for format [-Wformat-extra-args] + 248 | "Slices aren't equal"); + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] + 91 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_slice_equals_02_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:298:5: note: in expansion of macro 'test_hash_func' + 298 | test_hash_func(cork_stable_hash_variable, expected, var) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:409:5: note: in expansion of macro 'test_stable_hash_var' + 409 | test_stable_hash_var(stable_val64, 0x4d5c4063); + | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c: In function 'test_uint64_hash_table_fn': +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:154:17: warning: too many arguments for format [-Wformat-extra-args] + 154 | "Hash table should start empty"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/libcork-1.0.0~rc3/tests/test-core.c:16: -/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_bool_fn': -/build/libcork-1.0.0~rc3/tests/test-core.c:41:24: warning: too many arguments for format [-Wformat-extra-args] - 41 | fail_unless(value, "Unexpected true value"); - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:44:20: warning: too many arguments for format [-Wformat-extra-args] - 44 | fail_if(value, "Unexpected false value"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'test_mempool_fail_01_fn': -/build/libcork-1.0.0~rc3/tests/test-mempool.c:68:13: warning: too many arguments for format [-Wformat-extra-args] - 68 | "Cannot allocate object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'int64_init': -/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_int_types_fn': -/build/libcork-1.0.0~rc3/tests/test-mempool.c:77:18: warning: unused parameter 'user_data' [-Wunused-parameter] - 77 | int64_init(void *user_data, void *vobj) - | ~~~~~~^~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:61:5: note: in expansion of macro 'TEST_INT_TYPE' - 61 | TEST_INT_TYPE(int8_t); +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-mempool.c: In function 'int64_done': -/build/libcork-1.0.0~rc3/tests/test-mempool.c:84:35: warning: unused parameter 'vobj' [-Wunused-parameter] - 84 | int64_done(void *user_data, void *vobj) - | ~~~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:62:5: note: in expansion of macro 'TEST_INT_TYPE' - 62 | TEST_INT_TYPE(int16_t); +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] + 264 | "Unexpected hash value 0x%08" PRIx32 \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:273:5: note: in expansion of macro 'test_hash_func' + 273 | test_hash_func(cork_hash_variable, little64, var) + | ^~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:410:5: note: in expansion of macro 'test_hash_var' + 410 | test_hash_var(val64, + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c: In function 'test_ipv4_address_fn': +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c:177:17: warning: too many arguments for format [-Wformat-extra-args] + 177 | "Unexpected previous key"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-hash-table.c:179:17: warning: too many arguments for format [-Wformat-extra-args] + 179 | "Unexpected previous value"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:482:9: note: in expansion of macro 'fail_if_error' + 482 | fail_if_error(cork_ipv4_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:424:5: note: in expansion of macro 'GOOD' + 424 | good("192.168.1.100", "192.168.1.100"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c:282:17: warning: too many arguments for format [-Wformat-extra-args] + 282 | "Slices aren't equal"); + | ^~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:182:17: warning: too many arguments for format [-Wformat-extra-args] + 182 | "Unexpected size after adding {0->32}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/libcork-1.0.0~rc3/tests/test-array.c:15: /build/libcork-1.0.0~rc3/tests/test-array.c: In function 'test_array_int8_t_fn': -/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:63:5: note: in expansion of macro 'TEST_INT_TYPE' - 63 | TEST_INT_TYPE(int32_t); - | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c:284:17: warning: too many arguments for format [-Wformat-extra-args] + 284 | "Slices aren't equal"); + | ^~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:66:21: warning: too many arguments for format [-Wformat-extra-args] 66 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'test_mempool_reuse_01_fn': -/build/libcork-1.0.0~rc3/tests/test-mempool.c:109:13: warning: too many arguments for format [-Wformat-extra-args] - 109 | "Cannot allocate object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:64:5: note: in expansion of macro 'TEST_INT_TYPE' - 64 | TEST_INT_TYPE(int64_t); +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2793,24 +3417,21 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:65:5: note: in expansion of macro 'TEST_INT_TYPE' - 65 | TEST_INT_TYPE(uint8_t); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-mempool.c:120:13: warning: too many arguments for format [-Wformat-extra-args] - 120 | "Cannot allocate object"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:66:5: note: in expansion of macro 'TEST_INT_TYPE' - 66 | TEST_INT_TYPE(uint16_t); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:486:21: warning: too many arguments for format [-Wformat-extra-args] + 486 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:424:5: note: in expansion of macro 'GOOD' + 424 | good("192.168.1.100", "192.168.1.100"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -2823,20 +3444,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:67:5: note: in expansion of macro 'TEST_INT_TYPE' - 67 | TEST_INT_TYPE(uint32_t); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:68:5: note: in expansion of macro 'TEST_INT_TYPE' - 68 | TEST_INT_TYPE(uint64_t); +/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c: In function 'main': +/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c:327:10: warning: unused parameter 'argc' [-Wunused-parameter] + 327 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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", \ @@ -2850,18 +3466,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c:327:29: warning: unused parameter 'argv' [-Wunused-parameter] + 327 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:69:5: note: in expansion of macro 'TEST_INT_TYPE' - 69 | TEST_INT_TYPE(size_t); - | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2874,19 +3490,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-mempool.c: In function 'main': -/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:70:5: note: in expansion of macro 'TEST_INT_TYPE' - 70 | TEST_INT_TYPE(ptrdiff_t); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-mempool.c:159:10: warning: unused parameter 'argc' [-Wunused-parameter] - 159 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-mempool.c:159:29: warning: unused parameter 'argv' [-Wunused-parameter] - 159 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:493:21: warning: too many arguments for format [-Wformat-extra-args] + 493 | "IPv4 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:424:5: note: in expansion of macro 'GOOD' + 424 | good("192.168.1.100", "192.168.1.100"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2896,18 +3511,22 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:71:5: note: in expansion of macro 'TEST_INT_TYPE' - 71 | TEST_INT_TYPE(intptr_t); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:58:29: warning: too many arguments for format [-Wformat-extra-args] - 58 | fail_unless(i == 0, "Unexpected value for " #type); \ - | ^~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:72:5: note: in expansion of macro 'TEST_INT_TYPE' - 72 | TEST_INT_TYPE(uintptr_t); - | ^~~~~~~~~~~~~ +reading sources... [ 32%] dllist +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:482:9: note: in expansion of macro 'fail_if_error' + 482 | fail_if_error(cork_ipv4_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:425:5: note: in expansion of macro 'GOOD' + 425 | good("01.002.0003.00000004", "1.2.3.4"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:215:17: warning: too many arguments for format [-Wformat-extra-args] + 215 | "Couldn't delete {0=>32}"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -2920,7 +3539,13 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_int_sizeof_fn': +/build/libcork-1.0.0~rc3/tests/test-gc.c: In function 'main': +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:218:17: warning: too many arguments for format [-Wformat-extra-args] + 218 | "Unexpected size after deleting entry"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-gc.c:146:10: warning: unused parameter 'argc' [-Wunused-parameter] + 146 | main(int argc, const char **argv) + | ~~~~^~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2933,18 +3558,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-gc.c:146:29: warning: unused parameter 'argv' [-Wunused-parameter] + 146 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:94:5: note: in expansion of macro 'TEST_SIZEOF' - 94 | TEST_SIZEOF(SHORT, short) - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2957,24 +3579,21 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:95:5: note: in expansion of macro 'TEST_SIZEOF' - 95 | TEST_SIZEOF(SHORT, unsigned short) - | ^~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:96:5: note: in expansion of macro 'TEST_SIZEOF' - 96 | TEST_SIZEOF(INT, int) - | ^~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:97:5: note: in expansion of macro 'TEST_SIZEOF' - 97 | TEST_SIZEOF(INT, unsigned int) - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:486:21: warning: too many arguments for format [-Wformat-extra-args] + 486 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:425:5: note: in expansion of macro 'GOOD' + 425 | good("01.002.0003.00000004", "1.2.3.4"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2984,18 +3603,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:98:5: note: in expansion of macro 'TEST_SIZEOF' - 98 | TEST_SIZEOF(LONG, long) - | ^~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:99:5: note: in expansion of macro 'TEST_SIZEOF' - 99 | TEST_SIZEOF(LONG, unsigned long) - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3008,12 +3615,24 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:100:5: note: in expansion of macro 'TEST_SIZEOF' - 100 | TEST_SIZEOF(POINTER, void *) - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:493:21: warning: too many arguments for format [-Wformat-extra-args] + 493 | "IPv4 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:425:5: note: in expansion of macro 'GOOD' + 425 | good("01.002.0003.00000004", "1.2.3.4"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3032,12 +3651,6 @@ | | | long unsigned int | %u -/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:101:5: note: in expansion of macro 'TEST_SIZEOF' - 101 | TEST_SIZEOF(POINTER, int *) - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3050,12 +3663,30 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:89:21: warning: too many arguments for format [-Wformat-extra-args] - 89 | "Incorrect size for " #type ": got %zu, expected %zu", \ - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:102:5: note: in expansion of macro 'TEST_SIZEOF' - 102 | TEST_SIZEOF(POINTER, void (*)(void)) - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:482:9: note: in expansion of macro 'fail_if_error' + 482 | fail_if_error(cork_ipv4_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:426:5: note: in expansion of macro 'GOOD' + 426 | good("010.0020.00034.00000089", "10.20.34.89"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3065,13 +3696,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_strndup': -/build/libcork-1.0.0~rc3/tests/test-core.c:120:14: warning: too many arguments for format [-Wformat-extra-args] - 120 | fail("cork_strndup failed"); - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:123:14: warning: too many arguments for format [-Wformat-extra-args] - 123 | fail("cork_strlen failed"); - | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:486:21: warning: too many arguments for format [-Wformat-extra-args] + 486 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:426:5: note: in expansion of macro 'GOOD' + 426 | good("010.0020.00034.00000089", "10.20.34.89"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3084,9 +3717,7 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:128:27: warning: too many arguments for format [-Wformat-extra-args] - 128 | fail_if(copy == NULL, "cork_xstrndup couldn't allocate copy"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'test_string_hash_table_fn': /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3099,15 +3730,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:130:14: warning: too many arguments for format [-Wformat-extra-args] - 130 | fail("cork_xstrndup failed"); - | ^~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3120,9 +3754,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:133:14: warning: too many arguments for format [-Wformat-extra-args] - 133 | fail("cork_strlen failed"); - | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:493:21: warning: too many arguments for format [-Wformat-extra-args] + 493 | "IPv4 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:426:5: note: in expansion of macro 'GOOD' + 426 | good("010.0020.00034.00000089", "10.20.34.89"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3132,6 +3775,9 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:288:13: warning: too many arguments for format [-Wformat-extra-args] + 288 | "No entry for key1"); + | ^~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3144,6 +3790,21 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:291:17: warning: too many arguments for format [-Wformat-extra-args] + 291 | "Unexpected value for key1"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:482:9: note: in expansion of macro 'fail_if_error' + 482 | fail_if_error(cork_ipv4_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:427:5: note: in expansion of macro 'GOOD' + 427 | good("0100.000200.00.000", "100.200.0.0"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3156,13 +3817,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:295:17: warning: too many arguments for format [-Wformat-extra-args] + 295 | "Unexpected entry for key2"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c: In function 'test_endianness_fn': /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3175,12 +3838,7 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:166:21: warning: too many arguments for format [-Wformat-extra-args] - 166 | "Unexpected big-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' - 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'test_pointer_hash_table_fn': /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3190,12 +3848,21 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:171:21: warning: too many arguments for format [-Wformat-extra-args] - 171 | "Unexpected in-place big-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' - 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:486:21: warning: too many arguments for format [-Wformat-extra-args] + 486 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:427:5: note: in expansion of macro 'GOOD' + 427 | good("0100.000200.00.000", "100.200.0.0"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3208,12 +3875,9 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:175:21: warning: too many arguments for format [-Wformat-extra-args] - 175 | "Unexpected host-to-big " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' - 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3232,12 +3896,9 @@ | | | long unsigned int | %u -/build/libcork-1.0.0~rc3/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] - 180 | "Unexpected in-place host-to-big " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' - 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:321:13: warning: too many arguments for format [-Wformat-extra-args] + 321 | "No entry for key1"); + | ^~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3250,6 +3911,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:324:17: warning: too many arguments for format [-Wformat-extra-args] + 324 | "Unexpected value for key1"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:493:21: warning: too many arguments for format [-Wformat-extra-args] + 493 | "IPv4 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:427:5: note: in expansion of macro 'GOOD' + 427 | good("0100.000200.00.000", "100.200.0.0"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3259,12 +3932,9 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:191:21: warning: too many arguments for format [-Wformat-extra-args] - 191 | "Unexpected little-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' - 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:327:17: warning: too many arguments for format [-Wformat-extra-args] + 327 | "Unexpected entry for key2"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3277,12 +3947,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:196:21: warning: too many arguments for format [-Wformat-extra-args] - 196 | "Unexpected in-place little-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' - 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3295,18 +3959,25 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c: In function 'main': /build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:200:21: warning: too many arguments for format [-Wformat-extra-args] - 200 | "Unexpected host-to-little " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' - 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:428:5: note: in expansion of macro 'BAD' + 428 | bad("", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3319,12 +3990,12 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:205:21: warning: too many arguments for format [-Wformat-extra-args] - 205 | "Unexpected in-place host-to-little " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:208:5: note: in expansion of macro 'TEST_ENDIAN' - 208 | TEST_ENDIAN(UINT16, uint16_t, 2, 0x0102, 1, 2); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:354:10: warning: unused parameter 'argc' [-Wunused-parameter] + 354 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-hash-table.c:354:29: warning: unused parameter 'argv' [-Wunused-parameter] + 354 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3346,12 +4017,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:166:21: warning: too many arguments for format [-Wformat-extra-args] - 166 | "Unexpected big-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' - 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:429:5: note: in expansion of macro 'BAD' + 429 | bad(".", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3382,12 +4059,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:171:21: warning: too many arguments for format [-Wformat-extra-args] - 171 | "Unexpected in-place big-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' - 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:430:5: note: in expansion of macro 'BAD' + 430 | bad("192.168.0.", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3397,12 +4080,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:175:21: warning: too many arguments for format [-Wformat-extra-args] - 175 | "Unexpected host-to-big " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' - 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3415,12 +4092,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] - 180 | "Unexpected in-place host-to-big " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' - 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3451,12 +4122,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:191:21: warning: too many arguments for format [-Wformat-extra-args] - 191 | "Unexpected little-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' - 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:431:5: note: in expansion of macro 'BAD' + 431 | bad("192.168.0.1.", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3466,12 +4143,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:196:21: warning: too many arguments for format [-Wformat-extra-args] - 196 | "Unexpected in-place little-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' - 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); - | ^~~~~~~~~~~ +In file included from /build/libcork-1.0.0~rc3/tests/test-slice.c:14: +/build/libcork-1.0.0~rc3/tests/test-slice.c: In function 'test_static_slice_fn': +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:36:5: note: in expansion of macro 'fail_if_error' + 36 | fail_if_error(cork_slice_copy_offset(&advanced, &slice, 0)); + | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3484,12 +4163,38 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:200:21: warning: too many arguments for format [-Wformat-extra-args] - 200 | "Unexpected host-to-little " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' - 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:37:5: note: in expansion of macro 'fail_if_error' + 37 | fail_if_error(original = cork_slice_advance(&advanced, 4)); + | ^~~~~~~~~~~~~ +In file included from /build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:14: +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c: In function 'test_ring_buffer_1_fn': +/build/libcork-1.0.0~rc3/tests/test-slice.c:39:17: warning: too many arguments for format [-Wformat-extra-args] + 39 | "Advance should return original buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:32:17: warning: too many arguments for format [-Wformat-extra-args] + 32 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:432:5: note: in expansion of macro 'BAD' + 432 | bad("192..168.0.1", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:40:5: note: in expansion of macro 'fail_if_error' + 40 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3502,18 +4207,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:34:17: warning: too many arguments for format [-Wformat-extra-args] + 34 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:205:21: warning: too many arguments for format [-Wformat-extra-args] - 205 | "Unexpected in-place host-to-little " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:209:5: note: in expansion of macro 'TEST_ENDIAN' - 209 | TEST_ENDIAN(UINT32, uint32_t, 4, 0x01020304, 1, 2, 3, 4); - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3526,6 +4228,27 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:41:5: note: in expansion of macro 'fail_if_error' + 41 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:36:17: warning: too many arguments for format [-Wformat-extra-args] + 36 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:38:17: warning: too many arguments for format [-Wformat-extra-args] + 38 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:42:5: note: in expansion of macro 'fail_if_error' + 42 | fail_if_error(cork_slice_slice(&slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3535,12 +4258,30 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:166:21: warning: too many arguments for format [-Wformat-extra-args] - 166 | "Unexpected big-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' - 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:43:51: warning: too many arguments for format [-Wformat-extra-args] + 43 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-slice.c:44:52: warning: too many arguments for format [-Wformat-extra-args] + 44 | fail_unless(cork_slice_equal(&slice, &lcopy1), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:433:5: note: in expansion of macro 'BAD' + 433 | bad("192.168.0.1.2", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3550,6 +4291,27 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +In file included from /build/libcork-1.0.0~rc3/tests/test-files.c:15: +/build/libcork-1.0.0~rc3/tests/test-files.c: In function 'verify_path_content': +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-slice.c: In function 'test_copy_once_slice_fn': +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:50:17: warning: too many arguments for format [-Wformat-extra-args] + 50 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:70:35: warning: too many arguments for format [-Wformat-extra-args] + 70 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] + 91 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3559,12 +4321,21 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:171:21: warning: too many arguments for format [-Wformat-extra-args] - 171 | "Unexpected in-place big-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' - 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:52:17: warning: too many arguments for format [-Wformat-extra-args] + 52 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:72:5: note: in expansion of macro 'fail_if_error' + 72 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-slice.c:75:35: warning: too many arguments for format [-Wformat-extra-args] + 75 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3574,12 +4345,30 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:434:5: note: in expansion of macro 'BAD' + 434 | bad(".168.0.1.2", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-slice.c:76:46: warning: too many arguments for format [-Wformat-extra-args] + 76 | fail_unless(slice.buf + 8 == lcopy1.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3589,12 +4378,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:175:21: warning: too many arguments for format [-Wformat-extra-args] - 175 | "Unexpected host-to-big " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' - 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:78:5: note: in expansion of macro 'fail_if_error' + 78 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3604,12 +4399,36 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] - 180 | "Unexpected in-place host-to-big " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' - 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:79:5: note: in expansion of macro 'fail_if_error' + 79 | fail_if_error(cork_slice_slice(&slice, 8, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-slice.c:83:35: warning: too many arguments for format [-Wformat-extra-args] + 83 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:435:5: note: in expansion of macro 'BAD' + 435 | bad("256.0.0.0", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:84:41: warning: too many arguments for format [-Wformat-extra-args] + 84 | fail_unless(slice.buf == copy1.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3634,12 +4453,22 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:191:21: warning: too many arguments for format [-Wformat-extra-args] - 191 | "Unexpected little-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' - 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:87:51: warning: too many arguments for format [-Wformat-extra-args] + 87 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c: In function 'test_ring_buffer_2_fn': +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:77:17: warning: too many arguments for format [-Wformat-extra-args] + 77 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:91:5: note: in expansion of macro 'fail_if_error' + 91 | fail_if_error(cork_slice_light_copy(&lcopy2, &slice, 0, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:79:17: warning: too many arguments for format [-Wformat-extra-args] + 79 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3649,31 +4478,82 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:108:1: note: in expansion of macro 'test_int' 108 | test_int(int8_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:196:21: warning: too many arguments for format [-Wformat-extra-args] - 196 | "Unexpected in-place little-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' - 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), - | ^~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:200:21: warning: too many arguments for format [-Wformat-extra-args] - 200 | "Unexpected host-to-little " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' - 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:92:35: warning: too many arguments for format [-Wformat-extra-args] + 92 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:81:17: warning: too many arguments for format [-Wformat-extra-args] + 81 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:93:42: warning: too many arguments for format [-Wformat-extra-args] + 93 | fail_unless(slice.buf == lcopy2.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:436:5: note: in expansion of macro 'BAD' + 436 | bad("00256.0.0.0", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:83:17: warning: too many arguments for format [-Wformat-extra-args] + 83 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:95:5: note: in expansion of macro 'fail_if_error' + 95 | fail_if_error(cork_slice_copy(©2, &slice, 0, 4)); + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:98:41: warning: too many arguments for format [-Wformat-extra-args] + 98 | fail_unless(slice.buf == copy2.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-slice.c:99:41: warning: too many arguments for format [-Wformat-extra-args] + 99 | fail_unless(copy1.buf == copy2.buf, "Unexpected slice buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c: In function 'test_array_int16_t_fn': +/build/libcork-1.0.0~rc3/tests/test-slice.c:100:51: warning: too many arguments for format [-Wformat-extra-args] + 100 | fail_unless(cork_slice_equal(&slice, ©2), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:66:21: warning: too many arguments for format [-Wformat-extra-args] 66 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:205:21: warning: too many arguments for format [-Wformat-extra-args] - 205 | "Unexpected in-place host-to-little " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:210:5: note: in expansion of macro 'TEST_ENDIAN' - 210 | TEST_ENDIAN(UINT64, uint64_t, 8, UINT64_C(0x0102030405060708), - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:437:5: note: in expansion of macro 'BAD' + 437 | bad("392.0.0.0", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:95:17: warning: too many arguments for format [-Wformat-extra-args] + 95 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-slice.c:101:51: warning: too many arguments for format [-Wformat-extra-args] + 101 | fail_unless(cork_slice_equal(©1, ©2), "Slices should be equal"); + | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3683,6 +4563,12 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:97:17: warning: too many arguments for format [-Wformat-extra-args] + 97 | "Cannot add to ring buffer"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3695,6 +4581,34 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-slice.c: In function 'main': +/build/libcork-1.0.0~rc3/tests/test-slice.c:132:10: warning: unused parameter 'argc' [-Wunused-parameter] + 132 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-slice.c:132:29: warning: unused parameter 'argv' [-Wunused-parameter] + 132 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:438:5: note: in expansion of macro 'BAD' + 438 | bad("1920.0.0.0", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3707,12 +4621,9 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:166:21: warning: too many arguments for format [-Wformat-extra-args] - 166 | "Unexpected big-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' - 212 | TEST_ENDIAN( - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ @@ -3731,6 +4642,43 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-files.c: In function 'verify_path_list_content': +/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] + 91 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-files.c: In function 'test_path_list': +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:439:5: note: in expansion of macro 'BAD' + 439 | bad("stuv", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' + 505 | IPV4_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] + 91 | "%s not equal (expected \"%s\", got \"%s\")", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-ring-buffer.c: In function 'main': +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:136:10: warning: unused parameter 'argc' [-Wunused-parameter] + 136 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:136:29: warning: unused parameter 'argv' [-Wunused-parameter] + 136 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-files.c: In function 'test_file_exists': /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3743,6 +4691,24 @@ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:442:5: note: in expansion of macro 'BAD' + 442 | good("::", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:39:9: note: in expansion of macro 'fail_if_error' 39 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ @@ -3752,12 +4718,9 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:171:21: warning: too many arguments for format [-Wformat-extra-args] - 171 | "Unexpected in-place big-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' - 212 | TEST_ENDIAN( - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3788,6 +4751,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:443:5: note: in expansion of macro 'BAD' + 443 | good("0:0:0:0:0:0:0:0", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3827,12 +4802,6 @@ | | | long unsigned int | %u -/build/libcork-1.0.0~rc3/tests/test-core.c:175:21: warning: too many arguments for format [-Wformat-extra-args] - 175 | "Unexpected host-to-big " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' - 212 | TEST_ENDIAN( - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3845,6 +4814,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:444:5: note: in expansion of macro 'BAD' + 444 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3884,12 +4865,18 @@ | | | long unsigned int | %u -/build/libcork-1.0.0~rc3/tests/test-core.c:180:21: warning: too many arguments for format [-Wformat-extra-args] - 180 | "Unexpected in-place host-to-big " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' - 212 | TEST_ENDIAN( - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:445:5: note: in expansion of macro 'BAD' + 445 | good("fe80::", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3911,12 +4898,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:191:21: warning: too many arguments for format [-Wformat-extra-args] - 191 | "Unexpected little-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' - 212 | TEST_ENDIAN( - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3929,12 +4910,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:196:21: warning: too many arguments for format [-Wformat-extra-args] - 196 | "Unexpected in-place little-to-host " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' - 212 | TEST_ENDIAN( - | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:446:5: note: in expansion of macro 'BAD' + 446 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3947,12 +4934,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:200:21: warning: too many arguments for format [-Wformat-extra-args] - 200 | "Unexpected host-to-little " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' - 212 | TEST_ENDIAN( - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ @@ -3971,12 +4952,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:205:21: warning: too many arguments for format [-Wformat-extra-args] - 205 | "Unexpected in-place host-to-little " #type " value"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:212:5: note: in expansion of macro 'TEST_ENDIAN' - 212 | TEST_ENDIAN( - | ^~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3986,7 +4961,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_error_prefix_fn': +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:447:5: note: in expansion of macro 'BAD' + 447 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -3999,12 +4985,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] - 91 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:232:5: note: in expansion of macro 'fail_unless_streq' - 232 | fail_unless_streq("Error messages", - | ^~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4035,12 +5015,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] - 91 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:236:5: note: in expansion of macro 'fail_unless_streq' - 236 | fail_unless_streq("Error messages", - | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:448:5: note: in expansion of macro 'BAD' + 448 | good("::1", "::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4050,7 +5036,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_system_error_fn': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -4063,9 +5048,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:251:17: warning: too many arguments for format [-Wformat-extra-args] - 251 | "Expected a system error"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4096,6 +5078,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:449:5: note: in expansion of macro 'BAD' + 449 | good("0:0:0:0:0:0:0:1", "::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4105,7 +5099,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_hash_fn': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -4118,15 +5111,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:296:5: note: in expansion of macro 'test_hash_func' - 296 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:351:5: note: in expansion of macro 'test_stable_hash_buf' - 351 | test_stable_hash_buf(BUF, LEN-1, 0xba6bd213); - | ^~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4157,15 +5141,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:271:5: note: in expansion of macro 'test_hash_func' - 271 | test_hash_func(cork_hash_buffer, little64, buf, len) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:352:5: note: in expansion of macro 'test_hash_buf' - 352 | test_hash_buf(BUF, LEN-1, - | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:450:5: note: in expansion of macro 'BAD' + 450 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4187,6 +5174,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:451:5: note: in expansion of macro 'BAD' + 451 | good("fe80::1", "fe80::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4217,15 +5216,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:307:21: warning: too many arguments for format [-Wformat-extra-args] - 307 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:318:5: note: in expansion of macro 'test_big_hash_func' - 318 | test_big_hash_func(buf, len, l64a, l64b) - | ^~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:357:5: note: in expansion of macro 'test_big_hash_buf' - 357 | test_big_hash_buf(BUF, LEN-1, - | ^~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4235,6 +5225,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:452:5: note: in expansion of macro 'BAD' + 452 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -4247,15 +5249,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:296:5: note: in expansion of macro 'test_hash_func' - 296 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:364:5: note: in expansion of macro 'test_stable_hash_buf' - 364 | test_stable_hash_buf(BUF, LEN, 0x586fce33); - | ^~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4286,15 +5279,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:271:5: note: in expansion of macro 'test_hash_func' - 271 | test_hash_func(cork_hash_buffer, little64, buf, len) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:365:5: note: in expansion of macro 'test_hash_buf' - 365 | test_hash_buf(BUF, LEN, - | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:453:5: note: in expansion of macro 'BAD' + 453 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4322,15 +5318,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:307:21: warning: too many arguments for format [-Wformat-extra-args] - 307 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:318:5: note: in expansion of macro 'test_big_hash_func' - 318 | test_big_hash_func(buf, len, l64a, l64b) - | ^~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:370:5: note: in expansion of macro 'test_big_hash_buf' - 370 | test_big_hash_buf(BUF, LEN, - | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:454:5: note: in expansion of macro 'BAD' + 454 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4364,15 +5363,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:296:5: note: in expansion of macro 'test_hash_func' - 296 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:377:5: note: in expansion of macro 'test_stable_hash_buf' - 377 | test_stable_hash_buf(LONG_BUF, LONG_LEN-1, 0x5caacc30); - | ^~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4382,6 +5372,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:455:5: note: in expansion of macro 'BAD' + 455 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ @@ -4406,24 +5408,42 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:109:1: note: in expansion of macro 'test_int' 109 | test_int(int16_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:271:5: note: in expansion of macro 'test_hash_func' - 271 | test_hash_func(cork_hash_buffer, little64, buf, len) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:378:5: note: in expansion of macro 'test_hash_buf' - 378 | test_hash_buf(LONG_BUF, LONG_LEN-1, - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:307:21: warning: too many arguments for format [-Wformat-extra-args] - 307 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:318:5: note: in expansion of macro 'test_big_hash_func' - 318 | test_big_hash_func(buf, len, l64a, l64b) - | ^~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:383:5: note: in expansion of macro 'test_big_hash_buf' - 383 | test_big_hash_buf(LONG_BUF, LONG_LEN-1, - | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:457:5: note: in expansion of macro 'BAD' + 457 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:458:5: note: in expansion of macro 'BAD' + 458 | bad("", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:459:5: note: in expansion of macro 'BAD' + 459 | bad(":", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c: In function 'test_array_int32_t_fn': /build/libcork-1.0.0~rc3/tests/test-array.c:66:21: warning: too many arguments for format [-Wformat-extra-args] 66 | "Unexpected size of array: got %zu, expected 0", \ @@ -4440,15 +5460,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:296:5: note: in expansion of macro 'test_hash_func' - 296 | test_hash_func(cork_stable_hash_buffer, expected, buf, len) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:390:5: note: in expansion of macro 'test_stable_hash_buf' - 390 | test_stable_hash_buf(LONG_BUF, LONG_LEN, 0x5e37d33d); - | ^~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:460:5: note: in expansion of macro 'BAD' + 460 | bad("fe80:", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -4491,15 +5514,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:271:5: note: in expansion of macro 'test_hash_func' - 271 | test_hash_func(cork_hash_buffer, little64, buf, len) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:391:5: note: in expansion of macro 'test_hash_buf' - 391 | test_hash_buf(LONG_BUF, LONG_LEN, - | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:461:5: note: in expansion of macro 'BAD' + 461 | bad("fe80::1::2", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4539,15 +5565,6 @@ | | | long unsigned int | %u -/build/libcork-1.0.0~rc3/tests/test-core.c:307:21: warning: too many arguments for format [-Wformat-extra-args] - 307 | "\nUnexpected hash value 0x%016" PRIx64 ".%016" PRIx64 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:318:5: note: in expansion of macro 'test_big_hash_func' - 318 | test_big_hash_func(buf, len, l64a, l64b) - | ^~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:396:5: note: in expansion of macro 'test_big_hash_buf' - 396 | test_big_hash_buf(LONG_BUF, LONG_LEN, - | ^~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4560,6 +5577,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:462:5: note: in expansion of macro 'BAD' + 462 | bad("1:2:3:4:5:6:7", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4569,15 +5598,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:298:5: note: in expansion of macro 'test_hash_func' - 298 | test_hash_func(cork_stable_hash_variable, expected, var) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:402:5: note: in expansion of macro 'test_stable_hash_var' - 402 | test_stable_hash_var(stable_val32, 0x6bb65380); - | ^~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -4620,15 +5640,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:273:5: note: in expansion of macro 'test_hash_func' - 273 | test_hash_func(cork_hash_variable, little64, var) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:403:5: note: in expansion of macro 'test_hash_var' - 403 | test_hash_var(val32, - | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:463:5: note: in expansion of macro 'BAD' + 463 | bad("1:2:3:4:5:6:7:8:9", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4650,15 +5673,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:298:5: note: in expansion of macro 'test_hash_func' - 298 | test_hash_func(cork_stable_hash_variable, expected, var) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:409:5: note: in expansion of macro 'test_stable_hash_var' - 409 | test_stable_hash_var(stable_val64, 0x4d5c4063); - | ^~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4689,15 +5703,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:264:17: warning: too many arguments for format [-Wformat-extra-args] - 264 | "Unexpected hash value 0x%08" PRIx32 \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:273:5: note: in expansion of macro 'test_hash_func' - 273 | test_hash_func(cork_hash_variable, little64, var) - | ^~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:410:5: note: in expansion of macro 'test_hash_var' - 410 | test_hash_var(val64, - | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:464:5: note: in expansion of macro 'BAD' + 464 | bad("::1:", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4731,7 +5748,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_ipv4_address_fn': /build/libcork-1.0.0~rc3/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ @@ -4750,6 +5766,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:465:5: note: in expansion of macro 'BAD' + 465 | bad("fe800::", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4762,18 +5790,6 @@ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:482:9: note: in expansion of macro 'fail_if_error' - 482 | fail_if_error(cork_ipv4_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:424:5: note: in expansion of macro 'GOOD' - 424 | good("192.168.1.100", "192.168.1.100"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:33:5: note: in expansion of macro 'fail_if_error' 33 | fail_if_error(cork_array_append(&array, element)); \ | ^~~~~~~~~~~~~ @@ -4813,14 +5829,17 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:486:21: warning: too many arguments for format [-Wformat-extra-args] - 486 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:424:5: note: in expansion of macro 'GOOD' - 424 | good("192.168.1.100", "192.168.1.100"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:466:5: note: in expansion of macro 'BAD' + 466 | bad("stuv", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ @@ -4843,15 +5862,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:493:21: warning: too many arguments for format [-Wformat-extra-args] - 493 | "IPv4 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:424:5: note: in expansion of macro 'GOOD' - 424 | good("192.168.1.100", "192.168.1.100"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4870,6 +5880,18 @@ | | | long unsigned int | %u +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:468:5: note: in expansion of macro 'BAD' + 468 | good("2001:0db8::0001", "2001:db8::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4891,17 +5913,17 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:482:9: note: in expansion of macro 'fail_if_error' - 482 | fail_if_error(cork_ipv4_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:425:5: note: in expansion of macro 'GOOD' - 425 | good("01.002.0003.00000004", "1.2.3.4"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:469:5: note: in expansion of macro 'BAD' + 469 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ @@ -4945,6 +5967,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:470:5: note: in expansion of macro 'BAD' + 470 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -4954,15 +5988,7 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:486:21: warning: too many arguments for format [-Wformat-extra-args] - 486 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:425:5: note: in expansion of macro 'GOOD' - 425 | good("01.002.0003.00000004", "1.2.3.4"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ +[ 71%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -5005,14 +6031,17 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:493:21: warning: too many arguments for format [-Wformat-extra-args] - 493 | "IPv4 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:425:5: note: in expansion of macro 'GOOD' - 425 | good("01.002.0003.00000004", "1.2.3.4"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:471:5: note: in expansion of macro 'BAD' + 471 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ @@ -5047,18 +6076,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:482:9: note: in expansion of macro 'fail_if_error' - 482 | fail_if_error(cork_ipv4_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:426:5: note: in expansion of macro 'GOOD' - 426 | good("010.0020.00034.00000089", "10.20.34.89"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ @@ -5086,6 +6103,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:472:5: note: in expansion of macro 'BAD' + 472 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -5095,15 +6124,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:486:21: warning: too many arguments for format [-Wformat-extra-args] - 486 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:426:5: note: in expansion of macro 'GOOD' - 426 | good("010.0020.00034.00000089", "10.20.34.89"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5113,6 +6133,19 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o -MF CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o.d -o CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o -c "/build/libcork-1.0.0~rc3/src/cork-initializer/init2.c" +/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] + 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' + 499 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:473:5: note: in expansion of macro 'BAD' + 473 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' + 506 | IPV6_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5137,15 +6170,9 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:493:21: warning: too many arguments for format [-Wformat-extra-args] - 493 | "IPv4 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:426:5: note: in expansion of macro 'GOOD' - 426 | good("010.0020.00034.00000089", "10.20.34.89"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:519:17: warning: too many arguments for format [-Wformat-extra-args] + 519 | "Bad CIDR block for 1.2.3.4 and %u", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5155,6 +6182,9 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:522:13: warning: too many arguments for format [-Wformat-extra-args] + 522 | "IPv4 CIDR check should fail for %u", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5179,6 +6209,9 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:525:13: warning: too many arguments for format [-Wformat-extra-args] + 525 | "IPv4 CIDR check should fail for %u", + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5188,28 +6221,20 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:110:1: note: in expansion of macro 'test_int' 110 | test_int(int32_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_ipv6_address_fn': +/build/libcork-1.0.0~rc3/tests/test-array.c: In function 'test_array_int64_t_fn': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:482:9: note: in expansion of macro 'fail_if_error' - 482 | fail_if_error(cork_ipv4_init(&addr, str)); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:427:5: note: in expansion of macro 'GOOD' - 427 | good("0100.000200.00.000", "100.200.0.0"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:486:21: warning: too many arguments for format [-Wformat-extra-args] - 486 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:427:5: note: in expansion of macro 'GOOD' - 427 | good("0100.000200.00.000", "100.200.0.0"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:442:5: note: in expansion of macro 'GOOD' + 442 | good("::", "::"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c: In function 'test_array_int64_t_fn': /build/libcork-1.0.0~rc3/tests/test-array.c:66:21: warning: too many arguments for format [-Wformat-extra-args] 66 | "Unexpected size of array: got %zu, expected 0", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5225,15 +6250,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:493:21: warning: too many arguments for format [-Wformat-extra-args] - 493 | "IPv4 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:427:5: note: in expansion of macro 'GOOD' - 427 | good("0100.000200.00.000", "100.200.0.0"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -5264,6 +6280,15 @@ | | | long unsigned int | %u +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:442:5: note: in expansion of macro 'GOOD' + 442 | good("::", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5285,18 +6310,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:428:5: note: in expansion of macro 'BAD' - 428 | bad("", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -5309,6 +6322,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:442:5: note: in expansion of macro 'GOOD' + 442 | good("::", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5360,18 +6382,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:429:5: note: in expansion of macro 'BAD' - 429 | bad(".", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5384,6 +6394,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:443:5: note: in expansion of macro 'GOOD' + 443 | good("0:0:0:0:0:0:0:0", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ @@ -5411,18 +6433,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:430:5: note: in expansion of macro 'BAD' - 430 | bad("192.168.0.", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -5435,6 +6445,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:443:5: note: in expansion of macro 'GOOD' + 443 | good("0:0:0:0:0:0:0:0", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5474,17 +6493,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:431:5: note: in expansion of macro 'BAD' - 431 | bad("192.168.0.1.", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:443:5: note: in expansion of macro 'GOOD' + 443 | good("0:0:0:0:0:0:0:0", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ @@ -5528,6 +6544,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:444:5: note: in expansion of macro 'GOOD' + 444 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5537,18 +6565,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:432:5: note: in expansion of macro 'BAD' - 432 | bad("192..168.0.1", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -5561,6 +6577,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:444:5: note: in expansion of macro 'GOOD' + 444 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5600,17 +6625,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:433:5: note: in expansion of macro 'BAD' - 433 | bad("192.168.0.1.2", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:444:5: note: in expansion of macro 'GOOD' + 444 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ @@ -5654,6 +6676,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:445:5: note: in expansion of macro 'GOOD' + 445 | good("fe80::", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5663,18 +6697,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:434:5: note: in expansion of macro 'BAD' - 434 | bad(".168.0.1.2", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -5717,23 +6739,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:435:5: note: in expansion of macro 'BAD' - 435 | bad("256.0.0.0", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:445:5: note: in expansion of macro 'GOOD' + 445 | good("fe80::", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-1.0.0~rc3/tests/test-files.c:15: -/build/libcork-1.0.0~rc3/tests/test-files.c: In function 'verify_path_content': -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5743,12 +6757,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] - 91 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:445:5: note: in expansion of macro 'GOOD' + 445 | good("fe80::", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -5791,18 +6808,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:436:5: note: in expansion of macro 'BAD' - 436 | bad("00256.0.0.0", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5815,6 +6820,18 @@ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:446:5: note: in expansion of macro 'GOOD' + 446 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:39:9: note: in expansion of macro 'fail_if_error' 39 | fail_if_error(__element = cork_array_append_get(&array)); \ | ^~~~~~~~~~~~~ @@ -5824,18 +6841,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:437:5: note: in expansion of macro 'BAD' - 437 | bad("392.0.0.0", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5866,6 +6871,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:446:5: note: in expansion of macro 'GOOD' + 446 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5884,6 +6898,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:446:5: note: in expansion of macro 'GOOD' + 446 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5893,18 +6916,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:438:5: note: in expansion of macro 'BAD' - 438 | bad("1920.0.0.0", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5929,6 +6940,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:447:5: note: in expansion of macro 'GOOD' + 447 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -5962,17 +6985,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:439:5: note: in expansion of macro 'BAD' - 439 | bad("stuv", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:505:5: note: in expansion of macro 'IPV4_TESTS' - 505 | IPV4_TESTS(GOOD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:447:5: note: in expansion of macro 'GOOD' + 447 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:52:21: warning: too many arguments for format [-Wformat-extra-args] 52 | "Unexpected sum, got %ld, expected %ld", \ @@ -5983,6 +7003,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:111:1: note: in expansion of macro 'test_int' 111 | test_int(int64_t) | ^~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:447:5: note: in expansion of macro 'GOOD' + 447 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c: In function 'test_array_string_fn': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ @@ -5993,18 +7022,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:135:5: note: in expansion of macro 'add_string' 135 | add_string("hello", 1); | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:442:5: note: in expansion of macro 'BAD' - 442 | good("::", "::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6020,6 +7037,18 @@ | | | long unsigned int | %u +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:448:5: note: in expansion of macro 'GOOD' + 448 | good("::1", "::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6053,18 +7082,6 @@ | | | long unsigned int | %u -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:443:5: note: in expansion of macro 'BAD' - 443 | good("0:0:0:0:0:0:0:0", "::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6074,6 +7091,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:136:5: note: in expansion of macro 'add_string' 136 | add_string("there", 2); | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:448:5: note: in expansion of macro 'GOOD' + 448 | good("::1", "::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -6107,6 +7133,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:137:5: note: in expansion of macro 'add_string' 137 | add_string("world", 3); | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:448:5: note: in expansion of macro 'GOOD' + 448 | good("::1", "::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6116,18 +7151,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:138:5: note: in expansion of macro 'test_string' 138 | test_string(&array, 0, "hello"); | ^~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:444:5: note: in expansion of macro 'BAD' - 444 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6137,6 +7160,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:139:5: note: in expansion of macro 'test_string' 139 | test_string(&array, 1, "there"); | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:449:5: note: in expansion of macro 'GOOD' + 449 | good("0:0:0:0:0:0:0:1", "::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6155,17 +7190,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:142:5: note: in expansion of macro 'test_string' 142 | test_string(&array, 0, "there"); | ^~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:445:5: note: in expansion of macro 'BAD' - 445 | good("fe80::", "fe80::"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:449:5: note: in expansion of macro 'GOOD' + 449 | good("0:0:0:0:0:0:0:1", "::1"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ @@ -6194,6 +7226,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:146:5: note: in expansion of macro 'add_string' 146 | add_string("reusing", 1); | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:449:5: note: in expansion of macro 'GOOD' + 449 | good("0:0:0:0:0:0:0:1", "::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:64: note: format string is defined here 29 | "Unexpected size of array: got %zu, expected %zu", \ | ~~^ @@ -6209,18 +7250,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:146:5: note: in expansion of macro 'add_string' 146 | add_string("reusing", 1); | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:446:5: note: in expansion of macro 'BAD' - 446 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -6254,6 +7283,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:147:5: note: in expansion of macro 'add_string' 147 | add_string("entries", 2); | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:450:5: note: in expansion of macro 'GOOD' + 450 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6263,18 +7304,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:148:5: note: in expansion of macro 'test_string' 148 | test_string(&array, 0, "reusing"); | ^~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:447:5: note: in expansion of macro 'BAD' - 447 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6284,6 +7313,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:149:5: note: in expansion of macro 'test_string' 149 | test_string(&array, 1, "entries"); | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:450:5: note: in expansion of macro 'GOOD' + 450 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6302,17 +7340,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:154:5: note: in expansion of macro 'test_string' 154 | test_string(©, 1, "entries"); | ^~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:448:5: note: in expansion of macro 'BAD' - 448 | good("::1", "::1"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:450:5: note: in expansion of macro 'GOOD' + 450 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ @@ -6356,6 +7391,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:158:5: note: in expansion of macro 'add_string' 158 | add_string("there", 4); | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:451:5: note: in expansion of macro 'GOOD' + 451 | good("fe80::1", "fe80::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6371,18 +7418,6 @@ | | | long unsigned int | %u -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:449:5: note: in expansion of macro 'BAD' - 449 | good("0:0:0:0:0:0:0:1", "::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:29:17: warning: too many arguments for format [-Wformat-extra-args] 29 | "Unexpected size of array: got %zu, expected %zu", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6401,6 +7436,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:159:5: note: in expansion of macro 'add_string' 159 | add_string("world", 5); | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:451:5: note: in expansion of macro 'GOOD' + 451 | good("fe80::1", "fe80::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/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", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6425,17 +7469,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:159:5: note: in expansion of macro 'add_string' 159 | add_string("world", 5); | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:450:5: note: in expansion of macro 'BAD' - 450 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:451:5: note: in expansion of macro 'GOOD' + 451 | good("fe80::1", "fe80::1"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ @@ -6455,6 +7496,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:162:5: note: in expansion of macro 'test_string' 162 | test_string(&array, 1, "there"); | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:452:5: note: in expansion of macro 'GOOD' + 452 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6464,17 +7517,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:163:5: note: in expansion of macro 'test_string' 163 | test_string(&array, 2, "world"); | ^~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:451:5: note: in expansion of macro 'BAD' - 451 | good("fe80::1", "fe80::1"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:452:5: note: in expansion of macro 'GOOD' + 452 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ @@ -6494,6 +7544,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:166:5: note: in expansion of macro 'test_string' 166 | test_string(&array, 1, "there"); | ^~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:452:5: note: in expansion of macro 'GOOD' + 452 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c: In function 'test_array__init': /build/libcork-1.0.0~rc3/tests/test-array.c:185:41: warning: unused parameter 'vvalue' [-Wunused-parameter] 185 | test_array__init(void *user_data, void *vvalue) @@ -6503,18 +7562,6 @@ 192 | test_array__done(void *user_data, void *vvalue) | ~~~~~~^~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c: In function 'test_array__reuse': -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:452:5: note: in expansion of macro 'BAD' - 452 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:199:42: warning: unused parameter 'vvalue' [-Wunused-parameter] 199 | test_array__reuse(void *user_data, void *vvalue) | ~~~~~~^~~~~~ @@ -6522,25 +7569,27 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:206:43: warning: unused parameter 'vvalue' [-Wunused-parameter] 206 | test_array__remove(void *user_data, void *vvalue) | ~~~~~~^~~~~~ -/build/libcork-1.0.0~rc3/tests/test-files.c: In function 'verify_path_list_content': -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:453:5: note: in expansion of macro 'BAD' +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:453:5: note: in expansion of macro 'GOOD' 453 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:453:5: note: in expansion of macro 'GOOD' + 453 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] - 91 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-array.c: In function 'test_array_callbacks_fn': /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -6551,13 +7600,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' 247 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-files.c: In function 'test_path_list': -/build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] - 91 | "%s not equal (expected \"%s\", got \"%s\")", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6567,6 +7609,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' 247 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:453:5: note: in expansion of macro 'GOOD' + 453 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6576,19 +7627,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:247:5: note: in expansion of macro 'check_counts' 247 | check_counts(&counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:454:5: note: in expansion of macro 'BAD' - 454 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-files.c: In function 'test_file_exists': /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6601,12 +7639,15 @@ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:454:5: note: in expansion of macro 'GOOD' + 454 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6616,6 +7657,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:250:5: note: in expansion of macro 'check_counts' 250 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:454:5: note: in expansion of macro 'GOOD' + 454 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6625,18 +7675,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:250:5: note: in expansion of macro 'check_counts' 250 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:455:5: note: in expansion of macro 'BAD' - 455 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6646,6 +7684,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:250:5: note: in expansion of macro 'check_counts' 250 | check_counts(&counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:454:5: note: in expansion of macro 'GOOD' + 454 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6664,17 +7711,17 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:253:5: note: in expansion of macro 'check_counts' 253 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:457:5: note: in expansion of macro 'BAD' - 457 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:455:5: note: in expansion of macro 'GOOD' + 455 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -6694,17 +7741,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:253:5: note: in expansion of macro 'check_counts' 253 | check_counts(&counts, 4, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:458:5: note: in expansion of macro 'BAD' - 458 | bad("", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:455:5: note: in expansion of macro 'GOOD' + 455 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -6724,6 +7768,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' 255 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:455:5: note: in expansion of macro 'GOOD' + 455 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6733,18 +7786,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' 255 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:459:5: note: in expansion of macro 'BAD' - 459 | bad(":", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6754,6 +7795,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' 255 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:457:5: note: in expansion of macro 'GOOD' + 457 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6763,17 +7816,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:255:5: note: in expansion of macro 'check_counts' 255 | check_counts(&counts, 4, 0, 0, 4); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:460:5: note: in expansion of macro 'BAD' - 460 | bad("fe80:", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:457:5: note: in expansion of macro 'GOOD' + 457 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -6793,6 +7843,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:258:5: note: in expansion of macro 'check_counts' 258 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:457:5: note: in expansion of macro 'GOOD' + 457 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6802,18 +7861,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:258:5: note: in expansion of macro 'check_counts' 258 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:461:5: note: in expansion of macro 'BAD' - 461 | bad("fe80::1::2", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6823,6 +7870,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:258:5: note: in expansion of macro 'check_counts' 258 | check_counts(&counts, 4, 0, 2, 4); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] + 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' + 555 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:458:5: note: in expansion of macro 'BAD' + 458 | bad("", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6841,18 +7900,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:261:5: note: in expansion of macro 'check_counts' 261 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:462:5: note: in expansion of macro 'BAD' - 462 | bad("1:2:3:4:5:6:7", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6862,6 +7909,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:261:5: note: in expansion of macro 'check_counts' 261 | check_counts(&counts, 4, 0, 4, 4); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] + 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' + 555 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:459:5: note: in expansion of macro 'BAD' + 459 | bad(":", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6880,17 +7939,17 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:263:5: note: in expansion of macro 'check_counts' 263 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ +/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] + 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ +/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' + 555 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:463:5: note: in expansion of macro 'BAD' - 463 | bad("1:2:3:4:5:6:7:8:9", -1); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:460:5: note: in expansion of macro 'BAD' + 460 | bad("fe80:", -1); \ | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -6919,17 +7978,17 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:263:5: note: in expansion of macro 'check_counts' 263 | check_counts(&counts, 5, 0, 4, 4); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ +/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] + 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ +/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' + 555 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:464:5: note: in expansion of macro 'BAD' - 464 | bad("::1:", -1); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:461:5: note: in expansion of macro 'BAD' + 461 | bad("fe80::1::2", -1); \ | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -6949,18 +8008,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:266:5: note: in expansion of macro 'check_counts' 266 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:465:5: note: in expansion of macro 'BAD' - 465 | bad("fe800::", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6970,6 +8017,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:266:5: note: in expansion of macro 'check_counts' 266 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] + 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' + 555 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:462:5: note: in expansion of macro 'BAD' + 462 | bad("1:2:3:4:5:6:7", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -6979,18 +8038,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:266:5: note: in expansion of macro 'check_counts' 266 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:466:5: note: in expansion of macro 'BAD' - 466 | bad("stuv", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7009,6 +8056,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:268:5: note: in expansion of macro 'check_counts' 268 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] + 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' + 555 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:463:5: note: in expansion of macro 'BAD' + 463 | bad("1:2:3:4:5:6:7:8:9", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7027,17 +8086,17 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:268:5: note: in expansion of macro 'check_counts' 268 | check_counts(©_counts, 5, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ +/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] + 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ +/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' + 555 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:468:5: note: in expansion of macro 'BAD' - 468 | good("2001:0db8::0001", "2001:db8::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:464:5: note: in expansion of macro 'BAD' + 464 | bad("::1:", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -7057,17 +8116,17 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:270:5: note: in expansion of macro 'check_counts' 270 | check_counts(©_counts, 5, 5, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ +/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] + 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ +/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' + 555 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:469:5: note: in expansion of macro 'BAD' - 469 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:465:5: note: in expansion of macro 'BAD' + 465 | bad("fe800::", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -7096,17 +8155,17 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:273:5: note: in expansion of macro 'check_counts' 273 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ +/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] + 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ +/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' + 555 | fail_unless_error \ | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:470:5: note: in expansion of macro 'BAD' - 470 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:466:5: note: in expansion of macro 'BAD' + 466 | bad("stuv", -1); \ + | ^~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -7126,6 +8185,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:273:5: note: in expansion of macro 'check_counts' 273 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:468:5: note: in expansion of macro 'GOOD' + 468 | good("2001:0db8::0001", "2001:db8::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7135,26 +8206,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:273:5: note: in expansion of macro 'check_counts' 273 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:471:5: note: in expansion of macro 'BAD' - 471 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:468:5: note: in expansion of macro 'GOOD' + 468 | good("2001:0db8::0001", "2001:db8::1"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -In file included from /build/libcork-1.0.0~rc3/tests/test-gc.c:19: -/build/libcork-1.0.0~rc3/tests/test-gc.c: In function 'tree__free': -/build/libcork-1.0.0~rc3/include/libcork/helpers/gc.h:20:20: warning: unused parameter 'obj' [-Wunused-parameter] - 20 | name##__free(void *obj) - | ~~~~~~^~~ -/build/libcork-1.0.0~rc3/tests/test-gc.c:34:1: note: in expansion of macro '_free_' - 34 | _free_(tree) { - | ^~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7173,6 +8233,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:276:5: note: in expansion of macro 'check_counts' 276 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:468:5: note: in expansion of macro 'GOOD' + 468 | good("2001:0db8::0001", "2001:db8::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7191,17 +8260,17 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:276:5: note: in expansion of macro 'check_counts' 276 | check_counts(©_counts, 2, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:472:5: note: in expansion of macro 'BAD' - 472 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:469:5: note: in expansion of macro 'GOOD' + 469 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -7212,13 +8281,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:278:5: note: in expansion of macro 'check_counts' 278 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-gc.c: In function 'main': -/build/libcork-1.0.0~rc3/tests/test-gc.c:146:10: warning: unused parameter 'argc' [-Wunused-parameter] - 146 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-gc.c:146:29: warning: unused parameter 'argv' [-Wunused-parameter] - 146 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:469:5: note: in expansion of macro 'GOOD' + 469 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7237,17 +8308,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:278:5: note: in expansion of macro 'check_counts' 278 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:501:14: warning: too many arguments for format [-Wformat-extra-args] - 501 | "Shouldn't be able to initialize IPv4 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:499:9: note: in expansion of macro 'fail_unless_error' - 499 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:473:5: note: in expansion of macro 'BAD' - 473 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:469:5: note: in expansion of macro 'GOOD' + 469 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:506:5: note: in expansion of macro 'IPV6_TESTS' - 506 | IPV6_TESTS(BAD, BAD); +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ @@ -7258,9 +8326,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:278:5: note: in expansion of macro 'check_counts' 278 | check_counts(©_counts, 5, 0, 2, 2); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:519:17: warning: too many arguments for format [-Wformat-extra-args] - 519 | "Bad CIDR block for 1.2.3.4 and %u", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7270,9 +8335,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:280:5: note: in expansion of macro 'check_counts' 280 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:522:13: warning: too many arguments for format [-Wformat-extra-args] - 522 | "IPv4 CIDR check should fail for %u", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:470:5: note: in expansion of macro 'GOOD' + 470 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7282,9 +8356,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:280:5: note: in expansion of macro 'check_counts' 280 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:525:13: warning: too many arguments for format [-Wformat-extra-args] - 525 | "IPv4 CIDR check should fail for %u", - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7294,7 +8365,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:280:5: note: in expansion of macro 'check_counts' 280 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_ipv6_address_fn': /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7304,6 +8374,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:280:5: note: in expansion of macro 'check_counts' 280 | check_counts(©_counts, 5, 5, 2, 2); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:470:5: note: in expansion of macro 'GOOD' + 470 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7313,14 +8392,11 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:283:5: note: in expansion of macro 'check_counts' 283 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:442:5: note: in expansion of macro 'GOOD' - 442 | good("::", "::"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:470:5: note: in expansion of macro 'GOOD' + 470 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' 561 | IPV6_TESTS(GOOD, BAD); @@ -7334,11 +8410,14 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:283:5: note: in expansion of macro 'check_counts' 283 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:442:5: note: in expansion of macro 'GOOD' - 442 | good("::", "::"); \ +/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] + 68 | fail("%s", cork_error_message()); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' + 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:471:5: note: in expansion of macro 'GOOD' + 471 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' 561 | IPV6_TESTS(GOOD, BAD); @@ -7361,11 +8440,20 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:283:5: note: in expansion of macro 'check_counts' 283 | check_counts(©_counts, 0, 0, 0, 0); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] + 542 | "Unexpected string representation: " \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:471:5: note: in expansion of macro 'GOOD' + 471 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] 549 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:442:5: note: in expansion of macro 'GOOD' - 442 | good("::", "::"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:471:5: note: in expansion of macro 'GOOD' + 471 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' 561 | IPV6_TESTS(GOOD, BAD); @@ -7379,14 +8467,23 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:291:5: note: in expansion of macro 'check_counts' 291 | check_counts(©_counts, 7, 0, 0, 0); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] + 85 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-array.c:230:9: note: in expansion of macro 'fail_unless_equal' + 230 | fail_unless_equal \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-array.c:291:5: note: in expansion of macro 'check_counts' + 291 | check_counts(©_counts, 7, 0, 0, 0); + | ^~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:443:5: note: in expansion of macro 'GOOD' - 443 | good("0:0:0:0:0:0:0:0", "::"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:472:5: note: in expansion of macro 'GOOD' + 472 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' 561 | IPV6_TESTS(GOOD, BAD); @@ -7394,8 +8491,8 @@ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c:230:9: note: in expansion of macro 'fail_unless_equal' - 230 | fail_unless_equal \ +/build/libcork-1.0.0~rc3/tests/test-array.c:232:9: note: in expansion of macro 'fail_unless_equal' + 232 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:291:5: note: in expansion of macro 'check_counts' 291 | check_counts(©_counts, 7, 0, 0, 0); @@ -7403,8 +8500,8 @@ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c:232:9: note: in expansion of macro 'fail_unless_equal' - 232 | fail_unless_equal \ +/build/libcork-1.0.0~rc3/tests/test-array.c:234:9: note: in expansion of macro 'fail_unless_equal' + 234 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:291:5: note: in expansion of macro 'check_counts' 291 | check_counts(©_counts, 7, 0, 0, 0); @@ -7412,8 +8509,8 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] 542 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:443:5: note: in expansion of macro 'GOOD' - 443 | good("0:0:0:0:0:0:0:0", "::"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:472:5: note: in expansion of macro 'GOOD' + 472 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' 561 | IPV6_TESTS(GOOD, BAD); @@ -7421,17 +8518,17 @@ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c:234:9: note: in expansion of macro 'fail_unless_equal' - 234 | fail_unless_equal \ +/build/libcork-1.0.0~rc3/tests/test-array.c:228:9: note: in expansion of macro 'fail_unless_equal' + 228 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c:291:5: note: in expansion of macro 'check_counts' - 291 | check_counts(©_counts, 7, 0, 0, 0); +/build/libcork-1.0.0~rc3/tests/test-array.c:293:5: note: in expansion of macro 'check_counts' + 293 | check_counts(©_counts, 7, 0, 5, 7); | ^~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c:228:9: note: in expansion of macro 'fail_unless_equal' - 228 | fail_unless_equal \ +/build/libcork-1.0.0~rc3/tests/test-array.c:230:9: note: in expansion of macro 'fail_unless_equal' + 230 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:293:5: note: in expansion of macro 'check_counts' 293 | check_counts(©_counts, 7, 0, 5, 7); @@ -7439,8 +8536,8 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] 549 | "IPv6 instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:443:5: note: in expansion of macro 'GOOD' - 443 | good("0:0:0:0:0:0:0:0", "::"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:472:5: note: in expansion of macro 'GOOD' + 472 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' 561 | IPV6_TESTS(GOOD, BAD); @@ -7448,8 +8545,8 @@ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c:230:9: note: in expansion of macro 'fail_unless_equal' - 230 | fail_unless_equal \ +/build/libcork-1.0.0~rc3/tests/test-array.c:232:9: note: in expansion of macro 'fail_unless_equal' + 232 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:293:5: note: in expansion of macro 'check_counts' 293 | check_counts(©_counts, 7, 0, 5, 7); @@ -7457,8 +8554,8 @@ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c:232:9: note: in expansion of macro 'fail_unless_equal' - 232 | fail_unless_equal \ +/build/libcork-1.0.0~rc3/tests/test-array.c:234:9: note: in expansion of macro 'fail_unless_equal' + 234 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:293:5: note: in expansion of macro 'check_counts' 293 | check_counts(©_counts, 7, 0, 5, 7); @@ -7469,8 +8566,8 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:444:5: note: in expansion of macro 'GOOD' - 444 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:473:5: note: in expansion of macro 'GOOD' + 473 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' 561 | IPV6_TESTS(GOOD, BAD); @@ -7478,15 +8575,6 @@ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c:234:9: note: in expansion of macro 'fail_unless_equal' - 234 | fail_unless_equal \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c:293:5: note: in expansion of macro 'check_counts' - 293 | check_counts(©_counts, 7, 0, 5, 7); - | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] - 85 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-array.c:228:9: note: in expansion of macro 'fail_unless_equal' 228 | fail_unless_equal \ | ^~~~~~~~~~~~~~~~~ @@ -7505,8 +8593,8 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] 542 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:444:5: note: in expansion of macro 'GOOD' - 444 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ +/build/libcork-1.0.0~rc3/tests/test-core.c:473:5: note: in expansion of macro 'GOOD' + 473 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ | ^~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' 561 | IPV6_TESTS(GOOD, BAD); @@ -7520,15 +8608,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:295:5: note: in expansion of macro 'check_counts' 295 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:444:5: note: in expansion of macro 'GOOD' - 444 | good("0000:0000:0000:0000:0000:0000:0000:0000", "::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7538,6 +8617,15 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:295:5: note: in expansion of macro 'check_counts' 295 | check_counts(©_counts, 7, 7, 5, 7); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] + 549 | "IPv6 instances should be equal"); \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:473:5: note: in expansion of macro 'GOOD' + 473 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' + 561 | IPV6_TESTS(GOOD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7547,18 +8635,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:298:5: note: in expansion of macro 'check_counts' 298 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:445:5: note: in expansion of macro 'GOOD' - 445 | good("fe80::", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7568,6 +8644,18 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:298:5: note: in expansion of macro 'check_counts' 298 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] + 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' + 555 | fail_unless_error \ + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:424:5: note: in expansion of macro 'BAD' + 424 | good("192.168.1.100", "192.168.1.100"); \ + | ^~~~ +/build/libcork-1.0.0~rc3/tests/test-core.c:562:5: note: in expansion of macro 'IPV4_TESTS' + 562 | IPV4_TESTS(BAD, BAD); + | ^~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -7586,943 +8674,6 @@ /build/libcork-1.0.0~rc3/tests/test-array.c:298:5: note: in expansion of macro 'check_counts' 298 | check_counts(&counts, 5, 5, 4, 4); | ^~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:445:5: note: in expansion of macro 'GOOD' - 445 | good("fe80::", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c: In function 'main': -/build/libcork-1.0.0~rc3/tests/test-array.c:326:10: warning: unused parameter 'argc' [-Wunused-parameter] - 326 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-array.c:326:29: warning: unused parameter 'argv' [-Wunused-parameter] - 326 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:445:5: note: in expansion of macro 'GOOD' - 445 | good("fe80::", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:446:5: note: in expansion of macro 'GOOD' - 446 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:446:5: note: in expansion of macro 'GOOD' - 446 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:446:5: note: in expansion of macro 'GOOD' - 446 | good("fe80:0:0:0:0:0:0:0", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:447:5: note: in expansion of macro 'GOOD' - 447 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:447:5: note: in expansion of macro 'GOOD' - 447 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -[ 70%] Linking C executable cork-hash -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:447:5: note: in expansion of macro 'GOOD' - 447 | good("fe80:0000:0000:0000:0000:0000:0000:0000", "fe80::"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:448:5: note: in expansion of macro 'GOOD' - 448 | good("::1", "::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:448:5: note: in expansion of macro 'GOOD' - 448 | good("::1", "::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:448:5: note: in expansion of macro 'GOOD' - 448 | good("::1", "::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:449:5: note: in expansion of macro 'GOOD' - 449 | good("0:0:0:0:0:0:0:1", "::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:449:5: note: in expansion of macro 'GOOD' - 449 | good("0:0:0:0:0:0:0:1", "::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:449:5: note: in expansion of macro 'GOOD' - 449 | good("0:0:0:0:0:0:0:1", "::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:450:5: note: in expansion of macro 'GOOD' - 450 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-hash.dir/link.txt --verbose=1 -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:450:5: note: in expansion of macro 'GOOD' - 450 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:450:5: note: in expansion of macro 'GOOD' - 450 | good("0000:0000:0000:0000:0000:0000:0000:0001", "::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:451:5: note: in expansion of macro 'GOOD' - 451 | good("fe80::1", "fe80::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -In file included from /build/libcork-1.0.0~rc3/tests/test-managed-buffer.c:13: -/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_managed_buffer_refcount_fn': -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:451:5: note: in expansion of macro 'GOOD' - 451 | good("fe80::1", "fe80::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c:85:17: warning: too many arguments for format [-Wformat-extra-args] - 85 | "Managed buffer free function never called."); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:14: -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c: In function 'test_ring_buffer_1_fn': -/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_managed_buffer_bad_refcount_fn': -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:32:17: warning: too many arguments for format [-Wformat-extra-args] - 32 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:451:5: note: in expansion of macro 'GOOD' - 451 | good("fe80::1", "fe80::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:34:17: warning: too many arguments for format [-Wformat-extra-args] - 34 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-ring-buffer.c:36:17: warning: too many arguments for format [-Wformat-extra-args] - 36 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:38:17: warning: too many arguments for format [-Wformat-extra-args] - 38 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_slice_fn': -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:452:5: note: in expansion of macro 'GOOD' - 452 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-ring-buffer.c:50:17: warning: too many arguments for format [-Wformat-extra-args] - 50 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c:136:5: note: in expansion of macro 'fail_unless_error' - 136 | fail_unless_error(cork_slice_copy - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:52:17: warning: too many arguments for format [-Wformat-extra-args] - 52 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:452:5: note: in expansion of macro 'GOOD' - 452 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_slice_refcount_fn': -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:452:5: note: in expansion of macro 'GOOD' - 452 | good("fe80:0:0:0:0:0:0:1", "fe80::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c: In function 'test_ring_buffer_2_fn': -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-ring-buffer.c:77:17: warning: too many arguments for format [-Wformat-extra-args] - 77 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:79:17: warning: too many arguments for format [-Wformat-extra-args] - 79 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-ring-buffer.c:81:17: warning: too many arguments for format [-Wformat-extra-args] - 81 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:83:17: warning: too many arguments for format [-Wformat-extra-args] - 83 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_slice_bad_refcount_fn': -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:453:5: note: in expansion of macro 'GOOD' - 453 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-ring-buffer.c:95:17: warning: too many arguments for format [-Wformat-extra-args] - 95 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:97:17: warning: too many arguments for format [-Wformat-extra-args] - 97 | "Cannot add to ring buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:453:5: note: in expansion of macro 'GOOD' - 453 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:453:5: note: in expansion of macro 'GOOD' - 453 | good("fe80:0000:0000:0000:0000:0000:0000:0001", "fe80::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-ring-buffer.c: In function 'main': -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:136:10: warning: unused parameter 'argc' [-Wunused-parameter] - 136 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-ring-buffer.c:136:29: warning: unused parameter 'argv' [-Wunused-parameter] - 136 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:454:5: note: in expansion of macro 'GOOD' - 454 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:454:5: note: in expansion of macro 'GOOD' - 454 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:454:5: note: in expansion of macro 'GOOD' - 454 | good("0:1:2:3:4:5:6:7", "0:1:2:3:4:5:6:7"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_slice_equals_01_fn': -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:455:5: note: in expansion of macro 'GOOD' - 455 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c:248:17: warning: too many arguments for format [-Wformat-extra-args] - 248 | "Slices aren't equal"); - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:455:5: note: in expansion of macro 'GOOD' - 455 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c: In function 'test_slice_equals_02_fn': -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:455:5: note: in expansion of macro 'GOOD' - 455 | good("1230:4567:89ab:cdef:1230:4567:89ab:cdef", \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:457:5: note: in expansion of macro 'GOOD' - 457 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:457:5: note: in expansion of macro 'GOOD' - 457 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:457:5: note: in expansion of macro 'GOOD' - 457 | good("::ffff:192.168.1.100", "::ffff:192.168.1.100"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] - 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' - 555 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:458:5: note: in expansion of macro 'BAD' - 458 | bad("", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-managed-buffer.c:282:17: warning: too many arguments for format [-Wformat-extra-args] - 282 | "Slices aren't equal"); - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] - 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' - 555 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:459:5: note: in expansion of macro 'BAD' - 459 | bad(":", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c:284:17: warning: too many arguments for format [-Wformat-extra-args] - 284 | "Slices aren't equal"); - | ^~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c: In function 'main': -/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c:327:10: warning: unused parameter 'argc' [-Wunused-parameter] - 327 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] - 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' - 555 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:460:5: note: in expansion of macro 'BAD' - 460 | bad("fe80:", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-managed-buffer.c:327:29: warning: unused parameter 'argv' [-Wunused-parameter] - 327 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] - 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' - 555 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:461:5: note: in expansion of macro 'BAD' - 461 | bad("fe80::1::2", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] - 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' - 555 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:462:5: note: in expansion of macro 'BAD' - 462 | bad("1:2:3:4:5:6:7", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] - 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' - 555 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:463:5: note: in expansion of macro 'BAD' - 463 | bad("1:2:3:4:5:6:7:8:9", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] - 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' - 555 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:464:5: note: in expansion of macro 'BAD' - 464 | bad("::1:", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -[ 71%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o -/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] - 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' - 555 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:465:5: note: in expansion of macro 'BAD' - 465 | bad("fe800::", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -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-1.0.0~rc3/obj-x86_64-linux-gnu/src:" libcork.so.16.1.0 -/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] - 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' - 555 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:466:5: note: in expansion of macro 'BAD' - 466 | bad("stuv", -1); \ - | ^~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:468:5: note: in expansion of macro 'GOOD' - 468 | good("2001:0db8::0001", "2001:db8::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:468:5: note: in expansion of macro 'GOOD' - 468 | good("2001:0db8::0001", "2001:db8::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o -MF CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o.d -o CMakeFiles/cork-initializer.dir/cork-initializer/init2.c.o -c "/build/libcork-1.0.0~rc3/src/cork-initializer/init2.c" -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:468:5: note: in expansion of macro 'GOOD' - 468 | good("2001:0db8::0001", "2001:db8::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:469:5: note: in expansion of macro 'GOOD' - 469 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:469:5: note: in expansion of macro 'GOOD' - 469 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:469:5: note: in expansion of macro 'GOOD' - 469 | good("2001:db8:0:0:0:0:2:1", "2001:db8::2:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:470:5: note: in expansion of macro 'GOOD' - 470 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:470:5: note: in expansion of macro 'GOOD' - 470 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -[ 73%] Linking C executable test-mempool -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:470:5: note: in expansion of macro 'GOOD' - 470 | good("2001:db8:0:1:1:1:1:1", "2001:db8:0:1:1:1:1:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:471:5: note: in expansion of macro 'GOOD' - 471 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:471:5: note: in expansion of macro 'GOOD' - 471 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -reading sources... [ 41%] files -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:471:5: note: in expansion of macro 'GOOD' - 471 | good("2001:0:0:1:0:0:0:1", "2001:0:0:1::1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:472:5: note: in expansion of macro 'GOOD' - 472 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:472:5: note: in expansion of macro 'GOOD' - 472 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:472:5: note: in expansion of macro 'GOOD' - 472 | good("2001:db8:0:0:1:0:0:1", "2001:db8::1:0:0:1"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:538:9: note: in expansion of macro 'fail_if_error' - 538 | fail_if_error(cork_ipv6_init(&addr, str)); \ - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:473:5: note: in expansion of macro 'GOOD' - 473 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:542:21: warning: too many arguments for format [-Wformat-extra-args] - 542 | "Unexpected string representation: " \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:473:5: note: in expansion of macro 'GOOD' - 473 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:549:21: warning: too many arguments for format [-Wformat-extra-args] - 549 | "IPv6 instances should be equal"); \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:473:5: note: in expansion of macro 'GOOD' - 473 | good("0:1:A:B:C:D:E:F", "0:1:a:b:c:d:e:f"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:561:5: note: in expansion of macro 'IPV6_TESTS' - 561 | IPV6_TESTS(GOOD, BAD); - | ^~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] - 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:555:9: note: in expansion of macro 'fail_unless_error' - 555 | fail_unless_error \ - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:424:5: note: in expansion of macro 'BAD' - 424 | good("192.168.1.100", "192.168.1.100"); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-core.c:562:5: note: in expansion of macro 'IPV4_TESTS' - 562 | IPV4_TESTS(BAD, BAD); - | ^~~~~~~~~~ -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-mempool.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8535,6 +8686,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:562:5: note: in expansion of macro 'IPV4_TESTS' 562 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-array.c: In function 'main': /build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8547,6 +8699,12 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:562:5: note: in expansion of macro 'IPV4_TESTS' 562 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-array.c:326:10: warning: unused parameter 'argc' [-Wunused-parameter] + 326 | main(int argc, const char **argv) + | ~~~~^~~~ +/build/libcork-1.0.0~rc3/tests/test-array.c:326:29: warning: unused parameter 'argv' [-Wunused-parameter] + 326 | main(int argc, const char **argv) + | ~~~~~~~~~~~~~^~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8559,7 +8717,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:562:5: note: in expansion of macro 'IPV4_TESTS' 562 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -[ 74%] Linking C executable test-bitset /build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8644,7 +8801,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:562:5: note: in expansion of macro 'IPV4_TESTS' 562 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-bitset.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/test-core.c:557:14: warning: too many arguments for format [-Wformat-extra-args] 557 | "Shouldn't be able to initialize IPv6 address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8705,10 +8861,10 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:562:5: note: in expansion of macro 'IPV4_TESTS' 562 | IPV4_TESTS(BAD, BAD); | ^~~~~~~~~~ -[ 75%] Linking C executable test-dllist /build/libcork-1.0.0~rc3/tests/test-core.c:575:17: warning: too many arguments for format [-Wformat-extra-args] 575 | "Bad CIDR block %u", | ^~~~~~~~~~~~~~~~~~~ +[ 73%] Linking C executable cork-hash /build/libcork-1.0.0~rc3/tests/test-core.c:578:13: warning: too many arguments for format [-Wformat-extra-args] 578 | "IPv6 CIDR check should fail for %u", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8728,6 +8884,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:618:5: note: in expansion of macro 'IPV4_TESTS' 618 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +[ 74%] Linking C executable test-mempool /build/libcork-1.0.0~rc3/tests/test-core.c:599:21: warning: too many arguments for format [-Wformat-extra-args] 599 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8737,6 +8894,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:618:5: note: in expansion of macro 'IPV4_TESTS' 618 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-hash.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/test-core.c:606:21: warning: too many arguments for format [-Wformat-extra-args] 606 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8746,7 +8904,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:618:5: note: in expansion of macro 'IPV4_TESTS' 618 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-dllist.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -8768,6 +8925,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:618:5: note: in expansion of macro 'IPV4_TESTS' 618 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-mempool.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/test-core.c:606:21: warning: too many arguments for format [-Wformat-extra-args] 606 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8861,7 +9019,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:618:5: note: in expansion of macro 'IPV4_TESTS' 618 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-bitset.dir/test-bitset.c.o" -o test-bitset -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 /build/libcork-1.0.0~rc3/tests/test-core.c:614:14: warning: too many arguments for format [-Wformat-extra-args] 614 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8886,7 +9043,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:618:5: note: in expansion of macro 'IPV4_TESTS' 618 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 76%] Linking C executable test-gc /build/libcork-1.0.0~rc3/tests/test-core.c:614:14: warning: too many arguments for format [-Wformat-extra-args] 614 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8911,7 +9067,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:618:5: note: in expansion of macro 'IPV4_TESTS' 618 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-gc.dir/link.txt --verbose=1 +[ 75%] Linking C executable test-gc /build/libcork-1.0.0~rc3/tests/test-core.c:614:14: warning: too many arguments for format [-Wformat-extra-args] 614 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8936,6 +9092,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:618:5: note: in expansion of macro 'IPV4_TESTS' 618 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-gc.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/test-core.c:614:14: warning: too many arguments for format [-Wformat-extra-args] 614 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -8984,7 +9141,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:618:5: note: in expansion of macro 'IPV4_TESTS' 618 | IPV4_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-mempool.dir/test-mempool.c.o" -o test-mempool -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9117,6 +9273,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -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-1.0.0~rc3/obj-x86_64-linux-gnu/src:" libcork.so.16.1.0 /build/libcork-1.0.0~rc3/tests/test-core.c:599:21: warning: too many arguments for format [-Wformat-extra-args] 599 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9126,7 +9283,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' /build/libcork-1.0.0~rc3/tests/test-core.c:606:21: warning: too many arguments for format [-Wformat-extra-args] 606 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9148,6 +9304,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-mempool.dir/test-mempool.c.o" -o test-mempool -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 /build/libcork-1.0.0~rc3/tests/test-core.c:599:21: warning: too many arguments for format [-Wformat-extra-args] 599 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9226,7 +9383,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-gc.dir/test-gc.c.o" -o test-gc -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9248,7 +9404,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-dllist.dir/test-dllist.c.o" -o test-dllist -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 /build/libcork-1.0.0~rc3/tests/test-core.c:606:21: warning: too many arguments for format [-Wformat-extra-args] 606 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9258,6 +9413,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-gc.dir/test-gc.c.o" -o test-gc -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9300,6 +9456,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +[ 76%] Linking C executable test-bitset /build/libcork-1.0.0~rc3/tests/test-core.c:599:21: warning: too many arguments for format [-Wformat-extra-args] 599 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9438,6 +9595,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-bitset.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/test-core.c:614:14: warning: too many arguments for format [-Wformat-extra-args] 614 | "Shouldn't be able to initialize IP address from \"%s\"", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9558,7 +9716,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -[ 76%] Built target cork-hash /build/libcork-1.0.0~rc3/tests/test-core.c:599:21: warning: too many arguments for format [-Wformat-extra-args] 599 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9589,7 +9746,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make -f tests/CMakeFiles/test-slice.dir/build.make tests/CMakeFiles/test-slice.dir/depend /build/libcork-1.0.0~rc3/tests/test-core.c:599:21: warning: too many arguments for format [-Wformat-extra-args] 599 | "Unexpected string representation: " \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9629,6 +9785,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ +reading sources... [ 35%] ds /build/libcork-1.0.0~rc3/tests/test-core.c:606:21: warning: too many arguments for format [-Wformat-extra-args] 606 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9719,8 +9876,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:619:5: note: in expansion of macro 'IPV6_TESTS' 619 | IPV6_TESTS(GOOD, BAD); | ^~~~~~~~~~ -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-slice.dir/DependInfo.cmake" --color= /build/libcork-1.0.0~rc3/tests/test-core.c:606:21: warning: too many arguments for format [-Wformat-extra-args] 606 | "IP instances should be equal"); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -9743,6 +9898,7 @@ 642 | "IP addresses should be equal"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_timestamp_utc_format': +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-bitset.dir/test-bitset.c.o" -o test-bitset -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -9763,6 +9919,7 @@ 679 | "Unexpected formatted local time " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-core.c: In function 'test_timestamp_fn': +[ 78%] Linking C executable test-slice /build/libcork-1.0.0~rc3/tests/test-core.c:710:17: warning: too many arguments for format [-Wformat-extra-args] 710 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -9775,8 +9932,8 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:721:5: note: in expansion of macro 'test' 721 | test(gsec, 0); | ^~~~ -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +reading sources... [ 38%] errors +[ 79%] Linking C executable test-dllist /build/libcork-1.0.0~rc3/tests/test-core.c:710:17: warning: too many arguments for format [-Wformat-extra-args] 710 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -9789,6 +9946,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:723:5: note: in expansion of macro 'test' 723 | test(usec, 0); | ^~~~ +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-slice.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/test-core.c:710:17: warning: too many arguments for format [-Wformat-extra-args] 710 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -9813,12 +9971,14 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:730:5: note: in expansion of macro 'test' 730 | test(msec, 0); | ^~~~ +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-dllist.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/test-core.c:710:17: warning: too many arguments for format [-Wformat-extra-args] 710 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:731:5: note: in expansion of macro 'test' 731 | test(usec, 0); | ^~~~ +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' /build/libcork-1.0.0~rc3/tests/test-core.c:710:17: warning: too many arguments for format [-Wformat-extra-args] 710 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -9843,6 +10003,7 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:738:5: note: in expansion of macro 'test' 738 | test(msec, 0); | ^~~~ +[ 80%] Linking C executable test-ring-buffer /build/libcork-1.0.0~rc3/tests/test-core.c:710:17: warning: too many arguments for format [-Wformat-extra-args] 710 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -9873,13 +10034,13 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:746:5: note: in expansion of macro 'test' 746 | test(msec, 250); | ^~~~ -[ 78%] Linking C executable test-hash-table /build/libcork-1.0.0~rc3/tests/test-core.c:710:17: warning: too many arguments for format [-Wformat-extra-args] 710 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-core.c:747:5: note: in expansion of macro 'test' 747 | test(usec, 250000); | ^~~~ +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-ring-buffer.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/test-core.c:710:17: warning: too many arguments for format [-Wformat-extra-args] 710 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -9892,7 +10053,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:751:5: note: in expansion of macro 'test' 751 | test(sec, TEST_TIME_1); | ^~~~ -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-hash-table.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/tests/test-core.c:709:43: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 709 | fail_unless(cork_timestamp_##unit(ts) == expected, \ | ^~ @@ -9929,14 +10089,12 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:758:5: note: in expansion of macro 'test' 758 | test(sec, TEST_TIME_1); | ^~~~ -[ 78%] Built target test-bitset /build/libcork-1.0.0~rc3/tests/test-core.c:709:43: warning: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 709 | fail_unless(cork_timestamp_##unit(ts) == expected, \ | ^~ /build/libcork-1.0.0~rc3/tests/test-core.c:759:5: note: in expansion of macro 'test' 759 | test(gsec, 1 << 31); | ^~~~ -[ 78%] Built target test-mempool /build/libcork-1.0.0~rc3/tests/test-core.c:710:17: warning: too many arguments for format [-Wformat-extra-args] 710 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -9949,7 +10107,6 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:760:5: note: in expansion of macro 'test' 760 | test(msec, 500); | ^~~~ -make -f tests/CMakeFiles/test-subprocess.dir/build.make tests/CMakeFiles/test-subprocess.dir/depend /build/libcork-1.0.0~rc3/tests/test-core.c:710:17: warning: too many arguments for format [-Wformat-extra-args] 710 | "Unexpected " #unit " portion of timestamp " \ | ^~~~~~~~~~~~~ @@ -10021,31 +10178,25 @@ /build/libcork-1.0.0~rc3/tests/test-core.c:829:39: warning: too many arguments for format [-Wformat-extra-args] 829 | fail_if(cork_uid_equal(id1, id2), "Unique IDs aren't unique"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -make -f tests/CMakeFiles/test-threads.dir/build.make tests/CMakeFiles/test-threads.dir/depend /build/libcork-1.0.0~rc3/tests/test-core.c:833:43: warning: too many arguments for format [-Wformat-extra-args] 833 | fail_unless(cork_uid_equal(id1, id2), "Unique ID isn't equal to itself"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-hash-table.dir/test-hash-table.c.o" -o test-hash-table -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 /build/libcork-1.0.0~rc3/tests/test-core.c:837:39: warning: too many arguments for format [-Wformat-extra-args] 837 | fail_if(cork_uid_equal(id1, id2), "NULL unique ID isn't unique"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-subprocess.dir/DependInfo.cmake" --color= /build/libcork-1.0.0~rc3/tests/test-core.c: In function 'main': /build/libcork-1.0.0~rc3/tests/test-core.c:898:10: warning: unused parameter 'argc' [-Wunused-parameter] 898 | main(int argc, const char **argv) | ~~~~^~~~ +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-dllist.dir/test-dllist.c.o" -o test-dllist -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 /build/libcork-1.0.0~rc3/tests/test-core.c:898:29: warning: unused parameter 'argv' [-Wunused-parameter] 898 | main(int argc, const char **argv) | ~~~~~~~~~~~~~^~~~ -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 79%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o -make -f tests/CMakeFiles/test-slice.dir/build.make tests/CMakeFiles/test-slice.dir/build -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-threads.dir/DependInfo.cmake" --color= -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 82%] Building C object src/CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-ring-buffer.dir/test-ring-buffer.c.o" -o test-ring-buffer -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT src/CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o -MF CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o.d -o CMakeFiles/cork-initializer.dir/cork-initializer/main.c.o -c "/build/libcork-1.0.0~rc3/src/cork-initializer/main.c" -[ 80%] Linking C executable test-ring-buffer +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-slice.dir/test-slice.c.o" -o test-slice -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' In file included from /build/libcork-1.0.0~rc3/tests/test-core.c:21: /build/libcork-1.0.0~rc3/include/libcork/core/hash.h: In function 'cork_big_hash_buffer': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:296:21: warning: this statement may fall through [-Wimplicit-fallthrough=] @@ -10216,8 +10367,6 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:356:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 356 | cork_murmur_hash_x64_128(seed, src, (unsigned int)len, &result); | ^~~~~~~~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-ring-buffer.dir/link.txt --verbose=1 /build/libcork-1.0.0~rc3/include/libcork/core/hash.h: In function 'cork_stable_hash_buffer': /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:120:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 120 | case 3: k1 ^= tail[2] << 16; @@ -10400,171 +10549,140 @@ /build/libcork-1.0.0~rc3/include/libcork/core/hash.h:340:5: note: in expansion of macro 'cork_murmur_hash_x64_128' 340 | cork_murmur_hash_x64_128(big_seed, src, (unsigned int)len, &hash); | ^~~~~~~~~~~~~~~~~~~~~~~~ +[ 82%] Built target cork-hash +make -f tests/CMakeFiles/test-subprocess.dir/build.make tests/CMakeFiles/test-subprocess.dir/depend +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-subprocess.dir/DependInfo.cmake" --color= make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 82%] Linking C executable cork-test -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-threads.dir/build.make tests/CMakeFiles/test-threads.dir/build -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-test.dir/link.txt --verbose=1 +[ 82%] Built target test-mempool +make -f tests/CMakeFiles/test-threads.dir/build.make tests/CMakeFiles/test-threads.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-ring-buffer.dir/test-ring-buffer.c.o" -o test-ring-buffer -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 -[ 83%] Building C object tests/CMakeFiles/test-slice.dir/test-slice.c.o -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-slice.dir/test-slice.c.o -MF CMakeFiles/test-slice.dir/test-slice.c.o.d -o CMakeFiles/test-slice.dir/test-slice.c.o -c "/build/libcork-1.0.0~rc3/tests/test-slice.c" +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-threads.dir/DependInfo.cmake" --color= make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' /build/libcork-1.0.0~rc3/src/cork-initializer/main.c: In function 'main': /build/libcork-1.0.0~rc3/src/cork-initializer/main.c:11:10: warning: unused parameter 'argc' [-Wunused-parameter] 11 | main(int argc, char **argv) | ~~~~^~~~ -make -f tests/CMakeFiles/test-subprocess.dir/build.make tests/CMakeFiles/test-subprocess.dir/build /build/libcork-1.0.0~rc3/src/cork-initializer/main.c:11:23: warning: unused parameter 'argv' [-Wunused-parameter] 11 | main(int argc, char **argv) | ~~~~~~~^~~~ -[ 83%] Built target test-gc -[ 83%] Built target test-dllist +[ 83%] Linking C executable test-managed-buffer +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-managed-buffer.dir/link.txt --verbose=1 +make -f tests/CMakeFiles/test-subprocess.dir/build.make tests/CMakeFiles/test-subprocess.dir/build +[ 83%] Built target test-bitset make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/test-u128.dir/build.make tests/CMakeFiles/test-u128.dir/depend -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -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-1.0.0~rc3/obj-x86_64-linux-gnu/src" libcork.so.16.1.0 -[ 84%] Building C object tests/CMakeFiles/test-threads.dir/test-threads.c.o -[ 85%] Linking C executable test-files +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 83%] Built target test-gc make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-u128.dir/DependInfo.cmake" --color= -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-threads.dir/test-threads.c.o -MF CMakeFiles/test-threads.dir/test-threads.c.o.d -o CMakeFiles/test-threads.dir/test-threads.c.o -c "/build/libcork-1.0.0~rc3/tests/test-threads.c" -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-files.dir/link.txt --verbose=1 -[ 87%] Building C object tests/CMakeFiles/test-subprocess.dir/test-subprocess.c.o +make -f tests/CMakeFiles/test-threads.dir/build.make tests/CMakeFiles/test-threads.dir/build +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-managed-buffer.dir/test-managed-buffer.c.o" -o test-managed-buffer -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 84%] Building C object tests/CMakeFiles/test-subprocess.dir/test-subprocess.c.o cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-subprocess.dir/test-subprocess.c.o -MF CMakeFiles/test-subprocess.dir/test-subprocess.c.o.d -o CMakeFiles/test-subprocess.dir/test-subprocess.c.o -c "/build/libcork-1.0.0~rc3/tests/test-subprocess.c" -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-files.dir/test-files.c.o" -o test-files -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-u128.dir/build.make tests/CMakeFiles/test-u128.dir/build -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 87%] Built target test-hash-table -[ 88%] Linking C executable cork-initializer -[ 89%] Building C object tests/CMakeFiles/test-u128.dir/test-u128.c.o make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 85%] Linking C executable cork-initializer +[ 87%] Linking C executable test-files cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-initializer.dir/link.txt --verbose=1 -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-u128.dir/test-u128.c.o -MF CMakeFiles/test-u128.dir/test-u128.c.o.d -o CMakeFiles/test-u128.dir/test-u128.c.o -c "/build/libcork-1.0.0~rc3/tests/test-u128.c" -[ 91%] Linking C executable test-buffer -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-buffer.dir/link.txt --verbose=1 make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-files.dir/link.txt --verbose=1 +[ 88%] Building C object tests/CMakeFiles/test-threads.dir/test-threads.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-threads.dir/test-threads.c.o -MF CMakeFiles/test-threads.dir/test-threads.c.o.d -o CMakeFiles/test-threads.dir/test-threads.c.o -c "/build/libcork-1.0.0~rc3/tests/test-threads.c" +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 88%] Built target test-dllist +make -f tests/CMakeFiles/test-u128.dir/build.make tests/CMakeFiles/test-u128.dir/build +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' /usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -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-1.0.0~rc3/obj-x86_64-linux-gnu/src" libcork.so.16.1.0 +[ 88%] Built target test-ring-buffer +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-files.dir/test-files.c.o" -o test-files -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 +[ 88%] Built target test-slice +[ 89%] Linking C executable test-hash-table +[ 91%] Linking C executable cork-test +[ 92%] Linking C executable test-buffer +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-hash-table.dir/link.txt --verbose=1 +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-buffer.dir/link.txt --verbose=1 +[ 93%] Building C object tests/CMakeFiles/test-u128.dir/test-u128.c.o +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" && /usr/bin/cmake -E cmake_link_script CMakeFiles/cork-test.dir/link.txt --verbose=1 +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cc -I"/build/libcork-1.0.0~rc3/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/include" -I"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -Wextra -MD -MT tests/CMakeFiles/test-u128.dir/test-u128.c.o -MF CMakeFiles/test-u128.dir/test-u128.c.o.d -o CMakeFiles/test-u128.dir/test-u128.c.o -c "/build/libcork-1.0.0~rc3/tests/test-u128.c" /usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-buffer.dir/test-buffer.c.o" -o test-buffer -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 -[ 91%] Built target test-ring-buffer -In file included from /build/libcork-1.0.0~rc3/tests/test-slice.c:14: -/build/libcork-1.0.0~rc3/tests/test-slice.c: In function 'test_static_slice_fn': -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:36:5: note: in expansion of macro 'fail_if_error' - 36 | fail_if_error(cork_slice_copy_offset(&advanced, &slice, 0)); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:37:5: note: in expansion of macro 'fail_if_error' - 37 | fail_if_error(original = cork_slice_advance(&advanced, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:39:17: warning: too many arguments for format [-Wformat-extra-args] - 39 | "Advance should return original buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:40:5: note: in expansion of macro 'fail_if_error' - 40 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:41:5: note: in expansion of macro 'fail_if_error' - 41 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:42:5: note: in expansion of macro 'fail_if_error' - 42 | fail_if_error(cork_slice_slice(&slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:43:51: warning: too many arguments for format [-Wformat-extra-args] - 43 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:44:52: warning: too many arguments for format [-Wformat-extra-args] - 44 | fail_unless(cork_slice_equal(&slice, &lcopy1), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c: In function 'test_copy_once_slice_fn': -/build/libcork-1.0.0~rc3/tests/test-slice.c:70:35: warning: too many arguments for format [-Wformat-extra-args] - 70 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:72:5: note: in expansion of macro 'fail_if_error' - 72 | fail_if_error(cork_slice_light_copy(&lcopy1, &slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:75:35: warning: too many arguments for format [-Wformat-extra-args] - 75 | fail_unless(slice.buf == SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:76:46: warning: too many arguments for format [-Wformat-extra-args] - 76 | fail_unless(slice.buf + 8 == lcopy1.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-hash-table.dir/test-hash-table.c.o" -o test-hash-table -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 +/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -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-1.0.0~rc3/obj-x86_64-linux-gnu/src" libcork.so.16.1.0 +[ 93%] Built target test-managed-buffer +reading sources... [ 41%] files +In file included from /build/libcork-1.0.0~rc3/tests/test-subprocess.c:16: +/build/libcork-1.0.0~rc3/tests/test-subprocess.c: In function 'verify_consumer__eof': +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-subprocess.c: In function 'test_subprocesses_': /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:78:5: note: in expansion of macro 'fail_if_error' - 78 | fail_if_error(cork_slice_copy(©1, &slice, 8, 4)); - | ^~~~~~~~~~~~~ -[ 92%] Linking C executable test-managed-buffer +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:79:5: note: in expansion of macro 'fail_if_error' - 79 | fail_if_error(cork_slice_slice(&slice, 8, 4)); - | ^~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:83:35: warning: too many arguments for format [-Wformat-extra-args] - 83 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:84:41: warning: too many arguments for format [-Wformat-extra-args] - 84 | fail_unless(slice.buf == copy1.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:87:51: warning: too many arguments for format [-Wformat-extra-args] - 87 | fail_unless(cork_slice_equal(&slice, ©1), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:91:5: note: in expansion of macro 'fail_if_error' - 91 | fail_if_error(cork_slice_light_copy(&lcopy2, &slice, 0, 4)); +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-slice.c:92:35: warning: too many arguments for format [-Wformat-extra-args] - 92 | fail_unless(slice.buf != SRC, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:93:42: warning: too many arguments for format [-Wformat-extra-args] - 93 | fail_unless(slice.buf == lcopy2.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:95:5: note: in expansion of macro 'fail_if_error' - 95 | fail_if_error(cork_slice_copy(©2, &slice, 0, 4)); +/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-slice.c:98:41: warning: too many arguments for format [-Wformat-extra-args] - 98 | fail_unless(slice.buf == copy2.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:99:41: warning: too many arguments for format [-Wformat-extra-args] - 99 | fail_unless(copy1.buf == copy2.buf, "Unexpected slice buffer"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:100:51: warning: too many arguments for format [-Wformat-extra-args] - 100 | fail_unless(cork_slice_equal(&slice, ©2), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:101:51: warning: too many arguments for format [-Wformat-extra-args] - 101 | fail_unless(cork_slice_equal(©1, ©2), "Slices should be equal"); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c: In function 'main': -/build/libcork-1.0.0~rc3/tests/test-slice.c:132:10: warning: unused parameter 'argc' [-Wunused-parameter] - 132 | main(int argc, const char **argv) +/build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] + 85 | "%s not equal (expected " format \ + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:158:9: note: in expansion of macro 'fail_unless_equal' + 158 | fail_unless_equal("Exit codes", "%d", + | ^~~~~~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-subprocess.c: At top level: +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:178:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 178 | }; + | ^ +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:183:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 183 | }; + | ^ +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:192:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 192 | }; + | ^ +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:197:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] + 197 | }; + | ^ +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here + 106 | struct cork_stream_consumer *verify_stdout; + | ^~~~~~~~~~~~~ +/build/libcork-1.0.0~rc3/tests/test-subprocess.c: In function 'main': +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:267:10: warning: unused parameter 'argc' [-Wunused-parameter] + 267 | main(int argc, const char **argv) | ~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-slice.c:132:29: warning: unused parameter 'argv' [-Wunused-parameter] - 132 | main(int argc, const char **argv) +/build/libcork-1.0.0~rc3/tests/test-subprocess.c:267:29: warning: unused parameter 'argv' [-Wunused-parameter] + 267 | main(int argc, const char **argv) | ~~~~~~~~~~~~~^~~~ -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-managed-buffer.dir/link.txt --verbose=1 +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' In file included from /build/libcork-1.0.0~rc3/tests/test-threads.c:15: /build/libcork-1.0.0~rc3/tests/test-threads.c: In function 'test_atomic_int_fn': @@ -10661,7 +10779,6 @@ /build/libcork-1.0.0~rc3/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ -reading sources... [ 45%] gc /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10707,7 +10824,6 @@ /build/libcork-1.0.0~rc3/tests/test-threads.c:65:1: note: in expansion of macro 'test_atomic' 65 | test_atomic(int, int, "%d"); | ^~~~~~~~~~~ -[ 92%] Built target cork-test /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -10754,6 +10870,7 @@ /build/libcork-1.0.0~rc3/tests/test-threads.c:66:1: note: in expansion of macro 'test_atomic' 66 | test_atomic(uint, unsigned int, "%u"); | ^~~~~~~~~~~ +[ 93%] Built target cork-initializer /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11128,6 +11245,7 @@ /build/libcork-1.0.0~rc3/tests/test-threads.c:67:1: note: in expansion of macro 'test_atomic' 67 | test_atomic(size, size_t, "%zu"); | ^~~~~~~~~~~ +[ 93%] Built target test-files /build/libcork-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] 85 | "%s not equal (expected " format \ | ^~~~~~~~~~~~~~~~~~~~~~~~~ @@ -11529,6 +11647,7 @@ /build/libcork-1.0.0~rc3/tests/test-threads.c:244:5: note: in expansion of macro 'fail_if_error' 244 | fail_if_error(cork_thread_start(t2)); | ^~~~~~~~~~~~~ +[ 93%] Built target cork-test /build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] 68 | fail("%s", cork_error_message()); \ | ^~~~ @@ -11622,66 +11741,15 @@ /build/libcork-1.0.0~rc3/tests/test-threads.c:320:29: warning: unused parameter 'argv' [-Wunused-parameter] 320 | main(int argc, const char **argv) | ~~~~~~~~~~~~~^~~~ -[ 92%] Built target test-files -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-managed-buffer.dir/test-managed-buffer.c.o" -o test-managed-buffer -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -In file included from /build/libcork-1.0.0~rc3/tests/test-subprocess.c:16: -/build/libcork-1.0.0~rc3/tests/test-subprocess.c: In function 'verify_consumer__eof': -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/test-subprocess.c: In function 'test_subprocesses_': -/build/libcork-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:68:18: warning: too many arguments for format [-Wformat-extra-args] - 68 | fail("%s", cork_error_message()); \ - | ^~~~ -/build/libcork-1.0.0~rc3/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-1.0.0~rc3/tests/helpers.h:85:18: warning: too many arguments for format [-Wformat-extra-args] - 85 | "%s not equal (expected " format \ - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:158:9: note: in expansion of macro 'fail_unless_equal' - 158 | fail_unless_equal("Exit codes", "%d", - | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-subprocess.c: At top level: In file included from /build/libcork-1.0.0~rc3/tests/test-u128.c:10: /build/libcork-1.0.0~rc3/tests/test-u128.c: In function 'test_one_u128_decimal': -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:178:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 178 | }; - | ^ -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-u128.c:28:5: note: in expansion of macro 'fail_unless_streq' 28 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:183:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 183 | }; - | ^ -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-u128.c: In function 'test_one_u128_hex': /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ @@ -11689,83 +11757,58 @@ /build/libcork-1.0.0~rc3/tests/test-u128.c:36:5: note: in expansion of macro 'fail_unless_streq' 36 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:192:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 192 | }; - | ^ -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-u128.c: In function 'test_one_u128_padded_hex': -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:197:1: warning: missing initializer for field 'verify_stdout' of 'struct spec' [-Wmissing-field-initializers] - 197 | }; - | ^ /build/libcork-1.0.0~rc3/tests/helpers.h:91:18: warning: too many arguments for format [-Wformat-extra-args] 91 | "%s not equal (expected \"%s\", got \"%s\")", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-u128.c:44:5: note: in expansion of macro 'fail_unless_streq' 44 | fail_unless_streq("Integers", expected, actual); | ^~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:106:35: note: 'verify_stdout' declared here - 106 | struct cork_stream_consumer *verify_stdout; - | ^~~~~~~~~~~~~ /build/libcork-1.0.0~rc3/tests/test-u128.c: In function 'check_shift_test': /build/libcork-1.0.0~rc3/tests/test-u128.c:176:14: warning: too many arguments for format [-Wformat-extra-args] 176 | fail("Unexpected shift error"); | ^~~~~~~~~~~~~~~~~~~~~~~~ -/build/libcork-1.0.0~rc3/tests/test-subprocess.c: In function 'main': -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:267:10: warning: unused parameter 'argc' [-Wunused-parameter] - 267 | main(int argc, const char **argv) - | ~~~~^~~~ -/build/libcork-1.0.0~rc3/tests/test-subprocess.c:267:29: warning: unused parameter 'argv' [-Wunused-parameter] - 267 | main(int argc, const char **argv) - | ~~~~~~~~~~~~~^~~~ -[ 92%] Built target cork-initializer -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 92%] Built target test-buffer make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 92%] Built target test-managed-buffer -[ 93%] Linking C executable test-slice -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-slice.dir/link.txt --verbose=1 -reading sources... [ 48%] hash-table -/usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-slice.dir/test-slice.c.o" -o test-slice -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 +[ 93%] Built target test-hash-table +[ 93%] Built target test-buffer [ 94%] Linking C executable test-subprocess cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-subprocess.dir/link.txt --verbose=1 -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' /usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-subprocess.dir/test-subprocess.c.o" -o test-subprocess -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 -[ 94%] Built target test-slice make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' [ 94%] Built target test-subprocess +reading sources... [ 45%] gc +reading sources... [ 48%] hash-table [ 96%] Linking C executable test-threads cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-threads.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-threads.dir/test-threads.c.o" -o test-threads -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 -reading sources... [ 51%] hash-values make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -reading sources... [ 54%] index [ 96%] Built target test-threads -reading sources... [ 58%] int128 -reading sources... [ 61%] managed-buffer -reading sources... [ 64%] mempool -reading sources... [ 67%] net-addresses +reading sources... [ 51%] hash-values [ 97%] Linking C executable test-array cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-array.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-array.dir/test-array.c.o" -o test-array -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 +reading sources... [ 54%] index +reading sources... [ 58%] int128 make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -reading sources... [ 70%] process [ 97%] Built target test-array -reading sources... [ 74%] ring-buffer -reading sources... [ 77%] slice [ 98%] Linking C executable test-core cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" && /usr/bin/cmake -E cmake_link_script CMakeFiles/test-core.dir/link.txt --verbose=1 -reading sources... [ 80%] stream +reading sources... [ 61%] managed-buffer /usr/bin/cc -g -O2 -ffile-prefix-map=/build/libcork-1.0.0~rc3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wl,-z,relro -Wl,-z,now -fPIC -rdynamic "CMakeFiles/test-core.dir/test-core.c.o" -o test-core -Wl,-rpath,"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" -lcheck_pic -lrt -lm -lsubunit ../src/libcork.so.16.1.0 make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' [ 98%] Built target test-core -reading sources... [ 83%] subprocess -reading sources... [ 87%] threads +reading sources... [ 64%] mempool +reading sources... [ 67%] net-addresses +reading sources... [ 70%] process +reading sources... [ 74%] ring-buffer +reading sources... [ 77%] slice /build/libcork-1.0.0~rc3/tests/test-u128.c: In function 'check_arithmetic_test': /build/libcork-1.0.0~rc3/tests/test-u128.c:255:14: warning: too many arguments for format [-Wformat-extra-args] 255 | fail("Unexpected arithmetic error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +reading sources... [ 80%] stream +reading sources... [ 83%] subprocess +reading sources... [ 87%] threads reading sources... [ 90%] timestamps reading sources... [ 93%] unique-ids reading sources... [ 96%] versions @@ -12576,12 +12619,12 @@ writing output... [ 35%] ds writing output... [ 38%] errors writing output... [ 41%] files -writing output... [ 45%] gc -writing output... [ 48%] hash-table /build/libcork-1.0.0~rc3/tests/test-u128.c: In function 'check_comparison_test': /build/libcork-1.0.0~rc3/tests/test-u128.c:331:14: warning: too many arguments for format [-Wformat-extra-args] 331 | fail("Unexpected comparison error"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +writing output... [ 45%] gc +writing output... [ 48%] hash-table writing output... [ 51%] hash-values writing output... [ 54%] index writing output... [ 58%] int128 @@ -12624,10 +12667,10 @@ /usr/bin/cmake -E cmake_progress_start "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/CMakeFiles" 0 make[1]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' dh_auto_test - cd obj-x86_64-linux-gnu && make -j15 test ARGS\+=--verbose ARGS\+=-j15 + cd obj-x86_64-linux-gnu && make -j16 test ARGS\+=--verbose ARGS\+=-j16 make[1]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' Running tests... -/usr/bin/ctest --force-new-ctest-process --verbose -j15 +/usr/bin/ctest --force-new-ctest-process --verbose -j16 UpdateCTestConfiguration from :/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/DartConfiguration.tcl UpdateCTestConfiguration from :/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/DartConfiguration.tcl Test project /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu @@ -12727,6 +12770,12 @@ 15: Test command: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/test-u128 15: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 15: Test timeout computed to be: 10000000 +test 16 + Start 16: cork-hash + +16: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-hash.t" +16: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests +16: Test timeout computed to be: 10000000 1: Running suite(s): array 1: --- test_array_int8_t_fn 1: --- test_array_int16_t_fn @@ -12938,102 +12987,106 @@ 13: Running suite(s): subprocess 13: --- test_subprocess_01_fn 13: --- test_subprocess_02_fn -13: --- test_subprocess_03_fn 14: Running suite(s): threads 14: --- test_atomic_int_fn 14: --- test_atomic_uint_fn 14: --- test_atomic_size_fn +14: --- test_atomic_ptr_fn +14: --- test_once_fn +14: --- test_once_recursive_fn +14: --- test_thread_ids_fn +15: Running suite(s): core +15: --- test_u128_print_fn +15: --- test_u128_shl_fn +15: --- test_u128_shr_fn 1/57 Test #1: test-array ....................... Passed 0.04 sec -test 16 - Start 16: cork-hash - -16: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-hash.t" -16: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests -16: Test timeout computed to be: 10000000 - 2/57 Test #3: test-buffer ...................... Passed 0.04 sec test 17 Start 17: cork-initializer 17: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-initializer.t" 17: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 17: Test timeout computed to be: 10000000 - 3/57 Test #4: test-core ........................ Passed 0.05 sec + 2/57 Test #3: test-buffer ...................... Passed 0.04 sec test 18 Start 18: cleanup 18: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/cleanup.t" 18: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 18: Test timeout computed to be: 10000000 - 4/57 Test #5: test-dllist ...................... Passed 0.05 sec + 3/57 Test #4: test-core ........................ Passed 0.05 sec test 19 Start 19: directory-watcher 19: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/directory-watcher.t" 19: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 19: Test timeout computed to be: 10000000 - 5/57 Test #6: test-files ....................... Passed 0.06 sec + 4/57 Test #5: test-dllist ...................... Passed 0.05 sec test 20 Start 20: help1-c1-s1 20: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help1-c1-s1.t" 20: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 20: Test timeout computed to be: 10000000 - 6/57 Test #7: test-gc .......................... Passed 0.07 sec + 5/57 Test #6: test-files ....................... Passed 0.05 sec test 21 Start 21: help1-c1-s2 21: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help1-c1-s2.t" 21: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 21: Test timeout computed to be: 10000000 - 7/57 Test #8: test-hash-table .................. Passed 0.08 sec + 6/57 Test #7: test-gc .......................... Passed 0.05 sec test 22 Start 22: help1-c1 22: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help1-c1.t" 22: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 22: Test timeout computed to be: 10000000 - 8/57 Test #9: test-managed-buffer .............. Passed 0.09 sec + 7/57 Test #8: test-hash-table .................. Passed 0.05 sec test 23 Start 23: help1-c2 23: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help1-c2.t" 23: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 23: Test timeout computed to be: 10000000 - 9/57 Test #10: test-mempool ..................... Passed 0.10 sec + 8/57 Test #9: test-managed-buffer .............. Passed 0.05 sec test 24 Start 24: help1-root 24: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help1-root.t" 24: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 24: Test timeout computed to be: 10000000 -10/57 Test #11: test-ring-buffer ................. Passed 0.11 sec + 9/57 Test #10: test-mempool ..................... Passed 0.07 sec test 25 Start 25: help2-c1-s1 25: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help2-c1-s1.t" 25: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 25: Test timeout computed to be: 10000000 -11/57 Test #12: test-slice ....................... Passed 0.11 sec +10/57 Test #11: test-ring-buffer ................. Passed 0.07 sec test 26 Start 26: help2-c1-s2 26: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help2-c1-s2.t" 26: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 26: Test timeout computed to be: 10000000 -13: --- test_subprocess_group_01_fn -13: --- test_subprocess_exit_code_01_fn -13: 100%: Checks: 5, Failures: 0, Errors: 0 -12/57 Test #13: test-subprocess .................. Passed 0.12 sec +11/57 Test #12: test-slice ....................... Passed 0.08 sec test 27 Start 27: help2-c1 27: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help2-c1.t" 27: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 27: Test timeout computed to be: 10000000 -14: --- test_atomic_ptr_fn -14: --- test_once_fn -14: --- test_once_recursive_fn -14: --- test_thread_ids_fn +13: --- test_subprocess_03_fn +13: --- test_subprocess_group_01_fn +13: --- test_subprocess_exit_code_01_fn +13: 100%: Checks: 5, Failures: 0, Errors: 0 +12/57 Test #13: test-subprocess .................. Passed 0.08 sec +test 28 + Start 28: help2-c2 + +28: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help2-c2.t" +28: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests +28: Test timeout computed to be: 10000000 14: --- test_threads_01_fn 14: --- test_threads_02_fn 14: --- test_threads_03_fn @@ -13041,17 +13094,13 @@ 14: --- test_threads_error_01_fn 14: [expected: Error from thread test: Cannot allocate memory] 14: 100%: Checks: 12, Failures: 0, Errors: 0 -13/57 Test #14: test-threads ..................... Passed 0.13 sec -test 28 - Start 28: help2-c2 +13/57 Test #14: test-threads ..................... Passed 0.10 sec +test 29 + Start 29: help2-root -28: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help2-c2.t" -28: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests -28: Test timeout computed to be: 10000000 -15: Running suite(s): core -15: --- test_u128_print_fn -15: --- test_u128_shl_fn -15: --- test_u128_shr_fn +29: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help2-root.t" +29: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests +29: Test timeout computed to be: 10000000 15: --- test_u128_add_fn 15: --- test_u128_sub_fn 15: --- test_u128_eq_fn @@ -13061,318 +13110,312 @@ 15: --- test_u128_gt_fn 15: --- test_u128_ge_fn 15: 100%: Checks: 11, Failures: 0, Errors: 0 -14/57 Test #15: test-u128 ........................ Passed 0.13 sec -test 29 - Start 29: help2-root - -29: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help2-root.t" -29: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests -29: Test timeout computed to be: 10000000 -18: . -18: # Ran 1 tests, 0 skipped, 0 failed. -17: . -17: # Ran 1 tests, 0 skipped, 0 failed. -16: . -16: # Ran 1 tests, 0 skipped, 0 failed. -15/57 Test #18: cleanup .......................... Passed 0.18 sec +14/57 Test #15: test-u128 ........................ Passed 0.11 sec test 30 Start 30: help3-c1-s1 30: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help3-c1-s1.t" 30: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 30: Test timeout computed to be: 10000000 -16/57 Test #17: cork-initializer ................. Passed 0.20 sec +18: . +18: # Ran 1 tests, 0 skipped, 0 failed. +22: . +22: # Ran 1 tests, 0 skipped, 0 failed. +21: . +21: # Ran 1 tests, 0 skipped, 0 failed. +15/57 Test #22: help1-c1 ......................... Passed 0.13 sec test 31 Start 31: help3-c1-s2 31: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help3-c1-s2.t" 31: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 31: Test timeout computed to be: 10000000 -17/57 Test #16: cork-hash ........................ Passed 0.23 sec +20: . +20: # Ran 1 tests, 0 skipped, 0 failed. +23: . +23: # Ran 1 tests, 0 skipped, 0 failed. +16/57 Test #18: cleanup .......................... Passed 0.16 sec test 32 Start 32: help3-c1 32: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help3-c1.t" 32: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 32: Test timeout computed to be: 10000000 -22: . -22: # Ran 1 tests, 0 skipped, 0 failed. -18/57 Test #22: help1-c1 ......................... Passed 0.23 sec +17/57 Test #21: help1-c1-s2 ...................... Passed 0.16 sec test 33 Start 33: help3-c2 33: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help3-c2.t" 33: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 33: Test timeout computed to be: 10000000 -25: . -25: # Ran 1 tests, 0 skipped, 0 failed. -20: . -20: # Ran 1 tests, 0 skipped, 0 failed. -28: . -28: # Ran 1 tests, 0 skipped, 0 failed. -21: . -21: # Ran 1 tests, 0 skipped, 0 failed. -19/57 Test #25: help2-c1-s1 ...................... Passed 0.23 sec +18/57 Test #20: help1-c1-s1 ...................... Passed 0.17 sec test 34 Start 34: help3-root 34: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/help3-root.t" 34: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 34: Test timeout computed to be: 10000000 -26: . -26: # Ran 1 tests, 0 skipped, 0 failed. -20/57 Test #20: help1-c1-s1 ...................... Passed 0.30 sec +19/57 Test #23: help1-c2 ......................... Passed 0.17 sec test 35 Start 35: no-command-c1 35: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/no-command-c1.t" 35: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 35: Test timeout computed to be: 10000000 -23: . -23: # Ran 1 tests, 0 skipped, 0 failed. -21/57 Test #28: help2-c2 ......................... Passed 0.22 sec +17: . +17: # Ran 1 tests, 0 skipped, 0 failed. +16: . +16: # Ran 1 tests, 0 skipped, 0 failed. +20/57 Test #16: cork-hash ........................ Passed 0.22 sec test 36 Start 36: no-command-root 36: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/no-command-root.t" 36: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 36: Test timeout computed to be: 10000000 -22/57 Test #21: help1-c1-s2 ...................... Passed 0.31 sec +25: . +25: # Ran 1 tests, 0 skipped, 0 failed. +26: . +26: # Ran 1 tests, 0 skipped, 0 failed. +21/57 Test #17: cork-initializer ................. Passed 0.23 sec test 37 Start 37: run-c1-s1-f-t 37: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-c1-s1-f-t.t" 37: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 37: Test timeout computed to be: 10000000 -24: . -24: # Ran 1 tests, 0 skipped, 0 failed. -23/57 Test #26: help2-c1-s2 ...................... Passed 0.26 sec +27: . +27: # Ran 1 tests, 0 skipped, 0 failed. +28: . +28: # Ran 1 tests, 0 skipped, 0 failed. +22/57 Test #25: help2-c1-s1 ...................... Passed 0.21 sec test 38 Start 38: run-c1-s1-f 38: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-c1-s1-f.t" 38: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 38: Test timeout computed to be: 10000000 -29: . -29: # Ran 1 tests, 0 skipped, 0 failed. -24/57 Test #23: help1-c2 ......................... Passed 0.30 sec +23/57 Test #26: help2-c1-s2 ...................... Passed 0.21 sec test 39 Start 39: run-c1-s1-t 39: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-c1-s1-t.t" 39: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 39: Test timeout computed to be: 10000000 -25/57 Test #24: help1-root ....................... Passed 0.31 sec +24/57 Test #27: help2-c1 ......................... Passed 0.21 sec test 40 Start 40: run-c1-s1-test 40: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-c1-s1-test.t" 40: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 40: Test timeout computed to be: 10000000 -26/57 Test #29: help2-root ....................... Passed 0.28 sec +30: . +30: # Ran 1 tests, 0 skipped, 0 failed. +25/57 Test #28: help2-c2 ......................... Passed 0.22 sec test 41 Start 41: run-c1-s1 41: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-c1-s1.t" 41: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 41: Test timeout computed to be: 10000000 -27: . -27: # Ran 1 tests, 0 skipped, 0 failed. -30: . -30: # Ran 1 tests, 0 skipped, 0 failed. -32: . -32: # Ran 1 tests, 0 skipped, 0 failed. -27/57 Test #27: help2-c1 ......................... Passed 0.35 sec +24: . +24: # Ran 1 tests, 0 skipped, 0 failed. +31: . +31: # Ran 1 tests, 0 skipped, 0 failed. +26/57 Test #30: help3-c1-s1 ...................... Passed 0.21 sec test 42 Start 42: run-c1-s2-f 42: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-c1-s2-f.t" 42: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 42: Test timeout computed to be: 10000000 -28/57 Test #30: help3-c1-s1 ...................... Passed 0.28 sec +27/57 Test #24: help1-root ....................... Passed 0.30 sec test 43 Start 43: run-c1-s2-file 43: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-c1-s2-file.t" 43: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 43: Test timeout computed to be: 10000000 -29/57 Test #32: help3-c1 ......................... Passed 0.26 sec +19: . +19: # Ran 1 tests, 0 skipped, 0 failed. +33: . +33: # Ran 1 tests, 0 skipped, 0 failed. +28/57 Test #31: help3-c1-s2 ...................... Passed 0.18 sec test 44 Start 44: run-c1-s2 44: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-c1-s2.t" 44: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 44: Test timeout computed to be: 10000000 -19: . -19: # Ran 1 tests, 0 skipped, 0 failed. -31: . -31: # Ran 1 tests, 0 skipped, 0 failed. -30/57 Test #19: directory-watcher ................ Passed 0.51 sec +29: . +29: # Ran 1 tests, 0 skipped, 0 failed. +34: . +34: # Ran 1 tests, 0 skipped, 0 failed. +29/57 Test #33: help3-c2 ......................... Passed 0.18 sec test 45 Start 45: run-c2 45: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-c2.t" 45: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 45: Test timeout computed to be: 10000000 -39: . -39: # Ran 1 tests, 0 skipped, 0 failed. -34: . -34: # Ran 1 tests, 0 skipped, 0 failed. -36: . -36: # Ran 1 tests, 0 skipped, 0 failed. -31/57 Test #31: help3-c1-s2 ...................... Passed 0.34 sec +35: . +35: # Ran 1 tests, 0 skipped, 0 failed. +30/57 Test #19: directory-watcher ................ Passed 0.35 sec test 46 Start 46: run-find-01 46: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-find-01.t" 46: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 46: Test timeout computed to be: 10000000 -33: . -33: # Ran 1 tests, 0 skipped, 0 failed. -35: . -35: # Ran 1 tests, 0 skipped, 0 failed. -32/57 Test #36: no-command-root .................. Passed 0.23 sec +31/57 Test #29: help2-root ....................... Passed 0.28 sec test 47 Start 47: run-find-all-01 47: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-find-all-01.t" 47: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 47: Test timeout computed to be: 10000000 -33/57 Test #39: run-c1-s1-t ...................... Passed 0.21 sec +32/57 Test #34: help3-root ....................... Passed 0.20 sec test 48 Start 48: run-mkdir-01 48: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-mkdir-01.t" 48: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 48: Test timeout computed to be: 10000000 -34/57 Test #34: help3-root ....................... Passed 0.28 sec +32: . +32: # Ran 1 tests, 0 skipped, 0 failed. +37: . +37: # Ran 1 tests, 0 skipped, 0 failed. +38: . +38: # Ran 1 tests, 0 skipped, 0 failed. +33/57 Test #35: no-command-c1 .................... Passed 0.19 sec test 49 Start 49: run-paths-01 49: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-paths-01.t" 49: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 49: Test timeout computed to be: 10000000 -35/57 Test #33: help3-c2 ......................... Passed 0.32 sec +36: . +36: # Ran 1 tests, 0 skipped, 0 failed. +34/57 Test #32: help3-c1 ......................... Passed 0.25 sec test 50 Start 50: run-pwd-01 50: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-pwd-01.t" 50: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 50: Test timeout computed to be: 10000000 -37: . -37: # Ran 1 tests, 0 skipped, 0 failed. -36/57 Test #35: no-command-c1 .................... Passed 0.29 sec +35/57 Test #37: run-c1-s1-f-t .................... Passed 0.18 sec test 51 Start 51: run-rm-01 51: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-rm-01.t" 51: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 51: Test timeout computed to be: 10000000 -38: . -38: # Ran 1 tests, 0 skipped, 0 failed. -40: . -40: # Ran 1 tests, 0 skipped, 0 failed. -37/57 Test #37: run-c1-s1-f-t .................... Passed 0.30 sec +36/57 Test #36: no-command-root .................. Passed 0.21 sec test 52 Start 52: run-sub-01 52: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-sub-01.t" 52: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 52: Test timeout computed to be: 10000000 -41: . -41: # Ran 1 tests, 0 skipped, 0 failed. -38/57 Test #38: run-c1-s1-f ...................... Passed 0.31 sec +37/57 Test #38: run-c1-s1-f ...................... Passed 0.18 sec test 53 Start 53: run-sub-02 53: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-sub-02.t" 53: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 53: Test timeout computed to be: 10000000 -43: . -43: # Ran 1 tests, 0 skipped, 0 failed. -39/57 Test #40: run-c1-s1-test ................... Passed 0.28 sec +40: . +40: # Ran 1 tests, 0 skipped, 0 failed. +39: . +39: # Ran 1 tests, 0 skipped, 0 failed. +41: . +41: # Ran 1 tests, 0 skipped, 0 failed. +38/57 Test #40: run-c1-s1-test ................... Passed 0.21 sec test 54 Start 54: run-sub-03 54: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-sub-03.t" 54: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 54: Test timeout computed to be: 10000000 -44: . -44: # Ran 1 tests, 0 skipped, 0 failed. -40/57 Test #41: run-c1-s1 ........................ Passed 0.29 sec +39/57 Test #41: run-c1-s1 ........................ Passed 0.20 sec test 55 Start 55: run-sub-04 55: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-sub-04.t" 55: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 55: Test timeout computed to be: 10000000 +44: . +44: # Ran 1 tests, 0 skipped, 0 failed. +43: . +43: # Ran 1 tests, 0 skipped, 0 failed. 42: . 42: # Ran 1 tests, 0 skipped, 0 failed. -41/57 Test #43: run-c1-s2-file ................... Passed 0.23 sec +40/57 Test #39: run-c1-s1-t ...................... Passed 0.24 sec test 56 Start 56: run-sub-05 56: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-sub-05.t" 56: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 56: Test timeout computed to be: 10000000 -42/57 Test #44: run-c1-s2 ........................ Passed 0.23 sec +41/57 Test #44: run-c1-s2 ........................ Passed 0.17 sec test 57 Start 57: run-sub-06 57: Test command: /usr/bin/cmake "-E" "chdir" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/ccram" "--python" "/usr/bin/python3" "--root" "/build/libcork-1.0.0~rc3" "--build" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "--cram" "cram3" "--tests" "/build/libcork-1.0.0~rc3/tests/cork-test/run-sub-06.t" 57: Working Directory: /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests 57: Test timeout computed to be: 10000000 -43/57 Test #42: run-c1-s2-f ...................... Passed 0.28 sec 45: . 45: # Ran 1 tests, 0 skipped, 0 failed. +42/57 Test #43: run-c1-s2-file ................... Passed 0.20 sec +43/57 Test #45: run-c2 ........................... Passed 0.17 sec +44/57 Test #42: run-c1-s2-f ...................... Passed 0.22 sec 46: . 46: # Ran 1 tests, 0 skipped, 0 failed. -52: . -52: # Ran 1 tests, 0 skipped, 0 failed. -44/57 Test #45: run-c2 ........................... Passed 0.30 sec -45/57 Test #46: run-find-01 ...................... Passed 0.29 sec -47: . -47: # Ran 1 tests, 0 skipped, 0 failed. -56: . -56: # Ran 1 tests, 0 skipped, 0 failed. +50: . +50: # Ran 1 tests, 0 skipped, 0 failed. 49: . 49: # Ran 1 tests, 0 skipped, 0 failed. -46/57 Test #52: run-sub-01 ....................... Passed 0.21 sec -47/57 Test #56: run-sub-05 ....................... Passed 0.17 sec -48/57 Test #47: run-find-all-01 .................. Passed 0.30 sec +47: . +47: # Ran 1 tests, 0 skipped, 0 failed. +45/57 Test #46: run-find-01 ...................... Passed 0.21 sec +46/57 Test #50: run-pwd-01 ....................... Passed 0.17 sec +47/57 Test #49: run-paths-01 ..................... Passed 0.19 sec +48: . +48: # Ran 1 tests, 0 skipped, 0 failed. +48/57 Test #47: run-find-all-01 .................. Passed 0.22 sec +51: . +51: # Ran 1 tests, 0 skipped, 0 failed. 53: . 53: # Ran 1 tests, 0 skipped, 0 failed. -50: . -50: # Ran 1 tests, 0 skipped, 0 failed. -49/57 Test #49: run-paths-01 ..................... Passed 0.29 sec +52: . +52: # Ran 1 tests, 0 skipped, 0 failed. +49/57 Test #48: run-mkdir-01 ..................... Passed 0.23 sec 55: . 55: # Ran 1 tests, 0 skipped, 0 failed. -50/57 Test #53: run-sub-02 ....................... Passed 0.24 sec +50/57 Test #51: run-rm-01 ........................ Passed 0.21 sec 54: . 54: # Ran 1 tests, 0 skipped, 0 failed. -51/57 Test #50: run-pwd-01 ....................... Passed 0.30 sec -51: . -51: # Ran 1 tests, 0 skipped, 0 failed. -52/57 Test #55: run-sub-04 ....................... Passed 0.22 sec +51/57 Test #53: run-sub-02 ....................... Passed 0.19 sec +52/57 Test #52: run-sub-01 ....................... Passed 0.21 sec +53/57 Test #55: run-sub-04 ....................... Passed 0.15 sec +54/57 Test #54: run-sub-03 ....................... Passed 0.16 sec 57: . 57: # Ran 1 tests, 0 skipped, 0 failed. -48: . -48: # Ran 1 tests, 0 skipped, 0 failed. -53/57 Test #54: run-sub-03 ....................... Passed 0.25 sec -54/57 Test #51: run-rm-01 ........................ Passed 0.31 sec -55/57 Test #57: run-sub-06 ....................... Passed 0.23 sec -56/57 Test #48: run-mkdir-01 ..................... Passed 0.36 sec +56: . +56: # Ran 1 tests, 0 skipped, 0 failed. +55/57 Test #57: run-sub-06 ....................... Passed 0.14 sec +56/57 Test #56: run-sub-05 ....................... Passed 0.15 sec 2: 100%: Checks: 1, Failures: 0, Errors: 0 -57/57 Test #2: test-bitset ...................... Passed 2.52 sec +57/57 Test #2: test-bitset ...................... Passed 2.15 sec 100% tests passed, 0 tests failed out of 57 -Total Test time (real) = 2.52 sec +Total Test time (real) = 2.15 sec make[1]: Leaving directory '/build/libcork-1.0.0~rc3/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-1.0.0\~rc3/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + cd obj-x86_64-linux-gnu && make -j16 install DESTDIR=/build/libcork-1.0.0\~rc3/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' /usr/bin/cmake -S"/build/libcork-1.0.0~rc3" -B"/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/CMakeFiles" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu//CMakeFiles/progress.marks" @@ -13383,172 +13426,185 @@ make -f tests/CMakeFiles/u128-test-eq.dir/build.make tests/CMakeFiles/u128-test-eq.dir/depend make -f tests/CMakeFiles/u128-test-ne.dir/build.make tests/CMakeFiles/u128-test-ne.dir/depend make -f tests/CMakeFiles/u128-test-lt.dir/build.make tests/CMakeFiles/u128-test-lt.dir/depend +make -f tests/CMakeFiles/u128-test-le.dir/build.make tests/CMakeFiles/u128-test-le.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-sub.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/u128-test-gt.dir/build.make tests/CMakeFiles/u128-test-gt.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/libcork-shared.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/u128-test-le.dir/build.make tests/CMakeFiles/u128-test-le.dir/depend +make -f tests/CMakeFiles/u128-test-ge.dir/build.make tests/CMakeFiles/u128-test-ge.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-eq.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/u128-test-gt.dir/build.make tests/CMakeFiles/u128-test-gt.dir/depend +make -f tests/CMakeFiles/u128-test-shl.dir/build.make tests/CMakeFiles/u128-test-shl.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-ne.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/u128-test-ge.dir/build.make tests/CMakeFiles/u128-test-ge.dir/depend +make -f tests/CMakeFiles/u128-test-shr.dir/build.make tests/CMakeFiles/u128-test-shr.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-lt.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-le.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-gt.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/u128-test-shl.dir/build.make tests/CMakeFiles/u128-test-shl.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-ge.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/u128-test-shr.dir/build.make tests/CMakeFiles/u128-test-shr.dir/depend -make -f tests/CMakeFiles/u128-test-add.dir/build.make tests/CMakeFiles/u128-test-add.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-shl.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-shr.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/u128-test-add.dir/build.make tests/CMakeFiles/u128-test-add.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-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-add.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/docs/old" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old/CMakeFiles/old-doc.dir/DependInfo.cmake" --color= make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-le.dir/build.make tests/CMakeFiles/u128-test-le.dir/build +make -f tests/CMakeFiles/u128-test-eq.dir/build.make tests/CMakeFiles/u128-test-eq.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-gt.dir/build.make tests/CMakeFiles/u128-test-gt.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-sub.dir/build.make tests/CMakeFiles/u128-test-sub.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-le.dir/build.make tests/CMakeFiles/u128-test-le.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-ge.dir/build.make tests/CMakeFiles/u128-test-ge.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-le.dir/build'. -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-sub.dir/build.make tests/CMakeFiles/u128-test-sub.dir/build -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-gt.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-eq.dir/build.make tests/CMakeFiles/u128-test-eq.dir/build -make -f tests/CMakeFiles/u128-test-ne.dir/build.make tests/CMakeFiles/u128-test-ne.dir/build -make -f tests/CMakeFiles/u128-test-lt.dir/build.make tests/CMakeFiles/u128-test-lt.dir/build -make -f tests/CMakeFiles/u128-test-gt.dir/build.make tests/CMakeFiles/u128-test-gt.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-sub.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-eq.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/u128-test-shl.dir/build.make tests/CMakeFiles/u128-test-shl.dir/build -make -f tests/CMakeFiles/u128-test-add.dir/build.make tests/CMakeFiles/u128-test-add.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-eq.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-sub.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-ne.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-le.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-lt.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-gt.dir/build'. +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-shr.dir/build.make tests/CMakeFiles/u128-test-shr.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-shl.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-add.dir/build'. -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-ge.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-ge.dir/build.make tests/CMakeFiles/u128-test-ge.dir/build +make -f tests/CMakeFiles/u128-test-add.dir/build.make tests/CMakeFiles/u128-test-add.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-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-ge.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-shr.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-shr.dir/build.make tests/CMakeFiles/u128-test-shr.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 2%] Built target u128-test-le -[ 2%] Built target u128-test-sub +make -f tests/CMakeFiles/u128-test-ne.dir/build.make tests/CMakeFiles/u128-test-ne.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-shr.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-add.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 3%] Built target u128-test-eq -[ 5%] Built target u128-test-ne -make -f src/CMakeFiles/libcork-shared.dir/build.make src/CMakeFiles/libcork-shared.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-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 6%] Built target u128-test-gt -[ 7%] Built target u128-test-lt +make -f tests/CMakeFiles/u128-test-lt.dir/build.make tests/CMakeFiles/u128-test-lt.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'src/CMakeFiles/libcork-shared.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-ne.dir/build'. +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-lt.dir/build'. +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 1%] Built target u128-test-gt +[ 3%] Built target u128-test-shl +[ 3%] Built target u128-test-eq +[ 5%] Built target u128-test-sub make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 8%] Built target u128-test-shl +[ 6%] Built target u128-test-le +[ 7%] Built target u128-test-shr +[ 10%] Built target u128-test-ge [ 10%] Building HTML documentation with Sphinx [ 11%] Built target u128-test-add +[ 12%] Built target u128-test-ne +make -f src/CMakeFiles/libcork-shared.dir/build.make src/CMakeFiles/libcork-shared.dir/build cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old" && /usr/bin/sphinx-build -b html -d /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old/_doctrees -c /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old /build/libcork-1.0.0~rc3/docs/old /build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/docs/old/html -[ 12%] Built target u128-test-ge -[ 14%] Built target u128-test-shr +[ 14%] Built target u128-test-lt make -f tests/CMakeFiles/u128-test-suite.dir/build.make tests/CMakeFiles/u128-test-suite.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/u128-test-suite.dir/DependInfo.cmake" --color= +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'src/CMakeFiles/libcork-shared.dir/build'. +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' [ 51%] Built target libcork-shared make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/depend make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/depend make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/depend +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/u128-test-suite.dir/build.make tests/CMakeFiles/u128-test-suite.dir/build +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/DependInfo.cmake" --color= make -f tests/CMakeFiles/test-array.dir/build.make tests/CMakeFiles/test-array.dir/depend +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/DependInfo.cmake" --color= make -f tests/CMakeFiles/test-bitset.dir/build.make tests/CMakeFiles/test-bitset.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/cork-hash.dir/DependInfo.cmake" --color= +make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-suite.dir/build'. +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/test-buffer.dir/build.make tests/CMakeFiles/test-buffer.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/cork-initializer.dir/DependInfo.cmake" --color= +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/DependInfo.cmake" --color= make -f tests/CMakeFiles/test-core.dir/build.make tests/CMakeFiles/test-core.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-array.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/src/CMakeFiles/cork-test.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/test-dllist.dir/build.make tests/CMakeFiles/test-dllist.dir/depend -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-bitset.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-buffer.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/test-dllist.dir/build.make tests/CMakeFiles/test-dllist.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-core.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/test-files.dir/build.make tests/CMakeFiles/test-files.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-dllist.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/test-files.dir/build.make tests/CMakeFiles/test-files.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-files.dir/DependInfo.cmake" --color= make -f tests/CMakeFiles/test-gc.dir/build.make tests/CMakeFiles/test-gc.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-gc.dir/DependInfo.cmake" --color= -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/test-hash-table.dir/build.make tests/CMakeFiles/test-hash-table.dir/depend -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/u128-test-suite.dir/build.make tests/CMakeFiles/u128-test-suite.dir/build +[ 51%] Built target u128-test-suite make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-hash-table.dir/DependInfo.cmake" --color= +make -f tests/CMakeFiles/test-managed-buffer.dir/build.make tests/CMakeFiles/test-managed-buffer.dir/depend +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/u128-test-suite.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f src/CMakeFiles/cork-hash.dir/build.make src/CMakeFiles/cork-hash.dir/build make -f src/CMakeFiles/cork-initializer.dir/build.make src/CMakeFiles/cork-initializer.dir/build +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f src/CMakeFiles/cork-test.dir/build.make src/CMakeFiles/cork-test.dir/build make -f tests/CMakeFiles/test-array.dir/build.make tests/CMakeFiles/test-array.dir/build make -f tests/CMakeFiles/test-bitset.dir/build.make tests/CMakeFiles/test-bitset.dir/build +make -f tests/CMakeFiles/test-buffer.dir/build.make tests/CMakeFiles/test-buffer.dir/build +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-managed-buffer.dir/DependInfo.cmake" --color= make -f tests/CMakeFiles/test-core.dir/build.make tests/CMakeFiles/test-core.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'src/CMakeFiles/cork-hash.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-dllist.dir/build.make tests/CMakeFiles/test-dllist.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'src/CMakeFiles/cork-test.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-files.dir/build.make tests/CMakeFiles/test-files.dir/build +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'src/CMakeFiles/cork-initializer.dir/build'. +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/test-array.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'src/CMakeFiles/cork-initializer.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/test-buffer.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/test-bitset.dir/build'. @@ -13556,106 +13612,93 @@ make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/test-core.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-buffer.dir/build.make tests/CMakeFiles/test-buffer.dir/build -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/test-buffer.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/test-files.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-dllist.dir/build.make tests/CMakeFiles/test-dllist.dir/build -[ 51%] Built target u128-test-suite -[ 53%] Built target cork-hash make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/test-dllist.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-files.dir/build.make tests/CMakeFiles/test-files.dir/build -[ 58%] Built target cork-initializer -make -f tests/CMakeFiles/test-gc.dir/build.make tests/CMakeFiles/test-gc.dir/build -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/test-files.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-hash-table.dir/build.make tests/CMakeFiles/test-hash-table.dir/build +make -f tests/CMakeFiles/test-gc.dir/build.make tests/CMakeFiles/test-gc.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/test-gc.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/test-hash-table.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 61%] Built target cork-test -make -f tests/CMakeFiles/test-managed-buffer.dir/build.make tests/CMakeFiles/test-managed-buffer.dir/depend make -f tests/CMakeFiles/test-mempool.dir/build.make tests/CMakeFiles/test-mempool.dir/depend -[ 66%] Built target test-buffer -[ 66%] Built target test-array make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-managed-buffer.dir/DependInfo.cmake" --color= -[ 69%] Built target test-files +cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-mempool.dir/DependInfo.cmake" --color= +[ 53%] Built target cork-hash +make -f tests/CMakeFiles/test-hash-table.dir/build.make tests/CMakeFiles/test-hash-table.dir/build +[ 56%] Built target test-array +[ 61%] Built target cork-initializer +[ 64%] Built target test-bitset +[ 66%] Built target cork-test +[ 69%] Built target test-buffer make -f tests/CMakeFiles/test-ring-buffer.dir/build.make tests/CMakeFiles/test-ring-buffer.dir/depend -[ 71%] Built target test-dllist make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-mempool.dir/DependInfo.cmake" --color= -[ 74%] Built target test-bitset +make[3]: Nothing to be done for 'tests/CMakeFiles/test-hash-table.dir/build'. +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 71%] Built target test-dllist make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-ring-buffer.dir/DependInfo.cmake" --color= -[ 76%] Built target test-core -[ 79%] Built target test-gc +[ 74%] Built target test-core +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-managed-buffer.dir/build.make tests/CMakeFiles/test-managed-buffer.dir/build make -f tests/CMakeFiles/test-slice.dir/build.make tests/CMakeFiles/test-slice.dir/depend make -f tests/CMakeFiles/test-subprocess.dir/build.make tests/CMakeFiles/test-subprocess.dir/depend +make -f tests/CMakeFiles/test-threads.dir/build.make tests/CMakeFiles/test-threads.dir/depend +make -f tests/CMakeFiles/test-u128.dir/build.make tests/CMakeFiles/test-u128.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-slice.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/test-threads.dir/build.make tests/CMakeFiles/test-threads.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-subprocess.dir/DependInfo.cmake" --color= -make -f tests/CMakeFiles/test-u128.dir/build.make tests/CMakeFiles/test-u128.dir/depend make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-threads.dir/DependInfo.cmake" --color= make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' cd "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" && /usr/bin/cmake -E cmake_depends "Unix Makefiles" "/build/libcork-1.0.0~rc3" "/build/libcork-1.0.0~rc3/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests" "/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu/tests/CMakeFiles/test-u128.dir/DependInfo.cmake" --color= -[ 82%] Built target test-hash-table -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-ring-buffer.dir/build.make tests/CMakeFiles/test-ring-buffer.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/test-ring-buffer.dir/build'. -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/test-managed-buffer.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-managed-buffer.dir/build.make tests/CMakeFiles/test-managed-buffer.dir/build +[ 76%] Built target test-files +[ 79%] Built target test-gc make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/test-mempool.dir/build.make tests/CMakeFiles/test-mempool.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/test-managed-buffer.dir/build'. -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make -f tests/CMakeFiles/test-subprocess.dir/build.make tests/CMakeFiles/test-subprocess.dir/build -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/test-mempool.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/test-subprocess.dir/build'. -make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 82%] Built target test-hash-table +[ 84%] Built target test-managed-buffer make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-subprocess.dir/build.make tests/CMakeFiles/test-subprocess.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/test-u128.dir/build.make tests/CMakeFiles/test-u128.dir/build make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-threads.dir/build.make tests/CMakeFiles/test-threads.dir/build +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make -f tests/CMakeFiles/test-ring-buffer.dir/build.make tests/CMakeFiles/test-ring-buffer.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/test-subprocess.dir/build'. +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make -f tests/CMakeFiles/test-slice.dir/build.make tests/CMakeFiles/test-slice.dir/build +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Nothing to be done for 'tests/CMakeFiles/test-u128.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 84%] Built target test-ring-buffer -make -f tests/CMakeFiles/test-threads.dir/build.make tests/CMakeFiles/test-threads.dir/build make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/test-slice.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/test-threads.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -make[3]: Nothing to be done for 'tests/CMakeFiles/test-threads.dir/build'. +make[3]: Nothing to be done for 'tests/CMakeFiles/test-ring-buffer.dir/build'. make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' -[ 87%] Built target test-managed-buffer -[ 89%] Built target test-mempool -[ 92%] Built target test-subprocess -[ 94%] Built target test-u128 -[ 97%] Built target test-slice +make[3]: Entering directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +make[3]: Nothing to be done for 'tests/CMakeFiles/test-slice.dir/build'. +make[3]: Leaving directory '/build/libcork-1.0.0~rc3/obj-x86_64-linux-gnu' +[ 87%] Built target test-mempool +[ 89%] Built target test-subprocess +[ 92%] Built target test-u128 +[ 94%] Built target test-slice [100%] Built target test-threads +[100%] Built target test-ring-buffer Running Sphinx v5.3.0 loading pickled environment... done building [mo]: targets for 0 po files that are out of date @@ -13868,8 +13911,8 @@ dh_builddeb dpkg-deb: building package 'libcork-dev' in '../libcork-dev_1.0.0~rc3-3_amd64.deb'. dpkg-deb: building package 'libcork16' in '../libcork16_1.0.0~rc3-3_amd64.deb'. -dpkg-deb: building package 'libcork-doc' in '../libcork-doc_1.0.0~rc3-3_all.deb'. dpkg-deb: building package 'libcork16-dbgsym' in '../libcork16-dbgsym_1.0.0~rc3-3_amd64.deb'. +dpkg-deb: building package 'libcork-doc' in '../libcork-doc_1.0.0~rc3-3_all.deb'. dpkg-genbuildinfo --build=binary -O../libcork_1.0.0~rc3-3_amd64.buildinfo dpkg-genchanges --build=binary -O../libcork_1.0.0~rc3-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -13877,12 +13920,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/3345355/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3345355/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/1122171 and its subdirectories -I: Current time: Mon May 22 04:33:09 -12 2023 -I: pbuilder-time-stamp: 1684773189 +I: removing directory /srv/workspace/pbuilder/3345355 and its subdirectories +I: Current time: Mon Jun 24 12:58:03 +14 2024 +I: pbuilder-time-stamp: 1719183483