Diff of the two buildlogs: -- --- b1/build.log 2025-02-27 03:06:58.896074040 +0000 +++ b2/build.log 2025-02-27 03:10:40.994063041 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Mar 31 21:28:05 -12 2026 -I: pbuilder-time-stamp: 1775035685 +I: Current time: Thu Feb 27 17:07:01 +14 2025 +I: pbuilder-time-stamp: 1740625621 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -22,51 +22,83 @@ dpkg-source: info: unpacking ruby-tty-prompt_0.23.1-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3243178/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/482505/tmp/hooks/D01_modify_environment starting +debug: Running on infom01-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 27 03:07 /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/482505/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/482505/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' + 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]="x86_64-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=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='79a15ebbee1e4c5eaed990c2f26ea4e4' - 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='3243178' - PS1='# ' - PS2='> ' + INVOCATION_ID=fd95e63070a2486b97ebaf772051354f + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=482505 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.Q8DzqXhP/pbuilderrc_A6xE --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.Q8DzqXhP/b1 --logfile b1/build.log ruby-tty-prompt_0.23.1-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.Q8DzqXhP/pbuilderrc_FzBl --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.Q8DzqXhP/b2 --logfile b2/build.log ruby-tty-prompt_0.23.1-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom02-amd64 6.12.9+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.9-1~bpo12+1 (2025-01-19) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) 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/3243178/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/482505/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -255,7 +287,7 @@ Get: 141 http://deb.debian.org/debian unstable/main amd64 ruby-tty-screen all 0.8.1-2 [8924 B] Get: 142 http://deb.debian.org/debian unstable/main amd64 ruby-wisper all 2.0.1-2 [12.7 kB] Get: 143 http://deb.debian.org/debian unstable/main amd64 ruby-tty-reader all 0.9.0-1 [18.1 kB] -Fetched 48.7 MB in 1s (57.3 MB/s) +Fetched 48.7 MB in 2s (20.7 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19778 files and directories currently installed.) @@ -731,8 +763,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Apr 1 09:29:38 UTC 2026. -Universal Time is now: Wed Apr 1 09:29:38 UTC 2026. +Local time is now: Thu Feb 27 03:09:44 UTC 2025. +Universal Time is now: Thu Feb 27 03:09:44 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-minitest (5.25.4-2) ... @@ -862,7 +894,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-tty-prompt-0.23.1/ && 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-tty-prompt_0.23.1-1_source.changes +I: user script /srv/workspace/pbuilder/482505/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/482505/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-tty-prompt-0.23.1/ && 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-tty-prompt_0.23.1-1_source.changes dpkg-buildpackage: info: source package ruby-tty-prompt dpkg-buildpackage: info: source version 0.23.1-1 dpkg-buildpackage: info: source distribution unstable @@ -896,7 +932,7 @@ │ ruby-tty-prompt: Installing files and building extensions for ruby3.3 │ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20260331-3254839-86srvn/gemspec +/usr/bin/ruby3.3 -S gem build --config-file /dev/null --verbose /tmp/d20250227-503598-ijrvf5/gemspec WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as "~> x.y" WARNING: open-ended dependency on rspec (>= 3.0, development) is not recommended @@ -907,7 +943,7 @@ Name: tty-prompt Version: 0.23.1 File: tty-prompt-0.23.1.gem -/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-prompt/usr/share/rubygems-integration/all /tmp/d20260331-3254839-86srvn/tty-prompt-0.23.1.gem +/usr/bin/ruby3.3 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-tty-prompt/usr/share/rubygems-integration/all /tmp/d20250227-503598-ijrvf5/tty-prompt-0.23.1.gem /build/reproducible-path/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.23.1/lib/tty-prompt.rb /build/reproducible-path/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.23.1/lib/tty/prompt.rb /build/reproducible-path/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all/gems/tty-prompt-0.23.1/lib/tty/prompt/answers_collector.rb @@ -975,291 +1011,177 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-tty-prompt-0.23.1/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/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 47769 - -TTY::Prompt::Question::Modifier#whitespace - nil (empty user input) - trim returns nil - chomp returns nil - collapse returns nil - remove returns nil - string with whitespaces - chomps whitespace - removes whitespace - trims whitespace - collapses text - -TTY::Prompt::Question#multiline - sets quiet mode - uses defualt when no input - reads no lines - changes help text - reads multiple lines with empty lines - -TTY::Prompt#decorate - doesn't decorate empty string - decorates with a proc - decorates with a callable object - doesn't decorate without additional arguments - decorates string with named colors - doesn't decorate when disabled - -TTY::Utils - #deep_copy - copies ["foo", {:bar=>"baz"}, :fum, 11] - copies "" - #blank? - detects blank of "\n\t " as true - detects blank of :foo as false - detects blank of " " as true - detects blank of "" as true - detects blank of "foo" as false - detects blank of nil as true - -TTY::Prompt::Question::Validation#coerce - fails to coerce pattern into validation - coerces lambda into proc - doesn't coerce symbols - coerces into regex - -TTY::Prompt#error - changes default red color to cyan - displays many messages - displays message with option - displays one message - -TTY::Prompt::Question#keypress - interrupts input - receives line feed with echo on - timeouts when no key provided - asks for a keypress with echo on - asks for a keypress with echo off +Randomized with seed 23932 TTY::Prompt - sets prompt to quiet mode - changes help text and color - selects item when space pressed - sets prompt prefix - sets default options through DSL syntax - changes selected item color & marker - selects nothing when return pressed immediately - raises error for defaults out of range - sets choice name and value through DSL - sets choice custom values - sets default options through hash syntax sets choice value to nil through DSL - selects item when space pressed but doesn't echo item if echo: false - changes to always show help - sets default choices using names - changes to never show help - with :min - requires number of choices - with :cycle - cycles choices using left/right arrows - doesn't cycle by default - cycles filtered choices left and right - cycles when configured to do so - with filter - doesn't lose the selection when switching between filters - when paginated - navigates unevenly paged output with right arrow until the end of selection - doesn't paginate short selections - navigates left and right - paginates long selections through DSL - paginates long selections - paginates choices as hash object - reverts selection accross pages with Ctrl+r - combines up/down navigation with left/right - navigates evenly paged output with right arrow until end of selection - selects all paged choices with ctrl+a - with :disabled - fails when default item is also disabled - omits disabled choice when number key is pressed - omits disabled choice when nagivating menu - selects all non-disabled choices when ctrl+a is pressed - adjusts active index to match first non-disabled choice - with :max - disables Ctrl+a/Ctrl+r selection when :max option is specified - limits number of choices - -TTY::Prompt::Question convert bool - converts negative boolean - converts positive boolean - handles default values - converts single positive boolean - handles default values - fails to convert boolean + raises when default choice name is not found + paginates long selections + selects default choice by name + doesn't cycle around by default + cycles around when configured to do so + selects option through DSL + changes global symbols through DSL + selects default option when return pressed immediately + shows pages matching input + sets quiet mode + selects option by index from the list + raises when default name matches a disabled choice + switches through pages with tab key + changes colors for selection, hint and error + sets quiet mode through DSL + changes global symbols + displays error with unrecognized input + doesn't paginate short selections + selects option through DSL with key and value + raises configuration error when default is higher than number of choices + with :disabled choice + fails when active item is also disabled + finds first non-disabled index + omits disabled choice when navigating with numbers + doesn't allow to choose disabled choice and defaults -TTY::Prompt#mask - masks output by default - validates input - masks with unicode character - masks output with custom character - ignores mask if echo is off +TTY::Prompt::Distance.distance + when nil + is expected to eql 0 + when prefix + is expected to eql 3 + when similar + is expected to eql 1 + when single char + is expected to eql 2 + when empty + is expected to eql 0 + when similar + is expected to eql 2 + when contain similar + is expected to eql 2 + with one non empty + is expected to eql 3 + when similar + is expected to eql 0 + when unicode + is expected to eql 1 + when end similar + is expected to eql 3 -TTY::Prompt::ConverterRegistry - register - fails to register conversion - registers new conversion under multiple names - registers new conversion under single name - contain - checks conversion with object type - doesn't have conversion - contains conversion - fetch - fails to retrieve conversion - retrieves converter from the registry - retrieves uppcase named converter +TTY::Prompt::Question convert string + converts string + converts symbol -TTY::Prompt::Question - passes convert check - fails required check - fails validation check with custom message - fails convert check - passes required check - fails validation check with inlined custom message - fails required check with custom message - fails range check - fails validation check - passes validation check - fails range check - passes range check - fails convert check with custom message +TTY::Prompt::Question convert to array + converts answer to an array + converts answer to an array of integers + converts answer to an array of booleans -TTY::Prompt::Result - checks value to be invalid - checks value to be valid +TTY::Prompt::Choices#find_by + finds a matching choice by :value key + finds no matching choice + finds a matching choice by :name key + finds a matching choice by :key key -TTY::Prompt::Choice#from - skips Choice instance - creates choice from an array with a hash without value key - creates choice from an arbitrary object that responds to to_s call - creates choice from a hash with name, value and key keys - creates choice from an array with name only and defaults value - creates choice from a hash with a nil value - creates choice from an array with name and a value - creates choice from array with name and nil value - creates choice from an array with name and false value - creates choice from a hash with a value - creates choice from an array with key-value pair - creates choice from an array with a hash with name and value keys - creates disabled choice - creates choice from a string - creates choice from a symbol +TTY::Prompt::Question#echo + asks with echo off + asks with echo on -TTY::Prompt#suggest - suggests with different text and indentation - suggests a single match for two characters - suggests a single match for one character - suggests few matches +TTY::Prompt::Question convert file + converts to file -TTY::Prompt::Question#in - reads number within digit range - provides default error message when wrong input - overwrites default error message when wrong input - reads number within string range - reads range from option - reads letters within range +TTY::Prompt::Question convert custom + converts response with custom conversion -TTY::Prompt::Choices#enabled - returns only choices which aren't disabled +TTY::Prompt::Choices.new + creates choices collection -TTY::Prompt#subscribe - subscribes to key events only for the current prompt +TTY::Prompt::Question convert char + reads single character -TTY::Prompt::Choices#<< - adds choice to collection +TTY::Prompt#inspect + inspects instance attributes TTY::Prompt::Question convert range converts with valid range fails to convert to range -TTY::Prompt#warn - displays one message - displays message with option - changes default yellow color to cyan - displays many messages +TTY::Prompt::Question convert path + converts pathname -TTY::Prompt::Timer - registers a tick event - times out loop execution +TTY::Prompt#new + sets output stream + sets prefix + sets input stream TTY::Prompt::Question::Validation#call - validates with a proc - validates successfully when the value matches pattern fails validation when not maching pattern - validates with custom name + validates successfully when the value matches pattern validates nil input + validates with custom name + validates with a proc -TTY::Prompt::Question#validate - validates input with proc - provides default error message for wrong input - provides custom error message for wrong input - understands custom validation like :email - deprecates :validation option - validates input with regex - -TTY::Prompt::Question convert path - converts pathname - -TTY::Prompt::Choices#each - iterates over collection - -TTY::Prompt::Question#required - uses required in validation check - requires value to be present with option - requires value to be present - doesn't require value to be present +TTY::Prompt::BlockPaginator#paginate + ignores per_page when equal items + finds both start and end index for current selection + starts with default selection + doesn't accept invalid pagination + paginates items matching per_page count + paginates items not matching per_page count + ignores per_page when less items -TTY::Prompt::SelectedChoices - initializes with selected choices - inserts and deletes choices - clears choices - inserts choices by the index order +TTY::Prompt#ask + asks question with prepopulated value + asks an empty question and returns nil if EOF is sent to stdin + permits empty default parameter + overwrites global settings + sets quiet mode + asks question + changes question color + permits nil default parameter + asks an empty question with prepopulated value + sets quiet mode through DSL + asks a question with block + asks a question with a prefix [?] + asks an empty question -TTY::Prompt::Statement.new - forces newline after the prompt message - displays prompt message in color +TTY::Prompt::Question convert numbers + converts float + converts integer + fails to convert integer + fails to convert float -TTY::Prompt::Question#default - uses default value - uses default value in block +TTY::Prompt#suggest + suggests a single match for one character + suggests a single match for two characters + suggests few matches + suggests with different text and indentation -TTY::Prompt::Choices#find_by - finds a matching choice by :value key - finds no matching choice - finds a matching choice by :name key - finds a matching choice by :key key +TTY::Prompt::Question::Modifier#letter_case + string + changes to lower case + changes to uppercase + capitalizes text + nil (empty user input) + capitalize returns nil + down returns nil + up returns nil -TTY::Prompt::Choices#pluck - plucks choice by key name +TTY::Prompt::Question#modify + strips and collapses whitespace + trims whitespace + preserves answer for unkown modification + collapses whitespace + converts to upper case -TTY::Prompt::Question convert numbers - fails to convert integer - converts float - fails to convert float - converts integer +TTY::Prompt::Question#initialize + is expected to eq [] + is expected to eq TTY::Prompt::Question::UndefinedSetting + is expected to eq true -TTY::Prompt#slider - specifies choices through DSL - sets default choice by name - sets default choice by index number - doesn't allow values outside of range - specifies ranges & step - mixes choices as values and via DSL and keeps ordering - formats via proc - sets quiet mode - changes all display symbols - specifies default value - specifies choices instead of calculated range - changes all display symbols per instance - sets choice value to proc and executes it - changes to always show help - changes to never show help - specifies range through DSL - specifies choices through DSL - specifies quiet mode through DSL - changes display colors +TTY::Prompt::Question#keypress + timeouts when no key provided + asks for a keypress with echo off + receives line feed with echo on + asks for a keypress with echo on + interrupts input TTY::Prompt#collect collects more than one answer @@ -1270,406 +1192,520 @@ with multiple keys collects into the appropriate keys -TTY::Prompt::Question::Modifier#letter_case - nil (empty user input) - up returns nil - capitalize returns nil - down returns nil - string - capitalizes text - changes to uppercase - changes to lower case - TTY::Prompt::Converters - :integer - converts "unknown" to "undefined" - converts "12" to 12 - :date - converts "2020/05/21" to # - converts "unknown" to "undefined" :datetime converts "unknown" to "undefined" converts "2020/05/21 11:12:13" to # - :string - converts "input\n" to "input" - converts "" to "" - :boolean - converts "FALSE" to false - converts "0" to false - converts "1" to true - converts "no" to false - converts "t" to true - converts "unknown" to "undefined" - converts "f" to false - converts "y" to true - converts "YES" to true - converts "true" to true - :time - converts "11:12:13" to 2026-03-31 11:12:13 -1200 - converts "unknown" to "undefined" - :path - converts "/foo/bar/baz" to # :char - converts "input" to "i" converts "" to nil + converts "input" to "i" + :regexp + converts "\\d+" to /\d+/ + converts "unknown" to /unknown/ :hash/:map - converts "a:1 b:2 c:3" to {:a=>1.0, :b=>2.0, :c=>3.0} + converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} converts "a=1" to {:a=>"1"} - converts "a=1&b=2&a=3" to {:a=>["1", "3"], :b=>"2"} converts "a:1 b:2 a:3" to {:a=>["1", "3"], :b=>"2"} - converts "a=1&b=2" to {:a=>"1", :b=>"2"} converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} - converts ["a:1", "b:2", "c:3"] to {:a=>"1", :b=>"2", :c=>"3"} converts "a:1 b:2" to {:a=>"1", :b=>"2"} - converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} + converts "a:1 b:2 c:3" to {:a=>1.0, :b=>2.0, :c=>3.0} + converts ["a:1", "b:2", "c:3"] to {:a=>"1", :b=>"2", :c=>"3"} + converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} + converts "a:t b:f c:t" to {:a=>:t, :b=>:f, :c=>:t} converts ["a=1", "b=2", "c=3"] to {:a=>"1", :b=>"2", :c=>"3"} - converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} - converts "a:t b:f c:t" to {:a=>/t/, :b=>/f/, :c=>/t/} + converts "a=1&b=2&a=3" to {:a=>["1", "3"], :b=>"2"} + converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} converts "a=&b=2" to {:a=>"", :b=>"2"} converts "a:1 b:2 c:3" to {:a=>1, :b=>2, :c=>3} + converts "a=1&b=2" to {:a=>"1", :b=>"2"} converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} converts "" to {} - converts "a:1 b:2 c:3" to {"a"=>1, "b"=>2, "c"=>3} - converts "a:t b:f c:t" to {:a=>:t, :b=>:f, :c=>:t} - :uri - converts "http://foobar.com" to # - :regexp - converts "\\d+" to /\d+/ - converts "unknown" to /unknown/ + converts "a:t b:f c:t" to {:a=>/t/, :b=>/f/, :c=>/t/} + :string + converts "input\n" to "input" + converts "" to "" + :boolean + converts "YES" to true + converts "0" to false + converts "FALSE" to false + converts "unknown" to "undefined" + converts "t" to true + converts "1" to true + converts "f" to false + converts "no" to false + converts "y" to true + converts "true" to true + :time + converts "11:12:13" to 2025-02-27 11:12:13 +1400 + converts "unknown" to "undefined" :array/:list - converts "a, , c" to ["a", "c"] - converts "a,b,c" to [:a, :b, :c] converts ["a", "b", "c"] to ["a", "b", "c"] - converts "1,2,3" to [1, 2, 3] - converts "a , b , c" to ["a", "b", "c"] - converts "1,2,3" to [1, 2, 3] + converts ",," to [] + converts "a,b,c" to [/a/, /b/, /c/] converts "1,2,3" to [1.0, 2.0, 3.0] - converts "1,2,3" to [1, 2, 3] - converts ",b,c" to ["b", "c"] converts "a,b,c" to [:a, :b, :c] converts "t,t,f" to [true, true, false] - converts "1,2,3" to [1.0, 2.0, 3.0] + converts "a , b , c" to ["a", "b", "c"] + converts "t,t,f" to [true, true, false] converts "1,2,3" to [1, 2, 3] + converts "a, , c" to ["a", "c"] converts "a,b,c" to ["a", "b", "c"] - converts "a, b\\, c" to ["a", "b, c"] - converts "a,b,c" to [/a/, /b/, /c/] - converts ",," to [] - converts "t,t,f" to [true, true, false] + converts "1,2,3" to [1, 2, 3] + converts "1,2,3" to [1.0, 2.0, 3.0] + converts ",b,c" to ["b", "c"] + converts "1,2,3" to [1, 2, 3] + converts "1,2,3" to [1, 2, 3] converts "t,t,f" to [true, true, false] + converts "a, b\\, c" to ["a", "b, c"] + converts "a,b,c" to [:a, :b, :c] :range - converts "1..10" to 1..10 + converts "1 , 10" to 1..10 converts "1...10" to 1...10 - converts "1.2-5.0" to 1.2..5.0 + converts "unknown" to "undefined" + converts "a . . . z" to "a"..."z" + converts "1..10" to 1..10 converts "a..z" to "a".."z" + converts "1.2-5.0" to 1.2..5.0 + converts "1" to 1..1 converts 1..10 to 1..10 + converts "1.0" to 1.0..1.0 converts "1-10" to 1..10 converts "-5--1" to -5..-1 - converts "1 , 10" to 1..10 - converts "unknown" to "undefined" - converts "1.0" to 1.0..1.0 - converts "a . . . z" to "a"..."z" - converts "1" to 1..1 converts "1 . . . 10" to 1...10 + :date + converts "2020/05/21" to # + converts "unknown" to "undefined" + :uri + converts "http://foobar.com" to # + :integer + converts "12" to 12 + converts "unknown" to "undefined" :float converts "12.3" to 12.3 converts "unknown" to "undefined" + :path + converts "/foo/bar/baz" to # -TTY::Prompt::Question convert to array - converts answer to an array - converts answer to an array of integers - converts answer to an array of booleans +TTY::Prompt#select + sets choices and single choice through DSL + verifies default index range + sets quiet mode through DSL + allows navigation using events without errors + sets choice name and value + sets choice value to nil + changes selected item color & marker + raises when default choice matches disabled choice + sets choice name & value through DSL + sets prompt prefix + configures quiet mode + verifies default index format + selects by default first option + changes help text through DSL + sets choice value to proc and executes it + sets default option through hash syntax + changes to always show help + doesn't paginate short selections + sets choice name through DSL + sets choice name & value through DSL + raises when default choice doesn't match any choices + changes help text + changes to never show help + selects default choice by name + with :cycle option + cycles around when configured to do so + cycles filtered choices left and right + cycles choices using left/right arrows + cycles pages left/right with disabled items + cycles around disabled items + doesn't cycle by default + with :disabled choice + omits disabled choice when navigating menu + doesn't show disabled choice when filtering choices + sets active to be first non-disabled choice + prevents setting default to disabled choice + omits disabled choice when number key is pressed + with filter + filters and chooses the first of multiple matching entries + filters and chooses a uniquely matching entry, ignoring case + doesn't exit when there are no matching entries + doesn't allow mixing enumeration and filter + cancels a selection + navigates left and right with filtered items + filters based on alphanumeric and punctuation characters + when paginated + navigates unevenly paged output with right arrow until the end of selection + paginates choices as hash object + navigates evenly paged output with right arrow until end of selection + navigates pages left/right with disabled items + paginates long selections through DSL + navigates pages up/down with disabled items + navigates left and right + combines up/down navigation with left/right + paginates long selections -TTY::Prompt::Question#initialize - is expected to eq TTY::Prompt::Question::UndefinedSetting - is expected to eq true - is expected to eq [] +TTY::Utils + #deep_copy + copies ["foo", {:bar=>"baz"}, :fum, 11] + copies "" + #blank? + detects blank of " " as true + detects blank of "" as true + detects blank of :foo as false + detects blank of "foo" as false + detects blank of "\n\t " as true + detects blank of nil as true -TTY::Prompt::Question convert custom - converts response with custom conversion +TTY::Prompt::Question convert date + converts datetime + converts date + fails to convert date + +TTY::Prompt::Question convert to hash + converts answer to a hash + converts answer to a hash of integer values + converts answer to a hash of boolean values + +TTY::Prompt::Question#default + sets quiet mode + +TTY::Prompt#error + displays many messages + changes default red color to cyan + displays one message + displays message with option + +TTY::Prompt#warn + displays many messages + changes default yellow color to cyan + displays message with option + displays one message + +TTY::Prompt::ConverterRegistry + register + registers new conversion under single name + registers new conversion under multiple names + fails to register conversion + contain + contains conversion + doesn't have conversion + checks conversion with object type + fetch + retrieves uppcase named converter + fails to retrieve conversion + retrieves converter from the registry TTY::Prompt::Question::Modifier#apply_to - combines whitespace & letter case modifications doesn't apply modifiers combines letter case & whitespace modifications + combines whitespace & letter case modifications TTY::Prompt::Paginator#paginate doesn't accept invalid pagination + ignores per_page when less items finds both start and end index for current selection paginates items matching per_page count - ignores per_page when less items ignores per_page when equal items - paginates items not matching per_page count starts with default selection + paginates items not matching per_page count -TTY::Prompt::Question#echo - asks with echo off - asks with echo on - -TTY::Prompt::Distance.distance - when single char - is expected to eql 2 - when unicode - is expected to eql 1 - when nil - is expected to eql 0 - when empty - is expected to eql 0 - when prefix - is expected to eql 3 - when similar - is expected to eql 1 - when end similar - is expected to eql 3 - with one non empty - is expected to eql 3 - when similar - is expected to eql 0 - when contain similar - is expected to eql 2 - when similar - is expected to eql 2 +TTY::Prompt::Question::Modifier#whitespace + string with whitespaces + collapses text + chomps whitespace + removes whitespace + trims whitespace + nil (empty user input) + collapse returns nil + remove returns nil + chomp returns nil + trim returns nil -TTY::Prompt::Question convert file - converts to file +TTY::Prompt::Statement.new + forces newline after the prompt message + displays prompt message in color -TTY::Prompt::Evaluator - checks chained validation objects - checks chained validation procs +TTY::Prompt::SelectedChoices + initializes with selected choices + inserts choices by the index order + inserts and deletes choices + clears choices -TTY::Prompt#new - sets prefix - sets input stream - sets output stream +TTY::Prompt#subscribe + subscribes to key events only for the current prompt TTY::Prompt#say prints an empty message without color prints message without ansi + with tab or space + prints with color prints message with ansi color prints message with ansi color without newline - with tab or space - prints with new line prints a message with implicit newline - prints a message with newline within text prints a message with newline - prints a message with newline within text and blank space + prints a message with newline within text prints a message without newline + prints a message with newline within text and blank space -TTY::Prompt - sets quiet mode - shows pages matching input - sets quiet mode through DSL - doesn't paginate short selections - raises configuration error when default is higher than number of choices - selects option by index from the list - changes global symbols through DSL - paginates long selections - changes global symbols - selects default option when return pressed immediately - switches through pages with tab key - selects option through DSL with key and value - selects option through DSL - raises when default choice name is not found - changes colors for selection, hint and error - displays error with unrecognized input - sets choice value to nil through DSL - cycles around when configured to do so - doesn't cycle around by default - selects default choice by name - raises when default name matches a disabled choice - with :disabled choice - doesn't allow to choose disabled choice and defaults - finds first non-disabled index - fails when active item is also disabled - omits disabled choice when navigating with numbers - -TTY::Prompt::BlockPaginator#paginate - starts with default selection - ignores per_page when less items - ignores per_page when equal items - paginates items matching per_page count - doesn't accept invalid pagination - paginates items not matching per_page count - finds both start and end index for current selection - -TTY::Prompt::Question convert char - reads single character - -TTY::Prompt::Question convert string - converts string - converts symbol +TTY::Prompt::Question + passes required check + passes convert check + fails required check with custom message + passes range check + fails validation check with inlined custom message + passes validation check + fails validation check + fails convert check with custom message + fails convert check + fails validation check with custom message + fails range check + fails range check + fails required check -TTY::Prompt#ok - prints text in green - changes color to cyan - prints multiple lines in green +TTY::Prompt::Evaluator + checks chained validation procs + checks chained validation objects -TTY::Prompt#select - selects by default first option - sets choice name & value through DSL +TTY::Prompt sets prompt prefix - sets choice value to nil - sets quiet mode through DSL - doesn't paginate short selections changes to always show help - changes help text through DSL - verifies default index format - allows navigation using events without errors - sets choice name & value through DSL - selects default choice by name - sets choice name and value - verifies default index range - changes to never show help + sets choice value to nil through DSL + sets choice name and value through DSL changes selected item color & marker - changes help text - sets default option through hash syntax - sets choices and single choice through DSL - raises when default choice matches disabled choice - raises when default choice doesn't match any choices - sets choice value to proc and executes it - configures quiet mode - sets choice name through DSL - with :cycle option - doesn't cycle by default - cycles around when configured to do so - cycles choices using left/right arrows - cycles filtered choices left and right - cycles pages left/right with disabled items - cycles around disabled items + sets default options through hash syntax + sets choice custom values + raises error for defaults out of range + selects item when space pressed + sets default choices using names + selects item when space pressed but doesn't echo item if echo: false + sets default options through DSL syntax + changes help text and color + changes to never show help + selects nothing when return pressed immediately + sets prompt to quiet mode + with :disabled + omits disabled choice when number key is pressed + adjusts active index to match first non-disabled choice + fails when default item is also disabled + omits disabled choice when nagivating menu + selects all non-disabled choices when ctrl+a is pressed with filter - navigates left and right with filtered items - filters based on alphanumeric and punctuation characters - doesn't allow mixing enumeration and filter - filters and chooses the first of multiple matching entries - cancels a selection - filters and chooses a uniquely matching entry, ignoring case - doesn't exit when there are no matching entries + doesn't lose the selection when switching between filters + with :min + requires number of choices + with :max + disables Ctrl+a/Ctrl+r selection when :max option is specified + limits number of choices when paginated - combines up/down navigation with left/right - navigates pages up/down with disabled items - navigates pages left/right with disabled items - paginates long selections - navigates left and right - paginates choices as hash object paginates long selections through DSL + doesn't paginate short selections navigates evenly paged output with right arrow until end of selection + paginates choices as hash object + selects all paged choices with ctrl+a + combines up/down navigation with left/right navigates unevenly paged output with right arrow until the end of selection - with :disabled choice - sets active to be first non-disabled choice - doesn't show disabled choice when filtering choices - prevents setting default to disabled choice - omits disabled choice when number key is pressed - omits disabled choice when navigating menu - -TTY::Prompt::Question convert date - converts datetime - converts date - fails to convert date + paginates long selections + navigates left and right + reverts selection accross pages with Ctrl+r + with :cycle + cycles filtered choices left and right + cycles choices using left/right arrows + doesn't cycle by default + cycles when configured to do so -TTY::Prompt#inspect - inspects instance attributes +TTY::Prompt::Question#required + doesn't require value to be present + uses required in validation check + requires value to be present with option + requires value to be present -TTY::Prompt#ask - asks an empty question +TTY::Prompt#slider + sets default choice by index number + specifies ranges & step + specifies range through DSL + changes display colors + changes to never show help + doesn't allow values outside of range + specifies choices through DSL + specifies choices instead of calculated range + sets default choice by name + sets choice value to proc and executes it + specifies default value + mixes choices as values and via DSL and keeps ordering + specifies quiet mode through DSL + specifies choices through DSL sets quiet mode - permits nil default parameter - permits empty default parameter - asks a question with block - overwrites global settings - asks an empty question and returns nil if EOF is sent to stdin - asks an empty question with prepopulated value - sets quiet mode through DSL - asks question with prepopulated value - asks a question with a prefix [?] - changes question color - asks question + changes all display symbols + formats via proc + changes all display symbols per instance + changes to always show help -TTY::Prompt::Question convert regexp - converts regex +TTY::Prompt::Choices#each + iterates over collection -TTY::Prompt::Choices.new - creates choices collection +TTY::Prompt#ok + prints text in green + changes color to cyan + prints multiple lines in green TTY::Prompt::Question#default + uses default value in block + uses default value + +TTY::Prompt::Choices#pluck + plucks choice by key name + +TTY::Prompt::Question#in + provides default error message when wrong input + reads number within digit range + reads letters within range + reads range from option + overwrites default error message when wrong input + reads number within string range + +TTY::Prompt::Choices#<< + adds choice to collection + +TTY::Prompt::Choices#enabled + returns only choices which aren't disabled + +TTY::Prompt::Question convert bool + handles default values + handles default values + converts positive boolean + fails to convert boolean + converts single positive boolean + converts negative boolean + +TTY::Prompt::Choice#== + is false with non-choice object + is false with different key attribute + is false with different name attribute + is false with different value attribute + is true with the same name and value attributes + +TTY::Prompt::Question::Validation#coerce + coerces lambda into proc + fails to coerce pattern into validation + coerces into regex + doesn't coerce symbols + +TTY::Prompt::Question#multiline sets quiet mode + reads multiple lines with empty lines + reads no lines + changes help text + uses defualt when no input + +TTY::Prompt::Question#validate + deprecates :validation option + validates input with proc + provides default error message for wrong input + understands custom validation like :email + provides custom error message for wrong input + validates input with regex + +TTY::Prompt::Choice#from + skips Choice instance + creates disabled choice + creates choice from an array with name and false value + creates choice from an array with key-value pair + creates choice from a hash with a value + creates choice from an array with a hash without value key + creates choice from a hash with name, value and key keys + creates choice from an array with a hash with name and value keys + creates choice from a hash with a nil value + creates choice from array with name and nil value + creates choice from an array with name only and defaults value + creates choice from an arbitrary object that responds to to_s call + creates choice from a string + creates choice from an array with name and a value + creates choice from a symbol + +TTY::Prompt#decorate + decorates with a proc + decorates string with named colors + doesn't decorate without additional arguments + doesn't decorate empty string + decorates with a callable object + doesn't decorate when disabled + +TTY::Prompt::Result + checks value to be valid + checks value to be invalid TTY::Prompt confirmation #yes? - disagrees with question accepts regex conflicting characters as suffix defaults suffix and converter - assumes default true - obeys quiet mode - infers default value from a word - customizes question through DSL - warns about invalid entry when using defaults fails to infer default value from a word - customizes question through options + infers default value from a word + disagrees with question changes default agrees with question defaults positive and negative + customizes question through DSL + customizes question through options + obeys quiet mode + assumes default true + warns about invalid entry when using defaults #no? - defaults suffix and converter customizes question through DSL - assumes default false - changes default agrees with question disagrees with question warns about invalid entry when using defaults + assumes default false + changes default + defaults suffix and converter + +TTY::Prompt::Timer + times out loop execution + registers a tick event TTY::Prompt#expand - specifies options through DSL and executes value - fails to expand due to wrong key length - sets quiet mode - expands chosen option with extra information + fails to expand due to reserve key changes default option - informs about invalid input when automatically expanding hint - fails to expand due to lack of key attribute - expands default option - specifies options through DSL fails to expand due to duplicate key + fails to expand due to lack of key attribute expands help option and then defaults - fails to expand due to reserve key sets quiet mode through DSL + sets quiet mode + specifies options through DSL and executes value automatically expands hint + informs about invalid input when automatically expanding hint + specifies options through DSL + expands chosen option with extra information + fails to expand due to wrong key length + expands default option -TTY::Prompt::Question convert to hash - converts answer to a hash of integer values - converts answer to a hash of boolean values - converts answer to a hash - -TTY::Prompt::Choice#== - is false with different key attribute - is false with non-choice object - is false with different value attribute - is false with different name attribute - is true with the same name and value attributes +TTY::Prompt#mask + masks output by default + masks with unicode character + ignores mask if echo is off + masks output with custom character + validates input -TTY::Prompt::Question#modify - converts to upper case - strips and collapses whitespace - collapses whitespace - trims whitespace - preserves answer for unkown modification +TTY::Prompt::Question convert regexp + converts regex -Top 2 slowest examples (0.10184 seconds, 17.7% of total time): - TTY::Prompt::Question#multiline sets quiet mode - 0.07059 seconds ./spec/unit/multiline_spec.rb:51 - TTY::Prompt::Timer times out loop execution - 0.03125 seconds ./spec/unit/timer_spec.rb:4 +Top 2 slowest examples (0.10353 seconds, 21.3% of total time): + TTY::Prompt sets choice value to nil through DSL + 0.0678 seconds ./spec/unit/enum_select_spec.rb:141 + TTY::Prompt::Timer registers a tick event + 0.03573 seconds ./spec/unit/timer_spec.rb:15 Top 2 slowest example groups: TTY::Prompt::Timer - 0.03087 seconds average (0.06174 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 - TTY::Prompt::Question#multiline - 0.01493 seconds average (0.07467 seconds / 5 examples) ./spec/unit/multiline_spec.rb:3 + 0.03578 seconds average (0.07156 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 + TTY::Prompt#subscribe + 0.00368 seconds average (0.00368 seconds / 1 example) ./spec/unit/subscribe_spec.rb:3 -Finished in 0.57536 seconds (files took 0.2759 seconds to load) +Finished in 0.48566 seconds (files took 0.38557 seconds to load) 494 examples, 0 failures -Randomized with seed 47769 +Randomized with seed 23932 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1702,12 +1738,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/482505/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/482505/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/3243178 and its subdirectories -I: Current time: Tue Mar 31 21:29:58 -12 2026 -I: pbuilder-time-stamp: 1775035798 +I: removing directory /srv/workspace/pbuilder/482505 and its subdirectories +I: Current time: Thu Feb 27 17:10:40 +14 2025 +I: pbuilder-time-stamp: 1740625840