Diff of the two buildlogs: -- --- b1/build.log 2024-04-26 12:53:16.487436942 +0000 +++ b2/build.log 2024-04-26 12:54:21.724651639 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 29 07:15:38 -12 2025 -I: pbuilder-time-stamp: 1748546138 +I: Current time: Sat Apr 27 02:53:18 +14 2024 +I: pbuilder-time-stamp: 1714135998 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -27,54 +27,86 @@ 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/120207/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/36418/tmp/hooks/D01_modify_environment starting +debug: Running on ionos12-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 Apr 26 12:53 /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/36418/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/36418/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='trixie' - 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]="21" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.21(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=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='b50637c9ce5841c7b7ca3d460d82876a' - 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='120207' - PS1='# ' - PS2='> ' + INVOCATION_ID=9b159b0e95ad4e3a89a9997acfcd83be + 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=36418 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.iwgJ7LIo/pbuilderrc_dJKq --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.iwgJ7LIo/b1 --logfile b1/build.log ruby-tty-prompt_0.23.1-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.iwgJ7LIo/pbuilderrc_Zuok --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.iwgJ7LIo/b2 --logfile b2/build.log ruby-tty-prompt_0.23.1-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-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 26 17:47 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/120207/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:12 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/36418/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -367,7 +399,7 @@ Get: 136 http://deb.debian.org/debian trixie/main i386 ruby-tty-screen all 0.8.1-2 [8924 B] Get: 137 http://deb.debian.org/debian trixie/main i386 ruby-wisper all 2.0.1-2 [12.7 kB] Get: 138 http://deb.debian.org/debian trixie/main i386 ruby-tty-reader all 0.9.0-1 [18.1 kB] -Fetched 50.2 MB in 1s (75.8 MB/s) +Fetched 50.2 MB in 1s (56.3 MB/s) debconf: delaying package configuration, since apt-utils is not installed dpkg: libssl3:i386: dependency problems, but removing anyway as you requested: libkrb5-3:i386 depends on libssl3 (>= 3.0.0). @@ -835,8 +867,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu May 29 19:16:02 UTC 2025. -Universal Time is now: Thu May 29 19:16:02 UTC 2025. +Local time is now: Fri Apr 26 12:53:55 UTC 2024. +Universal Time is now: Fri Apr 26 12:53:55 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up ruby-tty-color (0.6.0-1) ... @@ -960,7 +992,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/36418/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/36418/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 @@ -989,7 +1025,7 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-tty-prompt/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-tty-prompt-0.23.1/debian/ruby-tty-prompt -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250529-125422-3eynzq/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240427-46357-1e1kpc/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on rake (>= 0, development) is not recommended use a bounded requirement, such as '~> x.y' @@ -1001,7 +1037,7 @@ Name: tty-prompt Version: 0.23.1 File: tty-prompt-0.23.1.gem -/usr/bin/ruby3.1 -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/d20250529-125422-3eynzq/tty-prompt-0.23.1.gem +/usr/bin/ruby3.1 -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/d20240427-46357-1e1kpc/tty-prompt-0.23.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /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 @@ -1070,707 +1106,707 @@ 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.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 45334 +Randomized with seed 58275 -TTY::Prompt::Question#in +TTY::Prompt::Question#modify No entry for terminal type "unknown"; using dumb terminal settings. No entry for terminal type "unknown"; using dumb terminal settings. No entry for terminal type "unknown"; using dumb terminal settings. - provides default error message when wrong input - reads number within digit range - reads number within string range - overwrites default error message when wrong input - reads letters within range - reads range from option + trims whitespace + strips and collapses whitespace + preserves answer for unkown modification + collapses whitespace + converts to upper case -TTY::Prompt::Question::Modifier#apply_to - doesn't apply modifiers - combines whitespace & letter case modifications - combines letter case & whitespace modifications +TTY::Prompt#error + displays one message + displays many messages + changes default red color to cyan + displays message with option -TTY::Prompt::Question::Modifier#letter_case - nil (empty user input) - up returns nil - down returns nil - capitalize returns nil - string - capitalizes text - changes to lower case - changes to uppercase +TTY::Prompt::Question#default + uses default value in block + uses default value -TTY::Prompt::Question#echo - asks with echo on - asks with echo off +TTY::Prompt + changes selected item color & marker + changes help text and color + sets default options through hash syntax + sets choice custom values + raises error for defaults out of range + sets default options through DSL syntax + sets choice value to nil through DSL + changes to always show help + selects item when space pressed but doesn't echo item if echo: false + sets prompt to quiet mode + selects item when space pressed + sets default choices using names + selects nothing when return pressed immediately + sets choice name and value through DSL + sets prompt prefix + changes to never show help + with :max + limits number of choices + disables Ctrl+a/Ctrl+r selection when :max option is specified + with :cycle + cycles when configured to do so + cycles filtered choices left and right + cycles choices using left/right arrows + doesn't cycle by default + with :disabled + omits disabled choice when number key is pressed + fails when default item is also disabled + adjusts active index to match first non-disabled choice + selects all non-disabled choices when ctrl+a is pressed + omits disabled choice when nagivating menu + with :min + requires number of choices + when paginated + navigates left and right + doesn't paginate short selections + reverts selection accross pages with Ctrl+r + combines up/down navigation with left/right + navigates unevenly paged output with right arrow until the end of selection + navigates evenly paged output with right arrow until end of selection + selects all paged choices with ctrl+a + paginates long selections + paginates long selections through DSL + paginates choices as hash object + with filter + doesn't lose the selection when switching between filters -TTY::Prompt::Question convert char - reads single character +TTY::Prompt::Converters + :path + converts "/foo/bar/baz" to # + :array/:list + converts "a,b,c" to [:a, :b, :c] + converts "1,2,3" to [1.0, 2.0, 3.0] + converts "t,t,f" to [true, true, false] + 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 "1,2,3" to [1, 2, 3] + converts "a, b\\, c" to ["a", "b, c"] + converts "a , b , c" to ["a", "b", "c"] + converts "t,t,f" to [true, true, false] + converts "t,t,f" to [true, true, false] + converts "a,b,c" to [:a, :b, :c] + converts "1,2,3" to [1, 2, 3] + converts "a, , c" to ["a", "c"] + converts "1,2,3" to [1.0, 2.0, 3.0] + converts ",," to [] + converts "1,2,3" to [1, 2, 3] + converts ",b,c" to ["b", "c"] + converts ["a", "b", "c"] to ["a", "b", "c"] + :datetime + converts "unknown" to "undefined" + converts "2020/05/21 11:12:13" to # + :float + converts "12.3" to 12.3 + converts "unknown" to "undefined" + :time + converts "11:12:13" to 2024-04-27 11:12:13 +1400 + converts "unknown" to "undefined" + :string + converts "" to "" + converts "input\n" to "input" + :char + converts "input" to "i" + converts "" to nil + :range + converts "a . . . z" to "a"..."z" + converts "1 . . . 10" to 1...10 + converts "1 , 10" to 1..10 + converts 1..10 to 1..10 + converts "1.0" to 1.0..1.0 + converts "a..z" to "a".."z" + converts "unknown" to "undefined" + converts "1" to 1..1 + converts "1.2-5.0" to 1.2..5.0 + converts "1...10" to 1...10 + converts "1-10" to 1..10 + converts "1..10" to 1..10 + converts "-5--1" to -5..-1 + :boolean + converts "1" to true + converts "no" to false + converts "unknown" to "undefined" + converts "YES" to true + converts "true" to true + converts "y" to true + converts "FALSE" to false + converts "t" to true + converts "f" to false + converts "0" to false + :date + converts "unknown" to "undefined" + converts "2020/05/21" to # + :hash/:map + 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" to {:a=>"1"} + converts "a:t b:f c:t" to {:a=>true, :b=>false, :c=>true} + converts "a:1 b:2 a:3" to {:a=>["1", "3"], :b=>"2"} + 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 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=>/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:1 b:2 c:3" to {:a=>1.0, :b=>2.0, :c=>3.0} + converts "" to {} + converts "a=1&b=2&a=3" to {:a=>["1", "3"], :b=>"2"} + 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} + :regexp + converts "\\d+" to /\d+/ + converts "unknown" to /unknown/ + :uri + converts "http://foobar.com" to # + :integer + converts "12" to 12 + converts "unknown" to "undefined" -TTY::Prompt::Question#initialize - is expected to eq true - is expected to eq TTY::Prompt::Question::UndefinedSetting - is expected to eq [] +TTY::Prompt::Choices#<< + adds choice to collection + +TTY::Prompt#collect + collects more than one answer + when receiving multiple answers + overrides a non-array key on multiple answers + collects as a list if values method used in chain with block + collects as a list if values method used in chain + with multiple keys + collects into the appropriate keys TTY::Prompt#suggest - suggests a single match for one character - suggests few matches suggests a single match for two characters suggests with different text and indentation + suggests few matches + suggests a single match for one character -TTY::Prompt::Question#modify - preserves answer for unkown modification - trims whitespace - converts to upper case - collapses whitespace - strips and collapses whitespace +TTY::Utils + #blank? + detects blank of " " as true + detects blank of :foo as false + detects blank of "\n\t " as true + detects blank of "" as true + detects blank of nil as true + detects blank of "foo" as false + #deep_copy + copies "" + copies ["foo", {:bar=>"baz"}, :fum, 11] + +TTY::Prompt::Result + checks value to be invalid + checks value to be valid + +TTY::Prompt confirmation + #yes? + fails to infer default value from a word + customizes question through options + agrees with question + defaults positive and negative + defaults suffix and converter + changes default + infers default value from a word + customizes question through DSL + warns about invalid entry when using defaults + assumes default true + disagrees with question + accepts regex conflicting characters as suffix + obeys quiet mode + #no? + disagrees with question + changes default + assumes default false + defaults suffix and converter + customizes question through DSL + agrees with question + warns about invalid entry when using defaults + +TTY::Prompt + paginates long selections + raises when default choice name is not found + selects default option when return pressed immediately + switches through pages with tab key + selects option through DSL with key and value + changes colors for selection, hint and error + raises configuration error when default is higher than number of choices + sets choice value to nil through DSL + raises when default name matches a disabled choice + doesn't cycle around by default + sets quiet mode through DSL + cycles around when configured to do so + sets quiet mode + shows pages matching input + changes global symbols through DSL + doesn't paginate short selections + selects option through DSL + changes global symbols + selects option by index from the list + selects default choice by name + displays error with unrecognized input + with :disabled choice + omits disabled choice when navigating with numbers + finds first non-disabled index + fails when active item is also disabled + doesn't allow to choose disabled choice and defaults + +TTY::Prompt::Paginator#paginate + finds both start and end index for current selection + paginates items matching per_page count + ignores per_page when equal items + starts with default selection + paginates items not matching per_page count + doesn't accept invalid pagination + ignores per_page when less items + +TTY::Prompt::Question convert numbers + converts float + fails to convert integer + fails to convert float + converts integer + +TTY::Prompt#mask + ignores mask if echo is off + masks output with custom character + masks with unicode character + masks output by default + validates input + +TTY::Prompt::Question::Modifier#letter_case + nil (empty user input) + down returns nil + up returns nil + capitalize returns nil + string + changes to lower case + changes to uppercase + capitalizes text TTY::Prompt#slider - changes to always show help - specifies default value - specifies choices instead of calculated range specifies choices through DSL - sets choice value to proc and executes it - sets default choice by index number + changes to never show help changes display colors - sets quiet mode - changes all display symbols per instance - specifies quiet mode through DSL + sets choice value to proc and executes it specifies ranges & step - specifies range through DSL - doesn't allow values outside of range - changes to never show help - mixes choices as values and via DSL and keeps ordering + formats via proc changes all display symbols + specifies range through DSL + specifies choices instead of calculated range + specifies quiet mode through DSL + sets quiet mode + specifies default value specifies choices through DSL + changes to always show help + changes all display symbols per instance + sets default choice by index number + mixes choices as values and via DSL and keeps ordering sets default choice by name - formats via proc + doesn't allow values outside of range + +TTY::Prompt::Question#echo + asks with echo on + asks with echo off + +TTY::Prompt#expand + informs about invalid input when automatically expanding hint + fails to expand due to reserve key + fails to expand due to wrong key length + expands chosen option with extra information + automatically expands hint + specifies options through DSL + sets quiet mode through DSL + sets quiet mode + fails to expand due to duplicate key + specifies options through DSL and executes value + expands default option + changes default option + expands help option and then defaults + fails to expand due to lack of key attribute + +TTY::Prompt::Choice#from + creates choice from an array with name only and defaults value + creates choice from an array with name and a value + skips Choice instance + creates choice from an arbitrary object that responds to to_s call + creates disabled choice + creates choice from an array with key-value pair + creates choice from a symbol + creates choice from an array with a hash with name and value keys + creates choice from array with name and nil value + creates choice from an array with a hash without value key + creates choice from a hash with a nil value + creates choice from a hash with name, value and key keys + creates choice from an array with name and false value + creates choice from a hash with a value + creates choice from a string + +TTY::Prompt::Question convert char + reads single character + +TTY::Prompt::BlockPaginator#paginate + doesn't accept invalid pagination + paginates items not matching per_page count + ignores per_page when equal items + paginates items matching per_page count + ignores per_page when less items + starts with default selection + finds both start and end index for current selection + +TTY::Prompt::Question#keypress + asks for a keypress with echo on + receives line feed with echo on + asks for a keypress with echo off + interrupts input + timeouts when no key provided TTY::Prompt::Question#multiline changes help text reads multiple lines with empty lines - sets quiet mode - uses defualt when no input reads no lines - -TTY::Prompt::Result - checks value to be valid - checks value to be invalid - -TTY::Prompt::Question::Validation#call - validates successfully when the value matches pattern - validates with custom name - validates nil input - validates with a proc - fails validation when not maching pattern + uses defualt when no input + sets quiet mode TTY::Prompt#say prints an empty message + with tab or space + prints with color prints message with ansi color without newline prints message with ansi color with new line - prints a message with newline - prints a message with implicit newline prints a message with newline within text prints a message with newline within text and blank space + prints a message with newline prints a message without newline - with tab or space - prints + prints a message with implicit newline without color prints message without ansi -TTY::Prompt::Question convert numbers - fails to convert integer - converts integer - converts float - fails to convert float +TTY::Prompt::Question::Modifier#apply_to + doesn't apply modifiers + combines whitespace & letter case modifications + combines letter case & whitespace modifications + +TTY::Prompt::Question::Modifier#whitespace + string with whitespaces + chomps whitespace + removes whitespace + collapses text + trims whitespace + nil (empty user input) + trim returns nil + collapse returns nil + chomp returns nil + remove returns nil TTY::Prompt::SelectedChoices + initializes with selected choices + inserts choices by the index order inserts and deletes choices clears choices - inserts choices by the index order - initializes with selected choices - -TTY::Prompt::Evaluator - checks chained validation procs - checks chained validation objects - -TTY::Prompt::Question convert to array - converts answer to an array of booleans - converts answer to an array - converts answer to an array of integers - -TTY::Prompt::Question convert range - fails to convert to range - converts with valid range - -TTY::Prompt::Timer - registers a tick event - times out loop execution -TTY::Prompt::Choices#enabled - returns only choices which aren't disabled - -TTY::Prompt::Question#keypress - timeouts when no key provided - interrupts input - asks for a keypress with echo off - receives line feed with echo on - asks for a keypress with echo on +TTY::Prompt#decorate + decorates with a callable object + doesn't decorate when disabled + decorates string with named colors + doesn't decorate without additional arguments + decorates with a proc + doesn't decorate empty string -TTY::Prompt::Question::Validation#coerce - coerces into regex - fails to coerce pattern into validation - coerces lambda into proc - doesn't coerce symbols +TTY::Prompt::Question#required + uses required in validation check + requires value to be present + doesn't require value to be present + requires value to be present with option -TTY::Prompt#ok - prints text in green - prints multiple lines in green - changes color to cyan +TTY::Prompt::Question convert file + converts to file -TTY::Prompt::Choices#each - iterates over collection +TTY::Prompt::Question#in + reads number within string range + reads range from option + provides default error message when wrong input + reads number within digit range + overwrites default error message when wrong input + reads letters within range -TTY::Prompt::Choices#find_by - finds a matching choice by :name key - finds a matching choice by :key key - finds a matching choice by :value key - finds no matching choice +TTY::Prompt::Distance.distance + when nil + is expected to eql 0 + when contain similar + is expected to eql 2 + when single char + is expected to eql 2 + when empty + is expected to eql 0 + with one non empty + is expected to eql 3 + when similar + is expected to eql 0 + when unicode + is expected to eql 1 + when similar + is expected to eql 2 + when end similar + is expected to eql 3 + when similar + is expected to eql 1 + when prefix + is expected to eql 3 TTY::Prompt#select - verifies default index format - sets default option through hash syntax - changes help text - allows navigation using events without errors - changes selected item color & marker + sets choice name & value through DSL sets choice name and value - selects by default first option - changes to never show help - changes to always show help + configures quiet mode + raises when default choice matches disabled choice sets quiet mode through DSL - sets choice name & value through DSL + doesn't paginate short selections + selects by default first option sets choice value to nil - configures quiet mode - sets choice value to proc and executes it - sets choice name & value through DSL - selects default choice by name sets choices and single choice through DSL - raises when default choice matches disabled choice + changes help text + changes to never show help changes help text through DSL + selects default choice by name + sets choice name & value through DSL + allows navigation using events without errors + changes to always show help sets prompt prefix - raises when default choice doesn't match any choices + sets choice value to proc and executes it sets choice name through DSL - doesn't paginate short selections verifies default index range - when paginated - navigates pages up/down with disabled items - combines up/down navigation with left/right - navigates evenly paged output with right arrow until end of selection - navigates left and right - paginates choices as hash object - paginates long selections - navigates unevenly paged output with right arrow until the end of selection - paginates long selections through DSL - navigates pages left/right with disabled items - with filter - filters and chooses the first of multiple matching entries - doesn't exit when there are no matching entries - navigates left and right with filtered items - cancels a selection - filters and chooses a uniquely matching entry, ignoring case - doesn't allow mixing enumeration and filter - filters based on alphanumeric and punctuation characters + changes selected item color & marker + sets default option through hash syntax + verifies default index format + raises when default choice doesn't match any choices with :cycle option - doesn't cycle by default cycles pages left/right with disabled items cycles filtered choices left and right - cycles around disabled items cycles choices using left/right arrows + doesn't cycle by default cycles around when configured to do so + cycles around disabled items + when paginated + paginates long selections + navigates evenly paged output with right arrow until end of selection + combines up/down navigation with left/right + paginates choices as hash object + navigates pages left/right with disabled items + navigates left and right + paginates long selections through DSL + navigates pages up/down with disabled items + navigates unevenly paged output with right arrow until the end of selection with :disabled choice - doesn't show disabled choice when filtering choices - sets active to be first non-disabled choice - omits disabled choice when number key is pressed omits disabled choice when navigating menu + omits disabled choice when number key is pressed prevents setting default to disabled choice + doesn't show disabled choice when filtering choices + sets active to be first non-disabled choice + with filter + doesn't exit when there are no matching entries + filters based on alphanumeric and punctuation characters + filters and chooses the first of multiple matching entries + navigates left and right with filtered items + doesn't allow mixing enumeration and filter + filters and chooses a uniquely matching entry, ignoring case + cancels a selection -TTY::Prompt::Paginator#paginate - ignores per_page when less items - doesn't accept invalid pagination - starts with default selection - finds both start and end index for current selection - paginates items not matching per_page count - ignores per_page when equal items - paginates items matching per_page count - -TTY::Prompt::Choice#== - is false with different key attribute - is false with different name attribute - is false with different value attribute - is false with non-choice object - is true with the same name and value attributes - -TTY::Prompt - paginates long selections - doesn't cycle around by default - selects option by index from the list - changes colors for selection, hint and error - switches through pages with tab key - selects option through DSL with key and value - shows pages matching input - selects default choice by name - selects default option when return pressed immediately - raises when default choice name is not found - raises configuration error when default is higher than number of choices - selects option through DSL - doesn't paginate short selections - raises when default name matches a disabled choice - sets quiet mode through DSL - changes global symbols - changes global symbols through DSL - sets choice value to nil through DSL - sets quiet mode - displays error with unrecognized input - cycles around when configured to do so - with :disabled choice - omits disabled choice when navigating with numbers - doesn't allow to choose disabled choice and defaults - finds first non-disabled index - fails when active item is also disabled - -TTY::Prompt::BlockPaginator#paginate - paginates items matching per_page count - doesn't accept invalid pagination - ignores per_page when equal items - ignores per_page when less items - finds both start and end index for current selection - starts with default selection - paginates items not matching per_page count - -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::Question convert custom - converts response with custom conversion +TTY::Prompt#subscribe + subscribes to key events only for the current prompt -TTY::Prompt::Question convert bool - handles default values - converts negative boolean - converts positive boolean - converts single positive boolean - handles default values - fails to convert boolean +TTY::Prompt::Question convert string + converts string + converts symbol -TTY::Prompt#new - sets input stream - sets output stream - sets prefix +TTY::Prompt::Question::Validation#call + validates nil input + validates with a proc + fails validation when not maching pattern + validates with custom name + validates successfully when the value matches pattern -TTY::Prompt::Question#validate - deprecates :validation option - understands custom validation like :email - validates input with proc - provides custom error message for wrong input - validates input with regex - provides default error message for wrong input +TTY::Prompt::Choices#pluck + plucks choice by key name -TTY::Prompt::Question convert path - converts pathname +TTY::Prompt#ok + changes color to cyan + prints multiple lines in green + prints text in green TTY::Prompt::Question - fails range check - passes validation check - fails range check passes required check - fails validation check with inlined custom message + passes convert check + fails required check fails validation check - fails validation check with custom message - fails convert check with custom message passes range check - passes convert check fails convert check - fails required check fails required check with custom message + passes validation check + fails convert check with custom message + fails validation check with custom message + fails validation check with inlined custom message + fails range check + fails range check -TTY::Prompt#warn - displays one message - changes default yellow color to cyan - displays many messages - displays message with option +TTY::Prompt::Question#validate + validates input with proc + validates input with regex + understands custom validation like :email + provides custom error message for wrong input + provides default error message for wrong input + deprecates :validation option -TTY::Prompt::Converters - :integer - converts "12" to 12 - converts "unknown" to "undefined" - :boolean - converts "FALSE" to false - converts "f" to false - converts "YES" to true - converts "true" to true - converts "0" to false - converts "no" to false - converts "t" to true - converts "unknown" to "undefined" - converts "1" to true - converts "y" to true - :string - converts "" to "" - converts "input\n" to "input" - :regexp - converts "\\d+" to /\d+/ - converts "unknown" to /unknown/ - :date - converts "unknown" to "undefined" - converts "2020/05/21" to # - :uri - converts "http://foobar.com" to # - :hash/:map - converts "a:t b:f c:t" to {:a=>:t, :b=>:f, :c=>:t} - converts "a=1&b=2" to {:a=>"1", :b=>"2"} - 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" to {:a=>"1"} - 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&a=3" to {:a=>["1", "3"], :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: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: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:1 b:2 a:3" to {:a=>["1", "3"], :b=>"2"} - converts "a:t b:f c:t" to {:a=>/t/, :b=>/f/, :c=>/t/} - :range - converts "1..10" to 1..10 - converts "a . . . z" to "a"..."z" - 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 "a..z" to "a".."z" - converts "1-10" to 1..10 - converts "1.0" to 1.0..1.0 - converts "unknown" to "undefined" - converts "1" to 1..1 - converts "-5--1" to -5..-1 - converts "1 . . . 10" to 1...10 - :path - converts "/foo/bar/baz" to # - :array/:list - converts "1,2,3" to [1, 2, 3] - converts "a, , c" to ["a", "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 "t,t,f" to [true, true, false] - converts ",b,c" to ["b", "c"] - 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 "a,b,c" to ["a", "b", "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 "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"] - :char - converts "" to nil - converts "input" to "i" - :float - converts "unknown" to "undefined" - converts "12.3" to 12.3 - :datetime - converts "unknown" to "undefined" - converts "2020/05/21 11:12:13" to # - :time - converts "unknown" to "undefined" - converts "11:12:13" to 2025-05-29 11:12:13 -1200 +TTY::Prompt::Timer + times out loop execution + registers a tick event -TTY::Prompt#decorate - decorates with a proc - doesn't decorate when disabled - decorates with a callable object - decorates string with named colors - doesn't decorate without additional arguments - doesn't decorate empty string +TTY::Prompt::Question convert to array + converts answer to an array + converts answer to an array of booleans + converts answer to an array of integers -TTY::Prompt#error - displays one message - changes default red color to cyan - displays message with option - displays many messages +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::Statement.new - forces newline after the prompt message - displays prompt message in color +TTY::Prompt::Choice#== + is false with different name attribute + is false with different value attribute + is false with non-choice object + is true with the same name and value attributes + is false with different key attribute -TTY::Prompt::Question convert file - converts to file +TTY::Prompt::Question convert range + converts with valid range + fails to convert to range -TTY::Prompt::Choices.new - creates choices collection +TTY::Prompt::Evaluator + checks chained validation procs + checks chained validation objects -TTY::Prompt::Question convert string - converts symbol - converts string +TTY::Prompt::Choices#find_by + finds no matching choice + finds a matching choice by :name key + finds a matching choice by :key key + finds a matching choice by :value key -TTY::Prompt::Choice#from - creates choice from an array with key-value pair - creates choice from a hash with name, value and key keys - creates choice from an array with name and a value - creates choice from a symbol - creates disabled choice - creates choice from an arbitrary object that responds to to_s call - skips Choice instance - creates choice from a hash with a nil value - creates choice from an array with name and false value - creates choice from an array with a hash with name and value keys - creates choice from an array with a hash without value key - creates choice from an array with name only and defaults value - creates choice from a hash with a value - creates choice from a string - creates choice from array with name and nil value +TTY::Prompt::Choices#enabled + returns only choices which aren't disabled -TTY::Prompt - changes selected item color & marker - changes to never show help - changes to always show help - selects item when space pressed but doesn't echo item if echo: false - sets choice name and value through DSL - sets choice custom values - sets default options through DSL syntax - selects item when space pressed - sets choice value to nil through DSL - selects nothing when return pressed immediately - raises error for defaults out of range - changes help text and color - sets prompt prefix - sets default choices using names - sets default options through hash syntax - sets prompt to quiet mode - with filter - doesn't lose the selection when switching between filters - with :disabled - selects all non-disabled choices when ctrl+a is pressed - omits disabled choice when nagivating menu - omits disabled choice when number key is pressed - adjusts active index to match first non-disabled choice - fails when default item is also disabled - with :min - requires number of choices - with :max - disables Ctrl+a/Ctrl+r selection when :max option is specified - limits number of choices - with :cycle - cycles when configured to do so - cycles choices using left/right arrows - cycles filtered choices left and right - doesn't cycle by default - when paginated - combines up/down navigation with left/right - navigates left and right - reverts selection accross pages with Ctrl+r - selects all paged choices with ctrl+a - paginates long selections - paginates long selections through DSL - doesn't paginate short selections - 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 +TTY::Prompt#ask + permits empty default parameter + asks question + asks question with prepopulated value + asks a question with block + asks an empty question + sets quiet mode + asks an empty question with prepopulated value + asks a question with a prefix [?] + permits nil default parameter + changes question color + sets quiet mode through DSL + overwrites global settings + asks an empty question and returns nil if EOF is sent to stdin -TTY::Prompt::Question#default - uses default value in block - uses default value +TTY::Prompt::Question::Validation#coerce + coerces into regex + fails to coerce pattern into validation + doesn't coerce symbols + coerces lambda into proc -TTY::Prompt#collect - collects more than one answer - when receiving multiple answers - overrides a non-array key on multiple answers - collects as a list if values method used in chain with block - collects as a list if values method used in chain - with multiple keys - collects into the appropriate keys +TTY::Prompt::ConverterRegistry + contain + doesn't have conversion + checks conversion with object type + contains conversion + fetch + retrieves uppcase named converter + fails to retrieve conversion + retrieves converter from the registry + register + registers new conversion under multiple names + fails to register conversion + registers new conversion under single name -TTY::Utils - #blank? - detects blank of "\n\t " as true - detects blank of "" as true - detects blank of " " as true - detects blank of nil as true - detects blank of :foo as false - detects blank of "foo" as false - #deep_copy - copies ["foo", {:bar=>"baz"}, :fum, 11] - copies "" +TTY::Prompt::Statement.new + forces newline after the prompt message + displays prompt message in color -TTY::Prompt#mask - masks output by default - validates input - masks output with custom character - masks with unicode character - ignores mask if echo is off +TTY::Prompt#new + sets prefix + sets input stream + sets output stream -TTY::Prompt::Question::Modifier#whitespace - nil (empty user input) - collapse returns nil - trim returns nil - remove returns nil - chomp returns nil - string with whitespaces - removes whitespace - chomps whitespace - collapses text - trims whitespace +TTY::Prompt::Question#initialize + is expected to eq TTY::Prompt::Question::UndefinedSetting + is expected to eq true + is expected to eq [] -TTY::Prompt#subscribe - subscribes to key events only for the current prompt +TTY::Prompt::Choices.new + creates choices collection -TTY::Prompt#expand - specifies options through DSL - informs about invalid input when automatically expanding hint - specifies options through DSL and executes value - expands chosen option with extra information - sets quiet mode through DSL - fails to expand due to reserve key - expands default option - fails to expand due to duplicate key - expands help option and then defaults - fails to expand due to wrong key length - automatically expands hint - sets quiet mode - changes default option - fails to expand due to lack of key attribute +TTY::Prompt::Question convert date + converts date + converts datetime + fails to convert date TTY::Prompt#inspect inspects instance attributes -TTY::Prompt confirmation - #no? - customizes question through DSL - changes default - agrees with question - disagrees with question - defaults suffix and converter - warns about invalid entry when using defaults - assumes default false - #yes? - customizes question through options - defaults suffix and converter - agrees with question - fails to infer default value from a word - infers default value from a word - changes default - customizes question through DSL - disagrees with question - obeys quiet mode - defaults positive and negative - accepts regex conflicting characters as suffix - warns about invalid entry when using defaults - assumes default true - -TTY::Prompt::Choices#pluck - plucks choice by key name +TTY::Prompt::Question convert custom + converts response with custom conversion -TTY::Prompt::Question#required - requires value to be present with option - uses required in validation check - doesn't require value to be present - requires value to be present +TTY::Prompt::Question convert bool + converts single positive boolean + converts negative boolean + fails to convert boolean + converts positive boolean + handles default values + handles default values -TTY::Prompt::Question convert date - converts datetime - converts date - fails to convert date +TTY::Prompt::Question convert path + converts pathname TTY::Prompt::Question convert regexp converts regex -TTY::Prompt::Choices#<< - adds choice to collection - -TTY::Prompt::Question#default - sets quiet mode - -TTY::Prompt::ConverterRegistry - register - fails to register conversion - registers new conversion under single name - registers new conversion under multiple names - fetch - retrieves converter from the registry - fails to retrieve conversion - retrieves uppcase named converter - contain - doesn't have conversion - checks conversion with object type - contains conversion +TTY::Prompt#warn + displays many messages + displays message with option + displays one message + changes default yellow color to cyan -TTY::Prompt::Distance.distance - when end similar - is expected to eql 3 - when single char - is expected to eql 2 - when prefix - is expected to eql 3 - when contain similar - is expected to eql 2 - when similar - is expected to eql 2 - when nil - is expected to eql 0 - when empty - is expected to eql 0 - when similar - is expected to eql 1 - with one non empty - is expected to eql 3 - when similar - is expected to eql 0 - when unicode - is expected to eql 1 +TTY::Prompt::Choices#each + iterates over collection -TTY::Prompt#ask - asks an empty question with prepopulated value - asks an empty question and returns nil if EOF is sent to stdin - sets quiet mode through DSL +TTY::Prompt::Question#default sets quiet mode - asks question with prepopulated value - asks question - permits nil default parameter - asks an empty question - asks a question with block - asks a question with a prefix [?] - permits empty default parameter - changes question color - overwrites global settings -Top 2 slowest examples (0.0612 seconds, 10.6% of total time): - TTY::Prompt::Timer times out loop execution - 0.03105 seconds ./spec/unit/timer_spec.rb:4 +Top 2 slowest examples (0.0659 seconds, 7.9% of total time): TTY::Prompt::Timer registers a tick event - 0.03015 seconds ./spec/unit/timer_spec.rb:15 + 0.03449 seconds ./spec/unit/timer_spec.rb:15 + TTY::Prompt::Timer times out loop execution + 0.03142 seconds ./spec/unit/timer_spec.rb:4 Top 2 slowest example groups: TTY::Prompt::Timer - 0.0308 seconds average (0.0616 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 - TTY::Prompt::Question convert date - 0.00682 seconds average (0.02046 seconds / 3 examples) ./spec/unit/converters/convert_date_spec.rb:3 + 0.03329 seconds average (0.06659 seconds / 2 examples) ./spec/unit/timer_spec.rb:3 + TTY::Prompt#subscribe + 0.01044 seconds average (0.01044 seconds / 1 example) ./spec/unit/subscribe_spec.rb:3 -Finished in 0.57928 seconds (files took 0.32551 seconds to load) +Finished in 0.83074 seconds (files took 0.61186 seconds to load) 494 examples, 0 failures -Randomized with seed 45334 +Randomized with seed 58275 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1803,12 +1839,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/36418/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/36418/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/120207 and its subdirectories -I: Current time: Thu May 29 07:16:14 -12 2025 -I: pbuilder-time-stamp: 1748546174 +I: removing directory /srv/workspace/pbuilder/36418 and its subdirectories +I: Current time: Sat Apr 27 02:54:20 +14 2024 +I: pbuilder-time-stamp: 1714136060