Diff of the two buildlogs: -- --- b1/build.log 2023-06-03 12:32:36.990647531 +0000 +++ b2/build.log 2023-06-03 12:35:23.903340990 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jun 3 00:27:11 -12 2023 -I: pbuilder-time-stamp: 1685795231 +I: Current time: Sun Jun 4 02:32:48 +14 2023 +I: pbuilder-time-stamp: 1685795568 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 [./ruby-axiom-types_0.1.1.orig.tar.gz] I: copying [./ruby-axiom-types_0.1.1-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Aug 21 09:33:53 2022 -12 +gpgv: Signature made Mon Aug 22 11:33:53 2022 +14 gpgv: using RSA key B2DEE66036C40829FCD0F10CFC0DB1BBCD460BDE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-axiom-types_0.1.1-3.dsc: no acceptable signature found @@ -29,135 +29,167 @@ dpkg-source: info: applying rspec-its.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/20568/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/23515/tmp/hooks/D01_modify_environment starting +debug: Running on jtx1b. +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 4 02:33 /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/23515/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/23515/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='de3afbf15fc548faa441302a580442a6' - 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='20568' - PS1='# ' - PS2='> ' + INVOCATION_ID=f3afbe4a2c924adfa0c605425d4cb69f + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=23515 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.fxUiu04U/pbuilderrc_JbE4 --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.fxUiu04U/b1 --logfile b1/build.log ruby-axiom-types_0.1.1-3.dsc' - SUDO_GID='112' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.fxUiu04U/pbuilderrc_2vsr --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.fxUiu04U/b2 --logfile b2/build.log --extrapackages usrmerge ruby-axiom-types_0.1.1-3.dsc' + SUDO_GID=114 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32b 5.10.0-23-armmp-lpae #1 SMP Debian 5.10.179-1 (2023-05-12) armv7l GNU/Linux + Linux i-capture-the-hostname 5.10.0-23-arm64 #1 SMP Debian 5.10.179-1 (2023-05-12) aarch64 GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 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 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 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 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21: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 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 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 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 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 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21: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/20568/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 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 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 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 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 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 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 Jun 4 02:33 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 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/23515/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -345,7 +377,7 @@ Get: 136 http://deb.debian.org/debian bookworm/main armhf ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] Get: 137 http://deb.debian.org/debian bookworm/main armhf ruby-rspec-its all 1.3.0-1 [6864 B] Get: 138 http://deb.debian.org/debian bookworm/main armhf ruby-sorted-set all 1.0.3-3 [4736 B] -Fetched 44.7 MB in 14s (3090 kB/s) +Fetched 44.7 MB in 4s (11.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:armhf. (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 ... 19324 files and directories currently installed.) @@ -920,8 +952,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/ruby-axiom-types-0.1.1/ && 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 > ../ruby-axiom-types_0.1.1-3_source.changes +I: user script /srv/workspace/pbuilder/23515/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/23515/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-axiom-types-0.1.1/ && 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 > ../ruby-axiom-types_0.1.1-3_source.changes dpkg-buildpackage: info: source package ruby-axiom-types dpkg-buildpackage: info: source version 0.1.1-3 dpkg-buildpackage: info: source distribution unstable @@ -950,13 +993,13 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-axiom-types/ -O--buildsystem=ruby dh_ruby --install /build/ruby-axiom-types-0.1.1/debian/ruby-axiom-types -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230603-30936-6qz9vp/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20230604-29048-nsn732/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash Successfully built RubyGem Name: axiom-types Version: 0.1.1 File: axiom-types-0.1.1.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-axiom-types/usr/share/rubygems-integration/all /tmp/d20230603-30936-6qz9vp/axiom-types-0.1.1.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-axiom-types/usr/share/rubygems-integration/all /tmp/d20230604-29048-nsn732/axiom-types-0.1.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/ruby-axiom-types-0.1.1/debian/ruby-axiom-types/usr/share/rubygems-integration/all/gems/axiom-types-0.1.1/config/devtools.yml /build/ruby-axiom-types-0.1.1/debian/ruby-axiom-types/usr/share/rubygems-integration/all/gems/axiom-types-0.1.1/config/flay.yml @@ -1021,990 +1064,990 @@ RUBYLIB=. GEM_PATH=/build/ruby-axiom-types-0.1.1/debian/ruby-axiom-types/usr/share/rubygems-integration/all:/build/ruby-axiom-types-0.1.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/arm-linux-gnueabihf/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/arm-linux-gnueabihf/rubygems-integration/3.1.0 ruby3.1 -S rake -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec spec/unit/axiom/types/class_methods/finalize_spec.rb --format documentation -Randomized with seed 57637 +Randomized with seed 24469 Axiom::Types.finalize finalizes the descendants -Top 1 slowest examples (0.02071 seconds, 77.5% of total time): +Top 1 slowest examples (0.01604 seconds, 75.9% of total time): Axiom::Types.finalize finalizes the descendants - 0.02071 seconds ./spec/unit/axiom/types/class_methods/finalize_spec.rb:13 + 0.01604 seconds ./spec/unit/axiom/types/class_methods/finalize_spec.rb:13 -Finished in 0.02671 seconds (files took 0.59713 seconds to load) +Finished in 0.02114 seconds (files took 0.35175 seconds to load) 1 example, 0 failures -Randomized with seed 57637 +Randomized with seed 24469 /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec spec/unit/axiom/types/array/class_methods/infer_spec.rb spec/unit/axiom/types/boolean/class_methods/infer_spec.rb spec/unit/axiom/types/class_methods/infer_spec.rb spec/unit/axiom/types/collection/class_methods/finalize_spec.rb spec/unit/axiom/types/collection/class_methods/infer_spec.rb spec/unit/axiom/types/encodable/class_methods/extended_spec.rb spec/unit/axiom/types/encodable/finalize_spec.rb spec/unit/axiom/types/hash/class_methods/finalize_spec.rb spec/unit/axiom/types/hash/class_methods/infer_spec.rb spec/unit/axiom/types/infinity/coerce_spec.rb spec/unit/axiom/types/infinity/spaceship_operator_spec.rb spec/unit/axiom/types/infinity/succ_spec.rb spec/unit/axiom/types/length_comparable/class_methods/extended_spec.rb spec/unit/axiom/types/length_comparable/finalize_spec.rb spec/unit/axiom/types/length_comparable/range_spec.rb spec/unit/axiom/types/negative_infinity/spaceship_operator_spec.rb spec/unit/axiom/types/object/class_methods/coercion_method_spec.rb spec/unit/axiom/types/object/class_methods/finalize_spec.rb spec/unit/axiom/types/object/class_methods/infer_spec.rb spec/unit/axiom/types/object/class_methods/inspect_spec.rb spec/unit/axiom/types/object/class_methods/primitive_spec.rb spec/unit/axiom/types/options/accept_options_spec.rb spec/unit/axiom/types/options/inherited_spec.rb spec/unit/axiom/types/set/class_methods/infer_spec.rb spec/unit/axiom/types/type/class_methods/anonymous_predicate_spec.rb spec/unit/axiom/types/type/class_methods/base_predicate_spec.rb spec/unit/axiom/types/type/class_methods/base_spec.rb spec/unit/axiom/types/type/class_methods/constraint_spec.rb spec/unit/axiom/types/type/class_methods/finalize_spec.rb spec/unit/axiom/types/type/class_methods/include_predicate_spec.rb spec/unit/axiom/types/type/class_methods/includes_spec.rb spec/unit/axiom/types/type/class_methods/infer_spec.rb spec/unit/axiom/types/type/class_methods/new_spec.rb spec/unit/axiom/types/value_comparable/class_methods/extended_spec.rb spec/unit/axiom/types/value_comparable/finalize_spec.rb spec/unit/axiom/types/value_comparable/range_spec.rb --format documentation -Randomized with seed 39734 +Randomized with seed 8309 -Axiom::Types::Infinity#coerce - when other is a BigDecimal - coerces into an array containing inverse and self - coerces when comparing - when other is a Rational - coerces when comparing - coerces into an array containing inverse and self - when other is a Float::INFINITY - coerces into an array containing inverse and self - coerces when comparing - when other is a Integer - coerces when comparing - coerces into an array containing inverse and self - when other is a Integer - coerces into an array containing inverse and self - coerces when comparing - when other is not a number - is expected to raise TypeError with "String cannot be coerced" - when other is a Float - coerces when comparing - coerces into an array containing inverse and self - when other is a -Float::INFINITY - coerces into an array containing inverse and self - coerces when comparing +Axiom::Types::Boolean.infer + when the argument is nil + is expected to be nil + when the argument is ::FalseClass + is expected to equal Axiom::Types::Boolean (BasicObject) + when the argument is ::TrueClass + is expected to equal Axiom::Types::Boolean (BasicObject) + when the argument is not nil + is expected to be nil + when the argument is the type object + is expected to equal Axiom::Types::Boolean (BasicObject) -Axiom::Types::Encodable#finalize - when an non-ascii compatible encoding (UTF-16BE) is used - adds a constraint that returns false for Windows-1255 encoding - adds a constraint that returns false for stateless-ISO-2022-JP encoding - adds a constraint that returns false for US-ASCII encoding - adds a constraint that returns false for UTF-32LE encoding - adds a constraint that returns false for ISO-8859-3 encoding - adds a constraint that returns false for Windows-1256 encoding - adds a constraint that returns false for ISO-8859-10 encoding - adds a constraint that returns false for ISO-8859-4 encoding - adds a constraint that returns false for CP852 encoding - adds a constraint that returns false for Windows-1257 encoding - adds a constraint that returns false for CP50221 encoding - adds a constraint that returns false for ISO-8859-16 encoding - adds a constraint that returns false for CP855 encoding - adds a constraint that returns false for Emacs-Mule encoding - adds a constraint that returns false for macCyrillic encoding - adds a constraint that returns false for ISO-8859-7 encoding - adds a constraint that returns false for EUC-KR encoding - adds a constraint that returns false for ISO-8859-2 encoding - adds a constraint that returns false for eucJP-ms encoding - adds a constraint that returns false for UTF-16 encoding - adds a constraint that returns false for CP950 encoding - adds a constraint that returns false for IBM860 encoding - adds a constraint that returns false for stateless-ISO-2022-JP-KDDI encoding - adds a constraint that returns false for MacJapanese encoding - adds a constraint that returns false for IBM864 encoding - adds a constraint that returns false for ISO-2022-JP-2 encoding - adds a constraint that returns false for EUC-TW encoding - adds a constraint that returns false for macUkraine encoding - adds a constraint that returns false for IBM437 encoding - adds a constraint that returns false for SJIS-DoCoMo encoding - adds a constraint that returns false for ASCII-8BIT encoding - adds a constraint that returns false for GBK encoding - adds a constraint that returns false for ISO-8859-14 encoding - adds a constraint that returns false for macTurkish encoding - adds a constraint that returns false for KOI8-U encoding - adds a constraint that returns false for KOI8-R encoding - adds a constraint that returns false for Big5-HKSCS encoding - adds a constraint that returns false for IBM861 encoding +Axiom::Types::LengthComparable#finalize + is expected to be frozen + adds a constraint that returns true for a length within range + adds a constraint that returns false for a length not within range + range is expected to be frozen - adds a constraint that returns false for UTF-7 encoding - adds a constraint that returns false for ISO-8859-13 encoding - adds a constraint that returns false for ISO-8859-11 encoding - adds a constraint that returns false for ISO-2022-JP-KDDI encoding - adds a constraint that returns false for ISO-8859-6 encoding - adds a constraint that returns false for IBM775 encoding - adds a constraint that returns false for GB12345 encoding - adds a constraint that returns false for UTF-8 encoding - adds a constraint that returns false for EUC-JP encoding - adds a constraint that returns false for IBM866 encoding - adds a constraint that returns false for IBM863 encoding - adds a constraint that returns false for UTF-32BE encoding - adds a constraint that returns false for EUC-JIS-2004 encoding - adds a constraint that returns false for IBM862 encoding - adds a constraint that returns false for GB1988 encoding - adds a constraint that returns false for GB2312 encoding - adds a constraint that returns false for IBM852 encoding - adds a constraint that returns false for UTF8-KDDI encoding - adds a constraint that returns false for UTF8-SoftBank encoding - adds a constraint that returns false for CESU-8 encoding - adds a constraint that returns false for Windows-1254 encoding - adds a constraint that returns false for UTF8-DoCoMo encoding - adds a constraint that returns false for SJIS-SoftBank encoding - adds a constraint that returns false for UTF-16LE encoding - adds a constraint that returns false for CP949 encoding - adds a constraint that returns false for macRomania encoding - adds a constraint that returns false for Shift_JIS encoding - adds a constraint that returns false for IBM869 encoding - adds a constraint that returns false for UTF8-MAC encoding - adds a constraint that returns false for Windows-31J encoding - adds a constraint that returns false for CP50220 encoding - adds a constraint that returns false for Windows-1252 encoding - adds a constraint that returns false for Windows-874 encoding - adds a constraint that returns false for macRoman encoding - adds a constraint that returns false for Windows-1251 encoding - adds a constraint that returns false for IBM037 encoding - adds a constraint that returns false for Windows-1258 encoding - adds a constraint that returns false for macCentEuro encoding - adds a constraint that returns false for TIS-620 encoding - adds a constraint that returns false for ISO-8859-8 encoding - adds a constraint that returns false for CP850 encoding - adds a constraint that returns false for ISO-8859-9 encoding - adds a constraint that returns false for IBM720 encoding - adds a constraint that returns false for GB18030 encoding - adds a constraint that returns false for ISO-2022-JP encoding - adds a constraint that returns false for Big5 encoding - adds a constraint that returns false for CP951 encoding - adds a constraint that returns false for Big5-UAO encoding - adds a constraint that returns false for ISO-8859-1 encoding - adds a constraint that returns false for Windows-1250 encoding - adds a constraint that returns false for macThai encoding - adds a constraint that returns false for SJIS-KDDI encoding - adds a constraint that returns false for Windows-1253 encoding - adds a constraint that returns false for macGreek encoding - adds a constraint that returns false for IBM855 encoding - adds a constraint that returns false for macCroatian encoding - adds a constraint that returns false for IBM865 encoding - adds a constraint that returns false for ISO-8859-15 encoding - adds a constraint that returns false for macIceland encoding - adds a constraint that returns false for CP51932 encoding - adds a constraint that returns true for UTF-16BE encoding - adds a constraint that returns false for UTF-32 encoding - adds a constraint that returns false for IBM857 encoding - adds a constraint that returns false for IBM737 encoding - adds a constraint that returns false for ISO-8859-5 encoding + constraint + is expected to be frozen + +Axiom::Types::Hash.finalize + with the default key and value constraints + is expected to be frozen + adds a constraint that returns true for a Hash + adds a constraint that returns false for a non-Hash constraint is expected to be frozen - when an ascii compatible encoding (UTF-8) is used - adds a constraint that returns true for KOI8-R encoding - adds a constraint that returns true for GB1988 encoding - adds a constraint that returns true for TIS-620 encoding - adds a constraint that returns true for Windows-874 encoding - adds a constraint that returns true for Shift_JIS encoding - adds a constraint that returns true for IBM861 encoding - adds a constraint that returns true for EUC-JIS-2004 encoding - adds a constraint that returns true for IBM855 encoding - adds a constraint that returns false for UTF-16LE encoding - adds a constraint that returns true for EUC-JP encoding - adds a constraint that returns false for CP50220 encoding - adds a constraint that returns true for UTF8-KDDI encoding - adds a constraint that returns true for IBM775 encoding - adds a constraint that returns true for ISO-8859-16 encoding - adds a constraint that returns true for ISO-8859-5 encoding - adds a constraint that returns true for UTF8-DoCoMo encoding - adds a constraint that returns true for Windows-1256 encoding - adds a constraint that returns false for UTF-32LE encoding - adds a constraint that returns true for Windows-31J encoding - adds a constraint that returns true for CP852 encoding - adds a constraint that returns false for UTF-32BE encoding - adds a constraint that returns true for CP51932 encoding - adds a constraint that returns true for IBM860 encoding - adds a constraint that returns true for ASCII-8BIT encoding - adds a constraint that returns true for GB18030 encoding - adds a constraint that returns true for macUkraine encoding - adds a constraint that returns true for ISO-8859-14 encoding - adds a constraint that returns true for IBM852 encoding - adds a constraint that returns true for ISO-8859-9 encoding - adds a constraint that returns true for macThai encoding - adds a constraint that returns true for GB2312 encoding - adds a constraint that returns true for stateless-ISO-2022-JP-KDDI encoding - adds a constraint that returns true for GB12345 encoding - adds a constraint that returns true for macGreek encoding - adds a constraint that returns true for IBM863 encoding - adds a constraint that returns true for UTF-8 encoding - adds a constraint that returns true for ISO-8859-13 encoding - adds a constraint that returns false for UTF-16 encoding - adds a constraint that returns true for ISO-8859-1 encoding - adds a constraint that returns true for EUC-TW encoding - adds a constraint that returns true for SJIS-KDDI encoding - adds a constraint that returns true for ISO-8859-3 encoding - adds a constraint that returns true for ISO-8859-10 encoding - adds a constraint that returns true for IBM864 encoding - adds a constraint that returns true for eucJP-ms encoding - adds a constraint that returns true for IBM720 encoding - adds a constraint that returns true for IBM865 encoding - adds a constraint that returns true for macCroatian encoding - adds a constraint that returns false for ISO-2022-JP encoding - adds a constraint that returns true for IBM857 encoding - adds a constraint that returns true for MacJapanese encoding - adds a constraint that returns true for CP850 encoding - adds a constraint that returns true for UTF8-SoftBank encoding - adds a constraint that returns true for ISO-8859-8 encoding - adds a constraint that returns true for CESU-8 encoding - adds a constraint that returns true for macRomania encoding - adds a constraint that returns true for IBM869 encoding - adds a constraint that returns true for Big5-HKSCS encoding - adds a constraint that returns true for ISO-8859-11 encoding - adds a constraint that returns true for macRoman encoding - adds a constraint that returns true for GBK encoding - adds a constraint that returns true for IBM437 encoding - adds a constraint that returns false for ISO-2022-JP-KDDI encoding - adds a constraint that returns true for ISO-8859-6 encoding - adds a constraint that returns true for CP951 encoding - adds a constraint that returns true for Windows-1255 encoding - adds a constraint that returns true for Windows-1257 encoding - adds a constraint that returns true for ISO-8859-2 encoding - adds a constraint that returns false for UTF-7 encoding - adds a constraint that returns true for macIceland encoding - adds a constraint that returns true for CP855 encoding - adds a constraint that returns true for Big5-UAO encoding + with custom key and value constraints + adds a constraint that returns false for an invalid key + adds a constraint that returns true for valid keys and values + adds a constraint that returns false for an invalid value is expected to be frozen - adds a constraint that returns false for CP50221 encoding - adds a constraint that returns true for US-ASCII encoding - adds a constraint that returns true for KOI8-U encoding - adds a constraint that returns true for ISO-8859-7 encoding - adds a constraint that returns true for Windows-1254 encoding - adds a constraint that returns true for Windows-1250 encoding - adds a constraint that returns true for IBM737 encoding - adds a constraint that returns true for ISO-8859-15 encoding - adds a constraint that returns true for Windows-1252 encoding - adds a constraint that returns false for ISO-2022-JP-2 encoding - adds a constraint that returns true for SJIS-DoCoMo encoding - adds a constraint that returns true for macCyrillic encoding - adds a constraint that returns true for CP950 encoding - adds a constraint that returns true for Windows-1251 encoding - adds a constraint that returns false for UTF-16BE encoding - adds a constraint that returns true for ISO-8859-4 encoding - adds a constraint that returns true for macCentEuro encoding - adds a constraint that returns true for Big5 encoding - adds a constraint that returns true for CP949 encoding - adds a constraint that returns true for Windows-1258 encoding - adds a constraint that returns true for Windows-1253 encoding - adds a constraint that returns true for stateless-ISO-2022-JP encoding - adds a constraint that returns true for EUC-KR encoding - adds a constraint that returns true for SJIS-SoftBank encoding - adds a constraint that returns true for macTurkish encoding - adds a constraint that returns true for Emacs-Mule encoding - adds a constraint that returns true for UTF8-MAC encoding - adds a constraint that returns false for IBM037 encoding - adds a constraint that returns false for UTF-32 encoding - adds a constraint that returns true for IBM862 encoding - adds a constraint that returns true for IBM866 encoding constraint is expected to be frozen -Axiom::Types::Array.infer - with Axiom::Types::Array subclass - when the argument is an empty Array - is expected to equal Axiom::Types::Array (Array) - when the argument is an Array with a primitive +Axiom::Types::Type.constraint + with no arguments or block + is expected to respond to #call + is expected to equal # + with a block + creates a constraint that matches a number > 1 + constraint + is expected to respond to #call + with another constraint + creates a constraint that matches a number > 1 and < 3 + constraint + is expected to respond to #call + with a callable object + creates a constraint that matches a number > 1 + constraint + is expected to respond to #call + with another constraint + creates a constraint that matches a number > 1 and < 3 + constraint + is expected to respond to #call + +Axiom::Types::Type.include? + when the value does not match the type constraint + is expected to equal false + when the value matches the type constraint + is expected to equal true + +Axiom::Types::Type.includes + with an empty set + adds a constraint that returns false + with a non-empty list + adds a constraint that returns true for a valid member + freezes the members + removes duplicate members + adds a constraint that returns false for an invalid member + +Axiom::Types::ValueComparable.extended + adds maxumum method + delegates to the ancestor + does not set the default minimum + adds minimum method + does not set the default maximum + +Axiom::Types::Object.finalize + adds a constraint that returns true for a valid primitive + is expected to be frozen + adds a constraint that returns false for an invalid primitive + constraint + is expected to be frozen + +Axiom::Types::Hash.infer + with Axiom::Types::Hash subclass + with an Hash with a key primitive and nil value is expected to be nil - when the argument is an Array with a type + with an Hash with a key type and nil value + is expected to be nil + with an Hash with a nil key and value primitive + is expected to be nil + with an Hash with a nil key and value type + is expected to be nil + when the argument is ::Hash + is expected to equal Axiom::Types::Hash (Hash) + with an Hash with key and value types + is expected to be nil + with a nil is expected to be nil - when the argument is ::Array - is expected to equal Axiom::Types::Array (Array) when the argument is the type object - is expected to equal Axiom::Types::Array (Array) - when the argument is nil + is expected to equal Axiom::Types::Hash (Hash) + with an Hash with key and value primitives is expected to be nil - with Axiom::Types::Array - when the argument is ::Array - is expected to equal Axiom::Types::Array (Array) - when the argument is an Array with a type - member_type - is expected to equal Axiom::Types::Array (Array) - ancestors - is expected to include Axiom::Types::Array (Array) + with an empty Hash + is expected to equal Axiom::Types::Hash (Hash) + with Axiom::Types::Hash + with an empty Hash + is expected to equal Axiom::Types::Hash (Hash) + with an Hash with key and value primitives + value_type + is expected to equal Axiom::Types::Hash (Hash) + key_type + is expected to equal Axiom::Types::Hash (Hash) primitive - is expected to equal Array - when the argument is the type object - is expected to equal Axiom::Types::Array (Array) + is expected to equal Hash + ancestors + is expected to include Axiom::Types::Hash (Hash) when the argument is nil is expected to be nil - when the argument is an empty Array - is expected to equal Axiom::Types::Array (Array) - when the argument is an Array with a primitive + with a ::Hash + is expected to equal Axiom::Types::Hash (Hash) + with an Hash with a key type and nil value + key_type + is expected to equal Axiom::Types::Hash (Hash) + primitive + is expected to equal Hash + value_type + is expected to equal Axiom::Types::Object (BasicObject) ancestors - is expected to include Axiom::Types::Array (Array) - member_type - is expected to equal Axiom::Types::Array (Array) + is expected to include Axiom::Types::Hash (Hash) + with an Hash with key and value types + ancestors + is expected to include Axiom::Types::Hash (Hash) primitive - is expected to equal Array - -Axiom::Types::Type.finalize - is expected to be frozen - constraint - is expected to be frozen + is expected to equal Hash + key_type + is expected to equal Axiom::Types::Hash (Hash) + value_type + is expected to equal Axiom::Types::Hash (Hash) + with an Hash with a nil key and value primitive + value_type + is expected to equal Axiom::Types::Hash (Hash) + primitive + is expected to equal Hash + ancestors + is expected to include Axiom::Types::Hash (Hash) + key_type + is expected to equal Axiom::Types::Object (BasicObject) + with a type object + is expected to equal Axiom::Types::Hash (Hash) + with an Hash with a key primitive and nil value + value_type + is expected to equal Axiom::Types::Object (BasicObject) + key_type + is expected to equal Axiom::Types::Hash (Hash) + primitive + is expected to equal Hash + ancestors + is expected to include Axiom::Types::Hash (Hash) + with an Hash with a nil key and value type + primitive + is expected to equal Hash + key_type + is expected to equal Axiom::Types::Object (BasicObject) + value_type + is expected to equal Axiom::Types::Hash (Hash) + ancestors + is expected to include Axiom::Types::Hash (Hash) -Axiom::Types::NegativeInfinity#<=> - when other object is a BigDecimal - is expected to equal -1 - is symmetric - when the other object is infinity - is expected to equal -1 - is symmetric - when the other object is not comparable - is symmetric - is expected to be nil - when other object is a Float - is expected to equal -1 - is symmetric - when other object is a Rational - is expected to equal -1 - is symmetric - when other object is a Integer - is symmetric - is expected to equal -1 - when other object is a Integer - is expected to equal -1 - is symmetric - when the other object is -Float::INFINITY - is symmetric - is expected to equal 0 - when the other object is negative infinity - is symmetric - is expected to equal 0 +Axiom::Types::Type.infer + when the argument is Axiom::Types::Array + does not match any other type + when the argument is Axiom::Types::Boolean + does not match any other type + when the argument is Axiom::Types::Collection + does not match any other type + when the argument is Axiom::Types::Date + does not match any other type + when the argument is Axiom::Types::Object + does not match any other type + when the argument is Axiom::Types::String + does not match any other type + when the argument is Axiom::Types::Set + does not match any other type + when the argument is Axiom::Types::Integer + does not match any other type + when the argument is Axiom::Types::Numeric + does not match any other type + when the argument is Axiom::Types::Symbol + does not match any other type + when the argument is Axiom::Types::Float + does not match any other type + when the argument is Axiom::Types::Hash + does not match any other type + when the argument is the type object + is expected to equal Axiom::Types::Type + when the argument is Axiom::Types::Decimal + does not match any other type + when the argument is Axiom::Types::Class + does not match any other type + when the argument is Axiom::Types::DateTime + does not match any other type + when the argument is Axiom::Types::Time + does not match any other type -Axiom::Types::Encodable.extended - adds encoding method - sets the encoding default to UTF-8 - delegates to the ancestor +Axiom::Types::ValueComparable#range + is expected to be frozen + is expected to eql 1 and 2 Axiom::Types::Object.infer - with the type - when the argument is ::Enumerable - is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::BasicObject - is expected to equal Axiom::Types::Object (BasicObject) + with a subclass + when the argument is ::Struct + is expected to equal Axiom::Types::Object (Struct) when the argument is an ::Object instance is expected to be nil - when the argument is ::Hash - is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Date - is expected to equal Axiom::Types::Date (Date) - when the argument is ::Float + when the argument is nil + is expected to be nil + when the argument is ::Object + is expected to be nil + when the argument is the type object + is expected to equal Axiom::Types::Object (Struct) + when the argument is ::BasicObject + is expected to be nil + when the argument is a ::Struct instance + is expected to be nil + with the type + when the argument is Axiom::Types::Set + is expected to equal Axiom::Types::Set (Set) + when the argument is ::Class is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Collection - is expected to equal Axiom::Types::Object (Enumerable) - when the argument is Axiom::Types::Decimal - is expected to equal Axiom::Types::Decimal (BigDecimal) - when the argument is ::String + when the argument is ::Enumerable is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::Symbol + when the argument is Axiom::Types::Boolean + is expected to equal Axiom::Types::Boolean (BasicObject) + when the argument is ::Time is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Set - is expected to equal Axiom::Types::Set (Set) - when the argument is nil - is expected to be nil when the argument is Axiom::Types::String is expected to equal Axiom::Types::String (String) - when the argument is Axiom::Types::Array - is expected to equal Axiom::Types::Array (Array) when the argument is ::Array is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::Numeric - is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Numeric - is expected to equal Axiom::Types::Numeric (Numeric) when the argument is Axiom::Types::Float is expected to equal Axiom::Types::Float (Float) - when the argument is Axiom::Types::Integer - is expected to equal Axiom::Types::Integer (Integer) + when the argument is ::DateTime + is expected to equal Axiom::Types::Object (BasicObject) when the argument is Axiom::Types::DateTime is expected to equal Axiom::Types::DateTime (DateTime) - when the argument is the type object + when the argument is Axiom::Types::Date + is expected to equal Axiom::Types::Date (Date) + when the argument is ::Set is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::BigDecimal + when the argument is Axiom::Types::Decimal + is expected to equal Axiom::Types::Decimal (BigDecimal) + when the argument is Axiom::Types::Integer + is expected to equal Axiom::Types::Integer (Integer) + when the argument is ::Float is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::Class + when the argument is ::Symbol is expected to equal Axiom::Types::Object (BasicObject) when the argument is Axiom::Types::Class is expected to equal Axiom::Types::Class (Class) - when the argument is ::Integer + when the argument is ::BasicObject is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Hash - is expected to equal Axiom::Types::Hash (Hash) - when the argument is ::DateTime + when the argument is ::Numeric is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::Time + when the argument is ::Object + is expected to equal Axiom::Types::Object (BasicObject) + when the argument is ::Date is expected to equal Axiom::Types::Object (BasicObject) when the argument is Axiom::Types::Time is expected to equal Axiom::Types::Time (Time) - when the argument is ::Set + when the argument is ::BigDecimal is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Boolean - is expected to equal Axiom::Types::Boolean (BasicObject) - when the argument is Axiom::Types::Symbol - is expected to equal Axiom::Types::Symbol (Symbol) - when the argument is ::Date + when the argument is Axiom::Types::Numeric + is expected to equal Axiom::Types::Numeric (Numeric) + when the argument is Axiom::Types::Collection + is expected to equal Axiom::Types::Object (Enumerable) + when the argument is nil + is expected to be nil + when the argument is Axiom::Types::Hash + is expected to equal Axiom::Types::Hash (Hash) + when the argument is ::BasicObject is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::Object + when the argument is ::Integer is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::BasicObject + when the argument is ::Hash is expected to equal Axiom::Types::Object (BasicObject) - with a subclass - when the argument is a ::Struct instance - is expected to be nil - when the argument is nil - is expected to be nil + when the argument is Axiom::Types::Symbol + is expected to equal Axiom::Types::Symbol (Symbol) when the argument is the type object - is expected to equal Axiom::Types::Object (Struct) + is expected to equal Axiom::Types::Object (BasicObject) + when the argument is ::String + is expected to equal Axiom::Types::Object (BasicObject) + when the argument is Axiom::Types::Array + is expected to equal Axiom::Types::Array (Array) when the argument is an ::Object instance is expected to be nil - when the argument is ::Struct - is expected to equal Axiom::Types::Object (Struct) - when the argument is ::BasicObject - is expected to be nil - when the argument is ::Object - is expected to be nil -Axiom::Types::LengthComparable#finalize - adds a constraint that returns false for a length not within range - adds a constraint that returns true for a length within range - is expected to be frozen - range +Axiom::Types::Object.inspect + is expected to eql "Axiom::Types::Object (BasicObject)" + +Axiom::Types::Object.primitive + with no arguments + is expected to equal BasicObject + with a class + sets the primitive + +Axiom::Types::Encodable#finalize + when an ascii compatible encoding (UTF-8) is used + adds a constraint that returns true for SJIS-SoftBank encoding + adds a constraint that returns false for UTF-32LE encoding + adds a constraint that returns true for IBM437 encoding + adds a constraint that returns true for CP855 encoding + adds a constraint that returns true for ISO-8859-15 encoding + adds a constraint that returns true for Windows-1255 encoding + adds a constraint that returns true for Windows-874 encoding + adds a constraint that returns true for ISO-8859-14 encoding + adds a constraint that returns true for ISO-8859-8 encoding + adds a constraint that returns true for ISO-8859-3 encoding + adds a constraint that returns false for UTF-32BE encoding + adds a constraint that returns true for ISO-8859-11 encoding + adds a constraint that returns true for ISO-8859-1 encoding + adds a constraint that returns true for MacJapanese encoding + adds a constraint that returns true for Windows-1252 encoding + adds a constraint that returns true for macIceland encoding + adds a constraint that returns true for Emacs-Mule encoding + adds a constraint that returns true for stateless-ISO-2022-JP encoding + adds a constraint that returns true for TIS-620 encoding + adds a constraint that returns false for CP50221 encoding + adds a constraint that returns true for Windows-1254 encoding + adds a constraint that returns true for macCentEuro encoding + adds a constraint that returns true for Windows-1257 encoding + adds a constraint that returns true for US-ASCII encoding + adds a constraint that returns true for Windows-1253 encoding + adds a constraint that returns true for Windows-1250 encoding + adds a constraint that returns true for EUC-TW encoding + adds a constraint that returns true for Windows-1256 encoding + adds a constraint that returns true for CP852 encoding + adds a constraint that returns true for macCroatian encoding + adds a constraint that returns true for Big5-HKSCS encoding + adds a constraint that returns true for Windows-31J encoding + adds a constraint that returns true for CP850 encoding + adds a constraint that returns true for ISO-8859-13 encoding + adds a constraint that returns true for Shift_JIS encoding + adds a constraint that returns false for UTF-32 encoding + adds a constraint that returns true for eucJP-ms encoding + adds a constraint that returns true for IBM857 encoding + adds a constraint that returns true for IBM861 encoding + adds a constraint that returns true for stateless-ISO-2022-JP-KDDI encoding + adds a constraint that returns true for CP951 encoding + adds a constraint that returns true for ISO-8859-6 encoding + adds a constraint that returns true for ISO-8859-7 encoding is expected to be frozen - constraint + adds a constraint that returns true for UTF8-SoftBank encoding + adds a constraint that returns true for Big5 encoding + adds a constraint that returns true for Big5-UAO encoding + adds a constraint that returns true for macGreek encoding + adds a constraint that returns true for ISO-8859-9 encoding + adds a constraint that returns true for IBM862 encoding + adds a constraint that returns false for ISO-2022-JP encoding + adds a constraint that returns true for macCyrillic encoding + adds a constraint that returns true for ISO-8859-16 encoding + adds a constraint that returns true for IBM864 encoding + adds a constraint that returns true for IBM860 encoding + adds a constraint that returns true for SJIS-DoCoMo encoding + adds a constraint that returns true for IBM720 encoding + adds a constraint that returns true for IBM855 encoding + adds a constraint that returns true for IBM869 encoding + adds a constraint that returns true for ISO-8859-10 encoding + adds a constraint that returns true for macRoman encoding + adds a constraint that returns true for IBM863 encoding + adds a constraint that returns true for IBM737 encoding + adds a constraint that returns true for ISO-8859-2 encoding + adds a constraint that returns true for GB12345 encoding + adds a constraint that returns true for Windows-1258 encoding + adds a constraint that returns false for ISO-2022-JP-KDDI encoding + adds a constraint that returns true for EUC-KR encoding + adds a constraint that returns true for GB18030 encoding + adds a constraint that returns true for ASCII-8BIT encoding + adds a constraint that returns true for UTF8-DoCoMo encoding + adds a constraint that returns true for SJIS-KDDI encoding + adds a constraint that returns true for IBM866 encoding + adds a constraint that returns false for IBM037 encoding + adds a constraint that returns true for EUC-JP encoding + adds a constraint that returns true for KOI8-U encoding + adds a constraint that returns true for IBM775 encoding + adds a constraint that returns true for UTF-8 encoding + adds a constraint that returns true for GB2312 encoding + adds a constraint that returns true for EUC-JIS-2004 encoding + adds a constraint that returns true for ISO-8859-4 encoding + adds a constraint that returns true for KOI8-R encoding + adds a constraint that returns false for UTF-16BE encoding + adds a constraint that returns true for UTF8-KDDI encoding + adds a constraint that returns true for macRomania encoding + adds a constraint that returns false for UTF-7 encoding + adds a constraint that returns true for Windows-1251 encoding + adds a constraint that returns false for ISO-2022-JP-2 encoding + adds a constraint that returns true for macThai encoding + adds a constraint that returns true for macTurkish encoding + adds a constraint that returns true for GB1988 encoding + adds a constraint that returns true for GBK encoding + adds a constraint that returns true for macUkraine encoding + adds a constraint that returns true for UTF8-MAC encoding + adds a constraint that returns false for UTF-16LE encoding + adds a constraint that returns true for CESU-8 encoding + adds a constraint that returns true for CP949 encoding + adds a constraint that returns true for ISO-8859-5 encoding + adds a constraint that returns false for CP50220 encoding + adds a constraint that returns true for CP950 encoding + adds a constraint that returns true for IBM852 encoding + adds a constraint that returns false for UTF-16 encoding + adds a constraint that returns true for CP51932 encoding + adds a constraint that returns true for IBM865 encoding + constraint + is expected to be frozen + when an non-ascii compatible encoding (UTF-16BE) is used + adds a constraint that returns false for ASCII-8BIT encoding + adds a constraint that returns false for ISO-2022-JP-KDDI encoding + adds a constraint that returns true for UTF-16BE encoding + adds a constraint that returns false for ISO-8859-9 encoding + adds a constraint that returns false for ISO-8859-2 encoding + adds a constraint that returns false for UTF8-KDDI encoding + adds a constraint that returns false for ISO-8859-13 encoding + adds a constraint that returns false for CP850 encoding + adds a constraint that returns false for IBM720 encoding + adds a constraint that returns false for ISO-8859-10 encoding + adds a constraint that returns false for UTF-7 encoding + adds a constraint that returns false for macIceland encoding + adds a constraint that returns false for EUC-JP encoding + adds a constraint that returns false for SJIS-SoftBank encoding + adds a constraint that returns false for Windows-1252 encoding + adds a constraint that returns false for ISO-8859-3 encoding + adds a constraint that returns false for EUC-TW encoding + adds a constraint that returns false for UTF8-MAC encoding + adds a constraint that returns false for SJIS-DoCoMo encoding + adds a constraint that returns false for macCentEuro encoding + adds a constraint that returns false for ISO-8859-6 encoding + adds a constraint that returns false for Big5-UAO encoding + adds a constraint that returns false for IBM857 encoding + adds a constraint that returns false for KOI8-R encoding + adds a constraint that returns false for US-ASCII encoding + adds a constraint that returns false for Windows-1258 encoding + adds a constraint that returns false for IBM860 encoding + adds a constraint that returns false for KOI8-U encoding + adds a constraint that returns false for ISO-8859-1 encoding + adds a constraint that returns false for ISO-8859-5 encoding + adds a constraint that returns false for UTF-32LE encoding + adds a constraint that returns false for macUkraine encoding + adds a constraint that returns false for IBM437 encoding + adds a constraint that returns false for CESU-8 encoding + adds a constraint that returns false for ISO-8859-14 encoding + adds a constraint that returns false for TIS-620 encoding + adds a constraint that returns false for GB18030 encoding + adds a constraint that returns false for UTF-16LE encoding + adds a constraint that returns false for CP951 encoding + adds a constraint that returns false for CP50221 encoding + adds a constraint that returns false for Big5 encoding + adds a constraint that returns false for UTF-16 encoding + adds a constraint that returns false for ISO-2022-JP encoding + adds a constraint that returns false for IBM865 encoding + adds a constraint that returns false for IBM775 encoding + adds a constraint that returns false for IBM737 encoding + adds a constraint that returns false for Windows-1255 encoding + adds a constraint that returns false for IBM869 encoding + adds a constraint that returns false for UTF8-SoftBank encoding + adds a constraint that returns false for CP51932 encoding + adds a constraint that returns false for GB12345 encoding + adds a constraint that returns false for SJIS-KDDI encoding + adds a constraint that returns false for CP950 encoding + adds a constraint that returns false for macRomania encoding + adds a constraint that returns false for stateless-ISO-2022-JP-KDDI encoding + adds a constraint that returns false for Windows-1257 encoding + adds a constraint that returns false for CP50220 encoding + adds a constraint that returns false for EUC-KR encoding + adds a constraint that returns false for GB2312 encoding + adds a constraint that returns false for ISO-2022-JP-2 encoding + adds a constraint that returns false for MacJapanese encoding + adds a constraint that returns false for macGreek encoding + adds a constraint that returns false for Windows-1256 encoding + adds a constraint that returns false for Windows-1253 encoding + adds a constraint that returns false for IBM864 encoding + adds a constraint that returns false for macCroatian encoding + adds a constraint that returns false for ISO-8859-4 encoding + adds a constraint that returns false for eucJP-ms encoding + adds a constraint that returns false for ISO-8859-7 encoding + adds a constraint that returns false for UTF-8 encoding + adds a constraint that returns false for GB1988 encoding + adds a constraint that returns false for IBM862 encoding + adds a constraint that returns false for UTF-32BE encoding + adds a constraint that returns false for Windows-1254 encoding + adds a constraint that returns false for CP852 encoding is expected to be frozen + adds a constraint that returns false for UTF-32 encoding + adds a constraint that returns false for IBM861 encoding + adds a constraint that returns false for IBM855 encoding + adds a constraint that returns false for Windows-1251 encoding + adds a constraint that returns false for Windows-874 encoding + adds a constraint that returns false for macRoman encoding + adds a constraint that returns false for Shift_JIS encoding + adds a constraint that returns false for EUC-JIS-2004 encoding + adds a constraint that returns false for CP855 encoding + adds a constraint that returns false for UTF8-DoCoMo encoding + adds a constraint that returns false for Emacs-Mule encoding + adds a constraint that returns false for macTurkish encoding + adds a constraint that returns false for IBM866 encoding + adds a constraint that returns false for macCyrillic encoding + adds a constraint that returns false for ISO-8859-15 encoding + adds a constraint that returns false for stateless-ISO-2022-JP encoding + adds a constraint that returns false for Windows-1250 encoding + adds a constraint that returns false for IBM863 encoding + adds a constraint that returns false for ISO-8859-11 encoding + adds a constraint that returns false for Windows-31J encoding + adds a constraint that returns false for IBM037 encoding + adds a constraint that returns false for IBM852 encoding + adds a constraint that returns false for GBK encoding + adds a constraint that returns false for ISO-8859-16 encoding + adds a constraint that returns false for ISO-8859-8 encoding + adds a constraint that returns false for CP949 encoding + adds a constraint that returns false for macThai encoding + adds a constraint that returns false for Big5-HKSCS encoding + constraint + is expected to be frozen -Axiom::Types::ValueComparable#range +Axiom::Types::LengthComparable#range + is expected to be frozen is expected to eql 1 and 2 + +Axiom::Types::Infinity#coerce + when other is a Integer + coerces into an array containing inverse and self + coerces when comparing + when other is not a number + is expected to raise TypeError with "String cannot be coerced" + when other is a Rational + coerces when comparing + coerces into an array containing inverse and self + when other is a Float::INFINITY + coerces when comparing + coerces into an array containing inverse and self + when other is a BigDecimal + coerces into an array containing inverse and self + coerces when comparing + when other is a -Float::INFINITY + coerces into an array containing inverse and self + coerces when comparing + when other is a Integer + coerces into an array containing inverse and self + coerces when comparing + when other is a Float + coerces when comparing + coerces into an array containing inverse and self + +Axiom::Types::LengthComparable.extended + adds minimum_length method + delegates to the ancestor + adds maxumum_length method + sets the default maximum_length + sets the default minimum_length + +Axiom::Types::Infinity#succ + is expected to equal # + +Axiom::Types::Type.finalize is expected to be frozen + constraint + is expected to be frozen -Axiom::Types::Set.infer - with Axiom::Types::Set subclass - when the argument is an Set with a type +Axiom::Types::Type.anonymous? + when the type is named + is expected to equal false + when the type is anonymous + is expected to equal true + +Axiom::Types::Type.base + when the type is named + is expected to equal Axiom::Types::Type + when the type is anonymous + is expected to equal Axiom::Types::Type + +Axiom::Types::Type.new + with no arguments + is expected to be frozen + is expected to be an instance of Class + has no constraints + ancestors + is expected to include Axiom::Types::Type + with a constraint + is expected to be frozen + is expected to be an instance of Class + has constraints + ancestors + is expected to include Axiom::Types::Type + with a constraint and block + is expected to be frozen + is expected to be an instance of Class + has constraints + ancestors + is expected to include Axiom::Types::Type + with a block + has constraints + is expected to be an instance of Class + is expected to be frozen + ancestors + is expected to include Axiom::Types::Type + +Axiom::Types::NegativeInfinity#<=> + when the other object is negative infinity + is symmetric + is expected to equal 0 + when other object is a Float + is symmetric + is expected to equal -1 + when other object is a BigDecimal + is symmetric + is expected to equal -1 + when the other object is not comparable + is symmetric + is expected to be nil + when the other object is -Float::INFINITY + is expected to equal 0 + is symmetric + when other object is a Rational + is symmetric + is expected to equal -1 + when other object is a Integer + is symmetric + is expected to equal -1 + when other object is a Integer + is symmetric + is expected to equal -1 + when the other object is infinity + is expected to equal -1 + is symmetric + +Axiom::Types::Collection.infer + with the type + when the argument is the type object + is expected to equal Axiom::Types::Object (Enumerable) + when the argument is ::Enumerable + is expected to equal Axiom::Types::Object (Enumerable) + with a a non-base class + when the argument is the type object + is expected to equal Axiom::Types::Object (SortedSet) + when the argument is an SortedSet with a primitive is expected to be nil - when the argument is ::Set - is expected to equal Axiom::Types::Set (Set) - when the argument is an Set with a primitive + when the argument is an SortedSet with a type is expected to be nil - when the argument is an empty Set - is expected to equal Axiom::Types::Set (Set) - when the argument is the type object - is expected to equal Axiom::Types::Set (Set) when the argument is nil is expected to be nil - with Axiom::Types::Set - when the argument is an Set with a primitive + when the argument is ::SortedSet + is expected to equal Axiom::Types::Object (SortedSet) + when the argument is an empty SortedSet + is expected to equal Axiom::Types::Object (SortedSet) + with a base class + when the argument is an SortedSet with a primitive + primitive + is expected to equal SortedSet ancestors - is expected to include Axiom::Types::Set (Set) + is expected to include # (SortedSet) member_type - is expected to equal Axiom::Types::Set (Set) - primitive - is expected to equal Set - when the argument is the type object - is expected to equal Axiom::Types::Set (Set) - when the argument is ::Set - is expected to equal Axiom::Types::Set (Set) - when the argument is an empty Set - is expected to equal Axiom::Types::Set (Set) - when the argument is an Set with a type + is expected to equal # (SortedSet) + when the argument is an empty SortedSet + is expected to equal # (SortedSet) + when the argument is an SortedSet with a type primitive - is expected to equal Set - ancestors - is expected to include Axiom::Types::Set (Set) + is expected to equal SortedSet member_type - is expected to equal Axiom::Types::Set (Set) + is expected to equal # (SortedSet) + ancestors + is expected to include # (SortedSet) + when the argument is ::SortedSet + is expected to equal # (SortedSet) when the argument is nil is expected to be nil - -Axiom::Types::ValueComparable.extended - delegates to the ancestor - adds minimum method - adds maxumum method - does not set the default minimum - does not set the default maximum - -Axiom::Types::Object.coercion_method - with no arguments - is expected to equal :to_object - with a symbol - sets the coercion_method + when the argument is the type object + is expected to equal # (SortedSet) Axiom::Types.infer - when the type is Float - is expected to equal Axiom::Types::Float (Float) + when the type is Axiom::Types::Boolean + is expected to equal Axiom::Types::Boolean (BasicObject) + when the type is TrueClass + is expected to equal Axiom::Types::Boolean (BasicObject) when the type is Class is expected to equal Axiom::Types::Class (Class) - when the type is Axiom::Types::Symbol - is expected to equal Axiom::Types::Symbol (Symbol) - when the type is Axiom::Types::Float - is expected to equal Axiom::Types::Float (Float) - when the type is BigDecimal - is expected to equal Axiom::Types::Decimal (BigDecimal) - when the type is Axiom::Types::Time - is expected to equal Axiom::Types::Time (Time) - when the type is Numeric - is expected to equal Axiom::Types::Numeric (Numeric) when the type is Set is expected to equal Axiom::Types::Set (Set) when the type is Integer is expected to equal Axiom::Types::Integer (Integer) - when the type is Axiom::Types::Boolean + when the type is Axiom::Types::Set + is expected to equal Axiom::Types::Set (Set) + when the type is Axiom::Types::String + is expected to equal Axiom::Types::String (String) + when the type is Axiom::Types::Date + is expected to equal Axiom::Types::Date (Date) + when the type is Axiom::Types::Class + is expected to equal Axiom::Types::Class (Class) + when the type is FalseClass is expected to equal Axiom::Types::Boolean (BasicObject) + when the type is DateTime + is expected to equal Axiom::Types::DateTime (DateTime) + when the type is BigDecimal + is expected to equal Axiom::Types::Decimal (BigDecimal) when the type is Axiom::Types::DateTime is expected to equal Axiom::Types::DateTime (DateTime) - when the type is Axiom::Types::Collection - is expected to equal Axiom::Types::Object (Enumerable) + with a custom type + is expected to equal Axiom::Types::String (String) + when the type is Float + is expected to equal Axiom::Types::Float (Float) + when the type is Axiom::Types::Hash + is expected to equal Axiom::Types::Hash (Hash) + when the type is Axiom::Types::Time + is expected to equal Axiom::Types::Time (Time) + when the type is Time + is expected to equal Axiom::Types::Time (Time) when the type is Enumerable is expected to equal Axiom::Types::Object (Enumerable) + when the type is Numeric + is expected to equal Axiom::Types::Numeric (Numeric) + when the type is String + is expected to equal Axiom::Types::String (String) + when the type is Hash + is expected to equal Axiom::Types::Hash (Hash) + when the type is Axiom::Types::Array + is expected to equal Axiom::Types::Array (Array) + when the type is Symbol + is expected to equal Axiom::Types::Symbol (Symbol) when the type is Axiom::Types::Integer is expected to equal Axiom::Types::Integer (Integer) - when the type is Axiom::Types::Date + when the type is Date is expected to equal Axiom::Types::Date (Date) - when the type is Axiom::Types::Hash - is expected to equal Axiom::Types::Hash (Hash) - when the type is Axiom::Types::Class - is expected to equal Axiom::Types::Class (Class) + when the type is Axiom::Types::Symbol + is expected to equal Axiom::Types::Symbol (Symbol) + when the type is Axiom::Types::Float + is expected to equal Axiom::Types::Float (Float) + when the type is Axiom::Types::Object + is expected to equal Axiom::Types::Object (BasicObject) + when the type is Axiom::Types::Collection + is expected to equal Axiom::Types::Object (Enumerable) when the type is BasicObject is expected to equal Axiom::Types::Object (BasicObject) - when the type is Axiom::Types::Array - is expected to equal Axiom::Types::Array (Array) when the type is Axiom::Types::Numeric is expected to equal Axiom::Types::Numeric (Numeric) - when the type is Axiom::Types::Object - is expected to equal Axiom::Types::Object (BasicObject) - when the type is Symbol - is expected to equal Axiom::Types::Symbol (Symbol) when the type is Array is expected to equal Axiom::Types::Array (Array) - when the type is Hash - is expected to equal Axiom::Types::Hash (Hash) - when the type is FalseClass - is expected to equal Axiom::Types::Boolean (BasicObject) - when the type is Axiom::Types::String - is expected to equal Axiom::Types::String (String) - when the type is Axiom::Types::Set - is expected to equal Axiom::Types::Set (Set) - when the type is DateTime - is expected to equal Axiom::Types::DateTime (DateTime) - when the type is Date - is expected to equal Axiom::Types::Date (Date) - when the type is TrueClass - is expected to equal Axiom::Types::Boolean (BasicObject) - when the type is String - is expected to equal Axiom::Types::String (String) when the type is Axiom::Types::Decimal is expected to equal Axiom::Types::Decimal (BigDecimal) - when the type is Time - is expected to equal Axiom::Types::Time (Time) - with a custom type - is expected to equal Axiom::Types::String (String) - -Axiom::Types::LengthComparable.extended - delegates to the ancestor - sets the default minimum_length - adds minimum_length method - sets the default maximum_length - adds maxumum_length method - -Axiom::Types::Hash.finalize - with the default key and value constraints - is expected to be frozen - adds a constraint that returns false for a non-Hash - adds a constraint that returns true for a Hash - constraint - is expected to be frozen - with custom key and value constraints - adds a constraint that returns false for an invalid value - is expected to be frozen - adds a constraint that returns false for an invalid key - adds a constraint that returns true for valid keys and values - constraint - is expected to be frozen - -Axiom::Types::Object.primitive - with a class - sets the primitive - with no arguments - is expected to equal BasicObject - -Axiom::Types::Type.include? - when the value does not match the type constraint - is expected to equal false - when the value matches the type constraint - is expected to equal true -Axiom::Types::Type.constraint - with a callable object - creates a constraint that matches a number > 1 - with another constraint - creates a constraint that matches a number > 1 and < 3 - constraint - is expected to respond to #call - constraint - is expected to respond to #call - with a block - creates a constraint that matches a number > 1 - with another constraint - creates a constraint that matches a number > 1 and < 3 - constraint - is expected to respond to #call - constraint - is expected to respond to #call - with no arguments or block - is expected to respond to #call - is expected to equal # +Axiom::Types::Array.infer + with Axiom::Types::Array + when the argument is nil + is expected to be nil + when the argument is ::Array + is expected to equal Axiom::Types::Array (Array) + when the argument is an Array with a primitive + ancestors + is expected to include Axiom::Types::Array (Array) + member_type + is expected to equal Axiom::Types::Array (Array) + primitive + is expected to equal Array + when the argument is the type object + is expected to equal Axiom::Types::Array (Array) + when the argument is an Array with a type + primitive + is expected to equal Array + member_type + is expected to equal Axiom::Types::Array (Array) + ancestors + is expected to include Axiom::Types::Array (Array) + when the argument is an empty Array + is expected to equal Axiom::Types::Array (Array) + with Axiom::Types::Array subclass + when the argument is an Array with a primitive + is expected to be nil + when the argument is the type object + is expected to equal Axiom::Types::Array (Array) + when the argument is an empty Array + is expected to equal Axiom::Types::Array (Array) + when the argument is nil + is expected to be nil + when the argument is an Array with a type + is expected to be nil + when the argument is ::Array + is expected to equal Axiom::Types::Array (Array) -Axiom::Types::Options#inherited - adds the accepted option to the descendant +Axiom::Types::Encodable.extended + sets the encoding default to UTF-8 + adds encoding method delegates to the ancestor - sets the default value for the descendant - -Axiom::Types::Type.base? - when the type is named - is expected to equal true - when the type is anonymous - is expected to equal false -Axiom::Types::Collection.infer - with a a non-base class - when the argument is ::SortedSet - is expected to equal Axiom::Types::Object (SortedSet) - when the argument is an SortedSet with a primitive - is expected to be nil - when the argument is the type object - is expected to equal Axiom::Types::Object (SortedSet) +Axiom::Types::Set.infer + with Axiom::Types::Set subclass when the argument is nil is expected to be nil - when the argument is an empty SortedSet - is expected to equal Axiom::Types::Object (SortedSet) - when the argument is an SortedSet with a type + when the argument is an Set with a primitive is expected to be nil - with the type - when the argument is ::Enumerable - is expected to equal Axiom::Types::Object (Enumerable) when the argument is the type object - is expected to equal Axiom::Types::Object (Enumerable) - with a base class - when the argument is ::SortedSet - is expected to equal # (SortedSet) - when the argument is nil + is expected to equal Axiom::Types::Set (Set) + when the argument is ::Set + is expected to equal Axiom::Types::Set (Set) + when the argument is an Set with a type is expected to be nil - when the argument is an SortedSet with a type - member_type - is expected to equal # (SortedSet) - primitive - is expected to equal SortedSet - ancestors - is expected to include # (SortedSet) + when the argument is an empty Set + is expected to equal Axiom::Types::Set (Set) + with Axiom::Types::Set when the argument is the type object - is expected to equal # (SortedSet) - when the argument is an SortedSet with a primitive + is expected to equal Axiom::Types::Set (Set) + when the argument is an empty Set + is expected to equal Axiom::Types::Set (Set) + when the argument is ::Set + is expected to equal Axiom::Types::Set (Set) + when the argument is an Set with a primitive member_type - is expected to equal # (SortedSet) + is expected to equal Axiom::Types::Set (Set) + ancestors + is expected to include Axiom::Types::Set (Set) primitive - is expected to equal SortedSet + is expected to equal Set + when the argument is nil + is expected to be nil + when the argument is an Set with a type + primitive + is expected to equal Set + member_type + is expected to equal Axiom::Types::Set (Set) ancestors - is expected to include # (SortedSet) - when the argument is an empty SortedSet - is expected to equal # (SortedSet) + is expected to include Axiom::Types::Set (Set) + +Axiom::Types::Collection.finalize + with the default member constraints + adds a constraint that returns true for a collection + adds a constraint that returns false for a non-collection + is expected to be frozen + constraint + is expected to be frozen + with custom member constraints + is expected to be frozen + adds a constraint that returns false for an invalid member + adds a constraint that returns true for a valid member + constraint + is expected to be frozen Axiom::Types::ValueComparable#finalize - adds a constraint that returns true for a value within range adds a constraint that returns false for a value not within range is expected to be frozen + adds a constraint that returns true for a value within range range is expected to be frozen constraint is expected to be frozen -Axiom::Types::Type.anonymous? - when the type is named - is expected to equal false - when the type is anonymous - is expected to equal true - Axiom::Types::Infinity#<=> - when other object is a Float - is symmetric - is expected to equal 1 when the other object is Float::INFINITY - is expected to equal 0 is symmetric - when other object is a BigDecimal + is expected to equal 0 + when other object is a Float is symmetric is expected to equal 1 - when other object is a Rational - is expected to equal 1 + when the other object is not comparable is symmetric + is expected to be nil + when the other object is infinity + is symmetric + is expected to equal 0 when other object is a Integer - is expected to equal 1 is symmetric + is expected to equal 1 when the other object is negative infinity + is expected to equal 1 + is symmetric + when other object is a BigDecimal is symmetric is expected to equal 1 when other object is a Integer - is symmetric is expected to equal 1 - when the other object is infinity is symmetric - is expected to equal 0 - when the other object is not comparable + when other object is a Rational is symmetric - is expected to be nil - -Axiom::Types::Object.inspect - is expected to eql "Axiom::Types::Object (BasicObject)" - -Axiom::Types::Infinity#succ - is expected to equal # + is expected to equal 1 -Axiom::Types::Type.base - when the type is named - is expected to equal Axiom::Types::Type +Axiom::Types::Type.base? when the type is anonymous - is expected to equal Axiom::Types::Type - -Axiom::Types::Hash.infer - with Axiom::Types::Hash - with an Hash with a key primitive and nil value - ancestors - is expected to include Axiom::Types::Hash (Hash) - value_type - is expected to equal Axiom::Types::Object (BasicObject) - primitive - is expected to equal Hash - key_type - is expected to equal Axiom::Types::Hash (Hash) - with an Hash with key and value primitives - value_type - is expected to equal Axiom::Types::Hash (Hash) - primitive - is expected to equal Hash - ancestors - is expected to include Axiom::Types::Hash (Hash) - key_type - is expected to equal Axiom::Types::Hash (Hash) - with a type object - is expected to equal Axiom::Types::Hash (Hash) - with an Hash with a key type and nil value - value_type - is expected to equal Axiom::Types::Object (BasicObject) - key_type - is expected to equal Axiom::Types::Hash (Hash) - primitive - is expected to equal Hash - ancestors - is expected to include Axiom::Types::Hash (Hash) - with a ::Hash - is expected to equal Axiom::Types::Hash (Hash) - with an Hash with a nil key and value primitive - ancestors - is expected to include Axiom::Types::Hash (Hash) - key_type - is expected to equal Axiom::Types::Object (BasicObject) - primitive - is expected to equal Hash - value_type - is expected to equal Axiom::Types::Hash (Hash) - when the argument is nil - is expected to be nil - with an empty Hash - is expected to equal Axiom::Types::Hash (Hash) - with an Hash with key and value types - key_type - is expected to equal Axiom::Types::Hash (Hash) - primitive - is expected to equal Hash - value_type - is expected to equal Axiom::Types::Hash (Hash) - ancestors - is expected to include Axiom::Types::Hash (Hash) - with an Hash with a nil key and value type - ancestors - is expected to include Axiom::Types::Hash (Hash) - key_type - is expected to equal Axiom::Types::Object (BasicObject) - primitive - is expected to equal Hash - value_type - is expected to equal Axiom::Types::Hash (Hash) - with Axiom::Types::Hash subclass - when the argument is ::Hash - is expected to equal Axiom::Types::Hash (Hash) - with an Hash with a nil key and value primitive - is expected to be nil - with an Hash with a key type and nil value - is expected to be nil - with an Hash with a key primitive and nil value - is expected to be nil - with a nil - is expected to be nil - with an Hash with key and value primitives - is expected to be nil - with an Hash with a nil key and value type - is expected to be nil - with an Hash with key and value types - is expected to be nil - with an empty Hash - is expected to equal Axiom::Types::Hash (Hash) - when the argument is the type object - is expected to equal Axiom::Types::Hash (Hash) - -Axiom::Types::Type.new - with a block - is expected to be frozen - has constraints - is expected to be an instance of Class - ancestors - is expected to include Axiom::Types::Type - with no arguments - is expected to be an instance of Class - has no constraints - is expected to be frozen - ancestors - is expected to include Axiom::Types::Type - with a constraint and block - has constraints - is expected to be an instance of Class - is expected to be frozen - ancestors - is expected to include Axiom::Types::Type - with a constraint - is expected to be frozen - has constraints - is expected to be an instance of Class - ancestors - is expected to include Axiom::Types::Type - -Axiom::Types::LengthComparable#range - is expected to be frozen - is expected to eql 1 and 2 - -Axiom::Types::Object.finalize - is expected to be frozen - adds a constraint that returns false for an invalid primitive - adds a constraint that returns true for a valid primitive - constraint - is expected to be frozen - -Axiom::Types::Collection.finalize - with the default member constraints - is expected to be frozen - adds a constraint that returns true for a collection - adds a constraint that returns false for a non-collection - constraint - is expected to be frozen - with custom member constraints - is expected to be frozen - adds a constraint that returns false for an invalid member - adds a constraint that returns true for a valid member - constraint - is expected to be frozen - -Axiom::Types::Boolean.infer - when the argument is nil - is expected to be nil - when the argument is ::TrueClass - is expected to equal Axiom::Types::Boolean (BasicObject) - when the argument is not nil - is expected to be nil - when the argument is the type object - is expected to equal Axiom::Types::Boolean (BasicObject) - when the argument is ::FalseClass - is expected to equal Axiom::Types::Boolean (BasicObject) - -Axiom::Types::Type.infer - when the argument is Axiom::Types::Decimal - does not match any other type - when the argument is Axiom::Types::Array - does not match any other type - when the argument is Axiom::Types::Object - does not match any other type - when the argument is Axiom::Types::Time - does not match any other type - when the argument is Axiom::Types::Date - does not match any other type - when the argument is Axiom::Types::DateTime - does not match any other type - when the argument is Axiom::Types::Class - does not match any other type - when the argument is Axiom::Types::Integer - does not match any other type - when the argument is Axiom::Types::Numeric - does not match any other type - when the argument is Axiom::Types::String - does not match any other type - when the argument is Axiom::Types::Set - does not match any other type - when the argument is Axiom::Types::Hash - does not match any other type - when the argument is Axiom::Types::Boolean - does not match any other type - when the argument is Axiom::Types::Collection - does not match any other type - when the argument is Axiom::Types::Float - does not match any other type - when the argument is the type object - is expected to equal Axiom::Types::Type - when the argument is Axiom::Types::Symbol - does not match any other type - -Axiom::Types::Type.includes - with an empty set - adds a constraint that returns false - with a non-empty list - adds a constraint that returns true for a valid member - adds a constraint that returns false for an invalid member - freezes the members - removes duplicate members + is expected to equal false + when the type is named + is expected to equal true Axiom::Types::Options#accept_options with an option that conflicts with an existing method is expected to raise Axiom::Types::Options::ReservedMethodError with "method named `:name` is already defined" with valid options - defines the instance variables for the options adds methods to the object that can set a value adds methods to the object + defines the instance variables for the options with the descendant class option added after inherited - adds methods to the descendant that can set a value - does not set the descendant defaults adds the method to the descendants is idempotent + adds methods to the descendant that can set a value + does not set the descendant defaults option added before inherited + adds methods to the descendant that can set a value adds the method to the descendants - is idempotent sets the descendant defaults - adds methods to the descendant that can set a value + is idempotent + +Axiom::Types::Object.coercion_method + with no arguments + is expected to equal :to_object + with a symbol + sets the coercion_method + +Axiom::Types::Options#inherited + delegates to the ancestor + adds the accepted option to the descendant + sets the default value for the descendant -Top 10 slowest examples (0.0754 seconds, 7.2% of total time): - Axiom::Types::Collection.infer with a a non-base class when the argument is ::SortedSet is expected to equal Axiom::Types::Object (SortedSet) - 0.02005 seconds ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:106 - Axiom::Types::Encodable.extended delegates to the ancestor - 0.01725 seconds ./spec/unit/axiom/types/encodable/class_methods/extended_spec.rb:10 - Axiom::Types::Encodable#finalize when an non-ascii compatible encoding (UTF-16BE) is used adds a constraint that returns false for Windows-1255 encoding - 0.00684 seconds ./spec/unit/axiom/types/encodable/finalize_spec.rb:70 - Axiom::Types::Encodable.extended adds encoding method - 0.00625 seconds ./spec/unit/axiom/types/encodable/class_methods/extended_spec.rb:24 - Axiom::Types::Object.finalize is expected to be frozen - 0.00613 seconds ./spec/unit/axiom/types/object/class_methods/finalize_spec.rb:18 +Top 10 slowest examples (0.06243 seconds, 8.3% of total time): + Axiom::Types::Collection.infer with a a non-base class when the argument is the type object is expected to equal Axiom::Types::Object (SortedSet) + 0.01732 seconds ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:100 + Axiom::Types::Type.includes with a non-empty list removes duplicate members + 0.01371 seconds ./spec/unit/axiom/types/type/class_methods/includes_spec.rb:28 + Axiom::Types::Set.infer with Axiom::Types::Set subclass when the argument is an empty Set is expected to equal Axiom::Types::Set (Set) + 0.00756 seconds ./spec/unit/axiom/types/set/class_methods/infer_spec.rb:84 + Axiom::Types::LengthComparable#finalize adds a constraint that returns true for a length within range + 0.00476 seconds ./spec/unit/axiom/types/length_comparable/finalize_spec.rb:24 + Axiom::Types::Type.includes with a non-empty list freezes the members + 0.00473 seconds ./spec/unit/axiom/types/type/class_methods/includes_spec.rb:24 Axiom::Types::Infinity#coerce when other is not a number is expected to raise TypeError with "String cannot be coerced" - 0.00396 seconds ./spec/unit/axiom/types/infinity/coerce_spec.rb:60 - Axiom::Types::Array.infer with Axiom::Types::Array subclass when the argument is an empty Array is expected to equal Axiom::Types::Array (Array) - 0.00394 seconds ./spec/unit/axiom/types/array/class_methods/infer_spec.rb:84 - Axiom::Types::Type.constraint with a callable object with another constraint constraint is expected to respond to #call - 0.00383 seconds ./spec/unit/axiom/types/type/class_methods/constraint_spec.rb:40 - Axiom::Types::Object.infer with the type when the argument is Axiom::Types::Numeric is expected to equal Axiom::Types::Numeric (Numeric) - 0.00361 seconds ./spec/unit/axiom/types/object/class_methods/infer_spec.rb:36 - Axiom::Types::Encodable#finalize when an non-ascii compatible encoding (UTF-16BE) is used is expected to be frozen - 0.00354 seconds ./spec/unit/axiom/types/encodable/finalize_spec.rb:57 + 0.00328 seconds ./spec/unit/axiom/types/infinity/coerce_spec.rb:60 + Axiom::Types::Boolean.infer when the argument is nil is expected to be nil + 0.00321 seconds ./spec/unit/axiom/types/boolean/class_methods/infer_spec.rb:31 + Axiom::Types::LengthComparable#finalize is expected to be frozen + 0.00305 seconds ./spec/unit/axiom/types/length_comparable/finalize_spec.rb:19 + Axiom::Types::Type.constraint with no arguments or block is expected to respond to #call + 0.00293 seconds ./spec/unit/axiom/types/type/class_methods/constraint_spec.rb:14 + Axiom::Types::Hash.infer with Axiom::Types::Hash with an Hash with a key type and nil value key_type is expected to equal Axiom::Types::Hash (Hash) + 0.00189 seconds ./spec/unit/axiom/types/hash/class_methods/infer_spec.rb:47 Top 10 slowest example groups: - Axiom::Types::Encodable.extended - 0.00861 seconds average (0.02583 seconds / 3 examples) ./spec/unit/axiom/types/encodable/class_methods/extended_spec.rb:5 - Axiom::Types::Type.base - 0.006 seconds average (0.012 seconds / 2 examples) ./spec/unit/axiom/types/type/class_methods/base_spec.rb:5 - Axiom::Types::LengthComparable#finalize - 0.00533 seconds average (0.02666 seconds / 5 examples) ./spec/unit/axiom/types/length_comparable/finalize_spec.rb:5 - Axiom::Types::Collection.infer - 0.00332 seconds average (0.05977 seconds / 18 examples) ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:5 - Axiom::Types::Hash.infer - 0.00321 seconds average (0.12191 seconds / 38 examples) ./spec/unit/axiom/types/hash/class_methods/infer_spec.rb:5 - Axiom::Types::Array.infer - 0.00296 seconds average (0.04728 seconds / 16 examples) ./spec/unit/axiom/types/array/class_methods/infer_spec.rb:5 Axiom::Types::Type.includes - 0.00291 seconds average (0.01454 seconds / 5 examples) ./spec/unit/axiom/types/type/class_methods/includes_spec.rb:5 - Axiom::Types::Object.finalize - 0.00278 seconds average (0.0111 seconds / 4 examples) ./spec/unit/axiom/types/object/class_methods/finalize_spec.rb:5 - Axiom::Types::Object.infer - 0.00255 seconds average (0.10721 seconds / 42 examples) ./spec/unit/axiom/types/object/class_methods/infer_spec.rb:5 + 0.00466 seconds average (0.02331 seconds / 5 examples) ./spec/unit/axiom/types/type/class_methods/includes_spec.rb:5 + Axiom::Types::Hash.infer + 0.0037 seconds average (0.1407 seconds / 38 examples) ./spec/unit/axiom/types/hash/class_methods/infer_spec.rb:5 + Axiom::Types::Collection.infer + 0.0027 seconds average (0.04858 seconds / 18 examples) ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:5 + Axiom::Types::LengthComparable#finalize + 0.00248 seconds average (0.01242 seconds / 5 examples) ./spec/unit/axiom/types/length_comparable/finalize_spec.rb:5 + Axiom::Types::Boolean.infer + 0.00219 seconds average (0.01094 seconds / 5 examples) ./spec/unit/axiom/types/boolean/class_methods/infer_spec.rb:5 Axiom::Types::Set.infer - 0.00222 seconds average (0.03544 seconds / 16 examples) ./spec/unit/axiom/types/set/class_methods/infer_spec.rb:5 + 0.00213 seconds average (0.03403 seconds / 16 examples) ./spec/unit/axiom/types/set/class_methods/infer_spec.rb:5 + Axiom::Types::Type.constraint + 0.00204 seconds average (0.02039 seconds / 10 examples) ./spec/unit/axiom/types/type/class_methods/constraint_spec.rb:5 + Axiom::Types::LengthComparable.extended + 0.00174 seconds average (0.0087 seconds / 5 examples) ./spec/unit/axiom/types/length_comparable/class_methods/extended_spec.rb:5 + Axiom::Types::Array.infer + 0.00161 seconds average (0.02573 seconds / 16 examples) ./spec/unit/axiom/types/array/class_methods/infer_spec.rb:5 + Axiom::Types::ValueComparable#range + 0.00146 seconds average (0.00292 seconds / 2 examples) ./spec/unit/axiom/types/value_comparable/range_spec.rb:5 -Finished in 1.04 seconds (files took 3.56 seconds to load) +Finished in 0.75429 seconds (files took 0.68474 seconds to load) 557 examples, 0 failures -Randomized with seed 39734 +Randomized with seed 8309 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2036,12 +2079,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/23515/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/23515/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/20568 and its subdirectories -I: Current time: Sat Jun 3 00:32:30 -12 2023 -I: pbuilder-time-stamp: 1685795550 +I: removing directory /srv/workspace/pbuilder/23515 and its subdirectories +I: Current time: Sun Jun 4 02:35:15 +14 2023 +I: pbuilder-time-stamp: 1685795715