Diff of the two buildlogs: -- --- b1/build.log 2025-02-01 21:01:36.159087388 +0000 +++ b2/build.log 2025-02-01 21:02:16.937240929 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Feb 1 09:00:03 -12 2025 -I: pbuilder-time-stamp: 1738443603 +I: Current time: Sat Mar 7 17:24:37 +14 2026 +I: pbuilder-time-stamp: 1772853877 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -25,54 +25,86 @@ dpkg-source: info: applying 0001-Remove-git-from-gemspec.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1032/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4083/tmp/hooks/D01_modify_environment starting +debug: Running on ionos6-i386. +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 Mar 7 03:24 /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/4083/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4083/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=11 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=21 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='ab348bc1baba446da78229c16cee42c9' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='1032' - PS1='# ' - PS2='> ' + INVOCATION_ID=cca21ac6f9d64b759cda65c6195f4efd + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=4083 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.eh6pOtNQ/pbuilderrc_IQHI --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.eh6pOtNQ/b1 --logfile b1/build.log ruby-rspec-collection-matchers_1.2.0-2.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + 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.eh6pOtNQ/pbuilderrc_qoiQ --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.eh6pOtNQ/b2 --logfile b2/build.log ruby-rspec-collection-matchers_1.2.0-2.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos2-i386 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1032/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4083/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -267,7 +299,7 @@ Get: 147 http://deb.debian.org/debian unstable/main i386 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 148 http://deb.debian.org/debian unstable/main i386 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 149 http://deb.debian.org/debian unstable/main i386 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 57.3 MB in 1s (38.3 MB/s) +Fetched 57.3 MB in 1s (76.5 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:i386. (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 ... 19826 files and directories currently installed.) @@ -761,8 +793,8 @@ Setting up tzdata (2025a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Sat Feb 1 21:01:02 UTC 2025. -Universal Time is now: Sat Feb 1 21:01:02 UTC 2025. +Local time is now: Sat Mar 7 03:25:00 UTC 2026. +Universal Time is now: Sat Mar 7 03:25:00 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-1) ... @@ -898,7 +930,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-rspec-collection-matchers-1.2.0/ && 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-rspec-collection-matchers_1.2.0-2_source.changes +I: user script /srv/workspace/pbuilder/4083/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4083/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-rspec-collection-matchers-1.2.0/ && 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-rspec-collection-matchers_1.2.0-2_source.changes dpkg-buildpackage: info: source package ruby-rspec-collection-matchers dpkg-buildpackage: info: source version 1.2.0-2 dpkg-buildpackage: info: source distribution unstable @@ -932,7 +968,7 @@ │ ruby-rspec-collection-matchers: Installing files and building extensions for ruby3.3│ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250201-13329-17af1p/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20260307-14393-tww8ba/gemspec WARNING: prerelease dependency on rspec-expectations (>= 2.99.0.beta1) is not recommended WARNING: open-ended dependency on bundler (>= 1.3, development) is not recommended if bundler is semantically versioned, use: @@ -946,7 +982,7 @@ Name: rspec-collection_matchers Version: 1.2.0 File: rspec-collection_matchers-1.2.0.gem -/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rspec-collection-matchers/usr/share/rubygems-integration/all /tmp/d20250201-13329-17af1p/rspec-collection_matchers-1.2.0.gem +/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rspec-collection-matchers/usr/share/rubygems-integration/all /tmp/d20260307-14393-tww8ba/rspec-collection_matchers-1.2.0.gem /build/reproducible-path/ruby-rspec-collection-matchers-1.2.0/debian/ruby-rspec-collection-matchers/usr/share/rubygems-integration/all/gems/rspec-collection_matchers-1.2.0/lib/rspec/collection_matchers.rb /build/reproducible-path/ruby-rspec-collection-matchers-1.2.0/debian/ruby-rspec-collection-matchers/usr/share/rubygems-integration/all/gems/rspec-collection_matchers-1.2.0/lib/rspec/collection_matchers/have.rb /build/reproducible-path/ruby-rspec-collection-matchers-1.2.0/debian/ruby-rspec-collection-matchers/usr/share/rubygems-integration/all/gems/rspec-collection_matchers-1.2.0/lib/rspec/collection_matchers/matchers.rb @@ -986,51 +1022,87 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 44568 +Randomized with seed 42634 Have extensions for rails - errors_on - returns the errors on that attribute + error_on provides a description including the name of what the error is on provides a failure message including the number actually given + have something other than error_on or errors_on + has a standard rspec failure message + has a standard rspec description + errors_on + provides a failure message including the number actually given calls valid? + provides a description including the name of what the error is on + returns the errors on that attribute ActiveModel class that takes no arguments to valid? with nil name has one error with non-blank name has no error - error_on - provides a description including the name of what the error is on - provides a failure message including the number actually given - have something other than error_on or errors_on - has a standard rspec failure message - has a standard rspec description have matcher - RSpec::CollectionMatchers::Have for an Enumerator whose size is nil but count is supplied - works fine expectations compounded with RSpec::Matchers::Composable - using #or + using #and passes when both expectations are met - fails with relevant error when neither expectation is met - passes when only first expectation is met + fails with relevant error when only second expectation fails + fails with relevant error when only first expectation fails + fails with relevant error when both expectations fail + using #or passes when only second expectation is met + passes when only first expectation is met + fails with relevant error when neither expectation is met + passes when both expectations are met using the have matcher as an argument of another matcher - has an alias for the have matcher - has an alias for the have_at_least matcher (PENDING: Not yet implemented) has an alias for the have_at_most matcher (PENDING: Not yet implemented) - using #and - fails with relevant error when both expectations fail - fails with relevant error when only first expectation fails - passes when both expectations are met - fails with relevant error when only second expectation fails + has an alias for the have_at_least matcher (PENDING: Not yet implemented) + has an alias for the have matcher + have(n).items(args, block) + passes args to target + passes block to target + expect(...).to have_exactly(n).items + passes if target has a collection of items with n members + converts :no to 0 + fails if target has a collection of items with > n members + fails if target has a collection of items with < n members + RSpec::CollectionMatchers::Have for an Enumerator whose size is nil but count is supplied + works fine + expect(...).not_to have(n).items + passes if target has a collection of items with < n members + fails if target has a collection of items with n members + passes if target has a collection of items with > n members + expect(...).to have_at_most(n).items + passes if target has a collection of items with n members + fails if target has a collection of items with > n members + passes if target has a collection of items with < n members + provides educational negative failure messages + have(n).items where target IS a collection + fails when the number of items IN the collection is not as expected + references the number of items IN the collection + RSpec::CollectionMatchers::Have for a collection owner that implements #send + blows up when the owner doesn't respond to that method + works in the straightforward case + works when doing automatic pluralization + works when #send is defined directly on an array + expect(...).to have(n).items where result responds to items but returns something other than a collection + provides a meaningful error + provides a meaningful error + expect(...).to have(1).item when Inflector is defined + pluralizes the collection name + expect(...).to have(n).items + fails if target has a collection of items with > n members + fails if target has a collection of items with < n members + converts a String argument to Integer + converts :no to 0 + passes if target has a collection of items with n members + behaves like an RSpec matcher + matches a valid value when using #== so it can be composed + does not match an invalid value when using #== so it can be composed expect(...).to have(1).item when ActiveSupport::Inflector is defined pluralizes the collection name when ActiveSupport::Inflector is partially loaded without its inflectors does not pluralize the collection name - expect(...).to have(n).items where result responds to items but returns something other than a collection - provides a meaningful error - provides a meaningful error RSpec::CollectionMatchers::Have does not respond_to? method_missing (because it's private) has method_missing as private @@ -1038,31 +1110,8 @@ is true if the owner responds to the method is true for a method that it's superclass (Object) defines is false for a method which neither Object nor nor Have defines - is true for a method which Have defines is false if the owner doesn't respond to the method - have(n).items where target IS a collection - fails when the number of items IN the collection is not as expected - references the number of items IN the collection - have(n).characters where target IS a String - fails if the length is incorrect - passes if the length is correct - expect(...).to have_at_most(n).items - provides educational negative failure messages - fails if target has a collection of items with > n members - passes if target has a collection of items with n members - passes if target has a collection of items with < n members - expect(...).to have(1).item when Inflector is defined - pluralizes the collection name - expect(...).to have_at_least(n).items - provides educational negative failure messages - fails if target has a collection of items with < n members - passes if target has a collection of items with > n members - passes if target has a collection of items with n members - have(n).items(args, block) - passes args to target - passes block to target - have(n).things on an object which is not a collection nor contains one - fails + is true for a method which Have defines description generation the have matcher generates its own description @@ -1070,29 +1119,16 @@ generates its own description the have_at_most matcher generates its own description - expect(...).to have(n).items - fails if target has a collection of items with > n members - passes if target has a collection of items with n members + expect(...).to have_at_least(n).items + provides educational negative failure messages fails if target has a collection of items with < n members - converts a String argument to Integer - converts :no to 0 - behaves like an RSpec matcher - does not match an invalid value when using #== so it can be composed - matches a valid value when using #== so it can be composed - RSpec::CollectionMatchers::Have for a collection owner that implements #send - works in the straightforward case - blows up when the owner doesn't respond to that method - works when #send is defined directly on an array - works when doing automatic pluralization - expect(...).not_to have(n).items - passes if target has a collection of items with < n members - fails if target has a collection of items with n members passes if target has a collection of items with > n members - expect(...).to have_exactly(n).items passes if target has a collection of items with n members - fails if target has a collection of items with > n members - converts :no to 0 - fails if target has a collection of items with < n members + have(n).characters where target IS a String + passes if the length is correct + fails if the length is incorrect + have(n).things on an object which is not a collection nor contains one + fails RSpec::CollectionMatchers::Syntax expression generation @@ -1100,26 +1136,26 @@ generates a positive expression using the expect syntax generates a negative expression using the expect syntax when both :should and :expect are enabled - generates a positive expression using the expect syntax generates a negative expression using the expect syntax + generates a positive expression using the expect syntax when only :expect is enabled generates a positive expression using the expect syntax generates a negative expression using the expect syntax Pending: (Failures listed here are expected and do not affect your suite's status) - 1) have matcher expectations compounded with RSpec::Matchers::Composable using the have matcher as an argument of another matcher has an alias for the have_at_least matcher + 1) have matcher expectations compounded with RSpec::Matchers::Composable using the have matcher as an argument of another matcher has an alias for the have_at_most matcher # Not yet implemented - # ./spec/rspec/collection_matchers/have_spec.rb:444 + # ./spec/rspec/collection_matchers/have_spec.rb:443 - 2) have matcher expectations compounded with RSpec::Matchers::Composable using the have matcher as an argument of another matcher has an alias for the have_at_most matcher + 2) have matcher expectations compounded with RSpec::Matchers::Composable using the have matcher as an argument of another matcher has an alias for the have_at_least matcher # Not yet implemented - # ./spec/rspec/collection_matchers/have_spec.rb:443 + # ./spec/rspec/collection_matchers/have_spec.rb:444 -Finished in 0.3347 seconds (files took 0.83763 seconds to load) +Finished in 0.14681 seconds (files took 0.36203 seconds to load) 76 examples, 0 failures, 2 pending -Randomized with seed 44568 +Randomized with seed 42634 /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner @@ -1139,140 +1175,140 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 36756 - -Have extensions for rails - errors_on - calls valid? - returns the errors on that attribute - provides a failure message including the number actually given - provides a description including the name of what the error is on - ActiveModel class that takes no arguments to valid? - with non-blank name - has no error - with nil name - has one error - error_on - provides a failure message including the number actually given - provides a description including the name of what the error is on - have something other than error_on or errors_on - has a standard rspec failure message - has a standard rspec description +Randomized with seed 1917 have matcher - have(n).items(args, block) - passes args to target - passes block to target - RSpec::CollectionMatchers::Have for an Enumerator whose size is nil but count is supplied - works fine - have(n).things on an object which is not a collection nor contains one - fails - RSpec::CollectionMatchers::Have for a collection owner that implements #send - works when #send is defined directly on an array - blows up when the owner doesn't respond to that method - works when doing automatic pluralization - works in the straightforward case - expect(...).to have(n).items where result responds to items but returns something other than a collection - provides a meaningful error - provides a meaningful error - expect(...).to have(1).item when ActiveSupport::Inflector is defined - pluralizes the collection name - when ActiveSupport::Inflector is partially loaded without its inflectors - does not pluralize the collection name + RSpec::CollectionMatchers::Have + does not respond_to? method_missing (because it's private) + has method_missing as private + respond_to? + is true if the owner responds to the method + is false if the owner doesn't respond to the method + is false for a method which neither Object nor nor Have defines + is true for a method which Have defines + is true for a method that it's superclass (Object) defines + have(n).characters where target IS a String + passes if the length is correct + fails if the length is incorrect + have(n).items where target IS a collection + fails when the number of items IN the collection is not as expected + references the number of items IN the collection expect(...).to have(n).items - fails if target has a collection of items with < n members passes if target has a collection of items with n members - fails if target has a collection of items with > n members converts :no to 0 + fails if target has a collection of items with > n members converts a String argument to Integer + fails if target has a collection of items with < n members behaves like an RSpec matcher matches a valid value when using #== so it can be composed does not match an invalid value when using #== so it can be composed - expect(...).to have(1).item when Inflector is defined + have(n).things on an object which is not a collection nor contains one + fails + expect(...).to have(1).item when ActiveSupport::Inflector is defined pluralizes the collection name + when ActiveSupport::Inflector is partially loaded without its inflectors + does not pluralize the collection name + expectations compounded with RSpec::Matchers::Composable + using the have matcher as an argument of another matcher + has an alias for the have_at_most matcher (PENDING: Not yet implemented) + has an alias for the have matcher + has an alias for the have_at_least matcher (PENDING: Not yet implemented) + using #and + fails with relevant error when only second expectation fails + passes when both expectations are met + fails with relevant error when both expectations fail + fails with relevant error when only first expectation fails + using #or + passes when only second expectation is met + passes when only first expectation is met + fails with relevant error when neither expectation is met + passes when both expectations are met + expect(...).to have_at_least(n).items + fails if target has a collection of items with < n members + passes if target has a collection of items with n members + provides educational negative failure messages + passes if target has a collection of items with > n members + RSpec::CollectionMatchers::Have for a collection owner that implements #send + works when #send is defined directly on an array + works when doing automatic pluralization + works in the straightforward case + blows up when the owner doesn't respond to that method expect(...).not_to have(n).items passes if target has a collection of items with < n members - fails if target has a collection of items with n members passes if target has a collection of items with > n members - expect(...).to have_at_most(n).items - provides educational negative failure messages - passes if target has a collection of items with < n members - passes if target has a collection of items with n members - fails if target has a collection of items with > n members - have(n).characters where target IS a String - fails if the length is incorrect - passes if the length is correct + fails if target has a collection of items with n members + RSpec::CollectionMatchers::Have for an Enumerator whose size is nil but count is supplied + works fine expect(...).to have_exactly(n).items - converts :no to 0 - fails if target has a collection of items with > n members passes if target has a collection of items with n members fails if target has a collection of items with < n members - expect(...).to have_at_least(n).items - passes if target has a collection of items with > n members - fails if target has a collection of items with < n members - provides educational negative failure messages - passes if target has a collection of items with n members - RSpec::CollectionMatchers::Have - does not respond_to? method_missing (because it's private) - has method_missing as private - respond_to? - is true for a method that it's superclass (Object) defines - is false for a method which neither Object nor nor Have defines - is false if the owner doesn't respond to the method - is true if the owner responds to the method - is true for a method which Have defines + converts :no to 0 + fails if target has a collection of items with > n members description generation - the have_at_most matcher + the have matcher generates its own description the have_at_least matcher generates its own description - the have matcher + the have_at_most matcher generates its own description - expectations compounded with RSpec::Matchers::Composable - using #and - fails with relevant error when only second expectation fails - fails with relevant error when both expectations fail - passes when both expectations are met - fails with relevant error when only first expectation fails - using #or - passes when only first expectation is met - passes when only second expectation is met - fails with relevant error when neither expectation is met - passes when both expectations are met - using the have matcher as an argument of another matcher - has an alias for the have_at_least matcher (PENDING: Not yet implemented) - has an alias for the have matcher - has an alias for the have_at_most matcher (PENDING: Not yet implemented) - have(n).items where target IS a collection - fails when the number of items IN the collection is not as expected - references the number of items IN the collection + expect(...).to have_at_most(n).items + fails if target has a collection of items with > n members + passes if target has a collection of items with n members + provides educational negative failure messages + passes if target has a collection of items with < n members + have(n).items(args, block) + passes block to target + passes args to target + expect(...).to have(1).item when Inflector is defined + pluralizes the collection name + expect(...).to have(n).items where result responds to items but returns something other than a collection + provides a meaningful error + provides a meaningful error + +Have extensions for rails + errors_on + provides a description including the name of what the error is on + returns the errors on that attribute + calls valid? + provides a failure message including the number actually given + ActiveModel class that takes no arguments to valid? + with nil name + has one error + with non-blank name + has no error + error_on + provides a failure message including the number actually given + provides a description including the name of what the error is on + have something other than error_on or errors_on + has a standard rspec description + has a standard rspec failure message RSpec::CollectionMatchers::Syntax expression generation when both :should and :expect are enabled generates a negative expression using the expect syntax generates a positive expression using the expect syntax - when only :should is enabled - generates a negative expression using the expect syntax - generates a positive expression using the expect syntax when only :expect is enabled + generates a positive expression using the expect syntax + generates a negative expression using the expect syntax + when only :should is enabled generates a negative expression using the expect syntax generates a positive expression using the expect syntax Pending: (Failures listed here are expected and do not affect your suite's status) - 1) have matcher expectations compounded with RSpec::Matchers::Composable using the have matcher as an argument of another matcher has an alias for the have_at_least matcher + 1) have matcher expectations compounded with RSpec::Matchers::Composable using the have matcher as an argument of another matcher has an alias for the have_at_most matcher # Not yet implemented - # ./spec/rspec/collection_matchers/have_spec.rb:444 + # ./spec/rspec/collection_matchers/have_spec.rb:443 - 2) have matcher expectations compounded with RSpec::Matchers::Composable using the have matcher as an argument of another matcher has an alias for the have_at_most matcher + 2) have matcher expectations compounded with RSpec::Matchers::Composable using the have matcher as an argument of another matcher has an alias for the have_at_least matcher # Not yet implemented - # ./spec/rspec/collection_matchers/have_spec.rb:443 + # ./spec/rspec/collection_matchers/have_spec.rb:444 -Finished in 0.31047 seconds (files took 0.73047 seconds to load) +Finished in 0.14941 seconds (files took 0.36541 seconds to load) 76 examples, 0 failures, 2 pending -Randomized with seed 36756 +Randomized with seed 1917 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1304,12 +1340,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/4083/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4083/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/1032 and its subdirectories -I: Current time: Sat Feb 1 09:01:35 -12 2025 -I: pbuilder-time-stamp: 1738443695 +I: removing directory /srv/workspace/pbuilder/4083 and its subdirectories +I: Current time: Sat Mar 7 17:25:15 +14 2026 +I: pbuilder-time-stamp: 1772853915