Diff of the two buildlogs: -- --- b1/build.log 2025-01-23 01:59:43.328860537 +0000 +++ b2/build.log 2025-01-23 02:01:20.600496209 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jan 22 13:49:35 -12 2025 -I: pbuilder-time-stamp: 1737596975 +I: Current time: Thu Jan 23 15:59:51 +14 2025 +I: pbuilder-time-stamp: 1737597591 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -24,52 +24,84 @@ dpkg-source: info: applying replace-fixnum-with-integer.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/19065/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/6589/tmp/hooks/D01_modify_environment starting +debug: Running on virt64z. +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 Jan 23 02:00 /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/6589/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/6589/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='8c583325c436445b8ce0e73366f15c07' - 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='19065' - PS1='# ' - PS2='> ' + INVOCATION_ID=2baba699efc747df9c0b120be9bcf33c + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=6589 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.gLwoz1N0/pbuilderrc_3nvJ --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.gLwoz1N0/b1 --logfile b1/build.log ruby-contracts_0.17-2.dsc' - SUDO_GID='113' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.gLwoz1N0/pbuilderrc_bzeb --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.gLwoz1N0/b2 --logfile b2/build.log ruby-contracts_0.17-2.dsc' + SUDO_GID=110 + SUDO_UID=103 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux cbxi4a 6.1.0-23-armmp #1 SMP Debian 6.1.99-1 (2024-07-15) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/19065/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/6589/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -250,7 +282,7 @@ Get: 137 http://deb.debian.org/debian unstable/main armhf ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 138 http://deb.debian.org/debian unstable/main armhf ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 139 http://deb.debian.org/debian unstable/main armhf ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 53.0 MB in 11s (4714 kB/s) +Fetched 53.0 MB in 5s (11.4 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:armhf. (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 ... 19557 files and directories currently installed.) @@ -712,8 +744,8 @@ Setting up tzdata (2025a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Jan 23 01:55:15 UTC 2025. -Universal Time is now: Thu Jan 23 01:55:15 UTC 2025. +Local time is now: Thu Jan 23 02:00:42 UTC 2025. +Universal Time is now: Thu Jan 23 02:00:42 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -841,7 +873,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-contracts-0.17/ && 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-contracts_0.17-2_source.changes +I: user script /srv/workspace/pbuilder/6589/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/6589/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-contracts-0.17/ && 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-contracts_0.17-2_source.changes dpkg-buildpackage: info: source package ruby-contracts dpkg-buildpackage: info: source version 0.17-2 dpkg-buildpackage: info: source distribution unstable @@ -874,13 +910,13 @@ │ ruby-contracts: Installing files and building extensions for ruby3.1 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250122-28109-s6ceu6/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250123-11588-wgeohj/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash Successfully built RubyGem Name: contracts Version: 0.17 File: contracts-0.17.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-contracts/usr/share/rubygems-integration/all /tmp/d20250122-28109-s6ceu6/contracts-0.17.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-contracts/usr/share/rubygems-integration/all /tmp/d20250123-11588-wgeohj/contracts-0.17.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-contracts-0.17/debian/ruby-contracts/usr/share/rubygems-integration/all/gems/contracts-0.17/benchmarks/bench.rb /build/reproducible-path/ruby-contracts-0.17/debian/ruby-contracts/usr/share/rubygems-integration/all/gems/contracts-0.17/benchmarks/hash.rb @@ -946,392 +982,392 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 27362 - -module methods - should pass for correct input - should fail for incorrect input +Randomized with seed 17629 Contracts: - contracts for functions with no arguments - should work for functions with no args - should still work for old-style contracts for functions with no args - should not work for a function with a bad contract - module contracts - passes for instance of class including both modules - passes for instance of class including inherited module - does not pass for instance of class not including module - does not pass for instance of class including another module - passes for instance of class including module - anonymous modules + anonymous classes does not fail when contract is satisfied fails with error when contract is violated - when called on module itself - fails with error when contract is violated - does not fail when contract is satisfied - instance and class methods - should allow a class to have an instance method and a class method with the same name + inherited methods + should apply the contract to an inherited method + singleton methods self in inherited methods + should be a proper self + varargs + should work with arg before splat + should fail for incorrect input + should pass for correct input + pattern matching + should not fall through to next pattern when there is a deep contract violation + should work for differing arities + should fail if multiple methods are defined with the same contract (for pattern-matching) + should fail when the pattern-matched method's contract fails + if the return contract for a pattern match fails, it should fail instead of trying the next pattern match + should work as expected when there is no contract violation + when failure_callback was overriden + calls a method when first pattern matches + falls through to 2nd pattern when first pattern does not match + uses overriden failure_callback when pattern matching fails + if the return contract for a pattern match fails, it should fail instead of trying the next pattern match, even with the failure callback + usage in the singleton class of a subclass + should work with a valid contract on a singleton method + basic + should fail for insufficient arguments + should fail for insufficient contracts + module usage + with instance methods + should check contract + with singleton methods + should check contract + with singleton class methods + should check contract classes - should not fail for an object that is the exact type as the contract - should not fail for an object that is a subclass of the type in the contract - Procs should fail for incorrect input should pass for correct input + Contracts to_s formatting in expected + should show empty quotes as "" + should still show nils, not just blank space + should not use custom to_s if empty string + should contain to_s representation within a nested Hash contract + should contain to_s representation within a nested Array contract + should contain to_s representation within a Hash contract + should not stringify native types + should wrap and pretty print for long param contracts + should wrap and pretty print for long return contracts + should contain to_s representation within an Array contract + should not contain Contracts:: module prefix contracts on functions - should fail for a function that doesn't pass the contract should pass for a function that passes the contract with weak other args - should not fail for a returned function that passes the contract + should pass for a function that passes the contract should fail for a function that doesn't pass the contract with weak other args + should fail for a function that doesn't pass the contract should fail for a returned function that receives the wrong argument type - should pass for a function that passes the contract + should not fail for a returned function that passes the contract should fail for a returned function that doesn't pass the contract should pass for a function that passes the contract as in tutorial - instance methods - should allow two classes to have the same method with different contracts - classes + Hashes + should pass even if some keys don't have contracts + should fail if a key with a contract on it isn't provided + should pass for exact correct input should fail for incorrect input - should pass for correct input + protected methods + should raise an error if you try to access a protected method + should raise an error if you try to access a protected method + module contracts + does not pass for instance of class including another module + passes for instance of class including inherited module + does not pass for instance of class not including module + passes for instance of class including module + passes for instance of class including both modules Arrays - should fail for some incorrect elements should pass for correct input + should fail for some incorrect elements should fail for insufficient items - varargs - should fail for incorrect input - should work with arg before splat - should pass for correct input - classes with a valid? class method - should pass for correct input - should fail for incorrect input + contracts for functions with no arguments + should not work for a function with a bad contract + should work for functions with no args + should still work for old-style contracts for functions with no args + failure callbacks + when failure_callback returns false + does not call a function for which the contract fails + when failure_callback returns true + calls a function for which the contract fails + no contracts feature + disables invariants + does not disable pattern matching + disables normal contract checks + instance and class methods + should allow a class to have an instance method and a class method with the same name default args to functions should work for a function call that relies on default args - class methods - should pass for correct input - should fail for incorrect input - usage in the singleton class of a subclass - should work with a valid contract on a singleton method - Hashes - should pass for exact correct input - should fail if a key with a contract on it isn't provided - should fail for incorrect input - should pass even if some keys don't have contracts - singleton methods self in inherited methods - should be a proper self functype - should correctly print out a instance method's type should correctly print out a class method's type - anonymous classes - fails with error when contract is violated + should correctly print out a instance method's type + anonymous modules does not fail when contract is satisfied - basic - should fail for insufficient arguments - should fail for insufficient contracts - protected methods - should raise an error if you try to access a protected method - should raise an error if you try to access a protected method - inherited methods - should apply the contract to an inherited method - Contracts to_s formatting in expected - should show empty quotes as "" - should not use custom to_s if empty string - should wrap and pretty print for long return contracts - should wrap and pretty print for long param contracts - should contain to_s representation within a nested Array contract - should not contain Contracts:: module prefix - should contain to_s representation within a nested Hash contract - should contain to_s representation within a Hash contract - should still show nils, not just blank space - should contain to_s representation within an Array contract - should not stringify native types - varargs with block - should pass for correct input - should fail for incorrect input - when block has Func contract - should fail for incorrect input - module usage - with singleton class methods - should check contract - with singleton methods - should check contract - with instance methods - should check contract + fails with error when contract is violated + when called on module itself + does not fail when contract is satisfied + fails with error when contract is violated + classes + should not fail for an object that is a subclass of the type in the contract + should not fail for an object that is the exact type as the contract blocks - should succeed for maybe proc with no proc - should pass for correct input - should succeed for maybe proc with proc - should handle properly lack of block when there are other arguments should fail for maybe proc with invalid input + should succeed for maybe proc with proc + should pass for correct input + should succeed for maybe proc with no proc should fail for incorrect input + should handle properly lack of block when there are other arguments varargs are given with a maybe block when a block is NOT passed in, varargs should still be correct when a block is passed in, varargs should be correct - pattern matching - should work for differing arities - should not fall through to next pattern when there is a deep contract violation - should work as expected when there is no contract violation - should fail when the pattern-matched method's contract fails - should fail if multiple methods are defined with the same contract (for pattern-matching) - if the return contract for a pattern match fails, it should fail instead of trying the next pattern match - when failure_callback was overriden - if the return contract for a pattern match fails, it should fail instead of trying the next pattern match, even with the failure callback - calls a method when first pattern matches - uses overriden failure_callback when pattern matching fails - falls through to 2nd pattern when first pattern does not match - no contracts feature - does not disable pattern matching - disables normal contract checks - disables invariants - private methods - should raise an error if you try to access a private method - should raise an error if you try to access a private method - usage in singleton class - should work normally when there is no contract violation - should fail with proper error when there is contract violation - builtin contracts usage - allows to use builtin contracts without namespacing and redundant Contracts inclusion - failure callbacks - when failure_callback returns true - calls a function for which the contract fails - when failure_callback returns false - does not call a function for which the contract fails + class methods + should pass for correct input + should fail for incorrect input + Procs + should pass for correct input + should fail for incorrect input classes with extended modules + works correctly with methods with passing contracts should not fail with 'undefined method 'Contract'' works correctly with methods with passing contracts is possible to define it - works correctly with methods with passing contracts - -Contract validators - Range - fails when value is not in range - fails when value is incorrect - passes when value is in range - Regexp - should fail for a non-matching string - should pass for a matching string - within a hash - should pass for a matching string - within an array - should pass for a matching string - -Contracts::Support - eigenclass? - is truthy for singleton classes - is falsey for non-singleton classes - eigenclass_of - returns the eigenclass of a given object + instance methods + should allow two classes to have the same method with different contracts + classes with a valid? class method + should fail for incorrect input + should pass for correct input + usage in singleton class + should fail with proper error when there is contract violation + should work normally when there is no contract violation + builtin contracts usage + allows to use builtin contracts without namespacing and redundant Contracts inclusion + private methods + should raise an error if you try to access a private method + should raise an error if you try to access a private method + varargs with block + should pass for correct input + should fail for incorrect input + when block has Func contract + should fail for incorrect input -Contract - .override_validator - allows to override default validator - allows to override valid contract - allows to override simple validators - allows to override class validator +Contracts::Invariants + works when all invariants are holding + raises invariant violation error when any of invariants are not holding Contracts: - Any: - should pass for strings - should pass for procs - should pass for nil - should pass for numbers - Nat: + Pos: should fail for nil and other data types + should pass for positive numbers should fail for negative numbers - should fail for positive non-whole numbers - should pass for positive whole numbers - should pass for 0 + should fail for 0 + Neg: + should fail for 0 + should pass for negative numbers + should fail for nil and other data types + should fail for positive numbers + RangeOf: + should fail for a badly-defined range + should fail for a range with incorrect data type + should pass for a range of nums + should pass for a range of dates + should fail for a non-range Maybe: should fail for strings - should pass for nils should pass for nums + should pass for nils StrictHash: + when given an exact correct input + does not raise an error when given an input with missing keys raises an error - when given not a hash + when given an input with correct keys but wrong types raises an error when given an input with extra keys raises an error - when given an exact correct input - does not raise an error - when given an input with correct keys but wrong types + when given not a hash raises an error - ArrayOf: - should fail for a non-array - should pass for an array of nums - should fail for an array with one non-num + Any: + should pass for strings + should pass for nil + should pass for numbers + should pass for procs + Not: + should fail for nil + should pass for an argument that isn't nil + Or: + should pass for strings + should fail for nil + should pass for nums + None: + should fail for procs + should fail for numbers + should fail for strings + should fail for nil And: - should fail for an object that has a method :good but isn't of class A should pass for an object of class A that has a method :good - Send: - should fail for an object that returns false for method :good - should pass for an object that returns true for method :good - Exactly: - should pass for an object that is exactly a Parent - should fail for an object that is not related to Parent at all - should fail for an object that inherits from Parent - Pos: - should fail for negative numbers - should fail for 0 - should fail for nil and other data types - should pass for positive numbers + should fail for an object that has a method :good but isn't of class A Optional: can't be used outside of KeywordArgs DescendantOf: should pass for a hash + should pass for Array should fail for a number class should fail for a non-class - should pass for Array - Xor: - should pass for an object with a method :good - should fail for an object with both methods :good and :bad - should pass for an object with a method :bad - should fail for an object with neither method + Exactly: + should fail for an object that is not related to Parent at all + should fail for an object that inherits from Parent + should pass for an object that is exactly a Parent + Send: + should pass for an object that returns true for method :good + should fail for an object that returns false for method :good + ArrayOf: + should fail for a non-array + should pass for an array of nums + should fail for an array with one non-num Bool: - should pass for an argument that is a boolean should fail for nil + should pass for an argument that is a boolean Num: - should pass for Floats should pass for Integers should fail for nil and other data types + should pass for Floats + Xor: + should fail for an object with neither method + should fail for an object with both methods :good and :bad + should pass for an object with a method :good + should pass for an object with a method :bad + SetOf: + should fail for a non-array + should fail for an array with one non-num + should pass for a set of nums HashOf: doesn't allow to specify multiple key-value pairs with pretty syntax #to_s - given Symbol => String - is expected to eq "Hash" given String => Num is expected to eq "Hash" + given Symbol => String + is expected to eq "Hash" + given a fulfilled contract + is expected to eq 2 + is expected to eq 2 given an unfulfilled contract is expected to raise ContractError is expected to raise ContractError is expected to raise ContractError is expected to raise ContractError - given a fulfilled contract - is expected to eq 2 - is expected to eq 2 - SetOf: - should fail for an array with one non-num - should fail for a non-array - should pass for a set of nums - Or: - should pass for nums - should fail for nil - should pass for strings - Neg: - should fail for nil and other data types - should pass for negative numbers - should fail for positive numbers - should fail for 0 - Eq: - should pass for other values - should fail when not equal - should pass for a module - should fail when given instance of class - should pass for a class - None: - should fail for nil - should fail for procs - should fail for numbers - should fail for strings RespondTo: should fail for an object that doesn't respond to :good should pass for an object that responds to :good - Not: - should pass for an argument that isn't nil - should fail for nil + Nat: + should pass for 0 + should fail for negative numbers + should pass for positive whole numbers + should fail for positive non-whole numbers + should fail for nil and other data types Enum: - should pass for an object that is included should fail for an object that is not included - RangeOf: - should fail for a non-range - should fail for a range with incorrect data type - should fail for a badly-defined range - should pass for a range of dates - should pass for a range of nums + should pass for an object that is included KeywordArgs: + should fail if some keys don't have contracts should pass for exact correct input should fail if a key with a contract on it isn't provided should fail for incorrect input - should fail if some keys don't have contracts + Eq: + should pass for a class + should pass for other values + should fail when given instance of class + should pass for a module + should fail when not equal + +Contracts: + method called with blocks + should enforce return value inside lambda with other parameter + should enforce return value inside block with no other parameter + should enforce return value inside block with other parameter + should enforce return value inside lambda with no other parameter + +Contracts::Support + eigenclass? + is falsey for non-singleton classes + is truthy for singleton classes + eigenclass_of + returns the eigenclass of a given object + +Contract + .override_validator + allows to override simple validators + allows to override default validator + allows to override class validator + allows to override valid contract Contracts: Attrs: - attr_accessor_with_contract - setting valid type for second val - setting invalid type - getting invalid type - setting valid type - getting valid type - setting invalid type for second val - getting valid type for second val - getting invalid type for second val attr_writer_with_contract setting valid type + setting invalid type for second val setting valid type for second val getting setting invalid type + attr_accessor_with_contract + getting invalid type for second val setting invalid type for second val + getting valid type for second val + setting valid type for second val + getting valid type + setting invalid type + getting invalid type + setting valid type attr_reader_with_contract + setting getting invalid type - getting valid type for second val getting invalid type for second val - setting + getting valid type for second val getting valid type -Contracts::Invariants - raises invariant violation error when any of invariants are not holding - works when all invariants are holding +Contract validators + Range + fails when value is not in range + passes when value is in range + fails when value is incorrect + Regexp + should pass for a matching string + should fail for a non-matching string + within an array + should pass for a matching string + within a hash + should pass for a matching string -Contracts: - method called with blocks - should enforce return value inside block with other parameter - should enforce return value inside lambda with no other parameter - should enforce return value inside lambda with other parameter - should enforce return value inside block with no other parameter +module methods + should pass for correct input + should fail for incorrect input -Top 10 slowest examples (0.47855 seconds, 16.9% of total time): +Top 10 slowest examples (0.08041 seconds, 16.7% of total time): Contracts: pattern matching should not fall through to next pattern when there is a deep contract violation - 0.14089 seconds ./spec/contracts_spec.rb:55 - Contracts: Any: should pass for procs - 0.08199 seconds ./spec/builtin_contracts_spec.rb:128 - Contracts: anonymous modules when called on module itself fails with error when contract is violated - 0.0503 seconds ./spec/contracts_spec.rb:269 - Contracts: anonymous modules when called on module itself does not fail when contract is satisfied - 0.04712 seconds ./spec/contracts_spec.rb:265 - Contracts: classes with extended modules works correctly with methods with passing contracts - 0.03278 seconds ./spec/contracts_spec.rb:752 - Contracts: Num: should fail for nil and other data types - 0.0281 seconds ./spec/builtin_contracts_spec.rb:41 - Contracts: SetOf: should fail for an array with one non-num - 0.02508 seconds ./spec/builtin_contracts_spec.rb:327 - Contracts: Exactly: should fail for an object that inherits from Parent - 0.0243 seconds ./spec/builtin_contracts_spec.rb:228 + 0.01546 seconds ./spec/contracts_spec.rb:55 + Contracts: Contracts to_s formatting in expected should contain to_s representation within a Hash contract + 0.01524 seconds ./spec/contracts_spec.rb:613 + Contracts: Contracts to_s formatting in expected should not use custom to_s if empty string + 0.0151 seconds ./spec/contracts_spec.rb:683 + Contracts: anonymous classes fails with error when contract is violated + 0.00742 seconds ./spec/contracts_spec.rb:226 + Contracts: pattern matching should work as expected when there is no contract violation + 0.00591 seconds ./spec/contracts_spec.rb:45 + Contracts: Pos: should fail for nil and other data types + 0.00462 seconds ./spec/builtin_contracts_spec.rb:64 + Contracts: RangeOf: should fail for a non-range + 0.00438 seconds ./spec/builtin_contracts_spec.rb:295 Contracts: Nat: should fail for nil and other data types - 0.02401 seconds ./spec/builtin_contracts_spec.rb:113 + 0.00413 seconds ./spec/builtin_contracts_spec.rb:113 + Contract.override_validator allows to override valid contract + 0.00409 seconds ./spec/override_validators_spec.rb:45 Contracts: Neg: should fail for nil and other data types - 0.02396 seconds ./spec/builtin_contracts_spec.rb:87 + 0.00407 seconds ./spec/builtin_contracts_spec.rb:87 Top 9 slowest example groups: - Contracts: - 0.02112 seconds average (0.08448 seconds / 4 examples) ./spec/methods_spec.rb:1 Contract - 0.02056 seconds average (0.08222 seconds / 4 examples) ./spec/override_validators_spec.rb:1 - module methods - 0.01881 seconds average (0.03762 seconds / 2 examples) ./spec/module_spec.rb:10 + 0.00443 seconds average (0.01774 seconds / 4 examples) ./spec/override_validators_spec.rb:1 + Contracts::Support + 0.00307 seconds average (0.0092 seconds / 3 examples) ./spec/support_spec.rb:2 Contracts: - 0.01245 seconds average (1.28 seconds / 103 examples) ./spec/contracts_spec.rb:1 + 0.00238 seconds average (0.24471 seconds / 103 examples) ./spec/contracts_spec.rb:1 Contracts: - 0.01228 seconds average (1.08 seconds / 88 examples) ./spec/builtin_contracts_spec.rb:1 - Contracts::Invariants - 0.01211 seconds average (0.02422 seconds / 2 examples) ./spec/invariants_spec.rb:2 + 0.00198 seconds average (0.00792 seconds / 4 examples) ./spec/methods_spec.rb:1 + Contracts: + 0.00184 seconds average (0.1617 seconds / 88 examples) ./spec/builtin_contracts_spec.rb:1 Contract validators - 0.00947 seconds average (0.06631 seconds / 7 examples) ./spec/validators_spec.rb:3 - Contracts::Support - 0.0087 seconds average (0.02611 seconds / 3 examples) ./spec/support_spec.rb:2 + 0.00149 seconds average (0.01043 seconds / 7 examples) ./spec/validators_spec.rb:3 + module methods + 0.00141 seconds average (0.00283 seconds / 2 examples) ./spec/module_spec.rb:10 + Contracts::Invariants + 0.0012 seconds average (0.0024 seconds / 2 examples) ./spec/invariants_spec.rb:2 Contracts: - 0.00739 seconds average (0.13293 seconds / 18 examples) ./spec/attrs_spec.rb:1 + 0.00119 seconds average (0.02143 seconds / 18 examples) ./spec/attrs_spec.rb:1 -Finished in 2.84 seconds (files took 3.33 seconds to load) +Finished in 0.48184 seconds (files took 0.49339 seconds to load) 231 examples, 0 failures -Randomized with seed 27362 +Randomized with seed 17629 /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner @@ -1351,138 +1387,173 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 11096 +Randomized with seed 5170 -module methods - should pass for correct input - should fail for incorrect input +Contracts: + method called with blocks + should enforce return value inside block with other parameter + should enforce return value inside block with no other parameter + should enforce return value inside lambda with no other parameter + should enforce return value inside lambda with other parameter Contracts: - ArrayOf: - should fail for an array with one non-num - should pass for an array of nums + Attrs: + attr_writer_with_contract + setting valid type + setting invalid type + setting invalid type for second val + getting + setting valid type for second val + attr_reader_with_contract + getting invalid type for second val + getting invalid type + getting valid type + getting valid type for second val + setting + attr_accessor_with_contract + setting valid type for second val + getting valid type for second val + getting invalid type for second val + setting invalid type for second val + setting invalid type + setting valid type + getting invalid type + getting valid type + +Contracts::Invariants + raises invariant violation error when any of invariants are not holding + works when all invariants are holding + +Contracts: + Optional: + can't be used outside of KeywordArgs + SetOf: should fail for a non-array - Maybe: - should fail for strings + should pass for a set of nums + should fail for an array with one non-num + Or: + should fail for nil + should pass for strings should pass for nums - should pass for nils - None: + Exactly: + should pass for an object that is exactly a Parent + should fail for an object that is not related to Parent at all + should fail for an object that inherits from Parent + Not: + should pass for an argument that isn't nil should fail for nil - should fail for procs - should fail for numbers - should fail for strings + ArrayOf: + should fail for an array with one non-num + should fail for a non-array + should pass for an array of nums Eq: - should pass for a class should pass for a module should fail when not equal - should pass for other values should fail when given instance of class - Optional: - can't be used outside of KeywordArgs - Bool: - should pass for an argument that is a boolean - should fail for nil - Enum: - should pass for an object that is included - should fail for an object that is not included - Not: - should fail for nil - should pass for an argument that isn't nil - DescendantOf: - should fail for a number class - should fail for a non-class - should pass for a hash - should pass for Array - Or: - should pass for strings - should pass for nums + should pass for other values + should pass for a class + None: + should fail for numbers + should fail for strings + should fail for procs should fail for nil + RespondTo: + should fail for an object that doesn't respond to :good + should pass for an object that responds to :good Num: - should pass for Floats should fail for nil and other data types should pass for Integers - SetOf: - should fail for a non-array - should fail for an array with one non-num - should pass for a set of nums - RangeOf: - should pass for a range of nums - should fail for a non-range - should fail for a badly-defined range - should pass for a range of dates - should fail for a range with incorrect data type - RespondTo: - should pass for an object that responds to :good - should fail for an object that doesn't respond to :good - Send: - should pass for an object that returns true for method :good - should fail for an object that returns false for method :good + should pass for Floats + StrictHash: + when given an input with missing keys + raises an error + when given not a hash + raises an error + when given an exact correct input + does not raise an error + when given an input with correct keys but wrong types + raises an error + when given an input with extra keys + raises an error + Neg: + should fail for 0 + should pass for negative numbers + should fail for nil and other data types + should fail for positive numbers + Maybe: + should fail for strings + should pass for nums + should pass for nils KeywordArgs: - should fail for incorrect input should fail if some keys don't have contracts - should pass for exact correct input should fail if a key with a contract on it isn't provided + should fail for incorrect input + should pass for exact correct input Nat: - should fail for negative numbers - should pass for positive whole numbers should pass for 0 + should pass for positive whole numbers should fail for positive non-whole numbers + should fail for negative numbers should fail for nil and other data types + DescendantOf: + should pass for a hash + should pass for Array + should fail for a non-class + should fail for a number class HashOf: doesn't allow to specify multiple key-value pairs with pretty syntax - given a fulfilled contract - is expected to eq 2 - is expected to eq 2 #to_s - given Symbol => String - is expected to eq "Hash" given String => Num is expected to eq "Hash" + given Symbol => String + is expected to eq "Hash" + given a fulfilled contract + is expected to eq 2 + is expected to eq 2 given an unfulfilled contract is expected to raise ContractError is expected to raise ContractError is expected to raise ContractError is expected to raise ContractError - Neg: - should fail for nil and other data types - should pass for negative numbers - should fail for 0 - should fail for positive numbers - Pos: - should fail for 0 - should pass for positive numbers - should fail for negative numbers - should fail for nil and other data types - Exactly: - should pass for an object that is exactly a Parent - should fail for an object that is not related to Parent at all - should fail for an object that inherits from Parent - And: - should fail for an object that has a method :good but isn't of class A - should pass for an object of class A that has a method :good + Enum: + should fail for an object that is not included + should pass for an object that is included + Bool: + should pass for an argument that is a boolean + should fail for nil Xor: - should fail for an object with neither method - should fail for an object with both methods :good and :bad should pass for an object with a method :bad + should fail for an object with neither method should pass for an object with a method :good + should fail for an object with both methods :good and :bad + RangeOf: + should fail for a non-range + should fail for a range with incorrect data type + should pass for a range of dates + should pass for a range of nums + should fail for a badly-defined range Any: - should pass for nil + should pass for procs should pass for strings should pass for numbers - should pass for procs - StrictHash: - when given an input with missing keys - raises an error - when given an exact correct input - does not raise an error - when given an input with extra keys - raises an error - when given an input with correct keys but wrong types - raises an error - when given not a hash - raises an error + should pass for nil + And: + should pass for an object of class A that has a method :good + should fail for an object that has a method :good but isn't of class A + Pos: + should fail for nil and other data types + should fail for 0 + should fail for negative numbers + should pass for positive numbers + Send: + should pass for an object that returns true for method :good + should fail for an object that returns false for method :good Contract validators + Range + passes when value is in range + fails when value is not in range + fails when value is incorrect Regexp should fail for a non-matching string should pass for a matching string @@ -1490,253 +1561,218 @@ should pass for a matching string within a hash should pass for a matching string - Range - fails when value is not in range - fails when value is incorrect - passes when value is in range + +module methods + should fail for incorrect input + should pass for correct input Contracts::Support eigenclass? - is truthy for singleton classes is falsey for non-singleton classes + is truthy for singleton classes eigenclass_of returns the eigenclass of a given object -Contracts::Invariants - works when all invariants are holding - raises invariant violation error when any of invariants are not holding - Contracts: - pattern matching - should work for differing arities - should fail if multiple methods are defined with the same contract (for pattern-matching) - should work as expected when there is no contract violation - if the return contract for a pattern match fails, it should fail instead of trying the next pattern match - should not fall through to next pattern when there is a deep contract violation - should fail when the pattern-matched method's contract fails - when failure_callback was overriden - calls a method when first pattern matches - uses overriden failure_callback when pattern matching fails - if the return contract for a pattern match fails, it should fail instead of trying the next pattern match, even with the failure callback - falls through to 2nd pattern when first pattern does not match - Procs - should pass for correct input - should fail for incorrect input - functype - should correctly print out a instance method's type - should correctly print out a class method's type - protected methods - should raise an error if you try to access a protected method - should raise an error if you try to access a protected method no contracts feature - disables invariants - disables normal contract checks does not disable pattern matching - varargs with block - should pass for correct input - should fail for incorrect input - when block has Func contract - should fail for incorrect input - classes with extended modules - works correctly with methods with passing contracts - should not fail with 'undefined method 'Contract'' - is possible to define it - works correctly with methods with passing contracts - basic - should fail for insufficient contracts - should fail for insufficient arguments - Hashes - should fail for incorrect input - should fail if a key with a contract on it isn't provided - should pass even if some keys don't have contracts - should pass for exact correct input - usage in singleton class - should work normally when there is no contract violation - should fail with proper error when there is contract violation - builtin contracts usage - allows to use builtin contracts without namespacing and redundant Contracts inclusion - blocks - should succeed for maybe proc with proc - should succeed for maybe proc with no proc - should fail for incorrect input - should handle properly lack of block when there are other arguments - should pass for correct input - should fail for maybe proc with invalid input - varargs are given with a maybe block - when a block is passed in, varargs should be correct - when a block is NOT passed in, varargs should still be correct - anonymous classes - does not fail when contract is satisfied - fails with error when contract is violated + disables normal contract checks + disables invariants + inherited methods + should apply the contract to an inherited method Arrays should fail for some incorrect elements should fail for insufficient items should pass for correct input - module usage - with singleton methods - should check contract - with instance methods - should check contract - with singleton class methods - should check contract - singleton methods self in inherited methods - should be a proper self - instance methods - should allow two classes to have the same method with different contracts - contracts for functions with no arguments - should still work for old-style contracts for functions with no args - should work for functions with no args - should not work for a function with a bad contract - module contracts - passes for instance of class including module - does not pass for instance of class including another module - does not pass for instance of class not including module - passes for instance of class including inherited module - passes for instance of class including both modules + default args to functions + should work for a function call that relies on default args private methods should raise an error if you try to access a private method should raise an error if you try to access a private method - default args to functions - should work for a function call that relies on default args - Contracts to_s formatting in expected - should contain to_s representation within an Array contract - should not use custom to_s if empty string - should not stringify native types - should contain to_s representation within a nested Array contract - should still show nils, not just blank space - should not contain Contracts:: module prefix - should wrap and pretty print for long param contracts - should show empty quotes as "" - should contain to_s representation within a Hash contract - should wrap and pretty print for long return contracts - should contain to_s representation within a nested Hash contract - usage in the singleton class of a subclass - should work with a valid contract on a singleton method anonymous modules - does not fail when contract is satisfied fails with error when contract is violated + does not fail when contract is satisfied when called on module itself does not fail when contract is satisfied fails with error when contract is violated - inherited methods - should apply the contract to an inherited method + usage in the singleton class of a subclass + should work with a valid contract on a singleton method + module contracts + passes for instance of class including both modules + passes for instance of class including module + does not pass for instance of class not including module + does not pass for instance of class including another module + passes for instance of class including inherited module contracts on functions - should pass for a function that passes the contract as in tutorial should fail for a returned function that doesn't pass the contract should pass for a function that passes the contract with weak other args + should pass for a function that passes the contract + should pass for a function that passes the contract as in tutorial should not fail for a returned function that passes the contract - should fail for a function that doesn't pass the contract with weak other args - should fail for a returned function that receives the wrong argument type should fail for a function that doesn't pass the contract - should pass for a function that passes the contract + should fail for a returned function that receives the wrong argument type + should fail for a function that doesn't pass the contract with weak other args + protected methods + should raise an error if you try to access a protected method + should raise an error if you try to access a protected method + module usage + with singleton methods + should check contract + with instance methods + should check contract + with singleton class methods + should check contract + Procs + should pass for correct input + should fail for incorrect input + anonymous classes + fails with error when contract is violated + does not fail when contract is satisfied classes should fail for incorrect input should pass for correct input + varargs + should work with arg before splat + should pass for correct input + should fail for incorrect input + classes with extended modules + works correctly with methods with passing contracts + works correctly with methods with passing contracts + is possible to define it + should not fail with 'undefined method 'Contract'' + singleton methods self in inherited methods + should be a proper self + Hashes + should pass for exact correct input + should fail for incorrect input + should fail if a key with a contract on it isn't provided + should pass even if some keys don't have contracts + Contracts to_s formatting in expected + should contain to_s representation within a nested Array contract + should not contain Contracts:: module prefix + should wrap and pretty print for long return contracts + should show empty quotes as "" + should not use custom to_s if empty string + should contain to_s representation within an Array contract + should wrap and pretty print for long param contracts + should not stringify native types + should contain to_s representation within a nested Hash contract + should still show nils, not just blank space + should contain to_s representation within a Hash contract + varargs with block + should fail for incorrect input + should pass for correct input + when block has Func contract + should fail for incorrect input failure callbacks - when failure_callback returns false - does not call a function for which the contract fails when failure_callback returns true calls a function for which the contract fails + when failure_callback returns false + does not call a function for which the contract fails classes with a valid? class method - should pass for correct input should fail for incorrect input + should pass for correct input classes should not fail for an object that is the exact type as the contract should not fail for an object that is a subclass of the type in the contract - varargs + functype + should correctly print out a class method's type + should correctly print out a instance method's type + class methods should fail for incorrect input - should work with arg before splat should pass for correct input - class methods + instance methods + should allow two classes to have the same method with different contracts + basic + should fail for insufficient contracts + should fail for insufficient arguments + usage in singleton class + should fail with proper error when there is contract violation + should work normally when there is no contract violation + builtin contracts usage + allows to use builtin contracts without namespacing and redundant Contracts inclusion + pattern matching + should not fall through to next pattern when there is a deep contract violation + should fail if multiple methods are defined with the same contract (for pattern-matching) + if the return contract for a pattern match fails, it should fail instead of trying the next pattern match + should fail when the pattern-matched method's contract fails + should work for differing arities + should work as expected when there is no contract violation + when failure_callback was overriden + falls through to 2nd pattern when first pattern does not match + calls a method when first pattern matches + if the return contract for a pattern match fails, it should fail instead of trying the next pattern match, even with the failure callback + uses overriden failure_callback when pattern matching fails + blocks + should succeed for maybe proc with proc + should succeed for maybe proc with no proc + should fail for maybe proc with invalid input should pass for correct input should fail for incorrect input + should handle properly lack of block when there are other arguments + varargs are given with a maybe block + when a block is passed in, varargs should be correct + when a block is NOT passed in, varargs should still be correct instance and class methods should allow a class to have an instance method and a class method with the same name - -Contracts: - method called with blocks - should enforce return value inside lambda with no other parameter - should enforce return value inside lambda with other parameter - should enforce return value inside block with other parameter - should enforce return value inside block with no other parameter - -Contracts: - Attrs: - attr_accessor_with_contract - getting invalid type for second val - getting valid type - setting valid type - setting invalid type - setting invalid type for second val - getting valid type for second val - setting valid type for second val - getting invalid type - attr_writer_with_contract - setting valid type - setting invalid type - setting invalid type for second val - getting - setting valid type for second val - attr_reader_with_contract - getting valid type for second val - setting - getting valid type - getting invalid type for second val - getting invalid type + contracts for functions with no arguments + should still work for old-style contracts for functions with no args + should work for functions with no args + should not work for a function with a bad contract Contract .override_validator - allows to override default validator - allows to override valid contract - allows to override simple validators allows to override class validator + allows to override simple validators + allows to override valid contract + allows to override default validator -Top 10 slowest examples (0.31505 seconds, 12.5% of total time): +Top 10 slowest examples (0.05597 seconds, 11.4% of total time): Contracts: pattern matching should not fall through to next pattern when there is a deep contract violation - 0.08669 seconds ./spec/contracts_spec.rb:55 - Contracts: KeywordArgs: should fail for incorrect input - 0.0504 seconds ./spec/builtin_contracts_spec.rb:374 - Contracts: module usage with instance methods should check contract - 0.03049 seconds ./spec/contracts_spec.rb:184 + 0.01382 seconds ./spec/contracts_spec.rb:55 + Contracts: HashOf: doesn't allow to specify multiple key-value pairs with pretty syntax + 0.00761 seconds ./spec/builtin_contracts_spec.rb:390 + Contracts: method called with blocks should enforce return value inside block with other parameter + 0.00604 seconds ./spec/methods_spec.rb:42 + Contracts: Pos: should pass for positive numbers + 0.00593 seconds ./spec/builtin_contracts_spec.rb:50 Contract.override_validator allows to override class validator - 0.03036 seconds ./spec/override_validators_spec.rb:96 - module methods should pass for correct input - 0.0217 seconds ./spec/module_spec.rb:11 + 0.00458 seconds ./spec/override_validators_spec.rb:96 + Contract.override_validator allows to override valid contract + 0.00382 seconds ./spec/override_validators_spec.rb:45 Contracts: Pos: should fail for nil and other data types - 0.02026 seconds ./spec/builtin_contracts_spec.rb:64 - Contracts: Neg: should fail for nil and other data types - 0.01994 seconds ./spec/builtin_contracts_spec.rb:87 - Contracts: Nat: should fail for nil and other data types - 0.01906 seconds ./spec/builtin_contracts_spec.rb:113 + 0.00368 seconds ./spec/builtin_contracts_spec.rb:64 Contract.override_validator allows to override default validator - 0.01864 seconds ./spec/override_validators_spec.rb:127 + 0.00353 seconds ./spec/override_validators_spec.rb:127 + Contracts: varargs with block should fail for incorrect input + 0.00349 seconds ./spec/contracts_spec.rb:454 Contracts: Num: should fail for nil and other data types - 0.01749 seconds ./spec/builtin_contracts_spec.rb:41 + 0.00345 seconds ./spec/builtin_contracts_spec.rb:41 Top 9 slowest example groups: Contract - 0.02411 seconds average (0.09645 seconds / 4 examples) ./spec/override_validators_spec.rb:1 - module methods - 0.02072 seconds average (0.04144 seconds / 2 examples) ./spec/module_spec.rb:10 + 0.00462 seconds average (0.01849 seconds / 4 examples) ./spec/override_validators_spec.rb:1 Contracts: - 0.01133 seconds average (0.99707 seconds / 88 examples) ./spec/builtin_contracts_spec.rb:1 - Contracts: - 0.01038 seconds average (1.07 seconds / 103 examples) ./spec/contracts_spec.rb:1 + 0.00299 seconds average (0.01197 seconds / 4 examples) ./spec/methods_spec.rb:1 Contracts::Support - 0.0098 seconds average (0.0294 seconds / 3 examples) ./spec/support_spec.rb:2 - Contract validators - 0.00912 seconds average (0.06387 seconds / 7 examples) ./spec/validators_spec.rb:3 + 0.00247 seconds average (0.00741 seconds / 3 examples) ./spec/support_spec.rb:2 Contracts: - 0.00891 seconds average (0.03563 seconds / 4 examples) ./spec/methods_spec.rb:1 + 0.00234 seconds average (0.24074 seconds / 103 examples) ./spec/contracts_spec.rb:1 + Contracts: + 0.00194 seconds average (0.17113 seconds / 88 examples) ./spec/builtin_contracts_spec.rb:1 + module methods + 0.00182 seconds average (0.00363 seconds / 2 examples) ./spec/module_spec.rb:10 + Contract validators + 0.0016 seconds average (0.01118 seconds / 7 examples) ./spec/validators_spec.rb:3 Contracts: - 0.00831 seconds average (0.14957 seconds / 18 examples) ./spec/attrs_spec.rb:1 + 0.00115 seconds average (0.02072 seconds / 18 examples) ./spec/attrs_spec.rb:1 Contracts::Invariants - 0.00504 seconds average (0.01007 seconds / 2 examples) ./spec/invariants_spec.rb:2 + 0.0009 seconds average (0.00179 seconds / 2 examples) ./spec/invariants_spec.rb:2 -Finished in 2.52 seconds (files took 3.22 seconds to load) +Finished in 0.49134 seconds (files took 0.51796 seconds to load) 231 examples, 0 failures -Randomized with seed 11096 +Randomized with seed 5170 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1767,12 +1803,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/6589/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/6589/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/19065 and its subdirectories -I: Current time: Wed Jan 22 13:59:38 -12 2025 -I: pbuilder-time-stamp: 1737597578 +I: removing directory /srv/workspace/pbuilder/6589 and its subdirectories +I: Current time: Thu Jan 23 16:01:16 +14 2025 +I: pbuilder-time-stamp: 1737597676