Skip to content

Instantly share code, notes, and snippets.

@laburnumT
Created December 19, 2022 17:18
Show Gist options
  • Save laburnumT/c193f0010dd01867fd4f4bfa3f5f12c3 to your computer and use it in GitHub Desktop.
Save laburnumT/c193f0010dd01867fd4f4bfa3f5f12c3 to your computer and use it in GitHub Desktop.
I[18:08:35.232] clangd version 15.0.1 (https://github.com/ycm-core/llvm 708056a3d8259ce1d9fc0f15676d13b53cc23835)
I[18:08:35.232] Features: linux
I[18:08:35.232] PID: 145882
I[18:08:35.232] Working directory: /home/user/test
I[18:08:35.232] argv[0]: /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clangd/output/bin/clangd
I[18:08:35.232] argv[1]: -header-insertion-decorators=0
I[18:08:35.232] argv[2]: -resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1
I[18:08:35.232] argv[3]: -limit-results=500
I[18:08:35.232] argv[4]: -log=verbose
V[18:08:35.232] User config file is /home/user/.config/clangd/config.yaml
I[18:08:35.232] Starting LSP over stdin/stdout
V[18:08:35.233] <<< {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["plaintext","markdown"]},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":false,"labelSupport":false,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"hover":{"contentFormat":["plaintext","markdown"]},"inlay_hint":{},"semanticTokens":{"augmentSyntaxTokens":true,"formats":["relative"],"requests":{"full":{"delta":false},"range":true},"tokenModifiers":[],"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","member","macro","keyword","modifier","comment","string","number","regexp","operator"]},"signatureHelp":{"signatureInformation":{"documentationFormat":["plaintext","markdown"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true}},"workspace":{"applyEdit":true,"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"workspaceEdit":{"documentChanges":true},"workspaceFolders":true}},"initializationOptions":{},"processId":145868,"rootPath":"/home/user/test","rootUri":"file:///home/user/test","workspaceFolders":[{"name":"lab2","uri":"file:///home/user/test"}]}}
I[18:08:35.233] <-- initialize(1)
I[18:08:35.235] --> reply:initialize(1) 1 ms
V[18:08:35.235] >>> {"id":1,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"inlayHintProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":true,"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"standardTypeHierarchyProvider":true,"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 15.0.1 (https://github.com/ycm-core/llvm 708056a3d8259ce1d9fc0f15676d13b53cc23835) linux x86_64-unknown-linux-gnu"}}}
V[18:08:35.241] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}
I[18:08:35.241] <-- initialized
V[18:08:35.241] <<< {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{}}}
I[18:08:35.241] <-- workspace/didChangeConfiguration
V[18:08:35.242] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"c","text":"\n","uri":"file:///home/user/test/test.c","version":1}}}
I[18:08:35.242] <-- textDocument/didOpen
I[18:08:35.244] Failed to find compilation database for /home/user/test/test.c
I[18:08:35.244] ASTWorker building file /home/user/test/test.c version 1 with command clangd fallback
[/home/user/test]
/usr/bin/clang -resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -- /home/user/test/test.c
V[18:08:35.248] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name test.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -fcoverage-compilation-dir=/home/user/test -resource-dir /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -internal-isystem /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/home/user/test -ferror-limit 19 -fgnuc-version=4.2.1 -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c /home/user/test/test.c
V[18:08:35.248] Building first preamble for /home/user/test/test.c version 1
V[18:08:35.272] indexed preamble AST for /home/user/test/test.c version 1:
symbol slab: 0 symbols, 120 bytes
ref slab: 0 symbols, 0 refs, 128 bytes
relations slab: 0 relations, 24 bytes
V[18:08:35.273] Built preamble of size 218652 for file /home/user/test/test.c version 1 in 0.02 seconds
V[18:08:35.285] indexed file AST for /home/user/test/test.c version 1:
symbol slab: 0 symbols, 120 bytes
ref slab: 0 symbols, 0 refs, 128 bytes
relations slab: 0 relations, 24 bytes
V[18:08:35.285] Build dynamic index for main-file symbols with estimated memory usage of 248 bytes
I[18:08:35.285] --> textDocument/publishDiagnostics
V[18:08:35.285] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///home/user/test/test.c","version":1}}
V[18:08:40.215] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main(\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":2}}}
I[18:08:40.215] <-- textDocument/didChange
V[18:08:40.217] <<< {"id":2,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":9,"line":0},"textDocument":{"uri":"file:///home/user/test/test.c"}}}
I[18:08:40.217] <-- textDocument/signatureHelp(2)
I[18:08:40.229] --> reply:textDocument/signatureHelp(2) 11 ms
V[18:08:40.229] >>> {"id":2,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}
I[18:08:40.266] Failed to find compilation database for /home/user/test/test.c
I[18:08:40.266] ASTWorker building file /home/user/test/test.c version 2 with command clangd fallback
[/home/user/test]
/usr/bin/clang -resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -- /home/user/test/test.c
V[18:08:40.269] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name test.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -fcoverage-compilation-dir=/home/user/test -resource-dir /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -internal-isystem /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/home/user/test -ferror-limit 19 -fgnuc-version=4.2.1 -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c /home/user/test/test.c
V[18:08:40.269] Rebuilding invalidated preamble for /home/user/test/test.c version 2 (previous was version 1)
V[18:08:40.286] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":3}}}
I[18:08:40.286] <-- textDocument/didChange
V[18:08:40.287] <<< {"id":3,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":10,"line":0},"textDocument":{"uri":"file:///home/user/test/test.c"}}}
I[18:08:40.287] <-- textDocument/signatureHelp(3)
V[18:08:40.289] indexed preamble AST for /home/user/test/test.c version 2:
symbol slab: 0 symbols, 120 bytes
ref slab: 0 symbols, 0 refs, 128 bytes
relations slab: 0 relations, 24 bytes
V[18:08:40.290] Built preamble of size 218652 for file /home/user/test/test.c version 2 in 0.02 seconds
V[18:08:40.298] Ignored diagnostic. /home/user/test/test.c:1:11:expected function body after function declarator
I[18:08:40.298] --> reply:textDocument/signatureHelp(3) 11 ms
V[18:08:40.298] >>> {"id":3,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}
V[18:08:40.303] indexed file AST for /home/user/test/test.c version 2:
symbol slab: 0 symbols, 120 bytes
ref slab: 0 symbols, 0 refs, 128 bytes
relations slab: 0 relations, 24 bytes
V[18:08:40.303] Build dynamic index for main-file symbols with estimated memory usage of 248 bytes
I[18:08:40.303] --> textDocument/publishDiagnostics
V[18:08:40.303] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"missing_param","message":"Expected parameter declarator","range":{"end":{"character":0,"line":1},"start":{"character":0,"line":1}},"severity":1,"source":"clang"},{"code":"expected","message":"Expected ')'\n\ntest.c:1:9: note: to match this '('","range":{"end":{"character":0,"line":1},"start":{"character":0,"line":1}},"severity":1,"source":"clang"},{"message":"To match this '('\n\ntest.c:2:1: error: expected ')'","range":{"end":{"character":9,"line":0},"start":{"character":8,"line":0}},"severity":3},{"code":"expected_fn_body","message":"Expected function body after function declarator","range":{"end":{"character":0,"line":1},"start":{"character":0,"line":1}},"severity":1,"source":"clang"}],"uri":"file:///home/user/test/test.c","version":2}}
I[18:08:40.336] Failed to find compilation database for /home/user/test/test.c
I[18:08:40.337] ASTWorker building file /home/user/test/test.c version 3 with command clangd fallback
[/home/user/test]
/usr/bin/clang -resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -- /home/user/test/test.c
V[18:08:40.340] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name test.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -fcoverage-compilation-dir=/home/user/test -resource-dir /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -internal-isystem /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/home/user/test -ferror-limit 19 -fgnuc-version=4.2.1 -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c /home/user/test/test.c
V[18:08:40.340] Reusing preamble version 2 for version 3 of /home/user/test/test.c
V[18:08:40.351] indexed file AST for /home/user/test/test.c version 3:
symbol slab: 0 symbols, 120 bytes
ref slab: 0 symbols, 0 refs, 128 bytes
relations slab: 0 relations, 24 bytes
V[18:08:40.351] Build dynamic index for main-file symbols with estimated memory usage of 248 bytes
I[18:08:40.351] --> textDocument/publishDiagnostics
V[18:08:40.352] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"expected_fn_body","message":"Expected function body after function declarator","range":{"end":{"character":0,"line":1},"start":{"character":0,"line":1}},"severity":1,"source":"clang"}],"uri":"file:///home/user/test/test.c","version":3}}
V[18:08:41.461] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\n{\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":4}}}
I[18:08:41.461] <-- textDocument/didChange
V[18:08:41.461] <<< {"id":4,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":1,"line":1},"textDocument":{"uri":"file:///home/user/test/test.c"}}}
I[18:08:41.462] <-- textDocument/signatureHelp(4)
I[18:08:41.471] --> reply:textDocument/signatureHelp(4) 9 ms
V[18:08:41.472] >>> {"id":4,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}
I[18:08:41.512] Failed to find compilation database for /home/user/test/test.c
I[18:08:41.512] ASTWorker building file /home/user/test/test.c version 4 with command clangd fallback
[/home/user/test]
/usr/bin/clang -resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -- /home/user/test/test.c
V[18:08:41.515] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name test.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -fcoverage-compilation-dir=/home/user/test -resource-dir /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -internal-isystem /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/home/user/test -ferror-limit 19 -fgnuc-version=4.2.1 -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c /home/user/test/test.c
V[18:08:41.516] Reusing preamble version 2 for version 4 of /home/user/test/test.c
V[18:08:41.528] indexed file AST for /home/user/test/test.c version 4:
symbol slab: 1 symbols, 4448 bytes
ref slab: 1 symbols, 1 refs, 4248 bytes
relations slab: 0 relations, 24 bytes
V[18:08:41.528] Build dynamic index for main-file symbols with estimated memory usage of 11520 bytes
I[18:08:41.529] --> textDocument/publishDiagnostics
V[18:08:41.529] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"expected","message":"Expected '}'\n\ntest.c:2:1: note: to match this '{'","range":{"end":{"character":0,"line":2},"start":{"character":0,"line":2}},"severity":1,"source":"clang"},{"message":"To match this '{'\n\ntest.c:3:1: error: expected '}'","range":{"end":{"character":1,"line":1},"start":{"character":0,"line":1}},"severity":3}],"uri":"file:///home/user/test/test.c","version":4}}
V[18:08:41.683] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\n{}\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":5}}}
I[18:08:41.683] <-- textDocument/didChange
V[18:08:41.683] <<< {"id":5,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":2,"line":1},"textDocument":{"uri":"file:///home/user/test/test.c"}}}
I[18:08:41.683] <-- textDocument/signatureHelp(5)
I[18:08:41.693] --> reply:textDocument/signatureHelp(5) 10 ms
V[18:08:41.693] >>> {"id":5,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}
I[18:08:41.733] Failed to find compilation database for /home/user/test/test.c
I[18:08:41.734] ASTWorker building file /home/user/test/test.c version 5 with command clangd fallback
[/home/user/test]
/usr/bin/clang -resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -- /home/user/test/test.c
V[18:08:41.736] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name test.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -fcoverage-compilation-dir=/home/user/test -resource-dir /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -internal-isystem /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/home/user/test -ferror-limit 19 -fgnuc-version=4.2.1 -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c /home/user/test/test.c
V[18:08:41.737] Reusing preamble version 2 for version 5 of /home/user/test/test.c
V[18:08:41.748] indexed file AST for /home/user/test/test.c version 5:
symbol slab: 1 symbols, 4448 bytes
ref slab: 1 symbols, 1 refs, 4248 bytes
relations slab: 0 relations, 24 bytes
V[18:08:41.748] Build dynamic index for main-file symbols with estimated memory usage of 11520 bytes
I[18:08:41.748] --> textDocument/publishDiagnostics
V[18:08:41.749] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///home/user/test/test.c","version":5}}
V[18:08:42.428] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\n{\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":6}}}
I[18:08:42.428] <-- textDocument/didChange
V[18:08:42.428] <<< {"id":6,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":1,"line":1},"textDocument":{"uri":"file:///home/user/test/test.c"}}}
I[18:08:42.429] <-- textDocument/signatureHelp(6)
I[18:08:42.440] --> reply:textDocument/signatureHelp(6) 11 ms
V[18:08:42.441] >>> {"id":6,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}
I[18:08:42.478] Failed to find compilation database for /home/user/test/test.c
I[18:08:42.479] ASTWorker building file /home/user/test/test.c version 6 with command clangd fallback
[/home/user/test]
/usr/bin/clang -resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -- /home/user/test/test.c
V[18:08:42.482] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name test.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -fcoverage-compilation-dir=/home/user/test -resource-dir /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -internal-isystem /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/home/user/test -ferror-limit 19 -fgnuc-version=4.2.1 -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c /home/user/test/test.c
V[18:08:42.483] Reusing preamble version 2 for version 6 of /home/user/test/test.c
V[18:08:42.494] indexed file AST for /home/user/test/test.c version 6:
symbol slab: 1 symbols, 4448 bytes
ref slab: 1 symbols, 1 refs, 4248 bytes
relations slab: 0 relations, 24 bytes
V[18:08:42.494] Build dynamic index for main-file symbols with estimated memory usage of 11520 bytes
I[18:08:42.494] --> textDocument/publishDiagnostics
V[18:08:42.494] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"expected","message":"Expected '}'\n\ntest.c:2:1: note: to match this '{'","range":{"end":{"character":0,"line":2},"start":{"character":0,"line":2}},"severity":1,"source":"clang"},{"message":"To match this '{'\n\ntest.c:3:1: error: expected '}'","range":{"end":{"character":1,"line":1},"start":{"character":0,"line":1}},"severity":3}],"uri":"file:///home/user/test/test.c","version":6}}
V[18:08:43.770] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\n{\n}\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":7}}}
I[18:08:43.770] <-- textDocument/didChange
V[18:08:43.770] <<< {"id":7,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":1,"line":2},"textDocument":{"uri":"file:///home/user/test/test.c"}}}
I[18:08:43.771] <-- textDocument/signatureHelp(7)
I[18:08:43.781] --> reply:textDocument/signatureHelp(7) 10 ms
V[18:08:43.781] >>> {"id":7,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}
I[18:08:43.820] Failed to find compilation database for /home/user/test/test.c
I[18:08:43.821] ASTWorker building file /home/user/test/test.c version 7 with command clangd fallback
[/home/user/test]
/usr/bin/clang -resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -- /home/user/test/test.c
V[18:08:43.824] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name test.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -fcoverage-compilation-dir=/home/user/test -resource-dir /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -internal-isystem /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/home/user/test -ferror-limit 19 -fgnuc-version=4.2.1 -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c /home/user/test/test.c
V[18:08:43.824] Reusing preamble version 2 for version 7 of /home/user/test/test.c
V[18:08:43.835] indexed file AST for /home/user/test/test.c version 7:
symbol slab: 1 symbols, 4448 bytes
ref slab: 1 symbols, 1 refs, 4248 bytes
relations slab: 0 relations, 24 bytes
V[18:08:43.835] Build dynamic index for main-file symbols with estimated memory usage of 11520 bytes
I[18:08:43.835] --> textDocument/publishDiagnostics
V[18:08:43.836] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///home/user/test/test.c","version":7}}
V[18:08:48.264] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\n{\n\n}\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":8}}}
I[18:08:48.264] <-- textDocument/didChange
I[18:08:48.315] Failed to find compilation database for /home/user/test/test.c
I[18:08:48.316] ASTWorker building file /home/user/test/test.c version 8 with command clangd fallback
[/home/user/test]
/usr/bin/clang -resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -- /home/user/test/test.c
V[18:08:48.318] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name test.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -fcoverage-compilation-dir=/home/user/test -resource-dir /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -internal-isystem /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/home/user/test -ferror-limit 19 -fgnuc-version=4.2.1 -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c /home/user/test/test.c
V[18:08:48.319] Reusing preamble version 2 for version 8 of /home/user/test/test.c
V[18:08:48.330] indexed file AST for /home/user/test/test.c version 8:
symbol slab: 1 symbols, 4448 bytes
ref slab: 1 symbols, 1 refs, 4248 bytes
relations slab: 0 relations, 24 bytes
V[18:08:48.330] Build dynamic index for main-file symbols with estimated memory usage of 11520 bytes
I[18:08:48.330] --> textDocument/publishDiagnostics
V[18:08:48.330] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///home/user/test/test.c","version":8}}
V[18:08:51.129] <<< {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\n{\n\tf\n}\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":9}}}
I[18:08:51.129] <-- textDocument/didChange
I[18:08:51.180] Failed to find compilation database for /home/user/test/test.c
I[18:08:51.181] ASTWorker building file /home/user/test/test.c version 9 with command clangd fallback
[/home/user/test]
/usr/bin/clang -resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -- /home/user/test/test.c
V[18:08:51.185] Driver produced command: cc1 -cc1 -triple x86_64-unknown-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name test.c -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -fcoverage-compilation-dir=/home/user/test -resource-dir /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1 -internal-isystem /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/home/user/test -ferror-limit 19 -fgnuc-version=4.2.1 -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c /home/user/test/test.c
V[18:08:51.185] Reusing preamble version 2 for version 9 of /home/user/test/test.c
V[18:08:51.202] Trying to fix unresolved name "f" in scopes: []
V[18:08:51.203] indexed file AST for /home/user/test/test.c version 9:
symbol slab: 1 symbols, 4448 bytes
ref slab: 1 symbols, 1 refs, 4248 bytes
relations slab: 0 relations, 24 bytes
V[18:08:51.203] Build dynamic index for main-file symbols with estimated memory usage of 11520 bytes
I[18:08:51.203] --> textDocument/publishDiagnostics
V[18:08:51.203] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"undeclared_var_use","message":"Use of undeclared identifier 'f'","range":{"end":{"character":2,"line":2},"start":{"character":1,"line":2}},"severity":1,"source":"clang"}],"uri":"file:///home/user/test/test.c","version":9}}
2022-12-19 18:08:35,022 - DEBUG - GET b'http://127.0.0.1:34229/ready' (None)
{'content-type': 'application/json', 'x-ycm-hmac': b'/AYD//mOqNyR03Q8zYl9fpbFSGXZClCfU+EWhgixvKU='}
2022-12-19 18:08:35,026 - ERROR - <urlopen error [Errno 111] Connection refused>
2022-12-19 18:08:35,126 - DEBUG - GET b'http://127.0.0.1:34229/ready' (None)
{'content-type': 'application/json', 'x-ycm-hmac': b'/AYD//mOqNyR03Q8zYl9fpbFSGXZClCfU+EWhgixvKU='}
2022-12-19 18:08:35,131 - DEBUG - GET b'http://127.0.0.1:34229/signature_help_available?subserver=c' ({'subserver': 'c'})
{'content-type': 'application/json', 'x-ycm-hmac': b'PgOBjzqRFftI87g/gJtiXEL1nFrqDvPlcr0xAFNomss='}
2022-12-19 18:08:35,133 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'u0zgwzeWavUqwhRR3ihL3/yqyO76/DHvr2aLz4iin9w='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}, "event_name": "BufferVisit"}'
2022-12-19 18:08:35,135 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'dOuy+IvLnuAnViv7DNpqIxpu42g3AzUUwvbQSNfkHXY='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}, "event_name": "FileReadyToParse"}'
2022-12-19 18:08:35,232 - DEBUG - POST b'http://127.0.0.1:34229/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'16i7a4Tu8kSG/0+5nRnmytFA5gpLjI87yd2JiRKkjFc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:35,237 - DEBUG - POST b'http://127.0.0.1:34229/semantic_completion_available'
{'content-type': 'application/json', 'x-ycm-hmac': b'40/CX3mKIMOzUxRo+LIoMmzLeLGwkrX0mrqVrnGN/zo='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}, "filetypes": "c"}'
2022-12-19 18:08:35,349 - DEBUG - POST b'http://127.0.0.1:34229/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'16i7a4Tu8kSG/0+5nRnmytFA5gpLjI87yd2JiRKkjFc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:35,454 - DEBUG - POST b'http://127.0.0.1:34229/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'16i7a4Tu8kSG/0+5nRnmytFA5gpLjI87yd2JiRKkjFc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:36,410 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'4IbsU9zkgHoDhwptAMcrsqB84sOVNU93HwZ7dtFJKvk='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "i\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:36,414 - DEBUG - GET b'http://127.0.0.1:34229/signature_help_available?subserver=c' ({'subserver': 'c'})
{'content-type': 'application/json', 'x-ycm-hmac': b'PgOBjzqRFftI87g/gJtiXEL1nFrqDvPlcr0xAFNomss='}
2022-12-19 18:08:36,500 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'a+tkso85cjljPiZ2ySpZpc5eh2DE8E4OhT+yuMKHp1A='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 3, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "in\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:36,505 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'sD6VssySZduY0/QkSYuveIWhU+Bt/Chke/a04upGBho='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 3, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "in\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:36,600 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'YQmzgWXJl8tBz83V04n9zdb+TEDU4Jr+wcNfDTU5nEk='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 4, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:36,603 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'/v1Ve4YOPBqTDkCqa55WzmD/f4HpFk+UK3MO2mvRvgQ='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 4, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:36,632 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'D0zypEx7QHf652srtTX9u0eaa/RXUZokA6LPMsa/Vxc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 5, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int \\n", "filetypes": ["c"]}}, "event_name": "CurrentIdentifierFinished"}'
2022-12-19 18:08:36,635 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'j6koqFWU+6raBnmaZ1//Z0jCSnSBGb/qImkMXPosfwY='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 5, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int \\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:36,639 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'aO0o5mEnfJhehIU3q0FopgRhrfOGE/ai8of8GtlZK9w='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 5, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int \\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:39,639 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'r+uKqIOgXbOZrIpDQUyv8yKZFbfNGXFK1MuJ6Cyt1JA='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 6, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int m\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:39,642 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'ErIUv5VrqWoFYqPu30ao8lCVxPOF1HDXUzF9xB6dz8g='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 6, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int m\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:39,737 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'a8zQv09pD7EhV7M8dTW2Y1nj1KLdf8LnH3TDUPBxtEw='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 7, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int ma\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:39,741 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'hM9Gu5fXyE64QTBVOR0+O1LeFWlUPEu9Ue3KG2ZdSpk='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 7, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int ma\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:39,863 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'wz7Q7lTp582gQoypGJ3D46HPu38jFfDYPAmfZoFAhcc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 8, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int mai\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:39,867 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'7p91qsnTPoZU1Uz3DKX7P62cf2KjZqfq07S3oscnhZI='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 8, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int mai\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:39,933 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'aGMz7qUmvlZ+zoZreTDJlAaZC1Lhp/WDM1ylhN/ng5g='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 9, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:39,936 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'sMErlsTi78i6evNI64vhAVcYUyDXe3ZoCk0ZLeNFZ/A='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 9, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:40,198 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'MniMk/hL/e+ArgDt+DGRQzAJi8yjUfszl4keOlA3stU='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 10, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main(\\n", "filetypes": ["c"]}}, "event_name": "CurrentIdentifierFinished"}'
2022-12-19 18:08:40,202 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'DoF1dprYQIqYuJ+xLVE0ygp9d6vq1cTaMuOWR6O/zHc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 10, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main(\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:40,207 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'zOQWEf6dH7jRDe7cO6L942gGBVpYRBdpiISDthxgENs='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 10, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main(\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:40,277 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'GKh3tI5aYEFk/cQl8kizmZ3EKl3YiJG0hZ0asaEJO/8='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 11, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:40,281 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'EKZ29CSf2Cm2ABA8xTPqHohcfxNu4bwMVOdm1ruyJMQ='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 11, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:40,402 - DEBUG - POST b'http://127.0.0.1:34229/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'16i7a4Tu8kSG/0+5nRnmytFA5gpLjI87yd2JiRKkjFc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:40,506 - DEBUG - POST b'http://127.0.0.1:34229/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'16i7a4Tu8kSG/0+5nRnmytFA5gpLjI87yd2JiRKkjFc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:40,919 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'xA4dAXoX7/mpgj7sJKEcXUE22Ca2zlNLkUHlSDv8V+w='}
b'{"filepath": "/home/user/test/test.c", "line_num": 2, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n\\t\\n", "filetypes": ["c"]}}, "event_name": "CurrentIdentifierFinished"}'
2022-12-19 18:08:41,455 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'TWs6PcEXrK0i7jiGUYyZgPWh1/R+4WVjoGO3tBheFWg='}
b'{"filepath": "/home/user/test/test.c", "line_num": 2, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:41,458 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'0Tw3Wh7n8oRsOhwRDhA7zoCvH1KWlJs4m5JgPXLQag8='}
b'{"filepath": "/home/user/test/test.c", "line_num": 2, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:41,615 - DEBUG - POST b'http://127.0.0.1:34229/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'16i7a4Tu8kSG/0+5nRnmytFA5gpLjI87yd2JiRKkjFc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:41,674 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'1c5sCvu6z7RsjOLbpeYMxA7yvEzFFYxvEqON6bMoYgQ='}
b'{"filepath": "/home/user/test/test.c", "line_num": 2, "column_num": 3, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{}\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:41,677 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'zBtF1heBRnOzgIf83ZbJHcvQIfIzVXjg5AtNKjV8f1g='}
b'{"filepath": "/home/user/test/test.c", "line_num": 2, "column_num": 3, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{}\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:41,819 - DEBUG - POST b'http://127.0.0.1:34229/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'16i7a4Tu8kSG/0+5nRnmytFA5gpLjI87yd2JiRKkjFc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:42,419 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'TWs6PcEXrK0i7jiGUYyZgPWh1/R+4WVjoGO3tBheFWg='}
b'{"filepath": "/home/user/test/test.c", "line_num": 2, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:42,422 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'0Tw3Wh7n8oRsOhwRDhA7zoCvH1KWlJs4m5JgPXLQag8='}
b'{"filepath": "/home/user/test/test.c", "line_num": 2, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:42,530 - DEBUG - POST b'http://127.0.0.1:34229/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'16i7a4Tu8kSG/0+5nRnmytFA5gpLjI87yd2JiRKkjFc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:43,148 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'l7g3jC5O3aPzGKhgkdPIS2LwjlyQTKJiGvBdL6qvqUY='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n\\t\\n", "filetypes": ["c"]}}, "event_name": "CurrentIdentifierFinished"}'
2022-12-19 18:08:43,760 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'SDe8hyIA7QDCusQai4aMGN7WW7KymuxcGOagiaaUpmQ='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n}\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:43,764 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'B0JBDSPC8q39IjTZ1yiW/dprCaYkzUJIUoFoYz4gIWc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n}\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:43,939 - DEBUG - POST b'http://127.0.0.1:34229/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'16i7a4Tu8kSG/0+5nRnmytFA5gpLjI87yd2JiRKkjFc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:45,392 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'dgfkyS6tWSmxQiwpqNOWUVjZmptp+oGxsJWZQ5PcZJ8='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n}\\n", "filetypes": ["c"]}}, "event_name": "FileReadyToParse"}'
2022-12-19 18:08:45,394 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'AB9jFDm6E8XbaBWIio+n+dcpWBhIAZRvVKuTLRxwQAE='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n}\\n", "filetypes": ["c"]}}, "event_name": "InsertLeave"}'
2022-12-19 18:08:45,727 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'rMeR8BU9w+T1FY6OV1F2zMRrCWLKajfFaYCxV1OrJX4='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n\\t\\n}\\n", "filetypes": ["c"]}}, "event_name": "CurrentIdentifierFinished"}'
2022-12-19 18:08:48,257 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'mCiVTjEnj1VgxwZ3xlPYSbCASh1Ecm+dvI/tmgEBSLY='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n\\n}\\n", "filetypes": ["c"]}}, "event_name": "FileReadyToParse"}'
2022-12-19 18:08:48,259 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'iTDsyiXlx1r+O3F8xj8PVS5qnaMpbaY6y1J7iG1rDXg='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n\\n}\\n", "filetypes": ["c"]}}, "event_name": "InsertLeave"}'
2022-12-19 18:08:48,369 - DEBUG - POST b'http://127.0.0.1:34229/receive_messages'
{'content-type': 'application/json', 'x-ycm-hmac': b'16i7a4Tu8kSG/0+5nRnmytFA5gpLjI87yd2JiRKkjFc='}
b'{"filepath": "/home/user/test/test.c", "line_num": 1, "column_num": 1, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:49,531 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'rMeR8BU9w+T1FY6OV1F2zMRrCWLKajfFaYCxV1OrJX4='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n\\t\\n}\\n", "filetypes": ["c"]}}, "event_name": "CurrentIdentifierFinished"}'
2022-12-19 18:08:51,114 - DEBUG - POST b'http://127.0.0.1:34229/completions'
{'content-type': 'application/json', 'x-ycm-hmac': b'TsccR7+h3LMIXwifjcJJ1fjRaImmACGV62riyclxU6Y='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 3, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n\\tf\\n}\\n", "filetypes": ["c"]}}, "force_semantic": false}'
2022-12-19 18:08:51,116 - DEBUG - POST b'http://127.0.0.1:34229/signature_help'
{'content-type': 'application/json', 'x-ycm-hmac': b'e5fS85YOv1lHZn3ZeNiTtPErfqRu7FR/gg9VlUd5dp8='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 3, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n\\tf\\n}\\n", "filetypes": ["c"]}}, "force_semantic": false, "signature_help_state": "INACTIVE"}'
2022-12-19 18:08:51,122 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'n1i70Sn4QM9ysL4kUiiaJ+Nwd3oiRRAzu0axhiUfxds='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n\\tf\\n}\\n", "filetypes": ["c"]}}, "event_name": "FileReadyToParse"}'
2022-12-19 18:08:51,125 - DEBUG - POST b'http://127.0.0.1:34229/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'mBztWMx4R8Jr/StZUq7YjUPUYCACp7GbqdoGHvI+o/Y='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n\\tf\\n}\\n", "filetypes": ["c"]}}, "event_name": "InsertLeave"}'
2022-12-19 18:08:59,240 - DEBUG - POST b'http://127.0.0.1:34229/debug_info'
{'content-type': 'application/json', 'x-ycm-hmac': b'fzMuKl/4KuqbJK4xUPjlk2EFKuBc5aE+PVH0Wrf6/ik='}
b'{"filepath": "/home/user/test/test.c", "line_num": 3, "column_num": 2, "working_dir": "/home/user/test", "file_data": {"/home/user/test/test.c": {"contents": "int main()\\n{\\n\\tf\\n}\\n", "filetypes": ["c"]}}}'
2022-12-19 18:08:35,043 - DEBUG - No global extra conf, not calling method YcmCorePreload
2022-12-19 18:08:35,077 - INFO - Completion config: 50, detailing -1 candiates
2022-12-19 18:08:35,077 - INFO - Completion config: 50, detailing -1 candiates
2022-12-19 18:08:35,078 - INFO - Completion config: 50, detailing -1 candiates
2022-12-19 18:08:35,078 - INFO - Completion config: 50, detailing -1 candiates
127.0.0.1 - - [19/Dec/2022 18:08:35] "GET /ready HTTP/1.1" 200 4
2022-12-19 18:08:35,135 - DEBUG - Event name: BufferVisit
2022-12-19 18:08:35,137 - DEBUG - Event name: FileReadyToParse
2022-12-19 18:08:35,137 - INFO - Adding buffer identifiers for file: /home/user/test/test.c
2022-12-19 18:08:35,190 - INFO - Clangd executable found at /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clangd/output/bin and up to date
2022-12-19 18:08:35,190 - INFO - Using Clangd from /home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clangd/output/bin/clangd
2022-12-19 18:08:35,190 - INFO - Computed Clangd command: ['/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clangd/output/bin/clangd', '-header-insertion-decorators=0', '-resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1', '-limit-results=500', '-log=verbose']
2022-12-19 18:08:35,191 - INFO - Completion config: 50, detailing -1 candiates
2022-12-19 18:08:35,192 - INFO - Returning cached Clangd command: ['/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clangd/output/bin/clangd', '-header-insertion-decorators=0', '-resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1', '-limit-results=500', '-log=verbose']
127.0.0.1 - - [19/Dec/2022 18:08:35] "GET /signature_help_available?subserver=c HTTP/1.1" 200 23
2022-12-19 18:08:35,196 - INFO - Starting Clangd: ['/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clangd/output/bin/clangd', '-header-insertion-decorators=0', '-resource-dir=/home/user/.vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/15.0.1', '-limit-results=500', '-log=verbose']
127.0.0.1 - - [19/Dec/2022 18:08:35] "POST /event_notification HTTP/1.1" 200 2
2022-12-19 18:08:35,203 - INFO - Clangd started with PID 145882
2022-12-19 18:08:35,204 - DEBUG - TX: Sending message: b'Content-Length: 1881\r\n\r\n{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"completion":{"completionItem":{"documentationFormat":["plaintext","markdown"]},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"documentSymbol":{"hierarchicalDocumentSymbolSupport":false,"labelSupport":false,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"hover":{"contentFormat":["plaintext","markdown"]},"inlay_hint":{},"semanticTokens":{"augmentSyntaxTokens":true,"formats":["relative"],"requests":{"full":{"delta":false},"range":true},"tokenModifiers":[],"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","member","macro","keyword","modifier","comment","string","number","regexp","operator"]},"signatureHelp":{"signatureInformation":{"documentationFormat":["plaintext","markdown"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true}},"workspace":{"applyEdit":true,"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]}},"workspaceEdit":{"documentChanges":true},"workspaceFolders":true}},"initializationOptions":{},"processId":145868,"rootPath":"/home/user/test","rootUri":"file:///home/user/test","workspaceFolders":[{"name":"lab2","uri":"file:///home/user/test"}]}}'
127.0.0.1 - - [19/Dec/2022 18:08:35] "POST /event_notification HTTP/1.1" 200 2
2022-12-19 18:08:35,238 - DEBUG - RX: Received message: b'{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"resolveProvider":false,"triggerCharacters":[".","<",">",":","\\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"hoverProvider":true,"implementationProvider":true,"inlayHintProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":true,"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"standardTypeHierarchyProvider":true,"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 15.0.1 (https://github.com/ycm-core/llvm 708056a3d8259ce1d9fc0f15676d13b53cc23835) linux x86_64-unknown-linux-gnu"}}}'
2022-12-19 18:08:35,238 - INFO - cfamily: Language server does not require resolve request
2022-12-19 18:08:35,238 - INFO - cfamily: Language server requires sync type of Incremental
2022-12-19 18:08:35,239 - DEBUG - cfamily: Server declares trigger characters: ['.', '<', '>', ':', '"', '/', '*']
2022-12-19 18:08:35,239 - DEBUG - cfamily: Server declares signature trigger characters: ['(', ')', '{', '}', '<', '>', ',']
2022-12-19 18:08:35,239 - INFO - cfamily: Using characters for signature triggers: (,),{,},<,>,,
2022-12-19 18:08:35,240 - DEBUG - TX: Sending notification: b'Content-Length: 52\r\n\r\n{"jsonrpc":"2.0","method":"initialized","params":{}}'
2022-12-19 18:08:35,241 - DEBUG - TX: Sending notification: b'Content-Length: 86\r\n\r\n{"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{}}}'
2022-12-19 18:08:35,241 - DEBUG - Refreshing file /home/user/test/test.c: State is Open/action Open
2022-12-19 18:08:35,241 - DEBUG - TX: Sending notification: b'Content-Length: 214\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"c","text":"\\n","uri":"file:///home/user/test/test.c","version":1}}}'
127.0.0.1 - - [19/Dec/2022 18:08:35] "POST /receive_messages HTTP/1.1" 200 4
127.0.0.1 - - [19/Dec/2022 18:08:35] "POST /semantic_completion_available HTTP/1.1" 200 4
2022-12-19 18:08:35,286 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///home/user/test/test.c","version":1}}'
127.0.0.1 - - [19/Dec/2022 18:08:35] "POST /receive_messages HTTP/1.1" 200 114
2022-12-19 18:08:36,414 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:36] "POST /completions HTTP/1.1" 200 58
127.0.0.1 - - [19/Dec/2022 18:08:36] "GET /signature_help_available?subserver=c HTTP/1.1" 200 19
2022-12-19 18:08:36,504 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:36] "POST /completions HTTP/1.1" 200 58
127.0.0.1 - - [19/Dec/2022 18:08:36] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:36,604 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:36] "POST /signature_help HTTP/1.1" 200 88
127.0.0.1 - - [19/Dec/2022 18:08:36] "POST /completions HTTP/1.1" 200 58
2022-12-19 18:08:36,636 - DEBUG - Event name: CurrentIdentifierFinished
2022-12-19 18:08:36,636 - INFO - Adding ONE buffer identifier for file: /home/user/test/test.c
2022-12-19 18:08:36,639 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:36] "POST /event_notification HTTP/1.1" 200 2
127.0.0.1 - - [19/Dec/2022 18:08:36] "POST /completions HTTP/1.1" 200 58
127.0.0.1 - - [19/Dec/2022 18:08:36] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:39,642 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:39] "POST /completions HTTP/1.1" 200 58
127.0.0.1 - - [19/Dec/2022 18:08:39] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:39,742 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:39] "POST /completions HTTP/1.1" 200 58
127.0.0.1 - - [19/Dec/2022 18:08:39] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:39,867 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:39] "POST /completions HTTP/1.1" 200 58
127.0.0.1 - - [19/Dec/2022 18:08:39] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:39,941 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:39] "POST /completions HTTP/1.1" 200 58
127.0.0.1 - - [19/Dec/2022 18:08:39] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:40,202 - DEBUG - Event name: CurrentIdentifierFinished
2022-12-19 18:08:40,203 - INFO - Adding ONE buffer identifier for file: /home/user/test/test.c
127.0.0.1 - - [19/Dec/2022 18:08:40] "POST /event_notification HTTP/1.1" 200 2
2022-12-19 18:08:40,210 - DEBUG - Using filetype completion: False
2022-12-19 18:08:40,213 - DEBUG - Refreshing file /home/user/test/test.c: State is Open/action Change
2022-12-19 18:08:40,214 - DEBUG - TX: Sending notification: b'Content-Length: 229\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main(\\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":2}}}'
127.0.0.1 - - [19/Dec/2022 18:08:40] "POST /completions HTTP/1.1" 200 59
2022-12-19 18:08:40,217 - DEBUG - TX: Sending message: b'Content-Length: 222\r\n\r\n{"id":2,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":9,"line":0},"textDocument":{"uri":"file:///home/user/test/test.c"}}}'
2022-12-19 18:08:40,229 - DEBUG - RX: Received message: b'{"id":2,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}'
127.0.0.1 - - [19/Dec/2022 18:08:40] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:40,282 - DEBUG - Using filetype completion: False
2022-12-19 18:08:40,285 - DEBUG - Refreshing file /home/user/test/test.c: State is Open/action Change
2022-12-19 18:08:40,285 - DEBUG - TX: Sending notification: b'Content-Length: 230\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":3}}}'
2022-12-19 18:08:40,286 - DEBUG - TX: Sending message: b'Content-Length: 223\r\n\r\n{"id":3,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":10,"line":0},"textDocument":{"uri":"file:///home/user/test/test.c"}}}'
127.0.0.1 - - [19/Dec/2022 18:08:40] "POST /completions HTTP/1.1" 200 59
2022-12-19 18:08:40,299 - DEBUG - RX: Received message: b'{"id":3,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}'
127.0.0.1 - - [19/Dec/2022 18:08:40] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:40,303 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"missing_param","message":"Expected parameter declarator","range":{"end":{"character":0,"line":1},"start":{"character":0,"line":1}},"severity":1,"source":"clang"},{"code":"expected","message":"Expected \')\'\\n\\ntest.c:1:9: note: to match this \'(\'","range":{"end":{"character":0,"line":1},"start":{"character":0,"line":1}},"severity":1,"source":"clang"},{"message":"To match this \'(\'\\n\\ntest.c:2:1: error: expected \')\'","range":{"end":{"character":9,"line":0},"start":{"character":8,"line":0}},"severity":3},{"code":"expected_fn_body","message":"Expected function body after function declarator","range":{"end":{"character":0,"line":1},"start":{"character":0,"line":1}},"severity":1,"source":"clang"}],"uri":"file:///home/user/test/test.c","version":2}}'
127.0.0.1 - - [19/Dec/2022 18:08:40] "POST /receive_messages HTTP/1.1" 200 3319
2022-12-19 18:08:40,352 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"expected_fn_body","message":"Expected function body after function declarator","range":{"end":{"character":0,"line":1},"start":{"character":0,"line":1}},"severity":1,"source":"clang"}],"uri":"file:///home/user/test/test.c","version":3}}'
127.0.0.1 - - [19/Dec/2022 18:08:40] "POST /receive_messages HTTP/1.1" 200 923
2022-12-19 18:08:40,923 - DEBUG - Event name: CurrentIdentifierFinished
2022-12-19 18:08:40,923 - INFO - Adding ONE buffer identifier for file: /home/user/test/test.c
127.0.0.1 - - [19/Dec/2022 18:08:40] "POST /event_notification HTTP/1.1" 200 2
2022-12-19 18:08:41,460 - DEBUG - Refreshing file /home/user/test/test.c: State is Open/action Change
2022-12-19 18:08:41,461 - DEBUG - TX: Sending notification: b'Content-Length: 233\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\\n{\\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":4}}}'
2022-12-19 18:08:41,461 - DEBUG - TX: Sending message: b'Content-Length: 222\r\n\r\n{"id":4,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":1,"line":1},"textDocument":{"uri":"file:///home/user/test/test.c"}}}'
2022-12-19 18:08:41,463 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:41] "POST /completions HTTP/1.1" 200 58
2022-12-19 18:08:41,472 - DEBUG - RX: Received message: b'{"id":4,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}'
127.0.0.1 - - [19/Dec/2022 18:08:41] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:41,529 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"expected","message":"Expected \'}\'\\n\\ntest.c:2:1: note: to match this \'{\'","range":{"end":{"character":0,"line":2},"start":{"character":0,"line":2}},"severity":1,"source":"clang"},{"message":"To match this \'{\'\\n\\ntest.c:3:1: error: expected \'}\'","range":{"end":{"character":1,"line":1},"start":{"character":0,"line":1}},"severity":3}],"uri":"file:///home/user/test/test.c","version":4}}'
127.0.0.1 - - [19/Dec/2022 18:08:41] "POST /receive_messages HTTP/1.1" 200 1719
2022-12-19 18:08:41,679 - DEBUG - Using filetype completion: False
2022-12-19 18:08:41,682 - DEBUG - Refreshing file /home/user/test/test.c: State is Open/action Change
2022-12-19 18:08:41,682 - DEBUG - TX: Sending notification: b'Content-Length: 234\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\\n{}\\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":5}}}'
2022-12-19 18:08:41,683 - DEBUG - TX: Sending message: b'Content-Length: 222\r\n\r\n{"id":5,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":2,"line":1},"textDocument":{"uri":"file:///home/user/test/test.c"}}}'
127.0.0.1 - - [19/Dec/2022 18:08:41] "POST /completions HTTP/1.1" 200 58
2022-12-19 18:08:41,694 - DEBUG - RX: Received message: b'{"id":5,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}'
127.0.0.1 - - [19/Dec/2022 18:08:41] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:41,749 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///home/user/test/test.c","version":5}}'
127.0.0.1 - - [19/Dec/2022 18:08:41] "POST /receive_messages HTTP/1.1" 200 114
2022-12-19 18:08:42,424 - DEBUG - Using filetype completion: False
2022-12-19 18:08:42,426 - DEBUG - Refreshing file /home/user/test/test.c: State is Open/action Change
2022-12-19 18:08:42,427 - DEBUG - TX: Sending notification: b'Content-Length: 233\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\\n{\\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":6}}}'
2022-12-19 18:08:42,428 - DEBUG - TX: Sending message: b'Content-Length: 222\r\n\r\n{"id":6,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":1,"line":1},"textDocument":{"uri":"file:///home/user/test/test.c"}}}'
127.0.0.1 - - [19/Dec/2022 18:08:42] "POST /completions HTTP/1.1" 200 58
2022-12-19 18:08:42,441 - DEBUG - RX: Received message: b'{"id":6,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}'
127.0.0.1 - - [19/Dec/2022 18:08:42] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:42,495 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"expected","message":"Expected \'}\'\\n\\ntest.c:2:1: note: to match this \'{\'","range":{"end":{"character":0,"line":2},"start":{"character":0,"line":2}},"severity":1,"source":"clang"},{"message":"To match this \'{\'\\n\\ntest.c:3:1: error: expected \'}\'","range":{"end":{"character":1,"line":1},"start":{"character":0,"line":1}},"severity":3}],"uri":"file:///home/user/test/test.c","version":6}}'
127.0.0.1 - - [19/Dec/2022 18:08:42] "POST /receive_messages HTTP/1.1" 200 1719
2022-12-19 18:08:43,151 - DEBUG - Event name: CurrentIdentifierFinished
127.0.0.1 - - [19/Dec/2022 18:08:43] "POST /event_notification HTTP/1.1" 200 2
2022-12-19 18:08:43,765 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:43] "POST /completions HTTP/1.1" 200 58
2022-12-19 18:08:43,769 - DEBUG - Refreshing file /home/user/test/test.c: State is Open/action Change
2022-12-19 18:08:43,769 - DEBUG - TX: Sending notification: b'Content-Length: 236\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\\n{\\n}\\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":7}}}'
2022-12-19 18:08:43,770 - DEBUG - TX: Sending message: b'Content-Length: 222\r\n\r\n{"id":7,"jsonrpc":"2.0","method":"textDocument/signatureHelp","params":{"position":{"character":1,"line":2},"textDocument":{"uri":"file:///home/user/test/test.c"}}}'
2022-12-19 18:08:43,781 - DEBUG - RX: Received message: b'{"id":7,"jsonrpc":"2.0","result":{"activeParameter":0,"activeSignature":0,"signatures":[]}}'
127.0.0.1 - - [19/Dec/2022 18:08:43] "POST /signature_help HTTP/1.1" 200 88
2022-12-19 18:08:43,836 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///home/user/test/test.c","version":7}}'
127.0.0.1 - - [19/Dec/2022 18:08:43] "POST /receive_messages HTTP/1.1" 200 114
2022-12-19 18:08:45,398 - DEBUG - Event name: FileReadyToParse
2022-12-19 18:08:45,398 - INFO - Adding buffer identifiers for file: /home/user/test/test.c
2022-12-19 18:08:45,398 - DEBUG - Refreshing file /home/user/test/test.c: State is Open/action None
2022-12-19 18:08:45,401 - DEBUG - Event name: InsertLeave
127.0.0.1 - - [19/Dec/2022 18:08:45] "POST /event_notification HTTP/1.1" 200 2
127.0.0.1 - - [19/Dec/2022 18:08:45] "POST /event_notification HTTP/1.1" 200 2
2022-12-19 18:08:45,731 - DEBUG - Event name: CurrentIdentifierFinished
127.0.0.1 - - [19/Dec/2022 18:08:45] "POST /event_notification HTTP/1.1" 200 2
2022-12-19 18:08:48,263 - DEBUG - Event name: FileReadyToParse
2022-12-19 18:08:48,263 - INFO - Adding buffer identifiers for file: /home/user/test/test.c
2022-12-19 18:08:48,264 - DEBUG - Refreshing file /home/user/test/test.c: State is Open/action Change
2022-12-19 18:08:48,264 - DEBUG - TX: Sending notification: b'Content-Length: 238\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\\n{\\n\\n}\\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":8}}}'
2022-12-19 18:08:48,267 - DEBUG - Event name: InsertLeave
127.0.0.1 - - [19/Dec/2022 18:08:48] "POST /event_notification HTTP/1.1" 200 2
127.0.0.1 - - [19/Dec/2022 18:08:48] "POST /event_notification HTTP/1.1" 200 2
2022-12-19 18:08:48,330 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file:///home/user/test/test.c","version":8}}'
127.0.0.1 - - [19/Dec/2022 18:08:48] "POST /receive_messages HTTP/1.1" 200 114
2022-12-19 18:08:49,534 - DEBUG - Event name: CurrentIdentifierFinished
127.0.0.1 - - [19/Dec/2022 18:08:49] "POST /event_notification HTTP/1.1" 200 2
2022-12-19 18:08:51,118 - DEBUG - Using filetype completion: False
127.0.0.1 - - [19/Dec/2022 18:08:51] "POST /signature_help HTTP/1.1" 200 88
127.0.0.1 - - [19/Dec/2022 18:08:51] "POST /completions HTTP/1.1" 200 58
2022-12-19 18:08:51,128 - DEBUG - Event name: FileReadyToParse
2022-12-19 18:08:51,128 - INFO - Adding buffer identifiers for file: /home/user/test/test.c
2022-12-19 18:08:51,128 - DEBUG - Refreshing file /home/user/test/test.c: State is Open/action Change
2022-12-19 18:08:51,129 - DEBUG - TX: Sending notification: b'Content-Length: 241\r\n\r\n{"jsonrpc":"2.0","method":"textDocument/didChange","params":{"contentChanges":[{"text":"int main()\\n{\\n\\tf\\n}\\n"}],"textDocument":{"uri":"file:///home/user/test/test.c","version":9}}}'
2022-12-19 18:08:51,132 - DEBUG - Event name: InsertLeave
2022-12-19 18:08:51,132 - INFO - Adding ONE buffer identifier for file: /home/user/test/test.c
127.0.0.1 - - [19/Dec/2022 18:08:51] "POST /event_notification HTTP/1.1" 200 2
127.0.0.1 - - [19/Dec/2022 18:08:51] "POST /event_notification HTTP/1.1" 200 2
2022-12-19 18:08:51,204 - DEBUG - RX: Received message: b'{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[{"code":"undeclared_var_use","message":"Use of undeclared identifier \'f\'","range":{"end":{"character":2,"line":2},"start":{"character":1,"line":2}},"severity":1,"source":"clang"}],"uri":"file:///home/user/test/test.c","version":9}}'
127.0.0.1 - - [19/Dec/2022 18:08:51] "POST /receive_messages HTTP/1.1" 200 909
127.0.0.1 - - [19/Dec/2022 18:08:59] "POST /debug_info HTTP/1.1" 200 949
serving on http://localhost:34229
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment