Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-rest-client/ruby-rest-client_2.1.0-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-rest-client-2.1.0-1u1_sd1t9/ruby-rest-client_2.1.0-1_all.buildinfo Get source package info: ruby-rest-client=2.1.0-1 Source URL: http://snapshot.notset.fr/mr/package/ruby-rest-client/2.1.0-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-14 automake=1:1.16.3-2 autopoint=0.21-3 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bsdextrautils=2.36.1-5 bsdutils=1:2.36.1-4 build-essential=12.9 bzip2=1.0.8-4 ca-certificates=20200601 coreutils=8.32-4+b1 cpp=4:10.2.0-1 cpp-10=10.2.1-5 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.1 debianutils=4.11.2 devscripts=2.20.5 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-5 dirmngr=2.2.20-1 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20201015-2 fakeroot=1.25.3-1.1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.0-1 g++-10=10.2.1-5 gcc=4:10.2.0-1 gcc-10=10.2.1-5 gcc-10-base=10.2.1-5 gem2deb=1.4 gem2deb-test-runner=1.4 gettext=0.21-3 gettext-base=0.21-3 gnupg=2.2.20-1 gnupg-l10n=2.2.20-1 gnupg-utils=2.2.20-1 gpg=2.2.20-1 gpg-agent=2.2.20-1 gpg-wks-client=2.2.20-1 gpg-wks-server=2.2.20-1 gpgconf=2.2.20-1 gpgsm=2.2.20-1 gpgv=2.2.20-1 grep=3.6-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-9 libarchive-zip-perl=1.68-1 libasan6=10.2.1-5 libassuan0=2.5.3-7.1 libatomic1=10.2.1-5 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libb-hooks-op-check-perl=0.22-1+b3 libbinutils=2.35.1-7 libblkid1=2.36.1-4 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-5 libclass-method-modifiers-perl=2.13-1 libcom-err2=1.45.6-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.256 libdebhelper-perl=13.3.1 libdevel-callchecker-perl=0.008-1+b2 libdpkg-perl=1.20.7.1 libdynaloader-functions-perl=0.003-1.1 libelf1=0.182-3 libencode-locale-perl=1.05-1.1 libexpat1=2.2.10-1 libfakeroot=1.25.3-1.1 libffi7=3.3-5 libfile-dirlist-perl=0.05-2 libfile-homedir-perl=1.006-1 libfile-listing-perl=6.14-1 libfile-stripnondeterminism-perl=1.9.0-1 libfile-touch-perl=0.11-1 libfile-which-perl=1.23-1 libgcc-10-dev=10.2.1-5 libgcc-s1=10.2.1-5 libgcrypt20=1.8.7-2 libgdbm-compat4=1.18.1-5.1 libgdbm6=1.18.1-5.1 libgmp-dev=2:6.2.1+dfsg-1 libgmp10=2:6.2.1+dfsg-1 libgmpxx4ldbl=2:6.2.1+dfsg-1 libgnutls30=3.7.0-5 libgomp1=10.2.1-5 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libhogweed6=3.6-2 libhtml-parser-perl=3.75-1+b1 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.10-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.27-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-6 libidn2-0=2.3.0-4 libimport-into-perl=1.002005-1 libio-html-perl=1.001-1.1 libio-pty-perl=1:1.15-2 libio-socket-ssl-perl=2.068-1 libipc-run-perl=20200505.0-1 libisl23=0.23-1 libitm1=10.2.1-5 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 libksba8=1.5.0-3 libldap-2.4-2=2.4.56+dfsg-1 liblsan0=10.2.1-5 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.10-1 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmodule-runtime-perl=0.016-1 libmoo-perl=2.004004-1 libmount1=2.36.1-4 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libncursesw6=6.2+20201114-2 libnet-http-perl=6.20-1 libnet-ssleay-perl=1.88-3+b1 libnettle8=3.6-2 libnpth0=1.6-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libp11-kit0=0.23.22-1 libpam-modules=1.4.0-2 libpam-modules-bin=1.4.0-2 libpam-runtime=1.4.0-2 libpam0g=1.4.0-2 libparams-classify-perl=0.015-1+b3 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.0-6 libpipeline1=1.5.3-1 libpython3-stdlib=3.9.1-1 libpython3.9-minimal=3.9.1-2 libpython3.9-stdlib=3.9.1-2 libquadmath0=10.2.1-5 libreadline8=8.1-1 librole-tiny-perl=2.001004-1 libruby2.7=2.7.2-3 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsemanage-common=3.1-1 libsemanage1=3.1-1+b2 libsepol1=3.1-1 libsigsegv2=2.12-3 libsmartcols1=2.36.1-4 libsqlite3-0=3.34.0-1 libssl1.1=1.1.1i-1 libstdc++-10-dev=10.2.1-5 libstdc++6=10.2.1-5 libstrictures-perl=2.000006-1 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=247.2-4 libtasn1-6=4.16.0-2 libtimedate-perl=2.3300-1 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtry-tiny-perl=0.30-1 libtsan0=10.2.1-5 libubsan1=10.2.1-5 libuchardet0=0.0.7-1 libudev1=247.2-4 libunistring2=0.9.10-4 liburi-perl=5.05-1 libuuid1=2.36.1-4 libwww-perl=6.52-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-6.3+b1 libyaml-0-2=0.2.2-1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.5-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 mailcap=3.68 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 media-types=3.0.0 mime-support=3.66 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 netbase=6.2 openssl=1.1.1i-1 passwd=1:4.8.1-1 patch=2.7.6-7 patchutils=0.4.2-1 perl=5.32.0-6 perl-base=5.32.0-6 perl-modules-5.32=5.32.0-6 perl-openssl-defaults=5 pinentry-curses=1.1.0-4 po-debconf=1.0.21+nmu1 publicsuffix=20210108.1309-1 python3=3.9.1-1 python3-minimal=3.9.1-1 python3.9=3.9.1-2 python3.9-minimal=3.9.1-2 rake=13.0.1-4 readline-common=8.1-1 ruby=1:2.7+2 ruby-addressable=2.7.0-1 ruby-all-dev=1:2.7+2 ruby-crack=0.4.4-1 ruby-diff-lcs=1.4.4-1 ruby-domain-name=0.5.20160216-2 ruby-hashdiff=1.0.1-1 ruby-http-accept=1.7.0-1 ruby-http-cookie=1.0.3-1 ruby-mime-types=3.3.1-1 ruby-mime-types-data=3.2015.1120-1.1 ruby-minitest=5.13.0-1 ruby-net-telnet=0.1.1-2 ruby-netrc=0.11.0-3 ruby-power-assert=1.1.7-1 ruby-public-suffix=3.0.3+ds-1 ruby-rspec=3.9.0c2e2m1s3-1 ruby-rspec-core=3.9.0c2e2m1s3-1 ruby-rspec-expectations=3.9.0c2e2m1s3-1 ruby-rspec-mocks=3.9.0c2e2m1s3-1 ruby-rspec-support=3.9.0c2e2m1s3-1 ruby-rubygems=3.2.5-1 ruby-safe-yaml=1.0.5-1 ruby-test-unit=3.3.5-1 ruby-unf=0.1.4-2 ruby-unf-ext=0.0.7.6-1+b3 ruby-webmock=3.8.3-1 ruby-xmlrpc=0.3.0-2 ruby2.7=2.7.2-3 ruby2.7-dev=2.7.2-3 rubygems-integration=1.17.3 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 tzdata=2020f-1 util-linux=2.36.1-4 wdiff=1.2.2-2+b1 xz-utils=5.2.5-1.0 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/20210113T203702Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210110T204103Z/ 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-rest-client=2.1.0-1 && mkdir -p /build/ruby-rest-client-46C4z4 && dpkg-source --no-check -x /*.dsc /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0 && chown -R builduser:builduser /build/ruby-rest-client-46C4z4" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1610569243" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-rest-client-46C4z4 /tmp/ruby-rest-client-2.1.0-1u1_sd1t9 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210110T204103Z 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.abzDvJvilO 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.abzDvJvilO Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-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 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210110T204103Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210110T204103Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1117 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 ... 4661 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... 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/20210113T203702Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210110T204103Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.abzDvJvilO Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210113T203702Z unstable InRelease [153 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210110T204103Z 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 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/20210113T203702Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210113T203702Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20210113T203702Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210113T203702Z unstable/main amd64 Packages [11.6 MB] Fetched 34.4 MB in 34s (1012 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.abzDvJvilO I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-rest-client=2.1.0-1 && mkdir -p /build/ruby-rest-client-46C4z4 && dpkg-source --no-check -x /*.dsc /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0 && chown -R builduser:builduser /build/ruby-rest-client-46C4z4"' exec /tmp/mmdebstrap.abzDvJvilO Reading package lists... NOTICE: 'ruby-rest-client' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-rest-client.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-rest-client.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 153 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-rest-client 2.1.0-1 (dsc) [2305 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-rest-client 2.1.0-1 (tar) [143 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-rest-client 2.1.0-1 (diff) [7076 B] Fetched 153 kB in 0s (918 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-rest-client_2.1.0-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-rest-client in /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0 dpkg-source: info: unpacking ruby-rest-client_2.1.0.orig.tar.gz dpkg-source: info: unpacking ruby-rest-client_2.1.0-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying disable-network-tests.patch dpkg-source: info: applying no-git-in-gemspec.patch dpkg-source: info: applying proxy-proof-tests.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1610569243" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.abzDvJvilO dpkg-buildpackage: info: source package ruby-rest-client dpkg-buildpackage: info: source version 2.1.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Lucas Nussbaum dpkg-source --before-build . debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_ruby --clean dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules binary-indep dh binary-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 dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby dh_auto_install -i -O--buildsystem=ruby dh_ruby --install /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client dh_ruby --install ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/bin install -D -m755 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/bin/restclient /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/bin/restclient install -d /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/payload.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/payload.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/version.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/version.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/windows.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/windows.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/raw_response.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/raw_response.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/abstract_response.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/abstract_response.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/resource.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/resource.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/utils.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/utils.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/request.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/request.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/exceptions.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/exceptions.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/params_array.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/params_array.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/windows/root_certs.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/windows/root_certs.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/platform.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/platform.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient/response.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient/response.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/rest_client.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/rest_client.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/rest-client.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/rest-client.rb install -D -m644 /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/lib/restclient.rb /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby/restclient.rb Rewriting shebang line of /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/bin/restclient ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/share/rubygems-integration/all/specifications/rest-client-2.1.0.gemspec /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/share/rubygems-integration/all:/build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/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\ \"rest-client\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/ruby-rest-client/usr/share/rubygems-integration/all:/build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/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.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation Randomized with seed 25871 RestClient::ServerBrokeConnection should have a default message of 'Server broke connection' RestClient a 404 a simple request charset parsing leaves images as binary handles windows-1252 defaults to the default encoding handles binary handles euc-jp handles utf-8 handles invalid encoding RestClient::Resource prints its url with to_s concatenates urls, using no slash if the first url ends with a slash concatenates even non-string urls, :posts + 1 => 'posts/1' concatenates urls, using no slash if the second url starts with a slash passes a given block to subresources transports options to subresources the block should be overrideable in ruby 1.9 syntax offers subresources via [] can instantiate with no user/password concatenates urls, inserting a slash when it needs one is backwards compatible with previous constructor the block should be overrideable Resource delegation GET POST overrides resource headers PUT PATCH HEAD DELETE block can use block when creating the resource execution block override resource block can use block when executing the resource RestClient::Payload A multipart Payload should use standard enctype as default content-type should not escape parameters names should form properly separated multipart data should correctly format hex boundary should ignore the name attribute when it's not set should detect optional (original) content type and filename should not error on close if stream already closed should handle hash in hash parameters should form properly separated multipart data streamed payloads should have a closed? method should properly determine the size of other kinds of streaming payloads should properly determine the size of file payloads Payload generation should recognize multipart payload wrapped in ParamsArray should recognize nested multipart payloads in arrays shouldn't treat hashes as streameable should be multipart if forced should recognize file payloads that can be streamed should recognize standard urlencoded params should pass through Payload::Base and subclasses unchanged should handle non-multipart payload wrapped in ParamsArray should handle deeply nested multipart should recognize nested multipart payloads in hashes should recognize other payloads that can be streamed should recognize multipart params should return data if no of the above Base Payload should reset stream after to_s A regular Payload should properly handle arrays as repeated parameters should properly handle hashes as parameter should handle attributes inside an array inside an hash should handle many attributes inside a hash should form properly encoded params should handle arrays inside a hash inside a hash should escape parameters should form properly use symbols as parameters should use standard enctype as default content-type should not close if stream already closed backwards compatibility subclasses timeout from RestClient::RequestTimeout, RequestFailed, EWR aliases old names for HTTP 413, 414, 416 subclasses NotFound from RequestFailed, ExceptionWithResponse aliases RestClient::NotFound as ResourceNotFound RestClient::Request closes payload if not nil can use a block to process response params for GET requests adds GET params when params are present in URL manage params for get requests encodes nested GET params RestClient::Response behaves like string accepts nil strings and sets it to empty for the case of HEAD redirection handles redirects with relative path and query string follows a redirection when the request is a head follows a redirection when the request is a post and result is a 303 follows no more than 10 redirections before raising error follows no more than max_redirects redirections, if specified follows a redirection and keep the parameters doesn't follow a redirection when the request is a put follows a redirection when the request is a get keeps redirection history handles redirects with relative paths doesn't follow a 302 when the request is a post allows for manual following of redirects doesn't follow a 307 when the request is a post follows a redirection and keep the cookies respects cookie domains on redirect doesn't follow a 301 when the request is a post follow a redirection when the request is a get and the response is in the 30x range cookie processing should correctly deal with multiple cookies [one Set-Cookie header with multiple cookies] should correctly deal with multiple cookies [multiple Set-Cookie headers] should correctly deal with one Set-Cookie header with one cookie inside exceptions processing should throw an exception for other codes should return itself for normal codes logging uses the request's logger header processing test headers and raw headers handles multiple headers by joining with comma RestClient::Utils .get_encoding_from_headers assumes no encoding by default for text returns nil on failures handles various charsets .encode_query_string handles deep nesting handles nested nulls handles null and empty values handles simple arrays handles nested hashes handles nested ParamsArrays handles simple hashes handles multiple fields with the same name using ParamsArray .cgi_parse_header parses headers RestClient::AbstractResponse can access the net http result directly doesn't escape cookies extracts cookies from response headers has a nice description extract strange cookies fetches the headers fetches the numeric response code #return! should gracefully handle 302 redirect with no location header should raise an error on a redirection after non-GET/HEAD requests should raise RequestFailed on unknown codes should follow 302 redirect should return the response itself on 200-codes .beautify_headers beautifies the headers by turning the values to strings instead of one-element arrays joins multiple header values by comma leaves set-cookie headers as array beautifies the headers by turning the keys to symbols .cookie_jar handles cookies when URI scheme is implicit extracts cookies into cookie jar RestClient::RequestFailed http_code convenience method for fetching the code as an integer stores the http response on the exception http_body convenience method for fetching the body (decoding when necessary) shows the status code in the message RestClient::ParamsArray .new accepts various types of containers rejects various invalid input RestClient::RawResponse behaves like string includes AbstractResponse exposes a Tempfile RestClient::Request rejects or warns with contradictory cookie options determines the Net::HTTP class to instantiate by the method name transmits the request with Net::HTTP uses netrc credentials executes by constructing the Net::HTTP object, headers, and payload and calling transmit processes a successful result assumes default domain and path for cookies set by hash catches Net::OpenTimeout and raises RestClient's OpenTimeout does not escape or unescape cookies catches Errno::ETIMEDOUT and raise the more informative ReadTimeout accept */* mimetype catches OpenSSL::SSL::SSLError and raise it back without more informative message catches EOFError and shows the more informative ServerBrokeConnection correctly formats cookies provided to the constructor uses credentials in the url in preference to netrc uses correct error message for ReadTimeout set urlencoded content_type header on hash payloads uses correct error message for OpenTimeout IPv6: executes by constructing the Net::HTTP object, headers, and payload and calling transmit strips out cookies set for a different domain name catches Net::ReadTimeout and raises RestClient's ReadTimeout does not warn when overriding user header with header derived from payload if those header values were identical catches Timeout::Error and raise the more informative ReadTimeout should still return a response object for 204 No Content responses class method execute wraps constructor rejects cookie names containing invalid characters does not warn for a normal looking payload strips the charset from the response content type rejects cookie values containing invalid characters doesn't classify successful requests as failed warns when overriding existing headers via payload block usage returns what asked to logging logs a response including the status code, content type, and result body size in bytes logs a get request logs input headers as a hash logs a response with a nil body logs to a passed logger, if provided does not log request password logs a response with a nil Content-type logs a post request with a large payload logs a post request with a small payload exception raises Unauthorized when the response is 401 raises ResourceNotFound when the response is 404 raises RequestFailed otherwise proxy sets proxy on a per-request basis overrides proxy from environment creates a non-proxy class if a proxy url is not given creates a proxy class if a proxy url is given overrides global proxy with per-request proxy creates a proxy class with the correct address if a IPv6 proxy url is given disables proxy on a per-request basis .normalize_url raises with invalid URI does not add http:// to the front of capital HTTPS resources does not add http:// to the front of https resources does not add http:// to the front of capital HTTP resources adds http:// to the front of resources specified in the syntax example.com/resource adds http:// to resources containing a colon ssl should set the ssl_client_key if provided should set the ssl_ciphers if provided should not set the ssl_ca_file if it is not provided should not set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is true should set the ssl_version if provided should not set the ssl_ciphers if set to nil should set the ssl_cert_store if provided should default to not having an ssl_client_key should default to not having an ssl_ca_path should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is not given uses SSL when the URI refers to a https address should default to not having an ssl_ca_file should not set the ssl_cert_store if it is set falsy should not set the ssl_client_cert if it is not provided should by default set the ssl_cert_store if no CA info is provided should have expected values for VERIFY_PEER and VERIFY_NONE should not set the ssl_client_key if it is not provided should not set the ssl_verify_callback by default should set the ssl_ca_path if provided should set net.verify_mode to OpenSSL::SSL::VERIFY_NONE if verify_ssl is false should not set the ssl_ca_path if it is not provided should set net.verify_mode to the passed value if verify_ssl is an OpenSSL constant should default to verifying ssl certificates should set net.verify_mode to OpenSSL::SSL::VERIFY_PEER if verify_ssl is true should not set the ssl_version if not provided should default to not having an ssl_client_cert should set the ssl_client_cert if provided should set the ssl_ca_file if provided should set the ssl_verify_callback if passed credentials sets up the credentials prior to the request setup credentials when there's a user does not attempt to send any credentials if user is nil does not attempt to send credentials if Authorization header is set timeout sets open_timeout sets read_timeout deprecated: warns when disabling timeout by setting it to -1 deprecated: disable timeout by setting it to -1 sets both timeouts with :timeout supersedes :timeout with open/read_timeout does not set timeouts if not specified disable timeout by setting it to nil raw response should read the response into a binary-mode tempfile header symbols converts header values to strings converts header symbols from :content_type to 'Content-Type' converts content-type from extension to real content-type converts accept from extension(s) to real content-type(s) only convert symbols in header user headers prefers the user header when the same header exists in the defaults converts user headers to string before calling CGI::unescape which fails on non string values merges user headers with the default headers payloads should accept streaming IO payloads should accept string payloads constructor should reject invalid URIs should reject valid URIs with no hostname process_url_params should combine with & when URL params already exist should handle basic URL params should handle complex nested URL params per Rack / Rails conventions should handle ParamsArray objects user - password extracts the username and password when parsing http://user:password@example.com/ overrides URL user/pass with explicit options uses the username and password from the URL doesn't overwrite user and password (which may have already been set by the Resource constructor) if there is no user/password in the url extracts with escaping the username and password when parsing http://user:password@example.com/ payload converts a hash payload to urlencoded data passes non-hash payloads straight through accepts nested hashes in payload sends nil payloads RestClient::NotFound stores the body on the response of the exception also has the http response attached RestClient logging uses << if the log is not a string displays the log to stdout displays the log to stderr append the log to the requested filename version has a version > 2.0.0.alpha, < 3.0 API DELETE PATCH OPTIONS GET PUT POST HEAD RestClient::Exception sets the exception message to ErrorMessage returns the 'message' that was set returns a 'message' equal to the class name if the message is not set, because 'message' should not be nil contains exceptions in RestClient RestClient::Request timeouts raises OpenTimeout when it hits an open timeout Finished in 1.14 seconds (files took 1.15 seconds to load) 286 examples, 0 failures Randomized with seed 25871 ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0' dh_installchangelogs history.md make[1]: Leaving directory '/build/ruby-rest-client-46C4z4/ruby-rest-client-2.1.0' dh_installman -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_ruby_fixdepends -i -O--buildsystem=ruby dh_installdeb -i -O--buildsystem=ruby dh_gencontrol -i -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-rest-client: 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-rest-client' in '../ruby-rest-client_2.1.0-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-rest-client_2.1.0-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-rest-client-46C4z4 /tmp/ruby-rest-client-2.1.0-1u1_sd1t9 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.abzDvJvilO... I: success in 386.1472 seconds md5: ruby-rest-client_2.1.0-1_all.deb: OK sha1: ruby-rest-client_2.1.0-1_all.deb: OK sha256: ruby-rest-client_2.1.0-1_all.deb: OK Checksums: OK