Diff of the two buildlogs: -- --- b1/build.log 2025-09-15 05:04:20.959994602 +0000 +++ b2/build.log 2025-09-15 05:06:19.112137368 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Oct 17 23:25:27 -12 2026 -I: pbuilder-time-stamp: 1792322727 +I: Current time: Mon Sep 15 19:04:22 +14 2025 +I: pbuilder-time-stamp: 1757912662 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying require-pathname.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3112884/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3725521/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Sep 15 05:04 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3725521/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3725521/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='7b43b11d267e43ba96bae658a917e33c' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3112884' - PS1='# ' - PS2='> ' + INVOCATION_ID=3f2473e90f4a4332997f644dc6681f9a + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3725521 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.2KZR6wFV/pbuilderrc_Stg8 --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2KZR6wFV/b1 --logfile b1/build.log ruby-dry-container_0.7.2-2.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.2KZR6wFV/pbuilderrc_xj2c --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.2KZR6wFV/b2 --logfile b2/build.log ruby-dry-container_0.7.2-2.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3112884/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3725521/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -243,7 +275,7 @@ Get: 126 http://deb.debian.org/debian forky/main amd64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 127 http://deb.debian.org/debian forky/main amd64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 128 http://deb.debian.org/debian forky/main amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 37.0 MB in 2s (16.7 MB/s) +Fetched 37.0 MB in 3s (13.9 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1: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 ... 19917 files and directories currently installed.) @@ -672,8 +704,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Oct 18 11:26:55 UTC 2026. -Universal Time is now: Sun Oct 18 11:26:55 UTC 2026. +Local time is now: Mon Sep 15 05:06:01 UTC 2025. +Universal Time is now: Mon Sep 15 05:06:01 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-3) ... @@ -790,7 +822,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-dry-container-0.7.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-dry-container_0.7.2-2_source.changes +I: user script /srv/workspace/pbuilder/3725521/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/3725521/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-dry-container-0.7.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-dry-container_0.7.2-2_source.changes dpkg-buildpackage: info: source package ruby-dry-container dpkg-buildpackage: info: source version 0.7.2-2 dpkg-buildpackage: info: source distribution unstable @@ -824,7 +860,7 @@ │ ruby-dry-container: Installing files and building extensions for ruby3.3 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20261017-3134854-ysmus9/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250915-3736866-s18mkw/gemspec WARNING: open-ended dependency on bundler (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on rake (>= 0, development) is not recommended @@ -836,7 +872,7 @@ Name: dry-container Version: 0.7.2 File: dry-container-0.7.2.gem -/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-dry-container/usr/share/rubygems-integration/all /tmp/d20261017-3134854-ysmus9/dry-container-0.7.2.gem +/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-dry-container/usr/share/rubygems-integration/all /tmp/d20250915-3736866-s18mkw/dry-container-0.7.2.gem /build/reproducible-path/ruby-dry-container-0.7.2/debian/ruby-dry-container/usr/share/rubygems-integration/all/gems/dry-container-0.7.2/lib/dry-container.rb /build/reproducible-path/ruby-dry-container-0.7.2/debian/ruby-dry-container/usr/share/rubygems-integration/all/gems/dry-container-0.7.2/lib/dry/container.rb /build/reproducible-path/ruby-dry-container-0.7.2/debian/ruby-dry-container/usr/share/rubygems-integration/all/gems/dry-container-0.7.2/lib/dry/container/error.rb @@ -883,154 +919,16 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-dry-container-0.7.2/debian/ruby-dry-container/usr/share/rubygems-integration/all:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 20660 - -Dry::Container - behaves like a container - .dup - returns a copy that doesn't share registered keys with the parent - configuration - resolver - default - is expected to be a kind of Dry::Container::Resolver - custom - is expected to eq # - is expected to have received call({}, :key) 1 time - namespace_separator - custom - is expected to eq "item" - default - is expected to eq "." - registry - default - is expected to be a kind of Dry::Container::Registry - custom - is expected to have received call({}, :key, :item, {}) 1 time - .resolve - accepts a fallback block - with default configuration - #keys - returns stringified versions of all registered keys - import - allows importing of nested namespaces - allows importing of namespaces - #decorate - for not callable item - wrapping - expected to be an instance of SimpleDelegator - memoization - decorates static value only once - for callable item - memoize true - is expected to equal #:0x00007f9a138048f0>)> - memoize false - does not call the block until the key is resolved - is expected not to equal #<#:0x00007f9a13818760> - with an instance as a decorator - expected to pass original value to decorator#call method - registering a block - without options - with arguments - does not call a proc on resolving if one accepts an arbitrary number of keyword arguments - registers and resolves a proc - without arguments - registers and resolves an object - with option call: false - registers and resolves a proc - mixing Strings and Symbols - is expected to eql "item" - namespace - with nesting - registers items under the given namespaces - when block does not take arguments - registers items under the given namespace - when block takes arguments - registers items under the given namespace - with nesting and when block takes arguments - resolves items relative to the namespace - #key? - when key does not exist in container - is expected to equal false - when key exists in container - is expected to equal true - registering with the same key multiple times - is expected to raise Dry::Container::Error - registering an object - without options - registers and resolves the object - with option call: false - registers and resolves an object - registering a proc - without options - with arguments - registers and resolves a proc - without arguments - registers and resolves an object - with option memoize: true - registers and resolves a proc - only resolves the proc once - when receiving something other than a proc - is expected to raise Dry::Container::Error - with option call: false - registers and resolves a proc - #merge - without namespace argument - is expected to equal :item - is expected to equal :item - with namespace argument - when namespace is not nil - is expected to equal :item - is expected to equal :item - when namespace is nil - is expected to equal :item - is expected to equal :item - #each_key - yields stringified versions of all registered keys to the block - returns the container - #each - yields stringified versions of all registered keys to the block - returns the container - resolving with a key that has not been registered - is expected to raise Dry::Container::Error - .clone - re-uses frozen container - returns a copy that doesn't share registered keys with the parent - stubbing - only other keys remain accesible - raises an error when key is missing - keys can be reverted back to their original value - keys can be stubbed - mixing Strings and Symbols - is expected to eql "stub" - with block argument - executes the block with the given stubs - keys are stubbed only while inside the block - .freeze - returns self back - allows to freeze a container so that nothing can be registered later - inheritance - sets up a container for a child class +Randomized with seed 43415 Dry::Container::Mixin included - into a class with a custom .initialize method - does not fail on missing member variable behaves like a container - .freeze - returns self back - allows to freeze a container so that nothing can be registered later + .clone + returns a copy that doesn't share registered keys with the parent + re-uses frozen container .dup returns a copy that doesn't share registered keys with the parent - stubbing - raises an error when key is missing - keys can be stubbed - keys can be reverted back to their original value - only other keys remain accesible - mixing Strings and Symbols - is expected to eql "stub" - with block argument - keys are stubbed only while inside the block - executes the block with the given stubs configuration namespace_separator default @@ -1048,55 +946,56 @@ is expected to be a kind of Dry::Container::Registry custom is expected to have received call({}, :key, :item, {}) 1 time - .resolve - accepts a fallback block - .clone - re-uses frozen container - returns a copy that doesn't share registered keys with the parent with default configuration - import - allows importing of namespaces - allows importing of nested namespaces + registering a block + with option call: false + registers and resolves a proc + without options + without arguments + registers and resolves an object + with arguments + registers and resolves a proc + does not call a proc on resolving if one accepts an arbitrary number of keyword arguments + #each_key + yields stringified versions of all registered keys to the block + returns the container mixing Strings and Symbols is expected to eql "item" + resolving with a key that has not been registered + is expected to raise Dry::Container::Error + registering with the same key multiple times + is expected to raise Dry::Container::Error + namespace + with nesting + registers items under the given namespaces + when block takes arguments + registers items under the given namespace + when block does not take arguments + registers items under the given namespace + with nesting and when block takes arguments + resolves items relative to the namespace + registering an object + with option call: false + registers and resolves an object + without options + registers and resolves the object + #keys + returns stringified versions of all registered keys #decorate + with an instance as a decorator + expected to pass original value to decorator#call method for not callable item memoization decorates static value only once wrapping expected to be an instance of SimpleDelegator - with an instance as a decorator - expected to pass original value to decorator#call method for callable item memoize false - is expected not to equal #<#:0x00007f9a138039f0> + is expected not to equal #<#:0x00007efcff770850> does not call the block until the key is resolved memoize true - is expected to equal #:0x00007f9a137b5f20>)> - resolving with a key that has not been registered - is expected to raise Dry::Container::Error - #merge - without namespace argument - is expected to equal :item - is expected to equal :item - with namespace argument - when namespace is not nil - is expected to equal :item - is expected to equal :item - when namespace is nil - is expected to equal :item - is expected to equal :item - registering with the same key multiple times - is expected to raise Dry::Container::Error - #each - returns the container - yields stringified versions of all registered keys to the block + is expected to equal #:0x00007efcff6a5740>)> registering a proc - without options - with arguments - registers and resolves a proc - without arguments - registers and resolves an object with option call: false registers and resolves a proc with option memoize: true @@ -1104,181 +1003,318 @@ registers and resolves a proc when receiving something other than a proc is expected to raise Dry::Container::Error - registering an object - with option call: false - registers and resolves an object without options - registers and resolves the object + without arguments + registers and resolves an object + with arguments + registers and resolves a proc #key? when key does not exist in container is expected to equal false when key exists in container is expected to equal true - #each_key - returns the container + #each yields stringified versions of all registered keys to the block - registering a block + returns the container + #merge + with namespace argument + when namespace is nil + is expected to equal :item + is expected to equal :item + when namespace is not nil + is expected to equal :item + is expected to equal :item + without namespace argument + is expected to equal :item + is expected to equal :item + import + allows importing of namespaces + allows importing of nested namespaces + .freeze + returns self back + allows to freeze a container so that nothing can be registered later + stubbing + raises an error when key is missing + keys can be reverted back to their original value + keys can be stubbed + only other keys remain accesible + mixing Strings and Symbols + is expected to eql "stub" + with block argument + keys are stubbed only while inside the block + executes the block with the given stubs + .resolve + accepts a fallback block + into a class with a custom .initialize method + does not fail on missing member variable + extended + behaves like a container + with default configuration + registering with the same key multiple times + is expected to raise Dry::Container::Error + registering a proc + with option memoize: true + only resolves the proc once + registers and resolves a proc + when receiving something other than a proc + is expected to raise Dry::Container::Error without options - without arguments - registers and resolves an object with arguments - does not call a proc on resolving if one accepts an arbitrary number of keyword arguments registers and resolves a proc + without arguments + registers and resolves an object with option call: false registers and resolves a proc #keys returns stringified versions of all registered keys + resolving with a key that has not been registered + is expected to raise Dry::Container::Error + #each_key + returns the container + yields stringified versions of all registered keys to the block + mixing Strings and Symbols + is expected to eql "item" namespace with nesting and when block takes arguments resolves items relative to the namespace - with nesting - registers items under the given namespaces when block takes arguments registers items under the given namespace when block does not take arguments registers items under the given namespace - extended - behaves like a container - stubbing - raises an error when key is missing - only other keys remain accesible - keys can be stubbed - keys can be reverted back to their original value - with block argument - executes the block with the given stubs - keys are stubbed only while inside the block - mixing Strings and Symbols - is expected to eql "stub" - .freeze - allows to freeze a container so that nothing can be registered later - returns self back - with default configuration - registering an object - with option call: false - registers and resolves an object - without options - registers and resolves the object - #key? - when key exists in container - is expected to equal true - when key does not exist in container - is expected to equal false - import - allows importing of namespaces - allows importing of nested namespaces + with nesting + registers items under the given namespaces #merge + without namespace argument + is expected to equal :item + is expected to equal :item with namespace argument - when namespace is nil + when namespace is not nil is expected to equal :item is expected to equal :item - when namespace is not nil + when namespace is nil is expected to equal :item is expected to equal :item - without namespace argument - is expected to equal :item - is expected to equal :item - #keys - returns stringified versions of all registered keys - #each_key + registering an object + with option call: false + registers and resolves an object + without options + registers and resolves the object + #each yields stringified versions of all registered keys to the block returns the container + import + allows importing of namespaces + allows importing of nested namespaces + #key? + when key does not exist in container + is expected to equal false + when key exists in container + is expected to equal true #decorate - for not callable item - memoization - decorates static value only once - wrapping - expected to be an instance of SimpleDelegator with an instance as a decorator expected to pass original value to decorator#call method for callable item memoize false does not call the block until the key is resolved - is expected not to equal #<#:0x00007f9a1366ef18> + is expected not to equal #<#:0x00007efcff645278> memoize true - is expected to equal #:0x00007f9a1366a710>)> - resolving with a key that has not been registered - is expected to raise Dry::Container::Error - #each - yields stringified versions of all registered keys to the block - returns the container - namespace - with nesting - registers items under the given namespaces - when block takes arguments - registers items under the given namespace - with nesting and when block takes arguments - resolves items relative to the namespace - when block does not take arguments - registers items under the given namespace - registering a proc - with option memoize: true - only resolves the proc once + is expected to equal #:0x00007efcff640a48>)> + for not callable item + wrapping + expected to be an instance of SimpleDelegator + memoization + decorates static value only once + registering a block + with option call: false registers and resolves a proc - when receiving something other than a proc - is expected to raise Dry::Container::Error without options with arguments registers and resolves a proc + does not call a proc on resolving if one accepts an arbitrary number of keyword arguments without arguments registers and resolves an object - with option call: false - registers and resolves a proc - registering a block - without options - without arguments - registers and resolves an object - with arguments - does not call a proc on resolving if one accepts an arbitrary number of keyword arguments - registers and resolves a proc - with option call: false - registers and resolves a proc - registering with the same key multiple times - is expected to raise Dry::Container::Error - mixing Strings and Symbols - is expected to eql "item" - .resolve - accepts a fallback block - .dup - returns a copy that doesn't share registered keys with the parent .clone returns a copy that doesn't share registered keys with the parent re-uses frozen container + .freeze + allows to freeze a container so that nothing can be registered later + returns self back + .dup + returns a copy that doesn't share registered keys with the parent + .resolve + accepts a fallback block configuration - resolver + registry + custom + is expected to have received call({}, :key, :item, {}) 1 time default - is expected to be a kind of Dry::Container::Resolver + is expected to be a kind of Dry::Container::Registry + resolver custom is expected to have received call({}, :key) 1 time is expected to eq # + default + is expected to be a kind of Dry::Container::Resolver namespace_separator custom is expected to eq "item" default is expected to eq "." - registry - default - is expected to be a kind of Dry::Container::Registry - custom - is expected to have received call({}, :key, :item, {}) 1 time + stubbing + keys can be reverted back to their original value + only other keys remain accesible + keys can be stubbed + raises an error when key is missing + with block argument + executes the block with the given stubs + keys are stubbed only while inside the block + mixing Strings and Symbols + is expected to eql "stub" + +Dry::Container + behaves like a container + stubbing + keys can be reverted back to their original value + keys can be stubbed + only other keys remain accesible + raises an error when key is missing + mixing Strings and Symbols + is expected to eql "stub" + with block argument + executes the block with the given stubs + keys are stubbed only while inside the block + .clone + returns a copy that doesn't share registered keys with the parent + re-uses frozen container + with default configuration + registering an object + without options + registers and resolves the object + with option call: false + registers and resolves an object + resolving with a key that has not been registered + is expected to raise Dry::Container::Error + #key? + when key exists in container + is expected to equal true + when key does not exist in container + is expected to equal false + mixing Strings and Symbols + is expected to eql "item" + #keys + returns stringified versions of all registered keys + registering a proc + with option memoize: true + only resolves the proc once + registers and resolves a proc + when receiving something other than a proc + is expected to raise Dry::Container::Error + with option call: false + registers and resolves a proc + without options + without arguments + registers and resolves an object + with arguments + registers and resolves a proc + import + allows importing of nested namespaces + allows importing of namespaces + namespace + when block takes arguments + registers items under the given namespace + when block does not take arguments + registers items under the given namespace + with nesting + registers items under the given namespaces + with nesting and when block takes arguments + resolves items relative to the namespace + registering a block + without options + without arguments + registers and resolves an object + with arguments + does not call a proc on resolving if one accepts an arbitrary number of keyword arguments + registers and resolves a proc + with option call: false + registers and resolves a proc + #merge + without namespace argument + is expected to equal :item + is expected to equal :item + with namespace argument + when namespace is not nil + is expected to equal :item + is expected to equal :item + when namespace is nil + is expected to equal :item + is expected to equal :item + #each + returns the container + yields stringified versions of all registered keys to the block + #each_key + returns the container + yields stringified versions of all registered keys to the block + #decorate + with an instance as a decorator + expected to pass original value to decorator#call method + for callable item + memoize true + is expected to equal #:0x00007efcff6c8100>)> + memoize false + does not call the block until the key is resolved + is expected not to equal #<#:0x00007efcff66e1c8> + for not callable item + memoization + decorates static value only once + wrapping + expected to be an instance of SimpleDelegator + registering with the same key multiple times + is expected to raise Dry::Container::Error + .resolve + accepts a fallback block + .dup + returns a copy that doesn't share registered keys with the parent + configuration + resolver + default + is expected to be a kind of Dry::Container::Resolver + custom + is expected to eq # + is expected to have received call({}, :key) 1 time + namespace_separator + custom + is expected to eq "item" + default + is expected to eq "." + registry + custom + is expected to have received call({}, :key, :item, {}) 1 time + default + is expected to be a kind of Dry::Container::Registry + .freeze + allows to freeze a container so that nothing can be registered later + returns self back + inheritance + sets up a container for a child class -Top 3 slowest examples (0.01991 seconds, 16.2% of total time): - Dry::Container behaves like a container configuration resolver custom is expected to eq # - 0.0111 seconds ./spec/support/shared_examples/container.rb:72 - Dry::Container behaves like a container .clone re-uses frozen container - 0.00642 seconds ./spec/support/shared_examples/container.rb:653 - Dry::Container::Mixin included behaves like a container stubbing with block argument executes the block with the given stubs - 0.0024 seconds ./spec/support/shared_examples/container.rb:597 +Top 3 slowest examples (0.016 seconds, 17.7% of total time): + Dry::Container::Mixin included behaves like a container .clone re-uses frozen container + 0.00579 seconds ./spec/support/shared_examples/container.rb:653 + Dry::Container::Mixin included behaves like a container with default configuration #decorate for not callable item wrapping expected to be an instance of SimpleDelegator + 0.00538 seconds ./spec/support/shared_examples/container.rb:435 + Dry::Container::Mixin included behaves like a container configuration resolver custom is expected to eq # + 0.00482 seconds ./spec/support/shared_examples/container.rb:72 Top 2 slowest example groups: - Dry::Container - 0.00074 seconds average (0.04506 seconds / 61 examples) ./spec/integration/container_spec.rb:1 Dry::Container::Mixin - 0.00063 seconds average (0.07612 seconds / 121 examples) ./spec/integration/mixin_spec.rb:1 + 0.00058 seconds average (0.07023 seconds / 121 examples) ./spec/integration/mixin_spec.rb:1 + Dry::Container + 0.0003 seconds average (0.01817 seconds / 61 examples) ./spec/integration/container_spec.rb:1 -Finished in 0.12319 seconds (files took 0.18117 seconds to load) +Finished in 0.09022 seconds (files took 0.13902 seconds to load) 182 examples, 0 failures -Randomized with seed 20660 +Randomized with seed 43415 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1310,12 +1346,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3725521/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3725521/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3112884 and its subdirectories -I: Current time: Sat Oct 17 23:27:20 -12 2026 -I: pbuilder-time-stamp: 1792322840 +I: removing directory /srv/workspace/pbuilder/3725521 and its subdirectories +I: Current time: Mon Sep 15 19:06:18 +14 2025 +I: pbuilder-time-stamp: 1757912778