jerrymarino / swiftyswiftvim Goto Github PK
View Code? Open in Web Editor NEWSwifty Swift Vim is a semantic editor backend for Vim and YouCompleteMe
Swifty Swift Vim is a semantic editor backend for Vim and YouCompleteMe
Adding large assets like this into the repo consumes more bandwidth for people cloning the repo. Remove this file from the repo and git.
It could be valueable to get feedback from the swift community around this project and overall support in Vim.
Consider:
I'm attempting to test this out on our Swift project. I've generated a compile_commands.json
, and followed the installation instructions using the branch from the readme. Then when I attempt to fetch completions the first time, http_server crashes with this log:
Path: /Users/USER/*/http_server
Identifier: http_server
Version: 0
Code Type: X86-64 (Native)
Parent Process: Python [54283]
Responsible: http_server [54287]
User ID: 502
Date/Time: 2017-06-03 10:03:56.229 -0700
OS Version: Mac OS X 10.12.4 (16E195)
Report Version: 12
Anonymous UUID: 96CAE58E-5EA4-D6EE-6694-D2B72E4DD9E3
Sleep/Wake UUID: 6EC70304-C7B0-4E69-A0B1-05245D1784CE
Time Awake Since Boot: 95000 seconds
Time Since Wake: 4000 seconds
System Integrity Protection: disabled
Crashed Thread: 7 Dispatch queue: com.apple.root.user-initiated-qos
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]
VM Regions Near 0:
-->
__TEXT 00000001015ef000-00000001016cb000 [ 880K] r-x/rwx SM=COW /Users/USER/*
Thread 0:
0 libsystem_kernel.dylib 0x00007fffc8057bf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fffc814386e _pthread_cond_wait + 712
2 http_server 0x0000000101677ba4 void boost::asio::detail::posix_event::wait<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> >(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&) + 148
3 http_server 0x0000000101677069 boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) + 601
4 http_server 0x0000000101676c4a boost::asio::detail::task_io_service::run(boost::system::error_code&) + 378
5 http_server 0x0000000101676ab1 boost::asio::io_service::run() + 49
6 http_server 0x0000000101676a6c ssvim::http::SemanticHTTPServer::SemanticHTTPServer(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, ssvim::http::ServiceContext)::'lambda'()::operator()() const + 28
7 http_server 0x00000001016767b9 std::__1::__thread_proxy<std::__1::tuple<ssvim::http::SemanticHTTPServer::SemanticHTTPServer(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, ssvim::http::ServiceContext)::'lambda'()> >(void*, void*) + 393
8 libsystem_pthread.dylib 0x00007fffc81429af _pthread_body + 180
9 libsystem_pthread.dylib 0x00007fffc81428fb _pthread_start + 286
10 libsystem_pthread.dylib 0x00007fffc8142101 thread_start + 13
Thread 1:
0 libsystem_kernel.dylib 0x00007fffc8058d96 kevent + 10
1 http_server 0x0000000101677566 boost::asio::detail::kqueue_reactor::run(bool, boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>&) + 294
2 http_server 0x0000000101676f65 boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) + 341
3 http_server 0x0000000101676c4a boost::asio::detail::task_io_service::run(boost::system::error_code&) + 378
4 http_server 0x0000000101676ab1 boost::asio::io_service::run() + 49
5 http_server 0x0000000101676a6c ssvim::http::SemanticHTTPServer::SemanticHTTPServer(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, ssvim::http::ServiceContext)::'lambda'()::operator()() const + 28
6 http_server 0x00000001016767b9 std::__1::__thread_proxy<std::__1::tuple<ssvim::http::SemanticHTTPServer::SemanticHTTPServer(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, ssvim::http::ServiceContext)::'lambda'()> >(void*, void*) + 393
7 libsystem_pthread.dylib 0x00007fffc81429af _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fffc81428fb _pthread_start + 286
9 libsystem_pthread.dylib 0x00007fffc8142101 thread_start + 13
Thread 2:
0 libsystem_kernel.dylib 0x00007fffc8057bf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fffc814386e _pthread_cond_wait + 712
2 http_server 0x0000000101677ba4 void boost::asio::detail::posix_event::wait<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> >(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&) + 148
3 http_server 0x0000000101677069 boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) + 601
4 http_server 0x0000000101676c4a boost::asio::detail::task_io_service::run(boost::system::error_code&) + 378
5 http_server 0x0000000101676ab1 boost::asio::io_service::run() + 49
6 http_server 0x0000000101676a6c ssvim::http::SemanticHTTPServer::SemanticHTTPServer(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, ssvim::http::ServiceContext)::'lambda'()::operator()() const + 28
7 http_server 0x00000001016767b9 std::__1::__thread_proxy<std::__1::tuple<ssvim::http::SemanticHTTPServer::SemanticHTTPServer(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, ssvim::http::ServiceContext)::'lambda'()> >(void*, void*) + 393
8 libsystem_pthread.dylib 0x00007fffc81429af _pthread_body + 180
9 libsystem_pthread.dylib 0x00007fffc81428fb _pthread_start + 286
10 libsystem_pthread.dylib 0x00007fffc8142101 thread_start + 13
Thread 3:
0 libsystem_kernel.dylib 0x00007fffc8057bf2 __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fffc814386e _pthread_cond_wait + 712
2 http_server 0x0000000101677ba4 void boost::asio::detail::posix_event::wait<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> >(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&) + 148
3 http_server 0x0000000101677069 boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) + 601
4 http_server 0x0000000101676c4a boost::asio::detail::task_io_service::run(boost::system::error_code&) + 378
5 http_server 0x0000000101676ab1 boost::asio::io_service::run() + 49
6 http_server 0x0000000101676a6c ssvim::http::SemanticHTTPServer::SemanticHTTPServer(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, ssvim::http::ServiceContext)::'lambda'()::operator()() const + 28
7 http_server 0x00000001016767b9 std::__1::__thread_proxy<std::__1::tuple<ssvim::http::SemanticHTTPServer::SemanticHTTPServer(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, ssvim::http::ServiceContext)::'lambda'()> >(void*, void*) + 393
8 libsystem_pthread.dylib 0x00007fffc81429af _pthread_body + 180
9 libsystem_pthread.dylib 0x00007fffc81428fb _pthread_start + 286
10 libsystem_pthread.dylib 0x00007fffc8142101 thread_start + 13
Thread 4:
0 libsystem_kernel.dylib 0x00007fffc805844e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fffc8142695 _pthread_wqthread + 1426
2 libsystem_pthread.dylib 0x00007fffc81420f1 start_wqthread + 13
Thread 5:: Dispatch queue: com.apple.root.default-qos.overcommit
0 libsystem_kernel.dylib 0x00007fffc80581e6 __sigsuspend_nocancel + 10
1 libdispatch.dylib 0x00007fffc7f01264 _dispatch_sigsuspend + 21
2 libdispatch.dylib 0x00007fffc7f0124f _dispatch_sig_thread + 41
Thread 6:
0 libsystem_kernel.dylib 0x00007fffc805844e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fffc8142502 _pthread_wqthread + 1023
2 libsystem_pthread.dylib 0x00007fffc81420f1 start_wqthread + 13
Thread 7 Crashed:: Dispatch queue: com.apple.root.user-initiated-qos
0 libsystem_c.dylib 0x00007fffc7f5fb52 strlen + 18
1 http_server 0x000000010160d8c5 std::__1::char_traits<char>::length(char const*) + 21
2 http_server 0x000000010165feac ssvim::SwiftCompleter::CandidatesForLocationInFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, std::__1::vector<ssvim::UnsavedFile, std::__1::allocator<ssvim::UnsavedFile> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 652
3 http_server 0x000000010164d1f6 ssvim::http::makeCompletionsEndpoint()::$_2::operator()(std::__1::shared_ptr<ssvim::http::Session>) const + 3030
4 http_server 0x000000010164c5eb void std::__1::__invoke_void_return_wrapper<void>::__call<ssvim::http::makeCompletionsEndpoint()::$_2&, std::__1::shared_ptr<ssvim::http::Session> >(ssvim::http::makeCompletionsEndpoint()::$_2&&&, std::__1::shared_ptr<ssvim::http::Session>&&) + 139
5 http_server 0x000000010164c4a4 std::__1::__function::__func<ssvim::http::makeCompletionsEndpoint()::$_2, std::__1::allocator<ssvim::http::makeCompletionsEndpoint()::$_2>, void (std::__1::shared_ptr<ssvim::http::Session>)>::operator()(std::__1::shared_ptr<ssvim::http::Session>&&) + 68
6 http_server 0x00000001015f2871 std::__1::function<void (std::__1::shared_ptr<ssvim::http::Session>)>::operator()(std::__1::shared_ptr<ssvim::http::Session>) const + 145
7 http_server 0x00000001015f276f ___ZN5ssvim4http12EndpointImpl13handleRequestENSt3__110shared_ptrINS0_7SessionEEE_block_invoke + 239
8 libdispatch.dylib 0x00007fffc7efc524 _dispatch_call_block_and_release + 12
9 libdispatch.dylib 0x00007fffc7ef38fc _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fffc7ef586e _dispatch_root_queue_drain + 917
11 libdispatch.dylib 0x00007fffc7ef548c _dispatch_worker_thread3 + 99
12 libsystem_pthread.dylib 0x00007fffc8142616 _pthread_wqthread + 1299
13 libsystem_pthread.dylib 0x00007fffc81420f1 start_wqthread + 13
Thread 7 crashed with X86 Thread State (64-bit):
rax: 0x000070000f942638 rbx: 0x00007fbbae504d60 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x00007fbbb0000000 rbp: 0x000070000f942120 rsp: 0x000070000f942120
r8: 0x0000000000000000 r9: 0x000000000000803b r10: 0x0000000000000000 r11: 0x0000000000000a00
r12: 0x00007fffd0e0b270 r13: 0x0000000008000000 r14: 0x00007fffd0e0b2a0 r15: 0x00007fffd0e0b240
rip: 0x00007fffc7f5fb52 rfl: 0x0000000000010246 cr2: 0x0000000000000000
Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14
Binary Images:
0x1015ef000 - 0x1016caff3 +http_server (0) <85C2FF68-C3C9-30CF-AB1D-F06DBB5FD17E> /Users/USER/*/http_server
0x101882000 - 0x1018c0ff7 com.apple.sourcekitd (1.0 - 802.0.53) <300D79B2-C2B2-3EE0-9596-599405A1C1CC> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/sourcekitd.framework/Versions/A/sourcekitd
0x10e5ca000 - 0x10e607dc7 dyld (433.5) <8239D0D7-66F6-3C44-A77F-586F74525DA3> /usr/lib/dyld
0x7fffc6981000 - 0x7fffc6982ffb libSystem.B.dylib (1238.51.1) <D9B20A4F-87BC-36CB-9405-80E105666725> /usr/lib/libSystem.B.dylib
0x7fffc6abb000 - 0x7fffc6b11ff7 libc++.1.dylib (307.5) <0B43BB5D-E6EB-3464-8DE9-B41AC8ED9D1C> /usr/lib/libc++.1.dylib
0x7fffc6b12000 - 0x7fffc6b3cfff libc++abi.dylib (307.3) <30199352-88BF-30BD-8CFF-2A4FBE247523> /usr/lib/libc++abi.dylib
0x7fffc7582000 - 0x7fffc75b3ffb libncurses.5.4.dylib (51.30.1) <B03B1BD2-7080-3856-BB02-7E8238320C3B> /usr/lib/libncurses.5.4.dylib
0x7fffc762f000 - 0x7fffc7a01047 libobjc.A.dylib (709) <DC77AA6E-A4E4-326D-8D7F-82D63AA88F99> /usr/lib/libobjc.A.dylib
0x7fffc7e2d000 - 0x7fffc7e3eff3 libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
0x7fffc7e4d000 - 0x7fffc7e51ff7 libcache.dylib (79) <093A4DAB-8385-3D47-A350-E20CB7CCF7BF> /usr/lib/system/libcache.dylib
0x7fffc7e52000 - 0x7fffc7e5cfff libcommonCrypto.dylib (60092.50.5) <BE8380C5-C09D-3F48-A502-AEBB58231067> /usr/lib/system/libcommonCrypto.dylib
0x7fffc7e5d000 - 0x7fffc7e64fff libcompiler_rt.dylib (62) <55D47421-772A-32AB-B529-1A46C2F43B4D> /usr/lib/system/libcompiler_rt.dylib
0x7fffc7e65000 - 0x7fffc7e6dfff libcopyfile.dylib (138) <819BEA3C-DF11-3E3D-A1A1-5A51C5BF1961> /usr/lib/system/libcopyfile.dylib
0x7fffc7e6e000 - 0x7fffc7ef1fdf libcorecrypto.dylib (442.50.19) <8A39EE06-121C-3731-A9E9-35847064B3EE> /usr/lib/system/libcorecrypto.dylib
0x7fffc7ef2000 - 0x7fffc7f23fff libdispatch.dylib (703.50.37) <D122E712-9593-31CA-BAC4-4A54410BF4A0> /usr/lib/system/libdispatch.dylib
0x7fffc7f24000 - 0x7fffc7f29ffb libdyld.dylib (433.5) <129D3B44-FB21-3750-9A68-48B5C3DC632B> /usr/lib/system/libdyld.dylib
0x7fffc7f2a000 - 0x7fffc7f2affb libkeymgr.dylib (28) <7AA011A9-DC21-3488-BF73-3B5B14D1FDD6> /usr/lib/system/libkeymgr.dylib
0x7fffc7f38000 - 0x7fffc7f38fff liblaunch.dylib (972.50.27) <037D198D-9B02-3EF9-A8E9-6F43EA555A9E> /usr/lib/system/liblaunch.dylib
0x7fffc7f39000 - 0x7fffc7f3eff3 libmacho.dylib (898) <17D5D855-F6C3-3B04-B680-E9BF02EF8AED> /usr/lib/system/libmacho.dylib
0x7fffc7f3f000 - 0x7fffc7f41ff3 libquarantine.dylib (85.50.1) <7B32EA91-AB8B-32A4-8E52-9D3ED46CAC8E> /usr/lib/system/libquarantine.dylib
0x7fffc7f42000 - 0x7fffc7f43ffb libremovefile.dylib (45) <38D4CB9C-10CD-30D3-8B7B-A515EC75FE85> /usr/lib/system/libremovefile.dylib
0x7fffc7f44000 - 0x7fffc7f5cff7 libsystem_asl.dylib (349.50.5) <096E4228-3B7C-30A6-8B13-EC909A64499A> /usr/lib/system/libsystem_asl.dylib
0x7fffc7f5d000 - 0x7fffc7f5dff7 libsystem_blocks.dylib (67) <10DC5404-73AB-35B3-A277-A8AFECB476EB> /usr/lib/system/libsystem_blocks.dylib
0x7fffc7f5e000 - 0x7fffc7febfef libsystem_c.dylib (1158.50.2) <B03F8915-1E9B-3C84-AED5-68E2E0031630> /usr/lib/system/libsystem_c.dylib
0x7fffc7fec000 - 0x7fffc7fefffb libsystem_configuration.dylib (888.51.2) <872C8A42-0871-3424-830B-84E587A75D27> /usr/lib/system/libsystem_configuration.dylib
0x7fffc7ff0000 - 0x7fffc7ff3fff libsystem_coreservices.dylib (41.4) <FD0915E8-9C43-3FCB-94E0-33C45DF028CD> /usr/lib/system/libsystem_coreservices.dylib
0x7fffc7ff4000 - 0x7fffc800cfff libsystem_coretls.dylib (121.50.4) <EC6FCF07-DCFB-3A03-9CC9-6DD3709974C6> /usr/lib/system/libsystem_coretls.dylib
0x7fffc800d000 - 0x7fffc8013fff libsystem_dnssd.dylib (765.50.9) <FF02A197-7CEF-3684-8155-E5E225051E44> /usr/lib/system/libsystem_dnssd.dylib
0x7fffc8014000 - 0x7fffc803dff7 libsystem_info.dylib (503.50.4) <611DB84C-BF70-3F92-8702-B9F28A900920> /usr/lib/system/libsystem_info.dylib
0x7fffc803e000 - 0x7fffc8060ff7 libsystem_kernel.dylib (3789.51.2) <FC51D7B0-8292-3F6A-9231-64340B237EB7> /usr/lib/system/libsystem_kernel.dylib
0x7fffc8061000 - 0x7fffc80a8fe7 libsystem_m.dylib (3121.6) <A790C9A5-DD24-32F5-8FD7-33BFCE79AC87> /usr/lib/system/libsystem_m.dylib
0x7fffc80a9000 - 0x7fffc80c7ff7 libsystem_malloc.dylib (116.50.8) <48D1BBA3-914E-3C65-AF70-C33B4A1B5233> /usr/lib/system/libsystem_malloc.dylib
0x7fffc80c8000 - 0x7fffc8121ffb libsystem_network.dylib (856.50.56) <FDE14243-4328-3EFD-824C-C0D314D7B540> /usr/lib/system/libsystem_network.dylib
0x7fffc8122000 - 0x7fffc812bff3 libsystem_networkextension.dylib (563.50.32) <D5381DA9-529C-3588-BE16-A2245DE93423> /usr/lib/system/libsystem_networkextension.dylib
0x7fffc812c000 - 0x7fffc8135ff3 libsystem_notify.dylib (165.20.1) <B8160190-A069-3B3A-BDF6-2AA408221FAE> /usr/lib/system/libsystem_notify.dylib
0x7fffc8136000 - 0x7fffc813efe7 libsystem_platform.dylib (126.50.8) <5940EAB7-84D6-34DC-9B38-111648B2B589> /usr/lib/system/libsystem_platform.dylib
0x7fffc813f000 - 0x7fffc8149ff7 libsystem_pthread.dylib (218.51.1) <62A84A68-431D-3B54-A7B6-31367CCF2884> /usr/lib/system/libsystem_pthread.dylib
0x7fffc814a000 - 0x7fffc814dff7 libsystem_sandbox.dylib (592.50.47) <87A2327D-B7A1-3E4C-A85D-D3D9484003DB> /usr/lib/system/libsystem_sandbox.dylib
0x7fffc814e000 - 0x7fffc814fff3 libsystem_secinit.dylib (24.50.4) <F78B847B-3565-3E4B-98A6-F7AD40392E2D> /usr/lib/system/libsystem_secinit.dylib
0x7fffc8150000 - 0x7fffc8157ffb libsystem_symptoms.dylib (532.50.47) <9CF6A47C-8343-3E85-9C27-A8D98E726A8B> /usr/lib/system/libsystem_symptoms.dylib
0x7fffc8158000 - 0x7fffc816bff7 libsystem_trace.dylib (518.51.1) <E1D540D8-CC88-3901-92BA-FC4B802FE0E8> /usr/lib/system/libsystem_trace.dylib
0x7fffc816c000 - 0x7fffc8171ffb libunwind.dylib (35.3) <3D50D8A8-C460-334D-A519-2DA841102C6B> /usr/lib/system/libunwind.dylib
0x7fffc8172000 - 0x7fffc819bff7 libxpc.dylib (972.50.27) <ABC45890-DA23-3A4A-B50B-1384BD4CBBDF> /usr/lib/system/libxpc.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 76643
thread_create: 0
thread_set_state: 1027
VM Region Summary:
ReadOnly portion of Libraries: Total=125.1M resident=0K(0%) swapped_out_or_unallocated=125.1M(100%)
Writable regions: Total=68.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=68.5M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Dispatch continuations 16.0M 2
Kernel Alloc Once 8K 2
MALLOC 48.2M 10
MALLOC guard page 16K 4
STACK GUARD 32K 9
Stack 4176K 11
Stack Guard 64.0M 3
__DATA 1524K 46
__LINKEDIT 115.8M 5
__TEXT 9432K 44
shared memory 16K 4
=========== ======= =======
TOTAL 258.9M 129
Model: MacBookPro11,2, BootROM MBP112.0138.B25, 4 processors, Intel Core i7, 2.2 GHz, 16 GB, SMC 2.18f15
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533641465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x134), Broadcom BCM43xx 1.0 (7.21.171.124.1a2)
Bluetooth: Version 5.0.4f18, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256F, 251 GB
USB Device: USB 3.0 Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.1
Please let me know if there's any more info I can provide here to help debug.
Add the ability to read in flags. Consider using the ycmd_extra_conf system which allows the user to programmatically generate flags and store them in YCM on requests.
Seeing the following build error when running the bootstrap
script on master:
Configure SwiftySwiftVim..
SSVIM CMAKE START
Building boost
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- coroutine
-- context
-- filesystem
-- program_options
-- system
-- thread
-- chrono
-- date_time
-- atomic
Attempting to find system SourceKit
Using Sourcekit from Xcode install at: /Applications/Xcode.app/Contents/Developer.
SSVIM CMAKE FINISH
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/mks/.icmd/third_party/swiftyswiftvim/build
Build SwiftySwiftVim..
[ 8%] Building CXX object CMakeFiles/integration_tests.dir/APIIntegrationTests.cpp.o
/Users/mks/.icmd/third_party/swiftyswiftvim/APIIntegrationTests.cpp:1:9: fatal error: 'arpa/inet.h' file not found
#import <arpa/inet.h>
^~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/integration_tests.dir/APIIntegrationTests.cpp.o] Error 1
make[1]: *** [CMakeFiles/integration_tests.dir/all] Error 2
make: *** [all] Error 2
[I] ~/.i/t/swiftyswiftvim ((47b34e87…)|✔) $ xcodebuild -version
Xcode 10.2.1
Build version 10E1001
Any ideas?
[100%] Built target ycm_core
Configure SwiftySwiftVim..
-- The C compiler identification is AppleClang 9.0.0.9000035
-- The CXX compiler identification is AppleClang 9.0.0.9000035
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
SSVIM CMAKE START
Building boost
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- coroutine
-- context
-- filesystem
-- program_options
-- system
-- thread
-- chrono
-- date_time
-- atomic
Attempting to find system SourceKit
Using Sourcekit from Xcode install at: /Applications/Xcode.app/Contents/Developer.
SSVIM CMAKE FINISH
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jeff/.vim/plugged/iCompleteMe/third_party/icmd/third_party/swiftyswiftvim/build
Build SwiftySwiftVim..
[ 8%] Building CXX object CMakeFiles/integration_tests.dir/APIIntegrationTests.cpp.o
In file included from /Users/jeff/.vim/plugged/iCompleteMe/third_party/icmd/third_party/swiftyswiftvim/APIIntegrationTests.cpp:3:
In file included from /Users/jeff/.vim/plugged/iCompleteMe/third_party/icmd/third_party/swiftyswiftvim/vendor/Beast/include/beast/core/streambuf.hpp:343:
In file included from /Users/jeff/.vim/plugged/iCompleteMe/third_party/icmd/third_party/swiftyswiftvim/vendor/Beast/include/beast/core/impl/streambuf.ipp:12:
In file included from /Users/jeff/.vim/plugged/iCompleteMe/third_party/icmd/third_party/swiftyswiftvim/vendor/Beast/include/beast/core/detail/write_dynabuf.hpp:13:
In file included from /usr/local/include/boost/lexical_cast.hpp:32:
In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:42:
In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63:
In file included from /usr/local/include/boost/lexical_cast/detail/inf_nan.hpp:34:
In file included from /usr/local/include/boost/math/special_functions/sign.hpp:16:
/usr/local/include/boost/math/tools/config.hpp:14:10: fatal error: 'boost/predef.h' file not found
#include <boost/predef.h>
^~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/integration_tests.dir/APIIntegrationTests.cpp.o] Error 1
make[1]: *** [CMakeFiles/integration_tests.dir/all] Error 2
make: *** [all] Error 2
I've installed boost from brew, seems like the builds are failing.
this is just from running the ./install.py
in /Users/jeff/.vim/plugged/iCompleteMe
compile_commands.json
has records which command
's are compiler invocations for compilation.
For diagnostics and completion, we need to transform these invocations to the correct value for various semantic tasks.
Currently, this ability is implemented in the YCMD
client. Consider moving this to the server to do less work on the client. This makes it easier to write clients.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.