makepkg -si
==> Making package: neovim-telescope 0.1.7-1 (Wed 22 May 2024 10:03:01 AM +05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found telescope.nvim-0.1.7.tar.gz
==> Validating source files with sha256sums...
telescope.nvim-0.1.7.tar.gz ... Passed
==> Extracting sources...
-> Extracting telescope.nvim-0.1.7.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting check()...
nvim --headless --noplugin -u scripts/minimal_init.vim -c "PlenaryBustedDirectory lua/tests/automated/ { minimal_init = './scripts/minimal_init.vim' }"
Starting...Scheduling: lua/tests/automated/linked_list_spec.lua
Scheduling: lua/tests/automated/command_spec.lua
Scheduling: lua/tests/automated/entry_display_spec.lua
Scheduling: lua/tests/automated/resolver_spec.lua
Scheduling: lua/tests/automated/scroller_spec.lua
Scheduling: lua/tests/automated/pickers/find_files_spec.lua
Scheduling: lua/tests/automated/utils_spec.lua
Scheduling: lua/tests/automated/telescope_spec.lua
Scheduling: lua/tests/automated/entry_manager_spec.lua
Scheduling: lua/tests/automated/layout_strategies_spec.lua
Scheduling: lua/tests/automated/action_spec.lua
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/linked_list_spec.lua
Success || LinkedList can create a list
Success || LinkedList can add a single entry to the list
Success || LinkedList can iterate over one item
Success || LinkedList iterates in order
Success || LinkedList iterates in order, for prepend
Success || LinkedList iterates in order, for combo
Success || LinkedList has ipairs
Success || LinkedList track_at should update tracked when only appending
Success || LinkedList track_at should update tracked when first some prepend and then append
Success || LinkedList track_at should update when only prepending
Success || LinkedList track_at should update when lots of prepend and append
Success: 11
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/scroller_spec.lua
Success || scroller ascending cycle should return values within the max results
Success || scroller ascending cycle should return 0 at 0
Success || scroller ascending cycle should cycle you to the top when you go below 0
Success || scroller ascending cycle should cycle you to 0 when you go past the results
Success || scroller ascending cycle should cycle when current results is less than max_results
Success || scroller ascending limit should return values within the max results
Success || scroller ascending limit should return 0 at 0
Success || scroller ascending limit should not cycle
Success || scroller ascending limit should not cycle you to 0 when you go past the results
Success || scroller ascending limit should stay at current results when current results is less than max_results
Success || scroller descending cycle should return values within the max results
Success || scroller descending cycle should return max_results - 1 at 0
Success || scroller descending cycle should cycle you to the bot when you go below 0
Success || scroller descending cycle should cycle you to 0 when you go past the results
Success || scroller descending cycle should cycle when current results is less than max_results
Success || scroller descending limit should return values within the max results
Success || scroller descending limit should return 0 at 0
Success || scroller descending limit should not cycle
Success || scroller descending limit should not cycle you to 0 when you go past the results
Success || scroller descending limit should stay at current results when current results is less than max_results
Success || scroller https://github.com/nvim-telescope/telescope.nvim/pull/293#issuecomment-751463224 should handle having many more results than necessary
Success || scroller should give top, middle and bottom index should handle ascending
Success || scroller should give top, middle and bottom index should handle descending
Success: 23
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/resolver_spec.lua
Success || telescope.config.resolve win_option should resolve for percentages
Success || telescope.config.resolve win_option should resolve for percentages with default
Success || telescope.config.resolve win_option should resolve table values
Success || telescope.config.resolve win_option should allow overrides for different wins
Success || telescope.config.resolve win_option should allow overrides for all wins
Success || telescope.config.resolve win_option should allow some specified with a simple default
Success || telescope.config.resolve resolve_height/width should handle percentages
Success || telescope.config.resolve resolve_height/width should handle percentages with min/max boundary
Success || telescope.config.resolve resolve_height/width should handle fixed size
Success || telescope.config.resolve resolve_height/width should handle functions
Success || telescope.config.resolve resolve_height/width should handle padding
Success || telescope.config.resolve resolve_anchor_pos should not adjust when "CENTER" or "" is the anchor
Success || telescope.config.resolve resolve_anchor_pos should end up at top when "N" in the anchor
Success || telescope.config.resolve resolve_anchor_pos should end up at left when "W" in the anchor
Success || telescope.config.resolve resolve_anchor_pos should end up at bottom when "S" in the anchor
Success || telescope.config.resolve resolve_anchor_pos should end up at right when "E" in the anchor
Success || telescope.config.resolve resolve_anchor_pos should ignore casing of the anchor
Success: 17
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/entry_display_spec.lua
Success || truncate can truncate: ambiwidth = single, [abcde, 6] -> abcde
Success || truncate can truncate: ambiwidth = single, [abcde, 5] -> abcde
Success || truncate can truncate: ambiwidth = single, [abcde, 4] -> abc…
Success || truncate can truncate: ambiwidth = single, [アイウエオ, 11] -> アイウエオ
Success || truncate can truncate: ambiwidth = single, [アイウエオ, 10] -> アイウエオ
Success || truncate can truncate: ambiwidth = single, [アイウエオ, 9] -> アイウエ…
Success || truncate can truncate: ambiwidth = single, [アイウエオ, 8] -> アイウ…
Success || truncate can truncate: ambiwidth = single, [├─┤, 7] -> ├─┤
Success || truncate can truncate: ambiwidth = single, [├─┤, 6] -> ├─┤
Success || truncate can truncate: ambiwidth = single, [├─┤, 5] -> ├─┤
Success || truncate can truncate: ambiwidth = single, [├─┤, 4] -> ├─┤
Success || truncate can truncate: ambiwidth = single, [├─┤, 3] -> ├─┤
Success || truncate can truncate: ambiwidth = single, [├─┤, 2] -> ├…
Success || truncate can truncate: ambiwidth = double, [abcde, 6] -> abcde
Success || truncate can truncate: ambiwidth = double, [abcde, 5] -> abcde
Success || truncate can truncate: ambiwidth = double, [abcde, 4] -> ab…
Success || truncate can truncate: ambiwidth = double, [アイウエオ, 11] -> アイウエオ
Success || truncate can truncate: ambiwidth = double, [アイウエオ, 10] -> アイウエオ
Success || truncate can truncate: ambiwidth = double, [アイウエオ, 9] -> アイウ…
Success || truncate can truncate: ambiwidth = double, [アイウエオ, 8] -> アイウ…
Success || truncate can truncate: ambiwidth = double, [├─┤, 7] -> ├─┤
Success || truncate can truncate: ambiwidth = double, [├─┤, 6] -> ├─┤
Success || truncate can truncate: ambiwidth = double, [├─┤, 5] -> ├…
Success || truncate can truncate: ambiwidth = double, [├─┤, 4] -> ├…
Success || truncate can truncate: ambiwidth = double, [├─┤, 3] -> …
Success || truncate can truncate: ambiwidth = double, [├─┤, 2] -> …
Success: 26
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/command_spec.lua
Success || command_parser should handle cwd
Success || command_parser should handle find_command 1
Success || command_parser should handle find_command 2
Success || command_parser should handle find_command 3
Success || command_parser should handle layout_config viml 1
Success || command_parser should handle layout_config viml 2
Success || command_parser should handle layout_config viml 3
Success || command_parser should handle layout_config viml 4
Success || command_parser should handle layout_config lua 1
Success || command_parser should handle layout_config lua 2
Success || command_parser should handle symbols commas list
Success || command_parser should handle symbols viml list
Success || command_parser should handle symbols lua list
Success || command_parser should handle booleans 1
Success || command_parser should handle booleans 2
Success || command_parser should handle numbers 1
Success || command_parser should handle numbers 2
Success || command_parser should handle numbers 3
Success || command_parser should handle multiple options 1
Success || command_parser should handle multiple options 2
Success: 20
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/entry_manager_spec.lua
Success || process_result works with one entry
Success || process_result works with two entries
Success || process_result calls functions when inserting
Success || process_result calls functions when inserting twice
Success || process_result correctly sorts lower scores
Success || process_result respects max results
Success || process_result should allow simple entries
Success || process_result should not loop a bunch
Success || process_result should not loop a bunch, part 2
Success || process_result should update worst score in all append case
Success || process_result should update worst score in all prepend case
Success || process_result should call tiebreaker if score is the same, sort length
Success || process_result should call tiebreaker if score is the same, keep initial
Success: 13
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua
Fail || path_expand() removes trailing os_sep
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:11: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:11: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:7>
Fail || path_expand() works with root dir
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:19: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:19: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:15>
Fail || path_expand() works with ~
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:24: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:24: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:23>
Fail || path_expand() handles duplicate os_sep
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:31: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:31: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:27>
Fail || path_expand() preserves fake whitespace characters and whitespace
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:37: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:37: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:35>
Fail || path_expand() early return for uri https://www.example.com/index.html
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:56>
Fail || path_expand() early return for uri ftp://ftp.example.com/files/document.pdf
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:56>
Fail || path_expand() early return for uri mailto:user@example.com
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:56>
Fail || path_expand() early return for uri tel:+1234567890
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:56>
Fail || path_expand() early return for uri file:///home/user/documents/report.docx
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:56>
Fail || path_expand() early return for uri news:comp.lang.python
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:56>
Fail || path_expand() early return for uri ldap://ldap.example.com:389/dc=example,dc=com
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:56>
Fail || path_expand() early return for uri git://github.com/user/repo.git
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:56>
Fail || path_expand() early return for uri steam://run/123456
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:56>
Fail || path_expand() early return for uri magnet:?xt=urn:btih:6B4C3343E1C63A1BC36AEB8A3D1F52C4EDEEB096
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: attempt to call field 'path_expand' (a nil value)
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:57: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:56>
Success || is_uri detects valid uris https://www.example.com/index.html
Success || is_uri detects valid uris ftp://ftp.example.com/files/document.pdf
Success || is_uri detects valid uris mailto:user@example.com
Success || is_uri detects valid uris tel:+1234567890
Success || is_uri detects valid uris file:///home/user/documents/report.docx
Success || is_uri detects valid uris news:comp.lang.python
Success || is_uri detects valid uris ldap://ldap.example.com:389/dc=example,dc=com
Success || is_uri detects valid uris git://github.com/user/repo.git
Success || is_uri detects valid uris steam://run/123456
Success || is_uri detects valid uris magnet:?xt=urn:btih:6B4C3343E1C63A1BC36AEB8A3D1F52C4EDEEB096
Success || is_uri detects invalid uris/paths hello
Success || is_uri detects invalid uris/paths hello:
Success || is_uri detects invalid uris/paths 123
Success || is_uri detects invalid uris/paths
Success || is_uri handles windows paths C:\Users\Usuario\Documents\archivo.txt
Success || is_uri handles windows paths D:\Projects\project_folder\source_code.py
Success || is_uri handles windows paths E:\Music\song.mp3
Success || is_uri handles linux paths /home/usuario/documents/archivo.txt
Success || is_uri handles linux paths /var/www/html/index.html
Success || is_uri handles linux paths /mnt/backup/backup_file.tar.gz
Success || is_uri handles macos paths /Users/Usuario/Documents/archivo.txt
Success || is_uri handles macos paths /Applications/App.app/Contents/MacOS/app_executable
Success || is_uri handles macos paths /Volumes/ExternalDrive/Data/file.xlsx
Fail || transform_path handles nil path
/usr/share/nvim/runtime/lua/luassert/assertions.lua:115: the 'equals' function requires a minimum of 2 arguments, got: 1
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:166: in function 'assert_path'
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:171: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:170>
Success || transform_path returns back uri
Success || transform_path handles 'hidden' path_display
Success || transform_path returns relative path for default opts
Success || transform_path handles 'tail' path_display
Success || transform_path handles 'smart' path_display
Fail || transform_path handles 'absolute' path_display
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:161: Expected objects to be equal.
Passed in:
(string) 'lua/telescope/init.lua'
Expected:
(string) '/home/user/projects/telescope.nvim/lua/telescope/init.lua'
stack traceback:
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:161: in function 'assert_path'
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:214: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:208>
Fail || transform_path handles default 'shorten' path_display
/usr/share/nvim/runtime/lua/plenary/path.lua:466: attempt to compare number with boolean
stack traceback:
/usr/share/nvim/runtime/lua/telescope/utils.lua:280: in function 'transform_path'
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:161: in function 'assert_path'
.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:218: in function <.../telescope.nvim-0.1.7/lua/tests/automated/utils_spec.lua:217>
Success || transform_path handles 'shorten' with number
Success || transform_path handles 'shorten' with option table
Success || transform_path handles default 'truncate' path_display
Success: 31
Failed : 18
Errors : 0
========================================
Tests Failed. Exit: 1
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/layout_strategies_spec.lua
Success || layout_strategies should have validator
Success || layout_strategies should handle numbers
Success || layout_strategies should handle percentage: 100
Success || layout_strategies should handle percentage: 110
Success || layout_strategies should call functions: simple
Success || layout_strategies should call functions: percentage
Success || layout_strategies should use ours if theirs and override don't give the key
Success || layout_strategies should use ours if theirs and override don't give the key for this strategy
Success || layout_strategies should use theirs if override doesn't give the key
Success || layout_strategies should use override if key given
Success || layout_strategies should use override if key given for this strategy
Success || layout_strategies should use theirs if override doesn't give key (even if ours has strategy specific)
Success || layout_strategies should use override (even if ours has strategy specific)
Success || layout_strategies should use override (even if theirs has strategy specific)
Success || layout_strategies should use override (even if ours and theirs have strategy specific)
Success || layout_strategies should handle user config overriding a table with a number
Success || layout_strategies should handle user oneshot overriding a table with a number
Success: 17
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/telescope_spec.lua
Success || telescope Picker window_dimensions
Success || telescope Picker attach_mappings should allow for passing in a function
Success || telescope Picker attach_mappings should override an attach mappings passed in by opts
Success || telescope Sorters generic_fuzzy_sorter sort matches well
Success || telescope Sorters generic_fuzzy_sorter sorts multiple finds better
Success || telescope Sorters fuzzy_file sort matches well
Success || telescope Sorters fuzzy_file sorts matches after last os sep better
Pending || telescope Sorters fuzzy_file sorts multiple finds better
Success || telescope Sorters fzy matches exact matches
Success || telescope Sorters fzy matches ignore case
Success || telescope Sorters fzy matches partial matches
Success || telescope Sorters fzy matches with delimiters between
Success || telescope Sorters fzy matches with empty query
Success || telescope Sorters fzy matches rejects non-matches
Success || telescope Sorters fzy scoring prefers beginnings of words
Success || telescope Sorters fzy scoring prefers consecutive letters
Success || telescope Sorters fzy scoring prefers contiguous over letter following period
Success || telescope Sorters fzy scoring prefers shorter matches
Success || telescope Sorters fzy scoring prefers shorter candidates
Success || telescope Sorters fzy scoring prefers matches at the beginning
Success || telescope Sorters fzy scoring prefers matches at some locations
Success || telescope Sorters fzy positioning favors consecutive positions
Success || telescope Sorters fzy positioning favors word beginnings
Success || telescope Sorters fzy positioning works when there are no bonuses
Success || telescope Sorters fzy positioning favors smaller groupings of positions
Success || telescope Sorters fzy positioning handles exact matches
Success || telescope Sorters fzy positioning ignores empty requests
Success || telescope Sorters layout_strategies center should handle large terminals
Success: 27
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/action_spec.lua
Success || actions should allow creating custom actions
Success || actions allows adding actions
Success || actions ignores nils from added actions
Success || actions allows overriding an action
Success || actions allows overriding an action only in specific cases with if
Success || actions allows overriding an action only in specific cases with mod
Success || actions continuous replacement
Success || actions enhance.pre
Success || actions enhance.post
Success || actions static_pre static_post
Success || actions can call both
Success || actions can call both even when combined
Success || actions can call replace fn even when combined before replace registered the fn (because that happens with mappings)
Success || actions can call enhance fn even when combined before enhance registed fns (because that happens with mappings)
Success || actions clears enhance
Success || actions handles passing arguments
Success || actions handles add with two different tables
Success || actions handles tripple concat with static pre post
Success || actions action_set can replace `action_set.edit`
Pending || actions action_set handles backwards compat with select and edit files
Success: 19
Failed : 0
Errors : 0
========================================
========================================
Testing: /home/aljustiet/neovim-telescope/src/telescope.nvim-0.1.7/lua/tests/automated/pickers/find_files_spec.lua
Success || builtin.find_files should find the readme
Success || builtin.find_files should handle cycling for full list
Success || builtin.find_files should not display devicons when disabled: { sorting_strategy = "descending" }
Pending || builtin.find_files use devicons, if it has it when enabled
Success || builtin.find_files should not display devicons when disabled: { sorting_strategy = "ascending" }
Pending || builtin.find_files use devicons, if it has it when enabled
Success || builtin.find_files should find the readme, using lowercase
Success || builtin.find_files should find the pickers.lua, using lowercase
Success || builtin.find_files should find the pickers.lua
Success || builtin.find_files should be able to c-n the items
Success || builtin.find_files should be able to get the current selection
Success: 9
Failed : 0
Errors : 0
========================================
make: *** [Makefile:4: test] Error 1
==> ERROR: A failure occurred in check().
Aborting...