Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-recursive-open-struct/ruby-recursive-open-struct_1.1.1-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-recursive-open-struct-1.1.1-17km6wnk3/ruby-recursive-open-struct_1.1.1-1_all.buildinfo Get source package info: ruby-recursive-open-struct=1.1.1-1 Source URL: http://snapshot.notset.fr/mr/package/ruby-recursive-open-struct/1.1.1-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 autoconf=2.69-11.1 automake=1:1.16.1-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-6 binutils=2.34-4 binutils-common=2.34-4 binutils-x86-64-linux-gnu=2.34-4 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.8 bzip2=1.0.8-2 ca-certificates=20190110 coreutils=8.30-3+b1 cpp=4:9.2.1-3.1 cpp-9=9.2.1-31 dash=0.5.10.2-6 debconf=1.5.73 debhelper=12.9 debianutils=4.9.1 devscripts=2.20.2 dh-autoreconf=19 dh-strip-nondeterminism=1.6.3-2 diffutils=1:3.7-3 dirmngr=2.2.19-3 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.13-5 fakeroot=1.24-1 fdisk=2.34-0.1 file=1:5.38-4 findutils=4.7.0-1 g++=4:9.2.1-3.1 g++-9=9.2.1-31 gcc=4:9.2.1-3.1 gcc-10-base=10-20200304-1 gcc-9=9.2.1-31 gcc-9-base=9.2.1-31 gem2deb=1.0.5+b1 gem2deb-test-runner=1.0.5+b1 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 gnupg=2.2.19-3 gnupg-l10n=2.2.19-3 gnupg-utils=2.2.19-3 gpg=2.2.19-3 gpg-agent=2.2.19-3 gpg-wks-client=2.2.19-3 gpg-wks-server=2.2.19-3 gpgconf=2.2.19-3 gpgsm=2.2.19-3 gpgv=2.2.19-3 grep=3.4-1 groff-base=1.22.4-4 gzip=1.10-1 hostname=3.23 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-6 libarchive-zip-perl=1.67-2 libasan5=9.2.1-31 libassuan0=2.5.3-7 libatomic1=10-20200304-1 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2+b1 libb-hooks-op-check-perl=0.22-1+b2 libbinutils=2.34-4 libblkid1=2.34-0.1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-2 libc-bin=2.29-10 libc-dev-bin=2.29-10 libc6=2.29-10 libc6-dev=2.29-10 libcap-ng0=0.7.9-2.1+b2 libcc1-0=10-20200304-1 libclass-method-modifiers-perl=2.13-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.15-1 libcrypt1=1:4.4.15-1 libctf-nobfd0=2.34-4 libctf0=2.34-4 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.251 libdebhelper-perl=12.9 libdevel-callchecker-perl=0.008-1+b1 libdpkg-perl=1.19.7 libdynaloader-functions-perl=0.003-1 libelf1=0.176-1.1 libencode-locale-perl=1.05-1 libexpat1=2.2.9-1 libfakeroot=1.24-1 libfdisk1=2.34-0.1 libffi7=3.3-3 libfile-homedir-perl=1.004-1 libfile-listing-perl=6.04-1 libfile-stripnondeterminism-perl=1.6.3-2 libfile-which-perl=1.23-1 libgcc-9-dev=9.2.1-31 libgcc-s1=10-20200304-1 libgcc1=1:10-20200304-1 libgcrypt20=1.8.5-5 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.0-2 libgmp-dev=2:6.2.0+dfsg-4 libgmp10=2:6.2.0+dfsg-4 libgmpxx4ldbl=2:6.2.0+dfsg-4 libgnutls30=3.6.12-2 libgomp1=10-20200304-1 libgpg-error0=1.37-1 libhogweed5=3.5.1+really3.5.1-2 libhtml-parser-perl=3.72-5 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.08-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.22-1 libhttp-negotiate-perl=6.01-1 libicu63=63.2-2 libidn2-0=2.3.0-1 libimport-into-perl=1.002005-1 libio-html-perl=1.001-1 libio-pty-perl=1:1.12-1 libio-socket-ssl-perl=2.067-1 libipc-run-perl=20180523.0-2 libisl22=0.22.1-1 libitm1=10-20200304-1 libksba8=1.3.5-2 libldap-2.4-2=2.4.49+dfsg-2 libldap-common=2.4.49+dfsg-2 liblsan0=10-20200304-1 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.07-2 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-4 libmagic1=1:5.38-4 libmodule-runtime-perl=0.016-1 libmoo-perl=2.003006-1 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpdec2=2.4.2-3 libmpfr6=4.0.2-1 libncursesw6=6.2-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-2 libnettle7=3.5.1+really3.5.1-2 libnpth0=1.6-1 libp11-kit0=0.23.20-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libparams-classify-perl=0.015-1+b2 libpcre2-8-0=10.34-7 libpcre3=2:8.39-12+b1 libperl5.30=5.30.0-9 libpipeline1=1.5.2-2 libpython3-stdlib=3.8.2-1 libpython3.8-minimal=3.8.2-1 libpython3.8-stdlib=3.8.2-1 libquadmath0=10-20200304-1 libreadline8=8.0-4 librole-tiny-perl=2.001004-1 libruby2.5=2.5.7-1+b1 libruby2.7=2.7.0-4 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.2-2 libselinux1=3.0-1+b1 libsemanage-common=3.0-1 libsemanage1=3.0-1+b1 libsepol1=3.0-1 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libsqlite3-0=3.31.1-4 libssl1.1=1.1.1d-2 libstdc++-9-dev=9.2.1-31 libstdc++6=10-20200304-1 libstrictures-perl=2.000006-1 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=244.3-1 libtasn1-6=4.16.0-2 libtimedate-perl=2.3200-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtry-tiny-perl=0.30-1 libtsan0=10-20200304-1 libubsan1=10-20200304-1 libuchardet0=0.0.6-3 libudev1=244.3-1 libunistring2=0.9.10-2 liburi-perl=1.76-2 libuuid1=2.34-0.1 libwww-perl=6.43-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-4 libyaml-0-2=0.2.2-1 linux-libc-dev=5.4.19-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.2.1-1.2 man-db=2.9.1-1 mawk=1.3.4.20200120-2 mime-support=3.64 ncurses-base=6.2-1 ncurses-bin=6.2-1 netbase=6.1 openssl=1.1.1d-2 passwd=1:4.8.1-1 patch=2.7.6-6 patchutils=0.3.4-2+b1 perl=5.30.0-9 perl-base=5.30.0-9 perl-modules-5.30=5.30.0-9 perl-openssl-defaults=4 pinentry-curses=1.1.0-3+b1 po-debconf=1.0.21 pry=0.12.2-1 python3=3.8.2-1 python3-minimal=3.8.2-1 python3.8=3.8.2-1 python3.8-minimal=3.8.2-1 rake=13.0.1-2 readline-common=8.0-4 ruby=1:2.5.7.1 ruby-all-dev=1:2.5.7.1 ruby-coderay=1.1.2-3 ruby-did-you-mean=1.2.1-1 ruby-diff-lcs=1.3-1 ruby-method-source=0.9.2-1 ruby-minitest=5.13.0-1 ruby-net-telnet=0.1.1-2 ruby-power-assert=1.1.5-1 ruby-rspec=3.9.0c1e0m1s2-1 ruby-rspec-core=3.9.0c1e0m1s2-1 ruby-rspec-expectations=3.9.0c1e0m1s2-1 ruby-rspec-mocks=3.9.0c1e0m1s2-1 ruby-rspec-support=3.9.0c1e0m1s2-1 ruby-setup=3.4.1-9 ruby-test-unit=3.3.4-1 ruby-xmlrpc=0.3.0-2 ruby2.5=2.5.7-1+b1 ruby2.5-dev=2.5.7-1+b1 ruby2.7=2.7.0-4 ruby2.7-dev=2.7.0-4 rubygems-integration=1.16 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-2.1 tar=1.30+dfsg-6+b1 util-linux=2.34-0.1 wdiff=1.2.2-2+b1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --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/20200311T150332Z/ 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-recursive-open-struct=1.1.1-1 && mkdir -p /build/ruby-recursive-open-struct-yFP2JM && dpkg-source --no-check -x /*.dsc /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1 && chown -R builduser:builduser /build/ruby-recursive-open-struct-yFP2JM" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1583931176" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-recursive-open-struct-yFP2JM /tmp/ruby-recursive-open-struct-1.1.1-17km6wnk3 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200311T150332Z 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.YGXgus4Bzq 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.YGXgus4Bzq Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.1). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200311T150332Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200311T150332Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (861 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 ... 4511 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.29-10) ... 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/20200311T150332Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.YGXgus4Bzq Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200311T150332Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 21s (1075 kB/s) Reading package lists... 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.YGXgus4Bzq I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-recursive-open-struct=1.1.1-1 && mkdir -p /build/ruby-recursive-open-struct-yFP2JM && dpkg-source --no-check -x /*.dsc /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1 && chown -R builduser:builduser /build/ruby-recursive-open-struct-yFP2JM"' exec /tmp/mmdebstrap.YGXgus4Bzq Reading package lists... NOTICE: 'ruby-recursive-open-struct' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-recursive-open-struct.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-recursive-open-struct.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 21.2 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-recursive-open-struct 1.1.1-1 (dsc) [2221 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-recursive-open-struct 1.1.1-1 (tar) [16.7 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-recursive-open-struct 1.1.1-1 (diff) [2276 B] Fetched 21.2 kB in 0s (283 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-recursive-open-struct_1.1.1-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-recursive-open-struct in /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1 dpkg-source: info: unpacking ruby-recursive-open-struct_1.1.1.orig.tar.gz dpkg-source: info: unpacking ruby-recursive-open-struct_1.1.1-1.debian.tar.xz I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1583931176" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.YGXgus4Bzq dpkg-buildpackage: info: source package ruby-recursive-open-struct dpkg-buildpackage: info: source version 1.1.1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Pirate Praveen dpkg-source --before-build . 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 [recursive-open-struct.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-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct dh_ruby --install Invalid gemspec in [recursive-open-struct.gemspec]: No such file or directory - git ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/lib/recursive_open_struct/ruby_19_backport.rb /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/lib/ruby/vendor_ruby/recursive_open_struct/ruby_19_backport.rb install -D -m644 /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/lib/recursive_open_struct/version.rb /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/lib/ruby/vendor_ruby/recursive_open_struct/version.rb install -D -m644 /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/lib/recursive_open_struct/dig.rb /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/lib/ruby/vendor_ruby/recursive_open_struct/dig.rb install -D -m644 /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/lib/recursive_open_struct/deep_dup.rb /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/lib/ruby/vendor_ruby/recursive_open_struct/deep_dup.rb install -D -m644 /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/lib/recursive_open_struct/debug_inspect.rb /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/lib/ruby/vendor_ruby/recursive_open_struct/debug_inspect.rb install -D -m644 /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/lib/recursive_open_struct.rb /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/lib/ruby/vendor_ruby/recursive_open_struct.rb install -D -m644 /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/lib/recursive-open-struct.rb /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/lib/ruby/vendor_ruby/recursive-open-struct.rb dh_installchangelogs -pruby-recursive-open-struct /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/CHANGELOG.md upstream ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/share/rubygems-integration/all/specifications/recursive-open-struct-1.1.1.gemspec /usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.5 │ └──────────────────────────────────────────────────────────────────────────────┘ Invalid gemspec in [recursive-open-struct.gemspec]: No such file or directory - git GEM_PATH=/build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0 ruby2.5 -e gem\ \"recursive-open-struct\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.5 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0 ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} RecursiveOpenStruct #debug_inspect should have a simple way of display RecursiveOpenStruct indifferent access setting value with method allows getting with method allows getting with symbol allows getting with string setting value with symbol allows getting with method allows getting with symbol allows getting with string setting value with string allows getting with method allows getting with symbol allows getting with string overwriting values set with method overrides with symbol overrides with string set with symbol overrides with method overrides with string set with string overrides with method overrides with symbol set with hash overrides with method overrides with symbol overrides with string when preserve_original_keys is not enabled transforms original keys to symbols after initialization in recursive hashes after resetting value when preserve_original_keys is enabled preserves the original keys after initialization in recursive hashes after resetting value RecursiveOpenStruct behavior it inherits from OpenStruct when not initialized from anything can represent arbitrary data objects returns nil for missing attributes when initialized with nil returns nil for missing attributes when initialized with an empty hash returns nil for missing attributes when initialized from a hash can modify an existing key that contains symbol keys turns those symbol keys into method names that contains string keys turns those string keys into method names that contains keys that mirror existing private methods handles subscript notation without calling the method name first (#42) that contains keys that mirror existing public methods inherited from Object handles subscript notation without calling the existing methods when Ruby 2.4.0 or newer new_ostruct_member! is private handling of arbitrary attributes #respond? is expected to respond to #blah is expected to respond to #blah= is expected not to respond to #asdf is expected not to respond to #asdf= #methods is expected to include :blah is expected to include :blah= is expected not to include :asdf is expected not to include :asdf= RecursiveOpenStruct OpenStruct 2.0+ methods Hash style setter method exists changes the value delete_field removes the value removes the getter method removes the setter method works with indifferent access eql? with identical ROS is expected to be eql # with similar ROS is expected to be eql # with same Hash is expected to be eql # with duplicated ROS fails on different value fails on missing field fails on added field hash calculates table hash each_pair iterates over hash keys, with keys as symbol RecursiveOpenStruct OpenStruct 2.3.0+ methods #dig recurse_over_arrays: false OpenStruct-like behavior is expected to eq 2 is expected to eq "doo" is expected to eq "one" recursive behavior is expected to eq #"one"}]> is expected to eq {:inner=>"one"} recurse_over_arrays: true OpenStruct-like behavior is expected to eq 2 is expected to eq "doo" is expected to eq "one" recursive behavior is expected to eq #"one"}]> is expected to eq # RecursiveOpenStruct subclassing RecursiveOpenStruct nested objects use the subclass of the parent RecursiveOpenStruct recursive behavior can convert the entire hash tree back into a hash returns accessed hashes as RecursiveOpenStructs instead of hashes handles subscript notation the same way as dotted notation uses #key_as_a_hash to return key as a Hash can modify a key of a sub-element handling loops in the original Hashes is expected to eq "a" is expected to eq "b" is expected to eq "a" is expected to eq "b" is expected to eq #"b", :h1=>{:a=>"a", :h2=>{...}}}> is expected not to eq #"a", :h2=>{:a=>"b", :h1=>{...}}}> after a sub-element has been modified does not mutate the original hash tree passed to the constructor limits the deep-copy to the initial hash tree .to_h returns a hash tree that contains those modifications modifying the returned hash tree does not modify the ROS #dup preserves sub-element modifications allows the copy's sub-elements to be modified independently from the original's when memoizing and then modifying entire recursive structures when modifying an entire Hash returns the modified value instead of the memoized one the old value no longer exists when modifying an entire Array returns the modified value instead of the memoized one recursing over arrays when recursing over arrays is enabled is expected to eq 3 is expected to eq "1" is expected to eq "2" is expected to eq [{:foo=>"1"}, {:foo=>"2"}, "baz"] is expected to eq "baz" when an inner value changes Retains changes across Array lookups propagates the changes through to .to_h across Array lookups deep-copies hashes within Arrays does not mutate the input hash passed to the constructor the deep copy recurses over Arrays as well #dup preserves sub-element modifications allows the copy's sub-elements to be modified independently from the original's when array is nested deeper is expected to eq 3 Retains changes across Array lookups when array is in an array is expected to eq 1 is expected to eq 3 Retains changes across Array lookups when recursing over arrays is disabled is expected to eq 3 is expected to eq {:foo=>"1"} is expected to eq "1" modifying an array and recursing over it when adding an array with hashes into the tree ROS's it when appending a hash to an array ROS's it the changes show up in .to_h after appending a hash to an array can have new values be set nested nil values returns nil returns a hash with the key and a nil value Finished in 0.09058 seconds (files took 0.84597 seconds to load) 114 examples, 0 failures /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ Invalid gemspec in [recursive-open-struct.gemspec]: No such file or directory - git GEM_PATH=/build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -e gem\ \"recursive-open-struct\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-recursive-open-struct-yFP2JM/ruby-recursive-open-struct-1.1.1/debian/ruby-recursive-open-struct/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation Run options: include {:focus=>true} All examples were filtered out; ignoring {:focus=>true} RecursiveOpenStruct #debug_inspect should have a simple way of display RecursiveOpenStruct indifferent access setting value with method allows getting with method allows getting with symbol allows getting with string setting value with symbol allows getting with method allows getting with symbol allows getting with string setting value with string allows getting with method allows getting with symbol allows getting with string overwriting values set with method overrides with symbol overrides with string set with symbol overrides with method overrides with string set with string overrides with method overrides with symbol set with hash overrides with method overrides with symbol overrides with string when preserve_original_keys is not enabled transforms original keys to symbols after initialization in recursive hashes after resetting value when preserve_original_keys is enabled preserves the original keys after initialization in recursive hashes after resetting value RecursiveOpenStruct behavior it inherits from OpenStruct when not initialized from anything can represent arbitrary data objects returns nil for missing attributes when initialized with nil returns nil for missing attributes when initialized with an empty hash returns nil for missing attributes when initialized from a hash can modify an existing key that contains symbol keys turns those symbol keys into method names that contains string keys turns those string keys into method names that contains keys that mirror existing private methods handles subscript notation without calling the method name first (#42) that contains keys that mirror existing public methods inherited from Object handles subscript notation without calling the existing methods when Ruby 2.4.0 or newer new_ostruct_member! is private handling of arbitrary attributes #respond? is expected to respond to #blah is expected to respond to #blah= is expected not to respond to #asdf is expected not to respond to #asdf= #methods is expected to include :blah is expected to include :blah= is expected not to include :asdf is expected not to include :asdf= RecursiveOpenStruct OpenStruct 2.0+ methods Hash style setter method exists changes the value delete_field removes the value removes the getter method removes the setter method works with indifferent access eql? with identical ROS is expected to be eql # with similar ROS is expected to be eql # with same Hash is expected to be eql # with duplicated ROS fails on different value fails on missing field fails on added field hash calculates table hash each_pair iterates over hash keys, with keys as symbol RecursiveOpenStruct OpenStruct 2.3.0+ methods #dig recurse_over_arrays: false OpenStruct-like behavior is expected to eq 2 is expected to eq "doo" is expected to eq "one" recursive behavior is expected to eq #"one"}]> is expected to eq {:inner=>"one"} recurse_over_arrays: true OpenStruct-like behavior is expected to eq 2 is expected to eq "doo" is expected to eq "one" recursive behavior is expected to eq #"one"}]> is expected to eq # RecursiveOpenStruct subclassing RecursiveOpenStruct nested objects use the subclass of the parent RecursiveOpenStruct recursive behavior can convert the entire hash tree back into a hash returns accessed hashes as RecursiveOpenStructs instead of hashes handles subscript notation the same way as dotted notation uses #key_as_a_hash to return key as a Hash can modify a key of a sub-element handling loops in the original Hashes is expected to eq "a" is expected to eq "b" is expected to eq "a" is expected to eq "b" is expected to eq #"b", :h1=>{:a=>"a", :h2=>{...}}}> is expected not to eq #"a", :h2=>{:a=>"b", :h1=>{...}}}> after a sub-element has been modified does not mutate the original hash tree passed to the constructor limits the deep-copy to the initial hash tree .to_h returns a hash tree that contains those modifications modifying the returned hash tree does not modify the ROS #dup preserves sub-element modifications allows the copy's sub-elements to be modified independently from the original's when memoizing and then modifying entire recursive structures when modifying an entire Hash returns the modified value instead of the memoized one the old value no longer exists when modifying an entire Array returns the modified value instead of the memoized one recursing over arrays when recursing over arrays is enabled is expected to eq 3 is expected to eq "1" is expected to eq "2" is expected to eq [{:foo=>"1"}, {:foo=>"2"}, "baz"] is expected to eq "baz" when an inner value changes Retains changes across Array lookups propagates the changes through to .to_h across Array lookups deep-copies hashes within Arrays does not mutate the input hash passed to the constructor the deep copy recurses over Arrays as well #dup preserves sub-element modifications allows the copy's sub-elements to be modified independently from the original's when array is nested deeper is expected to eq 3 Retains changes across Array lookups when array is in an array is expected to eq 1 is expected to eq 3 Retains changes across Array lookups when recursing over arrays is disabled is expected to eq 3 is expected to eq {:foo=>"1"} is expected to eq "1" modifying an array and recursing over it when adding an array with hashes into the tree ROS's it when appending a hash to an array ROS's it the changes show up in .to_h after appending a hash to an array can have new values be set nested nil values returns nil returns a hash with the key and a nil value Finished in 0.11977 seconds (files took 1.65 seconds to load) 114 examples, 0 failures ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby dh_installchangelogs -i -O--buildsystem=ruby dh_installinit -i -O--buildsystem=ruby dh_installsystemduser -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-recursive-open-struct: substitution variable ${shlibs:Depends} used, but is not defined dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-recursive-open-struct' in '../ruby-recursive-open-struct_1.1.1-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-recursive-open-struct_1.1.1-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ruby-recursive-open-struct-yFP2JM /tmp/ruby-recursive-open-struct-1.1.1-17km6wnk3 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.YGXgus4Bzq... I: success in 366.3512 seconds md5: ruby-recursive-open-struct_1.1.1-1_all.deb: OK sha1: ruby-recursive-open-struct_1.1.1-1_all.deb: OK sha256: ruby-recursive-open-struct_1.1.1-1_all.deb: OK Checksums: OK