ycm-core / YouCompleteMe

A code-completion engine for Vim
http://ycm-core.github.io/YouCompleteMe/
GNU General Public License v3.0
25.45k stars 2.81k forks source link

neovim: Unknown function: nvim_buf_get_extmarks #3956

Closed pnchinmay closed 3 years ago

pnchinmay commented 3 years ago

Issue Prelude

Please complete these steps and check these boxes (by putting an x inside the brackets) before filing your issue:

Thank you for adhering to this process! It ensures your issue is resolved quickly and that neither your nor our time is needlessly wasted.

Issue Details

Provide a clear description of the problem, including the following key questions:

Include description of a minimal test case, including any actual code required to reproduce the issue.

./install.py --clang-completer --java-completer --go-completer --rust-completer --ts-completer --tern-completer

Earlier on my previous Ubuntu installation, the same install commands were passed and same ycm_global_extra_conf.py file was used. But, never got this error.

After installation, when a file is opened, the following error pops up as shown below

Error detected while processing function <SNR>153_UpdateMatches[1]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/youcompleteme.py", line 565, in UpdateMatches
    self.CurrentBuffer().UpdateMatches()
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/buffer.py", line 87, in UpdateMatches
    self._diag_interface.UpdateMatches()
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/diagnostic_interface.py", line 132, in UpdateMatches
    props_to_remove = vimsupport.GetTextProperties( self._bufnr )
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/vimsupport.py", line 219, in GetTextProperties
    ext_marks = vim.eval(
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/plugin/script_host.py", line 205, in eval
    obj = self.request("vim_eval", expr)
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/api/nvim.py", line 182, in request
    res = self._session.request(name, *args, **kwargs)
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/msgpack_rpc/session.py", line 102, in request
    raise self.error_wrapper(err)
pynvim.api.common.NvimError: Vim:E117: Unknown function: nvim_buf_get_extmarks
Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/youcompleteme.py", line 565, in UpdateMatches
    self.CurrentBuffer().UpdateMatches()
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/buffer.py", line 87, in UpdateMatches
    self._diag_interface.UpdateMatches()
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/diagnostic_interface.py", line 132, in UpdateMatches
    props_to_remove = vimsupport.GetTextProperties( self._bufnr )
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/vimsupport.py", line 219, in GetTextProperties
    ext_marks = vim.eval(
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/plugin/script_host.py", line 205, in eval
    obj = self.request("vim_eval", expr)
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/api/nvim.py", line 182, in request
    res = self._session.request(name, *args, **kwargs)
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/msgpack_rpc/session.py", line 102, in request
    raise self.error_wrapper(err)
pynvim.api.common.NvimError: Vim:E117: Unknown function: nvim_buf_get_extmarks
Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/youcompleteme.py", line 565, in UpdateMatches
    self.CurrentBuffer().UpdateMatches()
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/buffer.py", line 87, in UpdateMatches
    self._diag_interface.UpdateMatches()
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/diagnostic_interface.py", line 132, in UpdateMatches
    props_to_remove = vimsupport.GetTextProperties( self._bufnr )
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/vimsupport.py", line 219, in GetTextProperties
    ext_marks = vim.eval(
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/plugin/script_host.py", line 205, in eval
    obj = self.request("vim_eval", expr)
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/api/nvim.py", line 182, in request
    res = self._session.request(name, *args, **kwargs)
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/msgpack_rpc/session.py", line 102, in request
    raise self.error_wrapper(err)
pynvim.api.common.NvimError: Vim:E117: Unknown function: nvim_buf_get_extmarks

Include description of the observed behaviour, including actual output, screenshots, etc. image

Diagnostic data

Output of vim --version

:version                                                                                                                                                                             
NVIM v0.4.3
Build type: Release
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -g -O2 -fdebug-prefix-map=/build/neovim-gOb7vg/neovim-0.4.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=1 -DDISABLE_LOG
-Wdate-time -D_FORTIFY_SOURCE=1 -O2 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplic
it-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/build/neovim-gO
b7vg/neovim-0.4.3/build/config -I/build/neovim-gOb7vg/neovim-0.4.3/src -I/usr/include -I/usr/include/lua5.1 -I/build/neovim-gOb7vg/neovim-0.4.3/build/src/nvim/auto -I/build/neovim-gOb7vg/neov
im-0.4.3/build/include
Compiled by team+vim@tracker.debian.org

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Output of YcmDebugInfo

Printing YouCompleteMe debug information...                                                                                                                                          
-- Resolve completions: Up front
-- Client logfile: /tmp/ycm_094d7dl7.log
-- Server Python interpreter: /home/manas/anaconda3/bin/python
-- Server Python version: 3.8.12
-- Server has Clang support compiled in: True
-- Clang version: clang version 12.0.0
-- Extra configuration file found and loaded
-- Extra configuration path: /home/manas/.config/nvim/ycm_global_extra_conf.py
-- Server running at: http://127.0.0.1:48139
-- Server process ID: 135390
-- Server logfiles:
--   /tmp/ycmd_48139_stdout_avs263qt.log
--   /tmp/ycmd_48139_stderr_3ggpksg5.log

Output of YcmDiags

Forcing compilation, this will block Vim until done.                                                                                                                                 
Error detected while processing function <SNR>158_ShowDiagnostics[1]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 3 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/youcompleteme.py", line 822, in ShowDiagnostics
    if not self.ForceCompileAndDiagnostics():
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/youcompleteme.py", line 816, in ForceCompileAndDiagnostics
    self.HandleFileParseRequest( block = True )
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/youcompleteme.py", line 682, in HandleFileParseRequest
    current_buffer.UpdateDiagnostics( block or not async_diags )
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/buffer.py", line 73, in UpdateDiagnostics
    self.UpdateWithNewDiagnostics( self._parse_request.Response(), False )
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/buffer.py", line 83, in UpdateWithNewDiagnostics
    self._diag_interface.UpdateWithNewDiagnostics( diagnostics )
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/diagnostic_interface.py", line 67, in UpdateWithNewDiagnostics
    self.RefreshDiagnosticsUI()
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/diagnostic_interface.py", line 75, in RefreshDiagnosticsUI
    self._UpdateSigns()
  File "/home/manas/.config/nvim/plugged/YouCompleteMe/python/ycm/diagnostic_interface.py", line 181, in _UpdateSigns
    vim.eval( f'sign_placelist( { signs_to_place } )' )
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/plugin/script_host.py", line 205, in eval
    obj = self.request("vim_eval", expr)
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/api/nvim.py", line 182, in request
    res = self._session.request(name, *args, **kwargs)
  File "/home/manas/anaconda3/lib/python3.8/site-packages/pynvim/msgpack_rpc/session.py", line 102, in request
    raise self.error_wrapper(err)
pynvim.api.common.NvimError: Vim:E117: Unknown function: sign_placelist

Output of git rev-parse HEAD in YouCompleteMe installation directory

69430d7ee6f204e0148102ba9c1b9b31a6315cf8

Contents of YCM, ycmd and completion engine logfiles

Reproduce the issue with vim -Nu /path/to/YCM/vimrc_ycm_minimal, which enabled debug logging and other useful diagnostics. Include a link to a gist containing all of the log files listed by :YcmToggleLogs.

Github Gist

OS version, distribution, etc.

Include system information here.

OS: Ubuntu 20.04.3 LTS x86_64
Kernel: 5.11.0-37-generic
Shell: zsh 5.8
WM: i3

Output of build/install commands

Include link to a gist containing the invocation and entire output of install.py if reporting an installation issue.

Github Gist

❯ ./install.py --clang-completer --java-completer --go-completer --rust-completer --ts-completer --tern-completer                   
Searching Python 3.8 libraries...
Found Python library: /home/manas/anaconda3/lib/libpython3.8.so
Found Python headers folder: /home/manas/anaconda3/include/python3.8
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python3: /home/manas/anaconda3/bin/python3 (found suitable version "3.8.12", minimum required is "3.6...3.10") found components: Interpreter Development 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Using libclang archive: /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/cpp/../clang_archives/libclang-12.0.0-x86_64-unknown-linux-gnu.tar.bz2
-- Using libclang to provide semantic completion for C/C++/ObjC
-- Using external libclang: /tmp/ycm_build_sw8grk_v/lib/libclang.so.12
-- Using Abseil hash tables
-- NOT using clang-tidy for static analysis.
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/ycm_build_sw8grk_v
Scanning dependencies of target absl_exponential_biased
Scanning dependencies of target absl_spinlock_wait
Scanning dependencies of target absl_time_zone
Scanning dependencies of target absl_int128
Scanning dependencies of target absl_log_severity
Scanning dependencies of target absl_civil_time
[  0%] Building CXX object absl/absl/base/CMakeFiles/absl_spinlock_wait.dir/internal/spinlock_wait.cc.o
[  0%] Building CXX object absl/absl/base/CMakeFiles/absl_exponential_biased.dir/internal/exponential_biased.cc.o
[  0%] Building CXX object absl/absl/numeric/CMakeFiles/absl_int128.dir/int128.cc.o
[  1%] Building CXX object absl/absl/time/CMakeFiles/absl_time_zone.dir/internal/cctz/src/time_zone_format.cc.o
[  1%] Building CXX object absl/absl/time/CMakeFiles/absl_civil_time.dir/internal/cctz/src/civil_time_detail.cc.o
[  1%] Building CXX object absl/absl/base/CMakeFiles/absl_log_severity.dir/log_severity.cc.o
[  3%] Building CXX object absl/absl/time/CMakeFiles/absl_time_zone.dir/internal/cctz/src/time_zone_if.cc.o
[  4%] Building CXX object absl/absl/time/CMakeFiles/absl_time_zone.dir/internal/cctz/src/time_zone_impl.cc.o
[  6%] Building CXX object absl/absl/time/CMakeFiles/absl_time_zone.dir/internal/cctz/src/time_zone_libc.cc.o
[  6%] Building CXX object absl/absl/time/CMakeFiles/absl_time_zone.dir/internal/cctz/src/time_zone_lookup.cc.o
[  8%] Building CXX object absl/absl/time/CMakeFiles/absl_time_zone.dir/internal/cctz/src/time_zone_fixed.cc.o
[  8%] Building CXX object absl/absl/time/CMakeFiles/absl_time_zone.dir/internal/cctz/src/time_zone_info.cc.o
[  9%] Linking CXX static library libabsl_spinlock_wait.a
[  9%] Built target absl_spinlock_wait
[ 11%] Building CXX object absl/absl/time/CMakeFiles/absl_time_zone.dir/internal/cctz/src/time_zone_posix.cc.o
[ 11%] Linking CXX static library libabsl_log_severity.a
[ 11%] Built target absl_log_severity
Scanning dependencies of target absl_raw_logging_internal
[ 11%] Building CXX object absl/absl/base/CMakeFiles/absl_raw_logging_internal.dir/internal/raw_logging.cc.o
[ 11%] Building CXX object absl/absl/time/CMakeFiles/absl_time_zone.dir/internal/cctz/src/zone_info_source.cc.o
[ 13%] Linking CXX static library libabsl_civil_time.a
[ 13%] Built target absl_civil_time
[ 14%] Linking CXX static library libabsl_exponential_biased.a
[ 14%] Built target absl_exponential_biased
[ 16%] Linking CXX static library libabsl_int128.a
[ 16%] Built target absl_int128
[ 18%] Linking CXX static library libabsl_raw_logging_internal.a
[ 18%] Built target absl_raw_logging_internal
Scanning dependencies of target absl_bad_optional_access
Scanning dependencies of target absl_debugging_internal
Scanning dependencies of target absl_base
Scanning dependencies of target absl_bad_variant_access
Scanning dependencies of target absl_throw_delegate
[ 18%] Building CXX object absl/absl/types/CMakeFiles/absl_bad_optional_access.dir/bad_optional_access.cc.o
[ 18%] Building CXX object absl/absl/debugging/CMakeFiles/absl_debugging_internal.dir/internal/address_is_readable.cc.o
[ 19%] Building CXX object absl/absl/debugging/CMakeFiles/absl_debugging_internal.dir/internal/elf_mem_image.cc.o
[ 19%] Building CXX object absl/absl/debugging/CMakeFiles/absl_debugging_internal.dir/internal/vdso_support.cc.o
[ 19%] Building CXX object absl/absl/base/CMakeFiles/absl_base.dir/internal/cycleclock.cc.o
[ 19%] Building CXX object absl/absl/types/CMakeFiles/absl_bad_variant_access.dir/bad_variant_access.cc.o
[ 21%] Building CXX object absl/absl/base/CMakeFiles/absl_base.dir/internal/spinlock.cc.o
[ 21%] Building CXX object absl/absl/base/CMakeFiles/absl_base.dir/internal/sysinfo.cc.o
[ 22%] Building CXX object absl/absl/base/CMakeFiles/absl_throw_delegate.dir/internal/throw_delegate.cc.o
[ 24%] Building CXX object absl/absl/base/CMakeFiles/absl_base.dir/internal/thread_identity.cc.o
[ 24%] Building CXX object absl/absl/base/CMakeFiles/absl_base.dir/internal/unscaledcycleclock.cc.o
[ 26%] Linking CXX static library libabsl_bad_optional_access.a
[ 27%] Linking CXX static library libabsl_bad_variant_access.a
[ 27%] Built target absl_bad_optional_access
[ 27%] Built target absl_bad_variant_access
[ 29%] Linking CXX static library libabsl_debugging_internal.a
[ 29%] Built target absl_debugging_internal
Scanning dependencies of target absl_stacktrace
[ 29%] Building CXX object absl/absl/debugging/CMakeFiles/absl_stacktrace.dir/stacktrace.cc.o
[ 29%] Linking CXX static library libabsl_throw_delegate.a
[ 29%] Built target absl_throw_delegate
[ 31%] Linking CXX static library libabsl_base.a
[ 31%] Built target absl_base
Scanning dependencies of target absl_strings_internal
Scanning dependencies of target absl_malloc_internal
Scanning dependencies of target absl_wyhash
Scanning dependencies of target absl_city
Scanning dependencies of target absl_demangle_internal
[ 31%] Building CXX object absl/absl/hash/CMakeFiles/absl_wyhash.dir/internal/wyhash.cc.o
[ 31%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings_internal.dir/internal/utf8.cc.o
[ 31%] Building CXX object absl/absl/hash/CMakeFiles/absl_city.dir/internal/city.cc.o
[ 32%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings_internal.dir/internal/ostringstream.cc.o
[ 32%] Building CXX object absl/absl/debugging/CMakeFiles/absl_demangle_internal.dir/internal/demangle.cc.o
[ 34%] Building CXX object absl/absl/base/CMakeFiles/absl_malloc_internal.dir/internal/low_level_alloc.cc.o
[ 36%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings_internal.dir/internal/escaping.cc.o
[ 37%] Linking CXX static library libabsl_stacktrace.a
[ 37%] Built target absl_stacktrace
[ 39%] Linking CXX static library libabsl_wyhash.a
[ 39%] Built target absl_wyhash
[ 40%] Linking CXX static library libabsl_time_zone.a
[ 40%] Built target absl_time_zone
[ 42%] Linking CXX static library libabsl_city.a
[ 42%] Linking CXX static library libabsl_strings_internal.a
[ 42%] Built target absl_city
[ 42%] Built target absl_strings_internal
Scanning dependencies of target absl_strings
[ 44%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/ascii.cc.o
[ 44%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/charconv.cc.o
[ 44%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/numbers.cc.o
[ 44%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/escaping.cc.o
[ 44%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/internal/charconv_parse.cc.o
[ 45%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/internal/memutil.cc.o
[ 47%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/match.cc.o
[ 49%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/internal/charconv_bigint.cc.o
[ 50%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/str_cat.cc.o
[ 50%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/str_replace.cc.o
[ 50%] Linking CXX static library libabsl_malloc_internal.a
[ 50%] Built target absl_malloc_internal
[ 52%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/str_split.cc.o
[ 54%] Linking CXX static library libabsl_demangle_internal.a
[ 54%] Built target absl_demangle_internal
Scanning dependencies of target absl_graphcycles_internal
[ 55%] Building CXX object absl/absl/synchronization/CMakeFiles/absl_graphcycles_internal.dir/internal/graphcycles.cc.o
[ 55%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/string_view.cc.o
[ 57%] Building CXX object absl/absl/strings/CMakeFiles/absl_strings.dir/substitute.cc.o
[ 57%] Linking CXX static library libabsl_graphcycles_internal.a
[ 57%] Built target absl_graphcycles_internal
[ 57%] Linking CXX static library libabsl_strings.a
[ 57%] Built target absl_strings
Scanning dependencies of target absl_hash
Scanning dependencies of target absl_symbolize
Scanning dependencies of target absl_time
Scanning dependencies of target absl_cord
[ 62%] Building CXX object absl/absl/time/CMakeFiles/absl_time.dir/civil_time.cc.o
[ 62%] Building CXX object absl/absl/time/CMakeFiles/absl_time.dir/duration.cc.o
[ 62%] Building CXX object absl/absl/hash/CMakeFiles/absl_hash.dir/internal/hash.cc.o
[ 62%] Building CXX object absl/absl/time/CMakeFiles/absl_time.dir/clock.cc.o
[ 63%] Building CXX object absl/absl/debugging/CMakeFiles/absl_symbolize.dir/symbolize.cc.o
[ 63%] Building CXX object absl/absl/time/CMakeFiles/absl_time.dir/format.cc.o
[ 65%] Building CXX object absl/absl/time/CMakeFiles/absl_time.dir/time.cc.o
[ 67%] Building CXX object absl/absl/strings/CMakeFiles/absl_cord.dir/internal/cord_internal.cc.o
[ 67%] Building CXX object absl/absl/strings/CMakeFiles/absl_cord.dir/cord.cc.o
[ 67%] Building CXX object absl/absl/strings/CMakeFiles/absl_cord.dir/internal/cord_rep_ring.cc.o
[ 67%] Linking CXX static library libabsl_hash.a
[ 67%] Built target absl_hash
[ 67%] Linking CXX static library libabsl_symbolize.a
[ 67%] Built target absl_symbolize
[ 67%] Linking CXX static library libabsl_time.a
[ 67%] Built target absl_time
Scanning dependencies of target absl_synchronization
[ 68%] Building CXX object absl/absl/synchronization/CMakeFiles/absl_synchronization.dir/internal/waiter.cc.o
[ 70%] Building CXX object absl/absl/synchronization/CMakeFiles/absl_synchronization.dir/barrier.cc.o
[ 73%] Building CXX object absl/absl/synchronization/CMakeFiles/absl_synchronization.dir/internal/per_thread_sem.cc.o
[ 73%] Building CXX object absl/absl/synchronization/CMakeFiles/absl_synchronization.dir/blocking_counter.cc.o
[ 73%] Building CXX object absl/absl/synchronization/CMakeFiles/absl_synchronization.dir/internal/create_thread_identity.cc.o
[ 73%] Building CXX object absl/absl/synchronization/CMakeFiles/absl_synchronization.dir/mutex.cc.o
[ 73%] Building CXX object absl/absl/synchronization/CMakeFiles/absl_synchronization.dir/notification.cc.o
[ 75%] Linking CXX static library libabsl_cord.a
[ 75%] Built target absl_cord
[ 75%] Linking CXX static library libabsl_synchronization.a
[ 75%] Built target absl_synchronization
Scanning dependencies of target absl_hashtablez_sampler
[ 75%] Building CXX object absl/absl/container/CMakeFiles/absl_hashtablez_sampler.dir/internal/hashtablez_sampler_force_weak_definition.cc.o
[ 77%] Building CXX object absl/absl/container/CMakeFiles/absl_hashtablez_sampler.dir/internal/hashtablez_sampler.cc.o
[ 78%] Linking CXX static library libabsl_hashtablez_sampler.a
[ 78%] Built target absl_hashtablez_sampler
Scanning dependencies of target absl_raw_hash_set
[ 78%] Building CXX object absl/absl/container/CMakeFiles/absl_raw_hash_set.dir/internal/raw_hash_set.cc.o
[ 80%] Linking CXX static library libabsl_raw_hash_set.a
[ 80%] Built target absl_raw_hash_set
Scanning dependencies of target ycm_core
[ 81%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Character.cpp.o
[ 81%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Candidate.cpp.o
[ 81%] Building CXX object ycm/CMakeFiles/ycm_core.dir/CodePoint.cpp.o
[ 81%] Building CXX object ycm/CMakeFiles/ycm_core.dir/IdentifierDatabase.cpp.o
[ 83%] Building CXX object ycm/CMakeFiles/ycm_core.dir/IdentifierUtils.cpp.o
[ 85%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Result.cpp.o
[ 85%] Building CXX object ycm/CMakeFiles/ycm_core.dir/IdentifierCompleter.cpp.o
[ 86%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Repository.cpp.o
[ 86%] Building CXX object ycm/CMakeFiles/ycm_core.dir/PythonSupport.cpp.o
[ 86%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Word.cpp.o
[ 88%] Building CXX object ycm/CMakeFiles/ycm_core.dir/Utils.cpp.o
[ 90%] Building CXX object ycm/CMakeFiles/ycm_core.dir/versioning.cpp.o
[ 90%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ycm_core.cpp.o
[ 91%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/ClangCompleter.cpp.o
[ 91%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/ClangHelpers.cpp.o
[ 93%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/ClangUtils.cpp.o
[ 93%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/CompilationDatabase.cpp.o
[ 95%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/CompletionData.cpp.o
[ 95%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/Documentation.cpp.o
[ 96%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/Range.cpp.o
[ 96%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/TranslationUnit.cpp.o
[ 98%] Building CXX object ycm/CMakeFiles/ycm_core.dir/ClangCompleter/TranslationUnitStore.cpp.o
[100%] Linking CXX shared library /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/ycm_core.cpython-38-x86_64-linux-gnu.so
[100%] Built target ycm_core
running build
running build_py
creating /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build
creating /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/regex
copying regex_3/__init__.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/regex
copying regex_3/regex.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/regex
copying regex_3/_regex_core.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/regex
copying regex_3/test_regex.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/regex
running build_ext
building 'regex._regex' extension
creating /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/3
creating /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/3/temp.linux-x86_64-3.8
creating /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/3/temp.linux-x86_64-3.8/regex_3
gcc -pthread -B /home/manas/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/manas/anaconda3/include/python3.8 -c regex_3/_regex.c -o /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/3/temp.linux-x86_64-3.8/regex_3/_regex.o
gcc -pthread -B /home/manas/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/manas/anaconda3/include/python3.8 -c regex_3/_regex_unicode.c -o /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/3/temp.linux-x86_64-3.8/regex_3/_regex_unicode.o
gcc -pthread -shared -B /home/manas/anaconda3/compiler_compat -L/home/manas/anaconda3/lib -Wl,-rpath=/home/manas/anaconda3/lib -Wl,--no-as-needed -Wl,--sysroot=/ /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/3/temp.linux-x86_64-3.8/regex_3/_regex.o /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/3/temp.linux-x86_64-3.8/regex_3/_regex_unicode.o -o /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/regex-build/regex/_regex.cpython-38-x86_64-linux-gnu.so
running build
running build_py
creating /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3
creating /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog
copying src/watchdog/version.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog
copying src/watchdog/events.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog
copying src/watchdog/__init__.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog
copying src/watchdog/watchmedo.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog
creating /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/tricks
copying src/watchdog/tricks/__init__.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/tricks
creating /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/utils
copying src/watchdog/utils/delayed_queue.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/utils
copying src/watchdog/utils/platform.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/utils
copying src/watchdog/utils/echo.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/utils
copying src/watchdog/utils/patterns.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/utils
copying src/watchdog/utils/__init__.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/utils
copying src/watchdog/utils/dirsnapshot.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/utils
copying src/watchdog/utils/bricks.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/utils
creating /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/winapi.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/api.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/fsevents.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/inotify.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/inotify_c.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/inotify_buffer.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/__init__.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/kqueue.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/polling.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/fsevents2.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
copying src/watchdog/observers/read_directory_changes.py -> /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/watchdog_deps/watchdog/build/lib3/watchdog/observers
running egg_info
writing src/watchdog.egg-info/PKG-INFO
writing dependency_links to src/watchdog.egg-info/dependency_links.txt
writing entry points to src/watchdog.egg-info/entry_points.txt
writing requirements to src/watchdog.egg-info/requires.txt
writing top-level names to src/watchdog.egg-info/top_level.txt
reading manifest file 'src/watchdog.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.h' under directory 'src'
adding license file 'LICENSE'
adding license file 'COPYING'
adding license file 'AUTHORS'
writing manifest file 'src/watchdog.egg-info/SOURCES.txt'

up to date, audited 29 packages in 1s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities
Using cached jdt.ls: /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/eclipse.jdt.ls/target/cache/jdt-language-server-0.68.0-202101202016.tar.gz
Extracting jdt.ls to /home/manas/.config/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/eclipse.jdt.ls/target/repository...
Done installing jdt.ls

up to date, audited 2 packages in 1s

found 0 vulnerabilities
puremourning commented 3 years ago

You need neovim 0.5, per the documentation.

https://github.com/ycm-core/YouCompleteMe#note-minimum-requirements-have-changed

puremourning commented 3 years ago

or, vim 8.2, of course.

pnchinmay commented 3 years ago

Thanks @puremourning for your kind help Got it working with neovim snap package Unfortunately, neovim hasn't been updated in ubuntu repo. Will have to wait for the latest rollout