Diff of the two buildlogs: -- --- b1/build.log 2025-01-28 09:34:26.839848690 +0000 +++ b2/build.log 2025-01-28 09:35:35.252779246 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Mar 2 03:56:40 -12 2026 -I: pbuilder-time-stamp: 1772467000 +I: Current time: Tue Jan 28 23:34:33 +14 2025 +I: pbuilder-time-stamp: 1738056873 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 enable_test_coloring.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/51096/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/28115/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-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 Jan 28 09:34 /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/28115/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/28115/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=22 ' - 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=10 ' + 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='3498bb8b2abf44298351b10578f22beb' - 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='51096' - PS1='# ' - PS2='> ' + INVOCATION_ID=99682ed24f6b4366b17c2600dd7b8bd4 + 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=28115 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.S24kyEq8/pbuilderrc_ETZm --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.S24kyEq8/b1 --logfile b1/build.log ruby-pastel_0.8.0-1.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://213.165.73.152: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.S24kyEq8/pbuilderrc_mSoA --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.S24kyEq8/b2 --logfile b2/build.log ruby-pastel_0.8.0-1.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://46.16.76.132:3128 I: uname -a - Linux ionos6-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 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/51096/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/28115/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -260,7 +292,7 @@ Get: 142 http://deb.debian.org/debian unstable/main i386 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 143 http://deb.debian.org/debian unstable/main i386 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] Get: 144 http://deb.debian.org/debian unstable/main i386 ruby-tty-color all 0.6.0-1 [7784 B] -Fetched 56.6 MB in 0s (123 MB/s) +Fetched 56.6 MB in 1s (95.2 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 ... 19829 files and directories currently installed.) @@ -738,8 +770,8 @@ Setting up tzdata (2025a-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Mar 2 15:57:12 UTC 2026. -Universal Time is now: Mon Mar 2 15:57:12 UTC 2026. +Local time is now: Tue Jan 28 09:35:14 UTC 2025. +Universal Time is now: Tue Jan 28 09:35:14 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.22.3-1) ... @@ -871,7 +903,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-pastel-0.8.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-pastel_0.8.0-1_source.changes +I: user script /srv/workspace/pbuilder/28115/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/28115/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-pastel-0.8.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-pastel_0.8.0-1_source.changes dpkg-buildpackage: info: source package ruby-pastel dpkg-buildpackage: info: source version 0.8.0-1 dpkg-buildpackage: info: source distribution unstable @@ -905,7 +941,7 @@ │ ruby-pastel: Installing files and building extensions for ruby3.3 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20260302-59540-ksrw9a/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250128-33232-1yzi90/gemspec WARNING: description and summary are identical WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" @@ -917,7 +953,7 @@ Name: pastel Version: 0.8.0 File: pastel-0.8.0.gem -/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-pastel/usr/share/rubygems-integration/all /tmp/d20260302-59540-ksrw9a/pastel-0.8.0.gem +/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-pastel/usr/share/rubygems-integration/all /tmp/d20250128-33232-1yzi90/pastel-0.8.0.gem /build/reproducible-path/ruby-pastel-0.8.0/debian/ruby-pastel/usr/share/rubygems-integration/all/gems/pastel-0.8.0/lib/pastel.rb /build/reproducible-path/ruby-pastel-0.8.0/debian/ruby-pastel/usr/share/rubygems-integration/all/gems/pastel-0.8.0/lib/pastel/alias_importer.rb /build/reproducible-path/ruby-pastel-0.8.0/debian/ruby-pastel/usr/share/rubygems-integration/all/gems/pastel-0.8.0/lib/pastel/ansi.rb @@ -959,227 +995,227 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-pastel-0.8.0/debian/ruby-pastel/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-pastel-0.8.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/i386-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 17082 +Randomized with seed 39664 + +Pastel.respond_to? + responds correctly to unkown method + responds correctly to color property + responds correctly to color method + +Pastel::Color#colored? + checks if string has color codes + checks that string doesn't contain color codes + +Pastel::ColorParser::parse + parses chained colors in shorthand syntax + parses colors nested with blocks + parses string with no color + parses nested colors with one reset + parses color when overriden in nested text + parses nested colors with two resets + parses malformed control sequence + parses chained colors in regular syntax + parses styles from parent text in nested text + parses simple color and style + parses unrest color + parses simple color + parses many colors + +Pastel::Color#code + finds single code + finds alias code + doesn't find code + finds more than one code Pastel::Delegator returns delegator for color without argument - #eql? - is not equal with different styles - is equal with the same styles - is not equal to another type + #hash + calculates object hash + #== + is not equivalent to another type + is equivalent with the same styles + is not equivalent with different styles #inspect inspects delegator styles chain #respond_to_missing? - for an undefined method - returns false for a method defined on returns true - #hash - calculates object hash - #== - is not equivalent with different styles - is equivalent with the same styles - is not equivalent to another type - -Pastel::DecoratorChain - is enumerable + for an undefined method + returns false #eql? + is not equal with different styles is not equal to another type - is equal with the same decorator - is not equal with different decorator - .empty - memoizes an empty chain - #hash - calculates object hash - #inspect - displays object information - #== - is not equivalent with different decorator - is not equivalent to another type - is equivalent with the same decorator - #each - yields each decorator + is equal with the same styles -Pastel.respond_to? - responds correctly to color method - responds correctly to color property - responds correctly to unkown method +Pastel::Color.strip + strips "\e[m" no-color code produced by some standard programs + strips partial ansi color + preserves movement characters + strips control codes + strips ansi color from string + strips octal with multiple colors + strips reset/setfg/setbg/italics/strike/underline sequence + strips escape bytes + strips octal in encapsulating brackets + strips multiple colors delimited by : + strips octal codes without brackets -Pastel::Color#inspect - inspects color instance attributes +Pastel::Color#== + is false with different eachline attribute + is false with non-color + is true with equivalent attributes + is true with equal attributes + is false with different enabled attribute Pastel::Detached #inspect displays object information - #eql? - is not equivalent to another type - is not equivalent with different styles - is equivalent with the same styles #detach + creates detached instance inspects detached colors detaches colors combination + calls detached colors with no arguments allows array like access - creates detached instance accepts multiple strings ensures instance is immutable allows alternative call invocation - calls detached colors with no arguments #== - is equivalent with the same styles + is not equivalent to another type is not equivalent with different styles + is equivalent with the same styles + #eql? + is equivalent with the same styles is not equivalent to another type + is not equivalent with different styles #hash calculates object hash -Pastel#undecorate - undecorates string detecting color escape codes - -Pastel::Color#== - is false with different enabled attribute - is true with equal attributes - is true with equivalent attributes - is false with different eachline attribute - is false with non-color - -Pastel::Color::new - allows to disable coloring - allows wrapping eachline in colors - -Pastel::Color#code - doesn't find code - finds more than one code - finds single code - finds alias code - -Pastel::ColorParser::parse - parses simple color and style - parses unrest color - parses styles from parent text in nested text - parses color when overriden in nested text - parses chained colors in shorthand syntax - parses nested colors with one reset - parses nested colors with two resets - parses many colors - parses simple color - parses malformed control sequence - parses colors nested with blocks - parses chained colors in regular syntax - parses string with no color +Pastel::Color#inspect + inspects color instance attributes -Pastel::Color#colored? - checks that string doesn't contain color codes - checks if string has color codes +Pastel::Color.valid? + detects valid color aliases + detects valid colors + detects invalid color -Pastel#new - is expected to respond to #strip - is expected to respond to #decorate - is expected to respond to #lookup - is expected to respond to #undecorate - #valid? - returns false when invalid - when valid returns true - options passed in - defaults to enabled on Windows - sets eachline option - sets enabled option - defaults enabled to color detection - #colored? - checks if string is colored +Pastel::Color.alias_color + aliases color with invalid name + aliases color :red to :funky + aliases standard color + has global aliases + aliases non existent color -Pastel::Color.strip - strips multiple colors delimited by : - strips octal codes without brackets - strips ansi color from string - strips control codes - strips escape bytes - preserves movement characters - strips octal in encapsulating brackets - strips reset/setfg/setbg/italics/strike/underline sequence - strips "\e[m" no-color code produced by some standard programs - strips partial ansi color - strips octal with multiple colors +Pastel::DecoratorChain + is enumerable + #inspect + displays object information + .empty + memoizes an empty chain + #hash + calculates object hash + #== + is not equivalent with different decorator + is not equivalent to another type + is equivalent with the same decorator + #each + yields each decorator + #eql? + is not equal with different decorator + is equal with the same decorator + is not equal to another type -Pastel::AliasImporter#import - imports aliases from environment - fails to import incorrectly formatted colors +Pastel#undecorate + undecorates string detecting color escape codes Pastel::Color.decorate doesn't apply styling to empty string - applies style and color to string - applies style, color and background to string - applies styles to nested text - allows to decorate each line separately doesn't decorate non-zero length string - decorates multiline string as regular by default - doesn't decorate non-string instance - applies green text to string - errors for unknown color + applies red text background to string + applies styles to nested text doesn't decorate zero length string - doesn't decorate without color doesn't output styling when disabled + doesn't decorate non-string instance + decorates multiline string as regular by default + applies style, color and background to string doesn't decorate nil - applies red text background to string - -Pastel::Color.valid? - detects invalid color - detects valid color aliases - detects valid colors + applies style and color to string + allows to decorate each line separately + errors for unknown color + doesn't decorate without color + applies green text to string -Pastel::Color#styles - exposes all available style ANSI codes +Pastel::Color::new + allows to disable coloring + allows wrapping eachline in colors Pastel#alias_color - reads aliases from the environment - aliases color and combines with regular ones aliases color + aliases color and combines with regular ones + reads aliases from the environment -Pastel::Color#lookup - caches color lookups - looksup colors +Pastel::AliasImporter#import + fails to import incorrectly formatted colors + imports aliases from environment Pastel coloring dsl - allows to nest mixed styles composes two color strings - allows to specify variable number of arguments - colors string - nests color foreground & background - allows to nest styles within block - raises error when chained with unrecognized color raises error when doesn't recognize color applies styles to empty with width more than 1 - doesn't decorate nil + allows to nest styles within block + allows for deep nesting composes three color strings - allows for variable nested arguments - applies color only once + raises error when chained with unrecognized color combines colored composed strings with regular ones - combines colored strings with regular ones - allows one level nesting + allows to nest mixed styles + allows for variable nested arguments doesn't apply styles to empty string - allows for deep nesting + allows to specify variable number of arguments + allows one level nesting + colors string + doesn't decorate nil + nests color foreground & background + combines colored strings with regular ones + applies color only once -Pastel::Color.alias_color - aliases non existent color - aliases color with invalid name - aliases standard color - aliases color :red to :funky - has global aliases +Pastel::Color#styles + exposes all available style ANSI codes + +Pastel::Color#lookup + looksup colors + caches color lookups + +Pastel#new + is expected to respond to #lookup + is expected to respond to #decorate + is expected to respond to #strip + is expected to respond to #undecorate + #colored? + checks if string is colored + options passed in + sets enabled option + defaults to enabled on Windows + defaults enabled to color detection + sets eachline option + #valid? + when valid returns true + returns false when invalid -Top 2 slowest examples (0.013 seconds, 11.4% of total time): +Top 2 slowest examples (0.01183 seconds, 10.6% of total time): Pastel::Delegator#inspect inspects delegator styles chain - 0.00918 seconds ./spec/unit/delegator_spec.rb:46 - Pastel::Delegator#eql? is equal with the same styles - 0.00383 seconds ./spec/unit/delegator_spec.rb:30 + 0.00874 seconds ./spec/unit/delegator_spec.rb:46 + Pastel::DecoratorChain#each yields each decorator + 0.00309 seconds ./spec/unit/decorator_chain_spec.rb:15 Top 2 slowest example groups: Pastel::Delegator - 0.0021 seconds average (0.02306 seconds / 11 examples) ./spec/unit/delegator_spec.rb:3 + 0.00184 seconds average (0.02026 seconds / 11 examples) ./spec/unit/delegator_spec.rb:3 Pastel::AliasImporter#import - 0.00129 seconds average (0.00257 seconds / 2 examples) ./spec/unit/alias_importer_spec.rb:3 + 0.00128 seconds average (0.00257 seconds / 2 examples) ./spec/unit/alias_importer_spec.rb:3 -Finished in 0.11403 seconds (files took 0.26664 seconds to load) +Finished in 0.11116 seconds (files took 0.24133 seconds to load) 140 examples, 0 failures -Randomized with seed 17082 +Randomized with seed 39664 /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner @@ -1196,227 +1232,227 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-pastel-0.8.0/debian/ruby-pastel/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-pastel-0.8.0/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/i386-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/i386-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 27805 +Randomized with seed 21479 -Pastel#alias_color - aliases color - reads aliases from the environment - aliases color and combines with regular ones +Pastel::Detached + #inspect + displays object information + #eql? + is equivalent with the same styles + is not equivalent to another type + is not equivalent with different styles + #detach + ensures instance is immutable + creates detached instance + calls detached colors with no arguments + allows alternative call invocation + inspects detached colors + accepts multiple strings + allows array like access + detaches colors combination + #hash + calculates object hash + #== + is not equivalent with different styles + is not equivalent to another type + is equivalent with the same styles -Pastel::Color#== - is true with equal attributes - is false with different enabled attribute - is true with equivalent attributes - is false with non-color - is false with different eachline attribute +Pastel::Color#inspect + inspects color instance attributes -Pastel::Color.strip - strips octal with multiple colors - strips ansi color from string - strips reset/setfg/setbg/italics/strike/underline sequence - strips octal in encapsulating brackets - strips "\e[m" no-color code produced by some standard programs - strips partial ansi color - preserves movement characters - strips escape bytes - strips octal codes without brackets - strips multiple colors delimited by : - strips control codes +Pastel::Color.decorate + doesn't decorate zero length string + doesn't decorate non-zero length string + doesn't decorate non-string instance + doesn't decorate nil + doesn't output styling when disabled + doesn't apply styling to empty string + applies green text to string + applies style, color and background to string + decorates multiline string as regular by default + allows to decorate each line separately + applies style and color to string + applies styles to nested text + doesn't decorate without color + applies red text background to string + errors for unknown color Pastel.respond_to? responds correctly to color property - responds correctly to unkown method responds correctly to color method - -Pastel::Color.alias_color - aliases color with invalid name - aliases standard color - aliases color :red to :funky - aliases non existent color - has global aliases + responds correctly to unkown method Pastel::Color.valid? - detects valid colors - detects invalid color detects valid color aliases + detects invalid color + detects valid colors -Pastel::Color#styles - exposes all available style ANSI codes - -Pastel::Color#code - doesn't find code - finds single code - finds more than one code - finds alias code - -Pastel::Color#colored? - checks that string doesn't contain color codes - checks if string has color codes - -Pastel::Color::new - allows wrapping eachline in colors - allows to disable coloring - -Pastel::Color#lookup - caches color lookups - looksup colors - -Pastel::Color.decorate - doesn't decorate without color - doesn't decorate non-string instance - errors for unknown color - decorates multiline string as regular by default - allows to decorate each line separately - doesn't decorate nil - doesn't decorate zero length string - applies red text background to string - applies styles to nested text - doesn't decorate non-zero length string - applies style, color and background to string - doesn't apply styling to empty string - applies style and color to string - doesn't output styling when disabled - applies green text to string - -Pastel::Color#inspect - inspects color instance attributes +Pastel#new + is expected to respond to #lookup + is expected to respond to #decorate + is expected to respond to #strip + is expected to respond to #undecorate + options passed in + sets enabled option + defaults to enabled on Windows + defaults enabled to color detection + sets eachline option + #valid? + returns false when invalid + when valid returns true + #colored? + checks if string is colored Pastel::Delegator returns delegator for color without argument #== - is not equivalent with different styles is equivalent with the same styles + is not equivalent with different styles is not equivalent to another type + #hash + calculates object hash + #inspect + inspects delegator styles chain #respond_to_missing? - for a method defined on - returns true for an undefined method returns false - #inspect - inspects delegator styles chain - #hash - calculates object hash + for a method defined on + returns true #eql? - is equal with the same styles is not equal with different styles + is equal with the same styles is not equal to another type -Pastel coloring dsl - allows one level nesting - allows to specify variable number of arguments - doesn't decorate nil - raises error when chained with unrecognized color - applies styles to empty with width more than 1 - combines colored strings with regular ones - composes three color strings - allows to nest styles within block - allows for deep nesting - raises error when doesn't recognize color - combines colored composed strings with regular ones - nests color foreground & background - applies color only once - colors string - allows to nest mixed styles - composes two color strings - allows for variable nested arguments - doesn't apply styles to empty string - -Pastel::Detached - #eql? - is not equivalent to another type - is not equivalent with different styles - is equivalent with the same styles - #== - is equivalent with the same styles - is not equivalent to another type - is not equivalent with different styles - #detach - detaches colors combination - inspects detached colors - calls detached colors with no arguments - ensures instance is immutable - allows array like access - accepts multiple strings - allows alternative call invocation - creates detached instance - #inspect - displays object information - #hash - calculates object hash - Pastel::AliasImporter#import fails to import incorrectly formatted colors imports aliases from environment -Pastel#new - is expected to respond to #lookup - is expected to respond to #strip - is expected to respond to #decorate - is expected to respond to #undecorate - #valid? - when valid returns true - returns false when invalid - #colored? - checks if string is colored - options passed in - defaults enabled to color detection - sets eachline option - sets enabled option - defaults to enabled on Windows - Pastel::DecoratorChain is enumerable - #eql? - is not equal to another type - is equal with the same decorator - is not equal with different decorator #inspect displays object information - #each - yields each decorator + .empty + memoizes an empty chain #== - is equivalent with the same decorator is not equivalent with different decorator is not equivalent to another type + is equivalent with the same decorator #hash calculates object hash - .empty - memoizes an empty chain + #eql? + is equal with the same decorator + is not equal to another type + is not equal with different decorator + #each + yields each decorator Pastel::ColorParser::parse - parses colors nested with blocks - parses simple color + parses simple color and style parses styles from parent text in nested text - parses nested colors with one reset - parses many colors + parses chained colors in regular syntax + parses color when overriden in nested text + parses simple color parses malformed control sequence - parses simple color and style + parses colors nested with blocks + parses many colors parses chained colors in shorthand syntax - parses nested colors with two resets parses unrest color - parses color when overriden in nested text - parses chained colors in regular syntax parses string with no color + parses nested colors with two resets + parses nested colors with one reset + +Pastel::Color#code + finds single code + doesn't find code + finds more than one code + finds alias code + +Pastel::Color#lookup + looksup colors + caches color lookups + +Pastel::Color#colored? + checks if string has color codes + checks that string doesn't contain color codes + +Pastel::Color#styles + exposes all available style ANSI codes + +Pastel#alias_color + aliases color + aliases color and combines with regular ones + reads aliases from the environment + +Pastel::Color::new + allows wrapping eachline in colors + allows to disable coloring + +Pastel::Color.alias_color + has global aliases + aliases standard color + aliases color with invalid name + aliases color :red to :funky + aliases non existent color Pastel#undecorate undecorates string detecting color escape codes -Top 2 slowest examples (0.01181 seconds, 14.5% of total time): - Pastel#alias_color reads aliases from the environment - 0.00838 seconds ./spec/unit/alias_color_spec.rb:17 - Pastel::Detached#== is equivalent with the same styles - 0.00343 seconds ./spec/unit/detach_spec.rb:53 +Pastel coloring dsl + allows to nest styles within block + combines colored strings with regular ones + nests color foreground & background + allows for deep nesting + doesn't decorate nil + composes three color strings + composes two color strings + combines colored composed strings with regular ones + applies styles to empty with width more than 1 + allows to specify variable number of arguments + raises error when doesn't recognize color + allows for variable nested arguments + raises error when chained with unrecognized color + allows to nest mixed styles + applies color only once + doesn't apply styles to empty string + allows one level nesting + colors string + +Pastel::Color#== + is false with different enabled attribute + is true with equal attributes + is false with non-color + is true with equivalent attributes + is false with different eachline attribute + +Pastel::Color.strip + strips partial ansi color + strips control codes + strips reset/setfg/setbg/italics/strike/underline sequence + strips octal with multiple colors + strips ansi color from string + strips multiple colors delimited by : + strips octal in encapsulating brackets + strips octal codes without brackets + strips escape bytes + preserves movement characters + strips "\e[m" no-color code produced by some standard programs + +Top 2 slowest examples (0.01312 seconds, 13.3% of total time): + Pastel#new options passed in defaults to enabled on Windows + 0.00939 seconds ./spec/unit/new_spec.rb:42 + Pastel::Detached#inspect displays object information + 0.00373 seconds ./spec/unit/detach_spec.rb:85 Top 2 slowest example groups: - Pastel#alias_color - 0.00335 seconds average (0.01004 seconds / 3 examples) ./spec/unit/alias_color_spec.rb:3 - Pastel::Detached - 0.00101 seconds average (0.01614 seconds / 16 examples) ./spec/unit/detach_spec.rb:3 + Pastel#undecorate + 0.00377 seconds average (0.00377 seconds / 1 example) ./spec/unit/undecorate_spec.rb:3 + Pastel#new + 0.00151 seconds average (0.01662 seconds / 11 examples) ./spec/unit/new_spec.rb:3 -Finished in 0.08144 seconds (files took 0.1616 seconds to load) +Finished in 0.09864 seconds (files took 0.22078 seconds to load) 140 examples, 0 failures -Randomized with seed 27805 +Randomized with seed 21479 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1449,12 +1485,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/28115/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/28115/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/51096 and its subdirectories -I: Current time: Mon Mar 2 03:57:25 -12 2026 -I: pbuilder-time-stamp: 1772467045 +I: removing directory /srv/workspace/pbuilder/28115 and its subdirectories +I: Current time: Tue Jan 28 23:35:34 +14 2025 +I: pbuilder-time-stamp: 1738056934