--- Begin Message ---
Source: golang-github-alecaivazis-survey
Version: 2.3.1+ds1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> dpkg-buildpackage
> -----------------
>
> Command: dpkg-buildpackage -us -uc -sa -rfakeroot
> dpkg-buildpackage: info: source package golang-github-alecaivazis-survey
> dpkg-buildpackage: info: source version 2.3.1+ds1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Anthony Fok <f...@debian.org>
> dpkg-source --before-build .
> dpkg-buildpackage: info: host architecture amd64
> debian/rules clean
> dh clean --builddirectory=_build --buildsystem=golang --with=golang
> dh_auto_clean -O--builddirectory=_build -O--buildsystem=golang
> dh_autoreconf_clean -O--builddirectory=_build -O--buildsystem=golang
> dh_clean -O--builddirectory=_build -O--buildsystem=golang
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building golang-github-alecaivazis-survey using existing
> ./golang-github-alecaivazis-survey_2.3.1+ds1.orig.tar.xz
> dpkg-source: info: building golang-github-alecaivazis-survey in
> golang-github-alecaivazis-survey_2.3.1+ds1-1.debian.tar.xz
> dpkg-source: info: building golang-github-alecaivazis-survey in
> golang-github-alecaivazis-survey_2.3.1+ds1-1.dsc
> debian/rules binary
> dh binary --builddirectory=_build --buildsystem=golang --with=golang
> dh_update_autotools_config -O--builddirectory=_build -O--buildsystem=golang
> dh_autoreconf -O--builddirectory=_build -O--buildsystem=golang
> dh_auto_configure -O--builddirectory=_build -O--buildsystem=golang
> dh_auto_build -O--builddirectory=_build -O--buildsystem=golang
> cd _build && go install -trimpath -v -p 4 github.com/AlecAivazis/survey
> github.com/AlecAivazis/survey/core github.com/AlecAivazis/survey/terminal
> internal/goexperiment
> internal/unsafeheader
> internal/cpu
> internal/abi
> runtime/internal/atomic
> runtime/internal/sys
> runtime/internal/math
> internal/race
> sync/atomic
> unicode
> internal/bytealg
> unicode/utf8
> internal/itoa
> math/bits
> golang.org/x/sys/internal/unsafeheader
> math
> runtime
> internal/reflectlite
> sync
> internal/testlog
> errors
> sort
> io
> strconv
> internal/oserror
> path
> syscall
> bytes
> strings
> golang.org/x/text/transform
> reflect
> golang.org/x/text/width
> bufio
> regexp/syntax
> github.com/kballard/go-shellquote
> time
> internal/syscall/unix
> internal/syscall/execenv
> regexp
> io/fs
> internal/poll
> context
> os
> internal/fmtsort
> encoding/binary
> golang.org/x/sys/unix
> io/ioutil
> path/filepath
> fmt
> os/exec
> text/template/parse
> net/url
> github.com/AlecAivazis/survey/terminal
> github.com/mattn/go-isatty
> golang.org/x/term
> github.com/mattn/go-colorable
> github.com/mgutz/ansi
> text/template
> github.com/AlecAivazis/survey/core
> github.com/AlecAivazis/survey
> dh_auto_test -O--builddirectory=_build -O--buildsystem=golang
> cd _build && go test -vet=off -v -p 4 github.com/AlecAivazis/survey
> github.com/AlecAivazis/survey/core github.com/AlecAivazis/survey/terminal
> === RUN TestConfirmRender
> --- PASS: TestConfirmRender (0.00s)
> === RUN TestConfirmPrompt
> === RUN TestConfirmPrompt/Test_Confirm_prompt_interaction
> === PAUSE TestConfirmPrompt/Test_Confirm_prompt_interaction
> === RUN TestConfirmPrompt/Test_Confirm_prompt_interaction_with_default
> === PAUSE TestConfirmPrompt/Test_Confirm_prompt_interaction_with_default
> === RUN TestConfirmPrompt/Test_Confirm_prompt_interaction_overriding_default
> === PAUSE TestConfirmPrompt/Test_Confirm_prompt_interaction_overriding_default
> === RUN
> TestConfirmPrompt/Test_Confirm_prompt_interaction_and_prompt_for_help
> === PAUSE
> TestConfirmPrompt/Test_Confirm_prompt_interaction_and_prompt_for_help
> === CONT TestConfirmPrompt/Test_Confirm_prompt_interaction
> === CONT TestConfirmPrompt/Test_Confirm_prompt_interaction_overriding_default
> === CONT
> TestConfirmPrompt/Test_Confirm_prompt_interaction_and_prompt_for_help
> === CONT TestConfirmPrompt/Test_Confirm_prompt_interaction_with_default
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Is pizza your
> favorite food? (Y/n)
> \x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[1B\x1b[0G\x1b[1A\x1b[0G"
> survey_posix_test.go:40:
> ? Is pizza your favorite food? (Y/n)
>
> === CONT TestConfirmPrompt/Test_Confirm_prompt_interaction_overriding_default
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Is pizza your
> favorite food? (Y/n)
> \x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nn\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[0G"
> === CONT TestConfirmPrompt/Test_Confirm_prompt_interaction
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Is pizza your
> favorite food? (y/N)
> \x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nn\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[0G"
> === CONT TestConfirmPrompt/Test_Confirm_prompt_interaction_overriding_default
> survey_posix_test.go:40:
> ? Is pizza your favorite food? (Y/n) n
>
> === CONT TestConfirmPrompt/Test_Confirm_prompt_interaction
> survey_posix_test.go:40:
> ? Is pizza your favorite food? (y/N) n
>
> === CONT
> TestConfirmPrompt/Test_Confirm_prompt_interaction_and_prompt_for_help
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Is pizza your
> favorite food? [? for help] (y/N)
> \x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n?\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[0G\x1b[0G\x1b[2K?
> It probably is\r\n? Is pizza your favorite food? (y/N)
> \x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nY\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[0G"
> survey_posix_test.go:40:
> ? It probably is
>
> ? Is pizza your favorite food? (y/N) Y
>
> --- PASS: TestConfirmPrompt (0.00s)
> --- PASS: TestConfirmPrompt/Test_Confirm_prompt_interaction_with_default
> (0.00s)
> --- PASS:
> TestConfirmPrompt/Test_Confirm_prompt_interaction_overriding_default (0.00s)
> --- PASS: TestConfirmPrompt/Test_Confirm_prompt_interaction (0.00s)
> --- PASS:
> TestConfirmPrompt/Test_Confirm_prompt_interaction_and_prompt_for_help (0.00s)
> === RUN TestEditorRender
> --- PASS: TestEditorRender (0.00s)
> === RUN TestEditorPrompt
> === RUN TestEditorPrompt/Test_Editor_prompt_interaction
> === PAUSE TestEditorPrompt/Test_Editor_prompt_interaction
> === RUN TestEditorPrompt/Test_Editor_prompt_interaction_with_default
> === PAUSE TestEditorPrompt/Test_Editor_prompt_interaction_with_default
> === RUN TestEditorPrompt/Test_Editor_prompt_interaction_overriding_default
> === PAUSE TestEditorPrompt/Test_Editor_prompt_interaction_overriding_default
> === RUN TestEditorPrompt/Test_Editor_prompt_interaction_hiding_default
> === PAUSE TestEditorPrompt/Test_Editor_prompt_interaction_hiding_default
> === RUN TestEditorPrompt/Test_Editor_prompt_interaction_and_prompt_for_help
> === PAUSE TestEditorPrompt/Test_Editor_prompt_interaction_and_prompt_for_help
> === RUN
> TestEditorPrompt/Test_Editor_prompt_interaction_with_default_and_append_default
> === PAUSE
> TestEditorPrompt/Test_Editor_prompt_interaction_with_default_and_append_default
> === RUN TestEditorPrompt/Test_Editor_prompt_interaction_with_editor_args
> === PAUSE TestEditorPrompt/Test_Editor_prompt_interaction_with_editor_args
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction_and_prompt_for_help
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction_overriding_default
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction_with_default
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Edit git commit
> message (No comment) [Enter to launch editor] \x1b[?25l\x1b[?25h"
> survey_posix_test.go:40:
> ? Edit git commit message (No comment) [Enter to launch editor]
>
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction_hiding_default
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Edit git commit
> message [Enter to launch editor]
> \x1b[?25l\x1b[?25h\x1b[m\x1b[m\x1b[0m\x1b[H\x1b[2J\x1b[24;1H\"/tmp/survey162474629.txt\"
> 0 lines, 3 bytes\x1b[2;1H\x1b[1m\x1b[34m~
> \x1b[3;1H~
> "
> survey_posix_test.go:40:
>
>
> ~
>
> ~
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> "/tmp/survey162474629.txt" 0 lines, 3 bytes
>
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction_with_editor_args
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction_and_prompt_for_help
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Edit git commit
> message [? for help] [Enter to launch editor] \x1b[?25l\x1b[0G\x1b[2K?
> Describe your git commit\r\n? Edit git commit message [Enter to launch
> editor]
> \x1b[?25h\x1b[m\x1b[m\x1b[0m\x1b[H\x1b[2J\x1b[24;1H\"/tmp/survey1281455584.txt\"
> 0 lines, 3 bytes\x1b[2;1H\x1b[1m\x1b[34m~
> \x1b[3;1H~
> \x1b[4;1H~
> \x1b[5;1H~
>
> \x1b[6;1H~
> \x1b[7;1H~
> \x1b[8;1H~
> \x1b[9;1H~
> \x1b[10;1H~
> \x1b[11;1H~
>
> \x1b[12;1H~
> \x1b[13;1H~
> \x1b[14;1H~
> \x1b[15;1H~
> \x1b[16;1H~
> \x1b[17;1H~
>
> \x1b[18;1H~
> \x1b[19;1H~
> \x1b[20;1H~
> \x1b[21;1H~
> \x1b[22;1H~
> \x1b[23;1H~
>
> \x1b[1;1H\a\x1b[0mAdd editor prompt
> tests\b\x1b[24;1H\x1b[K\x1b[24;1H:wq!\r\"/tmp/survey1281455584.txt\""
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction_overriding_default
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Edit git commit
> message (No comment) [Enter to launch editor]
> \x1b[?25l\x1b[?25h\x1b[m\x1b[m\x1b[0m\x1b[H\x1b[2J\x1b[24;1H\"/tmp/survey4035333856.txt\"
> 0 lines, 3 bytes\x1b[2;1H\x1b[1m\x1b[34m~
> \x1b[3;1H~
> \x1b[4;1H~
> \x1b[5;1H~
>
> \x1b[6;1H~
> \x1b[7;1H~
> \x1b[8;1H~
> \x1b[9;1H~
> \x1b[10;1H~
> \x1b[11;1H~
>
> \x1b[12;1H~
> \x1b[13;1H~
> \x1b[14;1H~
> \x1b[15;1H~
> \x1b[16;1H~
> \x1b[17;1H~
>
> \x1b[18;1H~
> \x1b[19;1H~
> \x1b[20;1H~
> \x1b[21;1H~
> \x1b[22;1H~
> \x1b[23;1H~
>
> \x1b[1;1H\x1b[0mAdd editor prompt
> tests\b\x1b[24;1H\x1b[K\x1b[24;1H:wq!\r\"/tmp/survey4035333856.txt\""
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Edit git commit
> message [Enter to launch editor]
> \x1b[?25l\x1b[?25h\x1b[m\x1b[m\x1b[0m\x1b[H\x1b[2J\x1b[24;1H\"/tmp/survey4178635234.txt\"
> 0 lines, 3 bytes\x1b[2;1H\x1b[1m\x1b[34m~
> \x1b[3;1H~
> \x1b[4;1H~
> \x1b[5;1H~
>
> \x1b[6;1H~
> \x1b[7;1H~
> \x1b[8;1H~
> \x1b[9;1H~
> \x1b[10;1H~
> \x1b[11;1H~
>
> \x1b[12;1H~
> \x1b[13;1H~
> \x1b[14;1H~
> \x1b[15;1H~
> \x1b[16;1H~
> \x1b[17;1H~
>
> \x1b[18;1H~
> \x1b[19;1H~
> \x1b[20;1H~
> \x1b[21;1H~
> \x1b[22;1H~
> \x1b[23;1H~
>
> \x1b[1;1H\x1b[0mAdd editor prompt
> tests\b\x1b[24;1H\x1b[K\x1b[24;1H:wq!\r\"/tmp/survey4178635234.txt\""
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction_and_prompt_for_help
> survey_posix_test.go:40:
> Add editor prompt tests
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> "/tmp/survey1281455584.txt"
>
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction
> survey_posix_test.go:40:
> Add editor prompt tests
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> "/tmp/survey4178635234.txt"
>
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction_overriding_default
> survey_posix_test.go:40:
> Add editor prompt tests
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> "/tmp/survey4035333856.txt"
>
> === CONT
> TestEditorPrompt/Test_Editor_prompt_interaction_with_default_and_append_default
> === CONT TestEditorPrompt/Test_Editor_prompt_interaction_with_editor_args
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Edit git commit
> message [Enter to launch editor]
> \x1b[?25l\x1b[?25h\x1b[m\x1b[m\x1b[0m\x1b[H\x1b[2J\x1b[24;1H\"/tmp/survey1828202537.txt\"
> 0 lines, 3 bytes\x1b[2;1H\x1b[1m\x1b[34m~
> \x1b[3;1H~
> \x1b[4;1H~
> \x1b[5;1H~
>
> \x1b[6;1H~
> \x1b[7;1H~
> \x1b[8;1H~
> \x1b[9;1H~
> \x1b[10;1H~
> \x1b[11;1H~
>
> \x1b[12;1H~
> \x1b[13;1H~
> \x1b[14;1H~
> \x1b[15;1H~
> \x1b[16;1H~
> \x1b[17;1H~
>
> \x1b[18;1H~
> \x1b[19;1H~
> \x1b[20;1H~
> \x1b[21;1H~
> \x1b[22;1H~
> \x1b[23;1H~
>
> \x1b[1;1H\x1b[0mAdd editor prompt
> tests\b\x1b[24;1H\x1b[K\x1b[24;1H:wq!\r\"/tmp/survey1828202537.txt\""
> survey_posix_test.go:40:
> Add editor prompt tests
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> "/tmp/survey1828202537.txt"
>
> === CONT
> TestEditorPrompt/Test_Editor_prompt_interaction_with_default_and_append_default
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Edit git commit
> message (No comment) [Enter to launch editor]
> \x1b[?25l\x1b[?25h\x1b[m\x1b[m\x1b[0m\x1b[H\x1b[2J\x1b[24;1H\"/tmp/survey1884164930.txt\"
> [Incomplete last line] 1 line, 13 bytes\x1b[1;1HNo
> comment\r\n\x1b[1m\x1b[34m~
> \x1b[3;1H~
> \x1b[4;1H~
> \x1b[5;1H~
> \x1b[6;1H~
>
> \x1b[7;1H~
> \x1b[8;1H~
> \x1b[9;1H~
> \x1b[10;1H~
> \x1b[11;1H~
> \x1b[12;1H~
>
> \x1b[13;1H~
> \x1b[14;1H~
> \x1b[15;1H~
> \x1b[16;1H~
> \x1b[17;1H~
> \x1b[18;1H~
>
> \x1b[19;1H~
> \x1b[20;1H~
> \x1b[21;1H~
> \x1b[22;1H~
> \x1b[23;1H~
>
> \x1b[1;1H\x1b[0m\x1b[1;1H\x1b[K\x1b[24;1H--No lines in
> buffer--\x1b[24;23H\x1b[K\x1b[1;1H\a\x1b[24;1H\x1b[K\x1b[24;1H:wq!\r\"/tmp/survey1884164930.txt\"
> 0 lines, 3 bytes written\r\r\r\n\x1b[?25h"
> survey_posix_test.go:40:
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> ~
>
> "/tmp/survey1884164930.txt" 0 lines, 3 bytes written
>
> --- PASS: TestEditorPrompt (0.00s)
> --- PASS: TestEditorPrompt/Test_Editor_prompt_interaction_with_default
> (0.01s)
> --- PASS: TestEditorPrompt/Test_Editor_prompt_interaction_hiding_default
> (0.00s)
> --- PASS:
> TestEditorPrompt/Test_Editor_prompt_interaction_and_prompt_for_help (0.63s)
> --- PASS:
> TestEditorPrompt/Test_Editor_prompt_interaction_overriding_default (0.63s)
> --- PASS:
> TestEditorPrompt/Test_Editor_prompt_interaction_with_editor_args (0.62s)
> --- PASS: TestEditorPrompt/Test_Editor_prompt_interaction (0.63s)
> --- PASS:
> TestEditorPrompt/Test_Editor_prompt_interaction_with_default_and_append_default
> (0.35s)
> === RUN TestInputRender
> --- PASS: TestInputRender (0.00s)
> === RUN TestInputPrompt
> === RUN TestInputPrompt/Test_Input_prompt_interaction
> === PAUSE TestInputPrompt/Test_Input_prompt_interaction
> === RUN TestInputPrompt/Test_Input_prompt_interaction_with_default
> === PAUSE TestInputPrompt/Test_Input_prompt_interaction_with_default
> === RUN TestInputPrompt/Test_Input_prompt_interaction_overriding_default
> === PAUSE TestInputPrompt/Test_Input_prompt_interaction_overriding_default
> === RUN TestInputPrompt/Test_Input_prompt_interaction_and_prompt_for_help
> === PAUSE TestInputPrompt/Test_Input_prompt_interaction_and_prompt_for_help
> === RUN TestInputPrompt/Test_Input_prompt_with_R_matching_DSR
> === PAUSE TestInputPrompt/Test_Input_prompt_with_R_matching_DSR
> === RUN TestInputPrompt/Test_Input_prompt_interaction_when_delete
> === PAUSE TestInputPrompt/Test_Input_prompt_interaction_when_delete
> === RUN TestInputPrompt/Test_Input_prompt_interaction_when_delete_rune
> === PAUSE TestInputPrompt/Test_Input_prompt_interaction_when_delete_rune
> === RUN
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_empty_value
> === PAUSE
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_empty_value
> === RUN
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value
> === PAUSE
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value
> === RUN
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value,_choosing_the_second_one
> === PAUSE
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value,_choosing_the_second_one
> === RUN
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value,_choosing_the_second_one#01
> === PAUSE
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value,_choosing_the_second_one#01
> === RUN
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion,_complementing_it_and_get_new_suggestions
> === PAUSE
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion,_complementing_it_and_get_new_suggestions
> === RUN
> TestInputPrompt/Test_Input_prompt_interaction_when_asked_suggestions,_but_abort_suggestions
> === PAUSE
> TestInputPrompt/Test_Input_prompt_interaction_when_asked_suggestions,_but_abort_suggestions
> === RUN
> TestInputPrompt/Test_Input_prompt_interaction_with_suggestions,_when_tabbed_with_list_being_shown,_should_select_next_suggestion
> === PAUSE
> TestInputPrompt/Test_Input_prompt_interaction_with_suggestions,_when_tabbed_with_list_being_shown,_should_select_next_suggestion
> === RUN
> TestInputPrompt/Test_Input_prompt_must_allow_moving_cursor_using_right_and_left_arrows
> === PAUSE
> TestInputPrompt/Test_Input_prompt_must_allow_moving_cursor_using_right_and_left_arrows
> === RUN
> TestInputPrompt/Test_Input_prompt_must_allow_moving_cursor_using_right_and_left_arrows,_even_after_suggestions
> === PAUSE
> TestInputPrompt/Test_Input_prompt_must_allow_moving_cursor_using_right_and_left_arrows,_even_after_suggestions
> === CONT TestInputPrompt/Test_Input_prompt_interaction
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_asked_suggestions,_but_abort_suggestions
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value,_choosing_the_second_one#01
> === CONT TestInputPrompt/Test_Input_prompt_interaction
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? What is your name?
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nLarry
> Bird\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? What is your name? Larry Bird
>
> === CONT
> TestInputPrompt/Test_Input_prompt_must_allow_moving_cursor_using_right_and_left_arrows,_even_after_suggestions
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? What is your
> favorite month? [tab for suggestions]
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nfeb\x1b[0G\x1b[2K?
> What is your favorite month? [tab for suggestions]
> \x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nFebruary\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? What is your favorite month? [tab for suggestions] February
>
> === CONT
> TestInputPrompt/Test_Input_prompt_must_allow_moving_cursor_using_right_and_left_arrows
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_asked_suggestions,_but_abort_suggestions
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Wanna a suggestion?
> [tab for suggestions]
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6ntyped
> answer\x1b[0G\x1b[2K? Wanna a suggestion? suggest1 [Use arrows to move, enter
> to select, type to continue]\r\n> suggest1\r\n
> suggest2\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> Wanna a suggestion? [tab for suggestions]
> \x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6ntyped
> answer\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? Wanna a suggestion? suggest1 [Use arrows to move, enter to select,
> type to con
> ? Wanna a suggestion? [tab for suggestions] typed answer
>
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_with_suggestions,_when_tabbed_with_list_being_shown,_should_select_next_suggestion
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value,_choosing_the_second_one#01
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? What is your
> favorite month? [tab for suggestions]
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K?
> What is your favorite month? January [Use arrows to move, enter to select,
> type to continue]\r\n> January\r\n February\r\n
> March\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> What is your favorite month? February [Use arrows to move, enter to select,
> type to continue]\r\n January\r\n> February\r\n
> March\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> What is your favorite month? March [Use arrows to move, enter to select,
> type to continue]\r\n January\r\n February\r\n>
> March\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> What is your favorite month? February [Use arrows to move, enter to select,
> type to continue]\r\n January\r\n> February\r\n
> March\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? What is your favorite month? January [Use arrows to move, enter to
> select, typ
> ? What is your favorite month? February [Use arrows to move, enter to
> select, ty
> ? What is your favorite month? March [Use arrows to move, enter to
> select, type
> ? What is your favorite month? February [Use arrows to move, enter to
> select, ty
> pe to continue]
>
> January
>
> > February
>
> March
>
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_empty_value
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? What is your
> favorite month? [tab for suggestions]
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K?
> What is your favorite month? January [Use arrows to move, enter to select,
> type to continue]\r\n> January\r\n
> February\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? What is your favorite month? January [Use arrows to move, enter to
> select, typ
> e to continue]
>
> > January
>
> February
>
> === CONT TestInputPrompt/Test_Input_prompt_interaction_when_delete_rune
> === CONT
> TestInputPrompt/Test_Input_prompt_must_allow_moving_cursor_using_right_and_left_arrows
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Filename to save:
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nessay.txt\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b7\x1b[0K\x1b[0K_\x1b[0K.\x1b[0Kt\x1b[0Kx\x1b[0Kt\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Kf\x1b[0K.\x1b[0Kt\x1b[0Kx\x1b[0Kt\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Ki\x1b[0K.\x1b[0Kt\x1b[0Kx\x1b[0Kt\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Kn\x1b[0K.\x1b[0Kt\x1b[0Kx\x1b[0Kt\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Ka\x1b[0K.\x1b[0Kt\x1b[0Kx\x1b[0Kt\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Kl\x1b[0K.\x1b[0Kt\x1b[0Kx\x1b[0Kt\x1b8\x1b[6n\x1b[1C\x1b[1C\x1b[1C\x1b[1C\x1b[1C\x1b[1D\x1b[0K\x1b[1D\x1b[0K\x1b[1D\x1b[0Kmd\x1b[1D\x1b[1D\x1b[1D\x1b7\x1b[0K\x1b[0K2\x1b[0K.\x1b[0Km\x1b[0Kd\x1b8\x1b[6n\x1b[1C\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? Filename to save: essay_final2.md
>
> === CONT TestInputPrompt/Test_Input_prompt_interaction_when_delete
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_with_suggestions,_when_tabbed_with_list_being_shown,_should_select_next_suggestion
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Choose the special
> one: [tab for suggestions]
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6ns\x1b[0G\x1b[2K?
> Choose the special one: suggest1 [Use arrows to move, enter to select, type
> to continue]\r\n> suggest1\r\n suggest2\r\n special
> answer\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> Choose the special one: suggest2 [Use arrows to move, enter to select, type
> to continue]\r\n suggest1\r\n> suggest2\r\n special
> answer\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> Choose the special one: special answer [Use arrows to move, enter to select,
> type to continue]\r\n suggest1\r\n suggest2\r\n> special
> answer\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[1A\x1b[?25h"
> === CONT
> TestInputPrompt/Test_Input_prompt_must_allow_moving_cursor_using_right_and_left_arrows,_even_after_suggestions
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Filename to save:
> [tab for suggestions]
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K?
> Filename to save: .txt [Use arrows to move, enter to select, type to
> continue]\r\n> .txt\r\n .csv\r\n
> .go\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> Filename to save: .csv [Use arrows to move, enter to select, type to
> continue]\r\n .txt\r\n> .csv\r\n
> .go\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> Filename to save: [tab for suggestions]
> \x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n.csv\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b7\x1b[0K\x1b[0Kn\x1b[0K.\x1b[0Kc\x1b[0Ks\x1b[0Kv\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Ke\x1b[0K.\x1b[0Kc\x1b[0Ks\x1b[0Kv\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Kw\x1b[0K.\x1b[0Kc\x1b[0Ks\x1b[0Kv\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Kt\x1b[0K.\x1b[0Kc\x1b[0Ks\x1b[0Kv\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Ka\x1b[0K.\x1b[0Kc\x1b[0Ks\x1b[0Kv\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Kb\x1b[0K.\x1b[0Kc\x1b[0Ks\x1b[0Kv\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Kl\x1b[0K.\x1b[0Kc\x1b[0Ks\x1b[0Kv\x1b8\x1b[6n\x1b[1C\x1b7\x1b[0K\x1b[0Ke\x1b[0K.\x1b[0Kc\x1b[0Ks\x1b[0Kv\x1b8\x1b[6n\x1b[1C\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[?25h"
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_with_suggestions,_when_tabbed_with_list_being_shown,_should_select_next_suggestion
> survey_posix_test.go:40:
> ? Choose the special one: suggest1 [Use arrows to move, enter to
> select, type to
> ? Choose the special one: suggest2 [Use arrows to move, enter to
> select, type to
> ? Choose the special one: special answer [Use arrows to move, enter
> to select, t
> ype to continue]
>
> suggest1
>
> suggest2
>
> > special answer
>
> === CONT TestInputPrompt/Test_Input_prompt_with_R_matching_DSR
> === CONT
> TestInputPrompt/Test_Input_prompt_must_allow_moving_cursor_using_right_and_left_arrows,_even_after_suggestions
> survey_posix_test.go:40:
> ? Filename to save: [tab for suggestions] newtable.csv
>
> === CONT TestInputPrompt/Test_Input_prompt_interaction_and_prompt_for_help
> === CONT TestInputPrompt/Test_Input_prompt_interaction_when_delete_rune
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? What is your name?
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n小明\x1b[2D\x1b[0K\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? What is your name?
>
> === CONT TestInputPrompt/Test_Input_prompt_interaction_overriding_default
> === CONT TestInputPrompt/Test_Input_prompt_interaction_when_delete
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? What is your name?
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nJohnny
> \x1b[1D\x1b[0K\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? What is your name? Johnny
>
> === CONT TestInputPrompt/Test_Input_prompt_interaction_with_default
> === CONT TestInputPrompt/Test_Input_prompt_interaction_overriding_default
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? What is your name?
> (Johnny Appleseed)
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nLarry
> Bird\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? What is your name? (Johnny Appleseed) Larry Bird
>
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion,_complementing_it_and_get_new_suggestions
> === CONT TestInputPrompt/Test_Input_prompt_interaction_with_default
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? What is your name?
> (Johnny Appleseed)
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[1B\x1b[0G\x1b[1A\x1b[?25h"
> === CONT TestInputPrompt/Test_Input_prompt_interaction_and_prompt_for_help
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? What is your name?
> [? for help]
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n?\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[0G\x1b[2K?
> It might be Satoshi Nakamoto\r\n? What is your name?
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nSatoshi
> Nakamoto\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1D\x1b[1B\x1b[0G\x1b[1A\x1b[?25h\x1b[?25h"
> === CONT TestInputPrompt/Test_Input_prompt_interaction_with_default
> survey_posix_test.go:40:
> ? What is your name? (Johnny Appleseed)
>
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value,_choosing_the_second_one
> === CONT TestInputPrompt/Test_Input_prompt_interaction_and_prompt_for_help
> survey_posix_test.go:40:
> ? It might be Satoshi Nakamoto
>
> ? What is your name? Satoshi Nakamoto
>
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion_with_some_value,_choosing_the_second_one
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? What is your
> favorite month? [tab for suggestions]
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K?
> What is your favorite month? January [Use arrows to move, enter to select,
> type to continue]\r\n> January\r\n February\r\n
> March\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> What is your favorite month? February [Use arrows to move, enter to select,
> type to continue]\r\n January\r\n> February\r\n
> March\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> What is your favorite month? March [Use arrows to move, enter to select,
> type to continue]\r\n January\r\n February\r\n>
> March\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? What is your favorite month? January [Use arrows to move, enter to
> select, typ
> ? What is your favorite month? February [Use arrows to move, enter to
> select, ty
> ? What is your favorite month? March [Use arrows to move, enter to
> select, type
> to continue]
>
> January
>
> February
>
> > March
>
> === CONT
> TestInputPrompt/Test_Input_prompt_interaction_when_ask_for_suggestion,_complementing_it_and_get_new_suggestions
> survey_posix_test.go:37: Raw output: "\x1b[0G\x1b[2K? Where to save it?
> [tab for suggestions]
> \x1b[?25l\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K?
> Where to save it? folder1/ [Use arrows to move, enter to select, type to
> continue]\r\n> folder1/\r\n folder2/\r\n
> folder3/\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> Where to save it? folder2/ [Use arrows to move, enter to select, type to
> continue]\r\n folder1/\r\n> folder2/\r\n
> folder3/\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> Where to save it? folder3/ [Use arrows to move, enter to select, type to
> continue]\r\n folder1/\r\n folder2/\r\n>
> folder3/\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> Where to save it? [tab for suggestions]
> \x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6nfolder3/f\x1b[0G\x1b[2K?
> Where to save it? folder3/file1.txt [Use arrows to move, enter to select,
> type to continue]\r\n> folder3/file1.txt\r\n
> folder3/file2.txt\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K\x1b[1A\x1b[0G\x1b[2K?
> Where to save it? folder3/file2.txt [Use arrows to move, enter to select,
> type to continue]\r\n folder3/file1.txt\r\n>
> folder3/file2.txt\r\n\x1b[?25l\x1b7\x1b[999;999f\x1b[6n\x1b8\x1b[?25h\x1b[6n\x1b[1A\x1b[?25h"
> survey_posix_test.go:40:
> ? Where to save it? folder1/ [Use arrows to move, enter to select,
> type to conti
> ? Where to save it? folder2/ [Use arrows to move, enter to select,
> type to conti
> ? Where to save it? folder3/ [Use arrows to move, enter to select,
> type to conti
> ? Where to save it? folder3/file1.txt [Use arrows to move, enter to
> select, type
> ? Where to save it? folder3/file2.txt [Use arrows to move, enter to
> select, type
> to continue]
>
> folder3/file1.txt
>
> > folder3/file2.txt
>
> panic: test timed out after 10m0s
>
> goroutine 94 [running]:
> testing.(*M).startAlarm.func1()
> /usr/lib/go-1.17/src/testing/testing.go:1788 +0x8e
> created by time.goFunc
> /usr/lib/go-1.17/src/time/sleep.go:180 +0x31
>
> goroutine 1 [chan receive, 10 minutes]:
> testing.(*T).Run(0xc000111380, {0x6cddb4, 0x46bab3}, 0x6e6248)
> /usr/lib/go-1.17/src/testing/testing.go:1307 +0x375
> testing.runTests.func1(0xc00007bb90)
> /usr/lib/go-1.17/src/testing/testing.go:1598 +0x6e
> testing.tRunner(0xc000111380, 0xc00016bd18)
> /usr/lib/go-1.17/src/testing/testing.go:1259 +0x102
> testing.runTests(0xc000160080, {0x8fb1c0, 0x2b, 0x2b}, {0x487bcd, 0x6cdb10,
> 0x900640})
> /usr/lib/go-1.17/src/testing/testing.go:1596 +0x43f
> testing.(*M).Run(0xc000160080)
> /usr/lib/go-1.17/src/testing/testing.go:1504 +0x51d
> main.main()
> _testmain.go:127 +0x14b
>
> goroutine 48 [chan receive, 9 minutes]:
> testing.tRunner.func1()
> /usr/lib/go-1.17/src/testing/testing.go:1225 +0x311
> testing.tRunner(0xc000203a00, 0x6e6248)
> /usr/lib/go-1.17/src/testing/testing.go:1265 +0x13b
> created by testing.(*T).Run
> /usr/lib/go-1.17/src/testing/testing.go:1306 +0x35a
>
> goroutine 101 [syscall, 9 minutes]:
> syscall.Syscall(0x0, 0x14, 0xc000562000, 0x1000)
> /usr/lib/go-1.17/src/syscall/asm_linux_amd64.s:20 +0x5
> syscall.read(0xc00021c060, {0xc000562000, 0xc0002c3501, 0x417faf})
> /usr/lib/go-1.17/src/syscall/zsyscall_linux_amd64.go:687 +0x4d
> syscall.Read(...)
> /usr/lib/go-1.17/src/syscall/syscall_unix.go:189
> internal/poll.ignoringEINTRIO(...)
> /usr/lib/go-1.17/src/internal/poll/fd_unix.go:582
> internal/poll.(*FD).Read(0xc00021c060, {0xc000562000, 0x1000, 0x1000})
> /usr/lib/go-1.17/src/internal/poll/fd_unix.go:163 +0x285
> os.(*File).read(...)
> /usr/lib/go-1.17/src/os/file_posix.go:32
> os.(*File).Read(0xc000280158, {0xc000562000, 0x0, 0x1000})
> /usr/lib/go-1.17/src/os/file.go:119 +0x5e
> bufio.(*Reader).fill(0xc00021dc20)
> /usr/lib/go-1.17/src/bufio/bufio.go:101 +0x103
> bufio.(*Reader).ReadSlice(0xc00021dc20, 0x8)
> /usr/lib/go-1.17/src/bufio/bufio.go:360 +0x2f
> github.com/AlecAivazis/survey/terminal.(*Cursor).Location(0xc0002c3a60,
> 0xc000280158)
>
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/terminal/cursor.go:108
> +0x245
> github.com/AlecAivazis/survey/terminal.(*Cursor).Size(0xc0002c3a60, 0x47cd3b)
>
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/terminal/cursor.go:182
> +0x21b
> github.com/AlecAivazis/survey/terminal.(*RuneReader).ReadLineWithDefault(0xc00019b7a0,
> 0x382468, {0x0, 0x0, 0x0}, {0xc0002c3b30, 0x203000, 0xc000288e80})
>
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/terminal/runereader.go:60
> +0xc5
> github.com/AlecAivazis/survey.(*Input).Prompt(0xc00017a600, 0xc000382468)
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/input.go:171
> +0x3b2
> github.com/AlecAivazis/survey.RunPromptTest.func1({{0x735508, 0xc000280158},
> {0x735530, 0xc000280158}, {0x730b40, 0xc000280158}})
>
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/survey_test.go:40
> +0xb4
> github.com/AlecAivazis/survey.RunTest(0xc000110000, 0x6e6220, 0xc0000d5ec8)
>
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/survey_posix_test.go:30
> +0x2a7
> github.com/AlecAivazis/survey.RunPromptTest(0x0, {{0x6d7781, 0x25},
> {0x7357b8, 0xc00017a600}, 0x6e6220, {0x67e800, 0x72dd78}})
>
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/survey_test.go:34
> +0x105
> github.com/AlecAivazis/survey.TestInputPrompt.func25(0x730b20)
>
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/input_test.go:423
> +0x38
> testing.tRunner(0xc000110000, 0xc0001d3cb0)
> /usr/lib/go-1.17/src/testing/testing.go:1259 +0x102
> created by testing.(*T).Run
> /usr/lib/go-1.17/src/testing/testing.go:1306 +0x35a
>
> goroutine 135 [syscall, 9 minutes]:
> syscall.Syscall(0x0, 0xe, 0xc00053c000, 0x8000)
> /usr/lib/go-1.17/src/syscall/asm_linux_amd64.s:20 +0x5
> syscall.read(0xc000283ec0, {0xc00053c000, 0x4a3201, 0xc00021c000})
> /usr/lib/go-1.17/src/syscall/zsyscall_linux_amd64.go:687 +0x4d
> syscall.Read(...)
> /usr/lib/go-1.17/src/syscall/syscall_unix.go:189
> internal/poll.ignoringEINTRIO(...)
> /usr/lib/go-1.17/src/internal/poll/fd_unix.go:582
> internal/poll.(*FD).Read(0xc000283ec0, {0xc00053c000, 0x8000, 0x8000})
> /usr/lib/go-1.17/src/internal/poll/fd_unix.go:163 +0x285
> os.(*File).read(...)
> /usr/lib/go-1.17/src/os/file_posix.go:32
> os.(*File).Read(0xc000280138, {0xc00053c000, 0x8, 0x8000})
> /usr/lib/go-1.17/src/os/file.go:119 +0x5e
> io.copyBuffer({0x730880, 0xc0002ae180}, {0x730b20, 0xc000280138}, {0x0, 0x0,
> 0x0})
> /usr/lib/go-1.17/src/io/io.go:423 +0x1b2
> io.Copy(...)
> /usr/lib/go-1.17/src/io/io.go:382
> github.com/Netflix/go-expect.NewConsole.func1({0x730b20, 0xc000280138})
> /<<PKGBUILDDIR>>/_build/src/github.com/Netflix/go-expect/console.go:171
> +0x49
> created by github.com/Netflix/go-expect.NewConsole
> /<<PKGBUILDDIR>>/_build/src/github.com/Netflix/go-expect/console.go:170
> +0x668
>
> goroutine 136 [IO wait, 9 minutes]:
> internal/poll.runtime_pollWait(0x7ff132b2ed20, 0x72)
> /usr/lib/go-1.17/src/runtime/netpoll.go:229 +0x89
> internal/poll.(*pollDesc).wait(0xc00021c120, 0xc0004bd580, 0x1)
> /usr/lib/go-1.17/src/internal/poll/fd_poll_runtime.go:84 +0x32
> internal/poll.(*pollDesc).waitRead(...)
> /usr/lib/go-1.17/src/internal/poll/fd_poll_runtime.go:89
> internal/poll.(*FD).Read(0xc00021c120, {0xc0004bd580, 0x10, 0x10})
> /usr/lib/go-1.17/src/internal/poll/fd_unix.go:167 +0x25a
> os.(*File).read(...)
> /usr/lib/go-1.17/src/os/file_posix.go:32
> os.(*File).Read(0xc000280160, {0xc0004bd580, 0x1, 0xc000179860})
> /usr/lib/go-1.17/src/os/file.go:119 +0x5e
> github.com/Netflix/go-expect.(*PassthroughPipe).Read(0xc0001a5d90,
> {0xc0004bd580, 0xc0004a40b0, 0x6bf780})
>
> /<<PKGBUILDDIR>>/_build/src/github.com/Netflix/go-expect/passthrough_pipe.go:70
> +0x33
> bufio.(*Reader).fill(0xc00021c540)
> /usr/lib/go-1.17/src/bufio/bufio.go:101 +0x103
> bufio.(*Reader).ReadRune(0xc00021c540)
> /usr/lib/go-1.17/src/bufio/bufio.go:288 +0x25
> github.com/Netflix/go-expect.(*Console).Expect(0xc0002ae180, {0xc0002ddf88,
> 0x2, 0xc0002a77b8})
> /<<PKGBUILDDIR>>/_build/src/github.com/Netflix/go-expect/expect.go:89
> +0x39d
> github.com/Netflix/go-expect.(*Console).ExpectEOF(...)
> /<<PKGBUILDDIR>>/_build/src/github.com/Netflix/go-expect/expect.go:41
> github.com/AlecAivazis/survey.TestInputPrompt.func5(0x6e64d8)
>
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/input_test.go:199
> +0x79
> github.com/AlecAivazis/survey.RunTest.func1()
>
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/survey_posix_test.go:27
> +0x63
> created by github.com/AlecAivazis/survey.RunTest
>
> /<<PKGBUILDDIR>>/_build/src/github.com/AlecAivazis/survey/survey_posix_test.go:25
> +0x1f6
>
> goroutine 134 [syscall, 9 minutes]:
> syscall.Syscall(0x0, 0x12, 0xc000534000, 0x8000)
> /usr/lib/go-1.17/src/syscall/asm_linux_amd64.s:20 +0x5
> syscall.read(0xc00021c000, {0xc000534000, 0x49af01, 0xc00021c180})
> /usr/lib/go-1.17/src/syscall/zsyscall_linux_amd64.go:687 +0x4d
> syscall.Read(...)
> /usr/lib/go-1.17/src/syscall/syscall_unix.go:189
> internal/poll.ignoringEINTRIO(...)
> /usr/lib/go-1.17/src/internal/poll/fd_unix.go:582
> internal/poll.(*FD).Read(0xc00021c000, {0xc000534000, 0x8000, 0x8000})
> /usr/lib/go-1.17/src/internal/poll/fd_unix.go:163 +0x285
> os.(*File).read(...)
> /usr/lib/go-1.17/src/os/file_posix.go:32
> os.(*File).Read(0xc000280148, {0xc000534000, 0xc0001a5ef0, 0xc0001a5ef0})
> /usr/lib/go-1.17/src/os/file.go:119 +0x5e
> io.copyBuffer({0x730fc0, 0xc0001a5ef0}, {0x730b20, 0xc000280148}, {0x0, 0x0,
> 0x0})
> /usr/lib/go-1.17/src/io/io.go:423 +0x1b2
> io.Copy(...)
> /usr/lib/go-1.17/src/io/io.go:382
> os.genericReadFrom(0x0, {0x730b20, 0xc000280148})
> /usr/lib/go-1.17/src/os/file.go:162 +0x5d
> os.(*File).ReadFrom(0xc000280168, {0x730b20, 0xc000280148})
> /usr/lib/go-1.17/src/os/file.go:156 +0x1b0
> io.copyBuffer({0x730b40, 0xc000280168}, {0x730b20, 0xc000280148}, {0x0, 0x0,
> 0x0})
> /usr/lib/go-1.17/src/io/io.go:409 +0x14b
> io.Copy(...)
> /usr/lib/go-1.17/src/io/io.go:382
> github.com/Netflix/go-expect.NewPassthroughPipe.func1()
>
> /<<PKGBUILDDIR>>/_build/src/github.com/Netflix/go-expect/passthrough_pipe.go:42
> +0xa5
> created by github.com/Netflix/go-expect.NewPassthroughPipe
>
> /<<PKGBUILDDIR>>/_build/src/github.com/Netflix/go-expect/passthrough_pipe.go:40
> +0x134
> FAIL github.com/AlecAivazis/survey 600.107s
> === RUN TestWrite_returnsErrorIfTargetNotPtr
> --- PASS: TestWrite_returnsErrorIfTargetNotPtr (0.00s)
> === RUN TestWrite_canWriteToBool
> --- PASS: TestWrite_canWriteToBool (0.00s)
> === RUN TestWrite_canWriteString
> --- PASS: TestWrite_canWriteString (0.00s)
> === RUN TestWrite_canWriteSlice
> --- PASS: TestWrite_canWriteSlice (0.00s)
> === RUN TestWrite_canWriteMapString
> --- PASS: TestWrite_canWriteMapString (0.00s)
> === RUN TestWrite_canWriteMapInt
> --- PASS: TestWrite_canWriteMapInt (0.00s)
> === RUN TestWrite_recoversInvalidReflection
> --- PASS: TestWrite_recoversInvalidReflection (0.00s)
> === RUN TestWriteAnswer_handlesNonStructValues
> --- PASS: TestWriteAnswer_handlesNonStructValues (0.00s)
> === RUN TestWriteAnswer_canMutateStruct
> --- PASS: TestWriteAnswer_canMutateStruct (0.00s)
> === RUN TestWriteAnswer_optionAnswer
> === RUN TestWriteAnswer_optionAnswer/writes_index_for_ints
> === RUN TestWriteAnswer_optionAnswer/writes_OptionAnswer_for_OptionAnswer
> === RUN TestWriteAnswer_optionAnswer/writes_value_for_strings
> === RUN
> TestWriteAnswer_optionAnswer/writes_slice_of_indices_for_slice_of_ints
> === RUN
> TestWriteAnswer_optionAnswer/writes_slice_of_values_for_slice_of_strings
> --- PASS: TestWriteAnswer_optionAnswer (0.00s)
> --- PASS: TestWriteAnswer_optionAnswer/writes_index_for_ints (0.00s)
> --- PASS:
> TestWriteAnswer_optionAnswer/writes_OptionAnswer_for_OptionAnswer (0.00s)
> --- PASS: TestWriteAnswer_optionAnswer/writes_value_for_strings (0.00s)
> --- PASS:
> TestWriteAnswer_optionAnswer/writes_slice_of_indices_for_slice_of_ints (0.00s)
> --- PASS:
> TestWriteAnswer_optionAnswer/writes_slice_of_values_for_slice_of_strings
> (0.00s)
> === RUN TestWriteAnswer_canMutateMap
> --- PASS: TestWriteAnswer_canMutateMap (0.00s)
> === RUN TestWrite_returnsErrorIfInvalidMapType
> --- PASS: TestWrite_returnsErrorIfInvalidMapType (0.00s)
> === RUN TestWrite_writesStringSliceToIntSlice
> --- PASS: TestWrite_writesStringSliceToIntSlice (0.00s)
> === RUN TestWrite_writesStringArrayToIntArray
> --- PASS: TestWrite_writesStringArrayToIntArray (0.00s)
> === RUN TestWriteAnswer_returnsErrWhenFieldNotFound
> --- PASS: TestWriteAnswer_returnsErrWhenFieldNotFound (0.00s)
> === RUN TestFindField_canFindExportedField
> --- PASS: TestFindField_canFindExportedField (0.00s)
> === RUN TestFindField_canFindTaggedField
> --- PASS: TestFindField_canFindTaggedField (0.00s)
> === RUN TestFindField_canHandleCapitalAnswerNames
> --- PASS: TestFindField_canHandleCapitalAnswerNames (0.00s)
> === RUN TestFindField_tagOverwriteFieldName
> --- PASS: TestFindField_tagOverwriteFieldName (0.00s)
> === RUN TestFindField_supportsPromotedFields
> --- PASS: TestFindField_supportsPromotedFields (0.00s)
> === RUN TestFindField_promotedFieldsWithTag
> --- PASS: TestFindField_promotedFieldsWithTag (0.00s)
> === RUN TestFindField_promotedFieldsDontHavePriorityOverTags
> --- PASS: TestFindField_promotedFieldsDontHavePriorityOverTags (0.00s)
> === RUN TestWriteWithFieldSettable
> --- PASS: TestWriteWithFieldSettable (0.00s)
> === RUN TestWrite_canStringToBool
> --- PASS: TestWrite_canStringToBool (0.00s)
> === RUN TestWrite_canStringToInt
> --- PASS: TestWrite_canStringToInt (0.00s)
> === RUN TestWrite_canStringToInt8
> --- PASS: TestWrite_canStringToInt8 (0.00s)
> === RUN TestWrite_canStringToInt16
> --- PASS: TestWrite_canStringToInt16 (0.00s)
> === RUN TestWrite_canStringToInt32
> --- PASS: TestWrite_canStringToInt32 (0.00s)
> === RUN TestWrite_canStringToInt64
> --- PASS: TestWrite_canStringToInt64 (0.00s)
> === RUN TestWrite_canStringToUint
> --- PASS: TestWrite_canStringToUint (0.00s)
> === RUN TestWrite_canStringToUint8
> --- PASS: TestWrite_canStringToUint8 (0.00s)
> === RUN TestWrite_canStringToUint16
> --- PASS: TestWrite_canStringToUint16 (0.00s)
> === RUN TestWrite_canStringToUint32
> --- PASS: TestWrite_canStringToUint32 (0.00s)
> === RUN TestWrite_canStringToUint64
> --- PASS: TestWrite_canStringToUint64 (0.00s)
> === RUN TestWrite_canStringToFloat32
> --- PASS: TestWrite_canStringToFloat32 (0.00s)
> === RUN TestWrite_canStringToFloat64
> --- PASS: TestWrite_canStringToFloat64 (0.00s)
> === RUN TestWrite_canConvertStructFieldTypes
> --- PASS: TestWrite_canConvertStructFieldTypes (0.00s)
> PASS
> ok github.com/AlecAivazis/survey/core 0.040s
> ? github.com/AlecAivazis/survey/terminal [no test files]
> FAIL
> dh_auto_test: error: cd _build && go test -vet=off -v -p 4
> github.com/AlecAivazis/survey github.com/AlecAivazis/survey/core
> github.com/AlecAivazis/survey/terminal returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/golang-github-alecaivazis-survey_2.3.1+ds1-1_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---