Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-contracts/ruby-contracts_0.16.0-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-contracts-0.16.0-1h3bx9raa/ruby-contracts_0.16.0-1_all.buildinfo Get source package info: ruby-contracts=0.16.0-1 Source URL: http://snapshot.notset.fr/mr/package/ruby-contracts/0.16.0-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11 automake=1:1.15.1-2.1 autopoint=0.19.8.1-4 autotools-dev=20161112.1 base-files=10 base-passwd=3.5.43 bash=4.4-5 binutils=2.29-4 bsdmainutils=9.0.12+nmu1 bsdutils=1:2.29.2-4 build-essential=12.3 bzip2=1.0.6-8.1 ca-certificates=20170717 coreutils=8.26-3 cpp=4:7.1.0-2 cpp-7=7.2.0-1 dash=0.5.8-2.5 debconf=1.5.63 debhelper=10.7.2 debianutils=4.8.2 devscripts=2.17.9 dh-autoreconf=14 dh-python=2.20170125 dh-strip-nondeterminism=0.038-1 diffutils=1:3.6-1 dpkg=1.18.24 dpkg-dev=1.18.24 e2fslibs=1.43.5-1 e2fsprogs=1.43.5-1 fdisk=2.29.2-4 file=1:5.31-1 findutils=4.6.0+git+20170729-2 g++=4:7.1.0-2 g++-7=7.2.0-1 gcc=4:7.1.0-2 gcc-7=7.2.0-1 gcc-7-base=7.2.0-1 gem2deb=0.35 gem2deb-test-runner=0.35 gettext=0.19.8.1-4 gettext-base=0.19.8.1-4 grep=3.1-2 groff-base=1.22.3-9 gzip=1.6-5+b1 hostname=3.18+b1 init-system-helpers=1.49 intltool-debian=0.35.0+20060710.4 libacl1=2.2.52-3+b1 libarchive-zip-perl=1.59-1 libasan4=7.2.0-1 libatomic1=7.2.0-1 libattr1=1:2.4.47-2+b2 libaudit-common=1:2.7.7-1 libaudit1=1:2.7.7-1+b2 libblkid1=2.29.2-4 libbsd0=0.8.6-1 libbz2-1.0=1.0.6-8.1 libc-bin=2.24-15 libc-dev-bin=2.24-15 libc6=2.24-15 libc6-dev=2.24-15 libcap-ng0=0.7.7-3+b1 libcc1-0=7.2.0-1 libcilkrts5=7.2.0-1 libcomerr2=1.43.5-1 libcroco3=0.6.12-1 libdb5.3=5.3.28-13 libdebconfclient0=0.229 libdpkg-perl=1.18.24 libexpat1=2.2.3-1 libfdisk1=2.29.2-4 libffi6=3.2.1-6 libfile-homedir-perl=1.00-1 libfile-stripnondeterminism-perl=0.038-1 libfile-which-perl=1.21-1 libgcc-7-dev=7.2.0-1 libgcc1=1:7.2.0-1 libgcrypt20=1.7.8-2 libgdbm3=1.8.3-14 libglib2.0-0=2.53.6-1 libgmp-dev=2:6.1.2+dfsg-1 libgmp10=2:6.1.2+dfsg-1 libgmpxx4ldbl=2:6.1.2+dfsg-1 libgomp1=7.2.0-1 libgpg-error0=1.27-3 libicu57=57.1-6 libisl15=0.18-1 libitm1=7.2.0-1 liblsan0=7.2.0-1 liblz4-1=0.0~r131-2+b1 liblzma5=5.2.2-1.3 libmagic-mgc=1:5.31-1 libmagic1=1:5.31-1 libmount1=2.29.2-4 libmpc3=1.0.3-1+b2 libmpdec2=2.4.2-1 libmpfr4=3.1.5-1 libmpx2=7.2.0-1 libncurses5=6.0+20170715-2 libncursesw5=6.0+20170715-2 libpam-modules=1.1.8-3.6 libpam-modules-bin=1.1.8-3.6 libpam-runtime=1.1.8-3.6 libpam0g=1.1.8-3.6 libpcre3=2:8.39-4 libperl5.26=5.26.0-5 libpipeline1=1.4.2-1 libpython3-stdlib=3.5.3-3 libpython3.5-minimal=3.5.4-2 libpython3.5-stdlib=3.5.4-2 libquadmath0=7.2.0-1 libreadline7=7.0-3 libruby2.3=2.3.3-1 libselinux1=2.6-3+b2 libsigsegv2=2.11-1 libsmartcols1=2.29.2-4 libsqlite3-0=3.19.3-3 libss2=1.43.5-1 libssl1.0.2=1.0.2l-2 libssl1.1=1.1.0f-4 libstdc++-7-dev=7.2.0-1 libstdc++6=7.2.0-1 libsystemd0=234-2 libtimedate-perl=2.3000-2 libtinfo5=6.0+20170715-2 libtool=2.4.6-2 libtsan0=7.2.0-1 libubsan0=7.2.0-1 libudev1=234-2 libunistring2=0.9.7-2 libuuid1=2.29.2-4 libxml2=2.9.4+dfsg1-3.1 libyaml-0-2=0.1.7-2 linux-libc-dev=4.12.6-1 login=1:4.4-4.1 m4=1.4.18-1 make=4.1-9.1 man-db=2.7.6.1-2 mawk=1.3.3-17+b3 mime-support=3.60 ncurses-base=6.0+20170715-2 ncurses-bin=6.0+20170715-2 openssl=1.1.0f-4 patch=2.7.5-1+b2 perl=5.26.0-5 perl-base=5.26.0-5 perl-modules-5.26=5.26.0-5 po-debconf=1.0.20 python3=3.5.3-3 python3-minimal=3.5.3-3 python3.5=3.5.4-2 python3.5-minimal=3.5.4-2 rake=12.0.0-1 readline-common=7.0-3 ruby=1:2.3.3 ruby-all-dev=1:2.3.3 ruby-did-you-mean=1.0.0-2 ruby-diff-lcs=1.3-1 ruby-minitest=5.10.3-1 ruby-net-telnet=0.1.1-2 ruby-power-assert=0.3.0-1 ruby-rspec=3.5.0c3e0m0s0-1 ruby-rspec-core=3.5.0c3e0m0s0-1 ruby-rspec-expectations=3.5.0c3e0m0s0-1 ruby-rspec-mocks=3.5.0c3e0m0s0-1 ruby-rspec-support=3.5.0c3e0m0s0-1 ruby-setup=3.4.1-9 ruby-test-unit=3.2.5-1 ruby-thread-order=1.1.0-1 ruby2.3=2.3.3-1 ruby2.3-dev=2.3.3-1 rubygems-integration=1.11 sed=4.4-1 sysvinit-utils=2.88dsf-59.9 tar=1.29b-2 util-linux=2.29.2-4 xz-utils=5.2.2-1.3 zlib1g=1:1.2.8.dfsg-5 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20170909T154239Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20170820T213926Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d ruby-contracts=0.16.0-1 && mkdir -p /build/ruby-contracts-kYcTD6 && dpkg-source --no-check -x /*.dsc /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0 && chown -R builduser:builduser /build/ruby-contracts-kYcTD6" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1503506379" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-contracts-kYcTD6 /tmp/ruby-contracts-0.16.0-1h3bx9raa buster /dev/null deb http://snapshot.notset.fr/archive/debian/20170820T213926Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.HL4PHvDQKK as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.HL4PHvDQKK Reading package lists... Building dependency tree... util-linux is already the newest version (2.29.2-4). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 131 kB of archives. After this operation, 373 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20170820T213926Z unstable/main amd64 libfakeroot amd64 1.22-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20170820T213926Z unstable/main amd64 fakeroot amd64 1.22-1 [85.7 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 131 kB in 0s (736 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4436 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.22-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.22-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.22-1_amd64.deb ... Unpacking fakeroot (1.22-1) ... Processing triggers for libc-bin (2.24-15) ... Setting up libfakeroot:amd64 (1.22-1) ... Setting up fakeroot (1.22-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.24-15) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20170909T154239Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20170820T213926Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.HL4PHvDQKK Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20170909T154239Z unstable InRelease [234 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20170820T213926Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20170909T154239Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20170909T154239Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20170909T154239Z unstable/main amd64 Packages [10.3 MB] Fetched 33.1 MB in 27s (1208 kB/s) Reading package lists... W: Problem unlinking the file auxfiles - pkgAcquire::Clean (21: Is a directory) I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.HL4PHvDQKK I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-contracts=0.16.0-1 && mkdir -p /build/ruby-contracts-kYcTD6 && dpkg-source --no-check -x /*.dsc /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0 && chown -R builduser:builduser /build/ruby-contracts-kYcTD6"' exec /tmp/mmdebstrap.HL4PHvDQKK Reading package lists... NOTICE: 'ruby-contracts' packaging is maintained in the 'Git' version control system at: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-contracts.git Please use: git clone https://anonscm.debian.org/git/pkg-ruby-extras/ruby-contracts.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 56.1 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-contracts 0.16.0-1 (dsc) [2108 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-contracts 0.16.0-1 (tar) [51.6 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-contracts 0.16.0-1 (diff) [2428 B] Fetched 56.1 kB in 0s (925 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-contracts_0.16.0-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-contracts in /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0 dpkg-source: info: unpacking ruby-contracts_0.16.0.orig.tar.gz dpkg-source: info: unpacking ruby-contracts_0.16.0-1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="POSIX" SOURCE_DATE_EPOCH="1503506379" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.HL4PHvDQKK dpkg-buildpackage: info: source package ruby-contracts dpkg-buildpackage: info: source version 0.16.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Sebastien Badia dpkg-source --before-build ruby-contracts-0.16.0 fakeroot debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_ruby --clean Invalid gemspec in [contracts.gemspec]: No such file or directory - git dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules build-indep dh build-indep --buildsystem=ruby --with ruby dh_update_autotools_config -i -O--buildsystem=ruby dh_autoreconf -i -O--buildsystem=ruby dh_auto_configure -i -O--buildsystem=ruby dh_ruby --configure dh_auto_build -i -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -i -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary-indep dh binary-indep --buildsystem=ruby --with ruby dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby dh_auto_install -i -O--buildsystem=ruby dh_ruby --install /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts dh_ruby --install Invalid gemspec in [contracts.gemspec]: No such file or directory - git ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/engine.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/engine.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/validators.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/validators.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/core.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/core.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/version.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/version.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/method_handler.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/method_handler.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/engine/target.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/engine/target.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/engine/base.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/engine/base.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/engine/eigenclass.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/engine/eigenclass.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/formatters.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/formatters.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/call_with.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/call_with.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/support.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/support.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/invariants.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/invariants.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/errors.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/errors.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/decorators.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/decorators.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/builtin_contracts.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/builtin_contracts.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/method_reference.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/method_reference.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts/attrs.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts/attrs.rb install -D -m644 /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/lib/contracts.rb /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby/contracts.rb dh_installchangelogs -pruby-contracts /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/CHANGELOG.markdown upstream ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/share/rubygems-integration/all/specifications/contracts-0.16.0.gemspec /usr/bin/ruby2.3 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.3 │ └──────────────────────────────────────────────────────────────────────────────┘ Invalid gemspec in [contracts.gemspec]: No such file or directory - git GEM_PATH=debian/ruby-contracts/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -e gem\ \"contracts\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.3 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/debian/ruby-contracts/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-contracts/usr/share/rubygems-integration/all:/var/lib/gems/2.3.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all ruby2.3 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.3 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} Randomized with seed 6312 Contracts: Attrs: attr_accessor_with_contract getting valid type getting invalid type setting valid type setting invalid type attr_writer_with_contract setting valid type getting setting invalid type attr_reader_with_contract getting invalid type setting getting valid type Contract .override_validator allows to override class validator allows to override simple validators allows to override valid contract allows to override default validator Contracts: Bool: should fail for nil should pass for an argument that is a boolean Optional: can't be used outside of KeywordArgs Enum: should fail for an object that is not included should pass for an object that is included Not: should pass for an argument that isn't nil should fail for nil Eq: should pass for a class should pass for a module should fail when given instance of class should fail when not equal should pass for other values And: should pass for an object of class A that has a method :good should fail for an object that has a method :good but isn't of class A Exactly: should fail for an object that is not related to Parent at all should pass for an object that is exactly a Parent should fail for an object that inherits from Parent KeywordArgs: should pass if a method is overloaded with non-KeywordArgs should pass for exact correct input should fail if some keys don't have contracts should fail for incorrect input should fail if a key with a contract on it isn't provided Xor: should pass for an object with a method :bad should fail for an object with neither method should fail for an object with both methods :good and :bad should pass for an object with a method :good StrictHash: when given an exact correct input does not raise an error when given an input with missing keys raises an error when given an input with correct keys but wrong types raises an error when given not a hash raises an error when given an input with extra keys raises an error Num: should pass for Fixnums should pass for Floats should fail for nil and other data types SetOf: should fail for an array with one non-num should fail for a non-array should pass for a set of nums RespondTo: should fail for an object that doesn't respond to :good should pass for an object that responds to :good ArrayOf: should pass for an array of nums should fail for an array with one non-num should fail for a non-array Or: should pass for strings should pass for nums should fail for nil RangeOf: should fail for a non-range should fail for a range with incorrect data type should pass for a range of dates should pass for a range of nums should fail for a badly-defined range Send: should fail for an object that returns false for method :good should pass for an object that returns true for method :good None: should fail for numbers should fail for strings should fail for procs should fail for nil Any: should pass for strings should pass for nil should pass for numbers should pass for procs DescendantOf: should pass for Array should fail for a non-class should fail for a number class should pass for a hash Nat: should pass for 0 should fail for nil and other data types should fail for positive non-whole numbers should fail for negative numbers should pass for positive whole numbers Pos: should fail for nil and other data types should fail for negative numbers should pass for positive numbers should fail for 0 Maybe: should pass for nums should fail for strings should pass for nils Neg: should fail for positive numbers should fail for 0 should pass for negative numbers should fail for nil and other data types HashOf: doesn't allow to specify multiple key-value pairs with pretty syntax given a fulfilled contract should eq 2 should eq 2 #to_s given Symbol => String should eq "Hash" given String => Num should eq "Hash" given an unfulfilled contract should raise ContractError should raise ContractError should raise ContractError should raise ContractError module methods should fail for incorrect input should pass for correct input Contracts: method called with blocks WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was # Num At: /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/methods_spec.rb:47 >. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/methods_spec.rb:47:in `block (3 levels) in '. should enforce return value inside lambda with no other parameter WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was # Num At: /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/methods_spec.rb:43 >. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/methods_spec.rb:43:in `block (3 levels) in '. should enforce return value inside block with other parameter WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was # Num At: /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/methods_spec.rb:51 >. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/methods_spec.rb:51:in `block (3 levels) in '. should enforce return value inside lambda with other parameter WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was # Num At: >. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/methods_spec.rb:39:in `block (3 levels) in '. should enforce return value inside block with no other parameter Contracts: functype should correctly print out a instance method's type should correctly print out a class method's type classes with extended modules is possible to define it should not fail with 'undefined method 'Contract'' works correctly with methods with passing contracts works correctly with methods with passing contracts private methods should raise an error if you try to access a private method should raise an error if you try to access a private method anonymous modules fails with error when contract is violated does not fail when contract is satisfied when called on module itself fails with error when contract is violated does not fail when contract is satisfied Arrays should fail for some incorrect elements should pass for correct input should fail for insufficient items classes should not fail for an object that is the exact type as the contract should not fail for an object that is a subclass of the type in the contract instance methods should allow two classes to have the same method with different contracts protected methods should raise an error if you try to access a protected method should raise an error if you try to access a protected method contracts on functions should pass for a function that passes the contract should fail for a returned function that doesn't pass the contract should pass for a function that passes the contract with weak other args should fail for a returned function that receives the wrong argument type should not fail for a returned function that passes the contract should pass for a function that passes the contract as in tutorial should fail for a function that doesn't pass the contract with weak other args should fail for a function that doesn't pass the contract Procs should pass for correct input should fail for incorrect input failure callbacks when failure_callback returns false does not call a function for which the contract fails when failure_callback returns true calls a function for which the contract fails usage in singleton class should fail with proper error when there is contract violation should work normally when there is no contract violation builtin contracts usage allows to use builtin contracts without namespacing and redundant Contracts inclusion contracts for functions with no arguments should work for functions with no args WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/contracts_spec.rb:28:in `block (3 levels) in '. should not work for a function with a bad contract should still work for old-style contracts for functions with no args no contracts feature does not disable pattern matching disables normal contract checks disables invariants anonymous classes fails with error when contract is violated does not fail when contract is satisfied singleton methods self in inherited methods should be a proper self inherited methods WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was # Num At: /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/fixtures/fixtures.rb:397 >. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/contracts_spec.rb:699:in `block (3 levels) in '. should apply the contract to an inherited method instance and class methods should allow a class to have an instance method and a class method with the same name usage in the singleton class of a subclass should work with a valid contract on a singleton method varargs with block should fail for incorrect input should pass for correct input when block has Func contract should fail for incorrect input basic WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-contracts-kYcTD6/ruby-contracts-0.16.0/spec/contracts_spec.rb:8:in `block (3 levels) in '. should fail for insufficient arguments should fail for insufficient contracts class methods should fail for incorrect input should pass for correct input module contracts passes for instance of class including inherited module passes for instance of class including module does not pass for instance of class not including module does not pass for instance of class including another module passes for instance of class including both modules pattern matching should not fall through to next pattern when there is a deep contract violation if the return contract for a pattern match fails, it should fail instead of trying the next pattern match should work for differing arities should work as expected when there is no contract violation should fail when the pattern-matched method's contract fails should fail if multiple methods are defined with the same contract (for pattern-matching) when failure_callback was overriden if the return contract for a pattern match fails, it should fail instead of trying the next pattern match, even with the failure callback uses overriden failure_callback when pattern matching fails calls a method when first pattern matches falls through to 2nd pattern when first pattern does not match Contracts to_s formatting in expected should contain to_s representation within an Array contract should not contain Contracts:: module prefix should contain to_s representation within a nested Hash contract should contain to_s representation within a Hash contract should not stringify native types should show empty quotes as "" should still show nils, not just blank space should contain to_s representation within a nested Array contract should not use custom to_s if empty string classes with a valid? class method should pass for correct input should fail for incorrect input module usage with singleton class methods should check contract with instance methods should check contract with singleton methods should check contract default args to functions should work for a function call that relies on default args Hashes should pass for exact correct input should fail for incorrect input should pass even if some keys don't have contracts should fail if a key with a contract on it isn't provided varargs should pass for correct input should work with arg before splat should fail for incorrect input blocks should pass for correct input should fail for incorrect input should succeed for maybe proc with no proc should fail for maybe proc with invalid input should handle properly lack of block when there are other arguments should succeed for maybe proc with proc varargs are given with a maybe block when a block is NOT passed in, varargs should still be correct when a block is passed in, varargs should be correct classes should fail for incorrect input should pass for correct input Contract validators Regexp should pass for a matching string should fail for a non-matching string within a hash should pass for a matching string within an array should pass for a matching string Range fails when value is incorrect passes when value is in range fails when value is not in range Contracts::Invariants works when all invariants are holding raises invariant violation error when any of invariants are not holding Contracts::Support eigenclass_of returns the eigenclass of a given object eigenclass? is truthy for singleton classes is falsey for non-singleton classes Top 10 slowest examples (0.13118 seconds, 41.7% of total time): Contracts: private methods should raise an error if you try to access a private method 0.03999 seconds ./spec/contracts_spec.rb:680 Contracts: Hashes should pass for exact correct input 0.02492 seconds ./spec/contracts_spec.rb:351 Contract.override_validator allows to override default validator 0.01277 seconds ./spec/override_validators_spec.rb:127 Contracts: private methods should raise an error if you try to access a private method 0.01128 seconds ./spec/contracts_spec.rb:676 Contracts: protected methods should raise an error if you try to access a protected method 0.01019 seconds ./spec/contracts_spec.rb:690 Contracts::Support eigenclass? is truthy for singleton classes 0.00963 seconds ./spec/support_spec.rb:8 Contracts: RangeOf: should fail for a non-range 0.00852 seconds ./spec/builtin_contracts_spec.rb:295 Contracts: protected methods should raise an error if you try to access a protected method 0.00746 seconds ./spec/contracts_spec.rb:686 Contract.override_validator allows to override class validator 0.00351 seconds ./spec/override_validators_spec.rb:96 Contract.override_validator allows to override valid contract 0.00292 seconds ./spec/override_validators_spec.rb:45 Top 9 slowest example groups: Contract 0.00533 seconds average (0.02131 seconds / 4 examples) ./spec/override_validators_spec.rb:1 Contracts::Support 0.00367 seconds average (0.01101 seconds / 3 examples) ./spec/support_spec.rb:2 Contracts: 0.00154 seconds average (0.15531 seconds / 101 examples) ./spec/contracts_spec.rb:1 Contracts: 0.0012 seconds average (0.10707 seconds / 89 examples) ./spec/builtin_contracts_spec.rb:1 Contracts: 0.00087 seconds average (0.00866 seconds / 10 examples) ./spec/attrs_spec.rb:1 Contract validators 0.00072 seconds average (0.00501 seconds / 7 examples) ./spec/validators_spec.rb:3 Contracts::Invariants 0.00069 seconds average (0.00138 seconds / 2 examples) ./spec/invariants_spec.rb:2 Contracts: 0.00052 seconds average (0.00209 seconds / 4 examples) ./spec/methods_spec.rb:1 module methods 0.00044 seconds average (0.00087 seconds / 2 examples) ./spec/module_spec.rb:10 Finished in 0.31457 seconds (files took 0.48888 seconds to load) 222 examples, 0 failures Randomized with seed 6312 ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby dh_installchangelogs -i -O--buildsystem=ruby dh_perl -i -O--buildsystem=ruby dh_link -i -O--buildsystem=ruby dh_strip_nondeterminism -i -O--buildsystem=ruby dh_compress -X.rb -i -O--buildsystem=ruby dh_fixperms -i -O--buildsystem=ruby dh_missing -i -O--buildsystem=ruby dh_installdeb -i -O--buildsystem=ruby dh_gencontrol -i -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-contracts: unknown substitution variable ${shlibs:Depends} dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-contracts' in '../ruby-contracts_0.16.0-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-contracts_0.16.0-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build ruby-contracts-0.16.0 dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ruby-contracts-kYcTD6 /tmp/ruby-contracts-0.16.0-1h3bx9raa I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.HL4PHvDQKK... I: success in 318.1212 seconds md5: ruby-contracts_0.16.0-1_all.deb: OK sha1: ruby-contracts_0.16.0-1_all.deb: OK sha256: ruby-contracts_0.16.0-1_all.deb: OK Checksums: OK