Advertisement
Guest User

clangd logs

a guest
Mar 11th, 2025
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.05 KB | None | 0 0
  1. [START][2025-03-11 18:30:32] LSP logging initiated
  2. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'I[18:30:32.099] clangd version 19.1.7
  3. I[18:30:32.099] Features: linux
  4. I[18:30:32.099] PID: 5956
  5. I[18:30:32.099] Working directory: <project_root>
  6. I[18:30:32.099] argv[0]: /usr/bin/clangd
  7. I[18:30:32.099] argv[1]: --query-driver=/usr/bin/clang*
  8. I[18:30:32.099] argv[2]: --log=verbose
  9. V[18:30:32.099] User config file is /home/davide/.config/clangd/config.yaml
  10. I[18:30:32.099] Starting LSP over stdin/stdout
  11. V[18:30:32.099] <<< {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"general":{"positionEncodings":["utf-8","utf-16","utf-32"]},"offsetEncoding":["utf-8","utf-16"],"textDocument":{"callHierarchy":{"dynamicRegistration":false},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"dynamicRegistration":true,"isPreferredSupport":true,"resolveSupport":{"properties":["edit"]}},"codeLens":{"dynamicRegistration":false,"resolveSupport":{"properties":["command"]}},"completion":{"completionItem":{"commitCharactersSupport":false,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"preselectSupport":false,"resolveSupport":{"properties":["additionalTextEdits","command"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"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]},"completionList":{"itemDefaults":["editRange","insertTextFormat","insertTextMode","data"]},"contextSupport":false,"dynamicRegistration":false,"editsNearCursor":true},"declaration":{"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"diagnostic":{"dynamicRegistration":false},"documentHighlight":{"dynamicRegistration":false},"documentSymbol":{"dynamicRegistration":false,"hierarchicalDocumentSymbolSupport":true,"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]}},"foldingRange":{"dynamicRegistration":false,"foldingRange":{"collapsedText":true},"lineFoldingOnly":true},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"linkSupport":true},"inlayHint":{"dynamicRegistration":true,"resolveSupport":{"properties":["textEdits","tooltip","location","command"]}},"publishDiagnostics":{"dataSupport":true,"relatedInformation":true,"tagSupport":{"valueSet":[1,2]}},"rangeFormatting":{"dynamicRegistration":true,"rangesSupport":true},"references":{"dynamicRegistration":false},"rename":{"dynamicRegistration":true,"prepareSupport":true},"semanticTokens":{"augmentsSyntaxTokens":true,"dynamicRegistration":false,"formats":["relative"],"multilineTokenSupport":false,"overlappingTokenSupport":true,"requests":{"full":{"delta":true},"range":false},"serverCancelSupport":false,"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"]},"signatureHelp":{"dynamicRegistration":false,"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":false,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"linkSupport":true}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"applyEdit":true,"configuration":true,"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":false,"relativePatternSupport":true},"inlayHint":{"refreshSupport":true},"semanticTokens":{"refreshSupport":true},"symbol":{"dynamicRegistration":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]}},"workspaceEdit":{"resourceOperations":["rename","create","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"Neovim","version":"0.11.0-dev+g1e4c708033"},"initializationOptions":{},"processId":5922,"rootPath":"<project_root>","rootUri":"file://<project_root>","trace":"off","workDoneToken":"1","workspaceFolders":[{"name":"<project_root>","uri":"file://<project_root>"}]}}
  12.  
  13. I[18:30:32.099] <-- initialize(1)
  14. I[18:30:32.100] --> reply:initialize(1) 1 ms
  15. V[18:30:32.100] >>> {"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":"\
  16. ","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyRename","clangd.applyTweak"]},"foldingRangeProvider":true,"hoverProvider":true,"implementationProvider":true,"inactiveRegionsProvider":true,"inlayHintProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","definition","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","usedAsMutablePointer","constructorOrDestructor","userDefined","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","modifier","operator","bracket","label","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"standardTypeHierarchyProvider":true,"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"offsetEncoding":"utf-8","serverInfo":{"name":"clangd","version":"clangd version 19.1.7 linux x86_64-pc-linux-gnu"}}}
  17.  
  18. '
  19. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.223] <<< {"jsonrpc":"2.0","method":"initialized","params":{}}
  20.  
  21. I[18:30:32.223] <-- initialized
  22. V[18:30:32.224] <<< {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"cpp","text":"void SetTransform(A01 *A) {\
  23. /**************\
  24. Using A->SetMatrix(i, M, focus) where:\
  25. i -> index of the matrix to set (0 .. 14)\
  26. M -> transform matrix to use\
  27. focus -> true if you want to add the focus to that piece (only one please)\
  28. \
  29. solve the puzzle. Piece 0 is alread in place, and the correct transform to\
  30. put in place piece 1, is the identity matrix. Find the correct transformations\
  31. to place the other 13 pieces (i = 2..14). The suggestion is to work on the\
  32. pieces one at a time, setting the focus to the one you are working on. The\
  33. piece with the focus, will be displayed in red. Moreover, its origin, and the\
  34. orientation and size of its axis will be shown. This is necessary because not\
  35. all the pieces have their center in the origin, but remember that the\
  36. transformations, assumes that the center is in the origin. Some pieces\
  37. (especially the ones with a high index) will require a combination of\
  38. transformations, since the transform is not centered with the origin or the\
  39. main axes. Follow the instructions in the comments to solve the puzzle.\
  40. \
  41. WARNING!\
  42. Since it is a C program, you can use for loops and functions if you think\
  43. they can be helpful in your solution. However, please include all your code in\
  44. this file, since it will be put in an automatic correction process for the\
  45. final evaluation. Please also be cautious when using standard libraries and\
  46. symbols, since they might not be available in all the development environments\
  47. (especially, they might not be available in the final evaluation environment,\
  48. preventing your code from compiling). This WARNING will be valid far ALL THE\
  49. ASSIGNMENTs, but it will not be repeated in the following texts, so please\
  50. remember these advices carefully!\
  51. \
  52. ***************/\
  53. \
  54. glm::mat4 M;\
  55. \
  56. // 1. This is the only one in place, and that should not be modified\
  57. M = glm::mat4(1.0f);\
  58. A->SetMatrix(0, M, false);\
  59. \
  60. // 2. This is an example on how to highlight a piece and move it.\
  61. // to put it in place, just replace the following line with an identity\
  62. // matrix, that is: A->SetMatrix(0, M, false);\
  63. M = glm::rotate(\
  64. glm::translate(glm::mat4(1.0f), glm::vec3(-0.3f, 0.0f, -1.6f)),\
  65. glm::radians(15.0f), glm::vec3(0.0f, 1.0f, 0.0f));\
  66. // M = glm::mat4(1.0f);\\t\\t\\t// to put this piece in places,\
  67. // uncomment this line and delete the two above\
  68. A->SetMatrix(1, M, true);\
  69. \
  70. // FROM THIS POINT ON, you have to find the correct transform to solve the\
  71. // puzzle.\
  72. \
  73. // 3. Translate 3 units along the y-axis and -2 along the z-axis.\
  74. M = glm::mat4(1.0f);\
  75. A->SetMatrix(2, M, false);\
  76. \
  77. // 4. Rotate 30 degrees around the x-axis.\
  78. M = glm::mat4(1.0f);\
  79. A->SetMatrix(3, M, false);\
  80. \
  81. // 5. Mirror over the xz-plane.\
  82. M = glm::mat4(1.0f);\
  83. A->SetMatrix(4, M, false);\
  84. \
  85. // 6. Perform a shear along the y-axis, with hx = 0.4 (and hz = 0).\
  86. M = glm::mat4(1.0f);\
  87. A->SetMatrix(5, M, false);\
  88. \
  89. // 7. Scale by 1.5 along the z-axis and 0.75 along the y-axis.\
  90. M = glm::mat4(1.0f);\
  91. A->SetMatrix(6, M, false);\
  92. \
  93. // 8. Perform a proportional scaling of a factor of 2.5.\
  94. M = glm::mat4(1.0f);\
  95. A->SetMatrix(7, M, false);\
  96. \
  97. // 9. Scale 3x proportionally, centered at (-1,0,2).\
  98. M = glm::mat4(1.0f);\
  99. A->SetMatrix(8, M, false);\
  100. \
  101. // 10. Scale 1.5x along an axis oriented 45 degrees between the y and z-axis\
  102. // and passing through point (0,2,-1).\
  103. M = glm::mat4(1.0f);\
  104. A->SetMatrix(9, M, false);\
  105. \
  106. // 11. Compose a rotation of 45 degrees around an axis aligned with the vector\
  107. // (-2,1,0), then a translation (2,0,-3).\
  108. M = glm::mat4(1.0f);\
  109. A->SetMatrix(10, M, false);\
  110. \
  111. // 12. Rotate -45 degrees around the z-axis, centered at (3,-1,0).\
  112. M = glm::mat4(1.0f);\
  113. A->SetMatrix(11, M, false);\
  114. \
  115. // 13. Perform a 90-degree rotation about an arbitrary axis passing through\
  116. // (0,0,-2), aligned using a 30-degree rotation around the z-axis and a\
  117. // 20-degree rotation around the y-axis.\
  118. M = glm::mat4(1.0f);\
  119. A->SetMatrix(12, M, false);\
  120. \
  121. // 14. Compose a non-proportional scaling that doubles the object along the\
  122. // y-axis, centered in (1,2,-1), with a translation (-2,0,3).\
  123. M = glm::mat4(1.0f);\
  124. A->SetMatrix(13, M, false);\
  125. \
  126. // 15. Rotate 120 degrees around a custom axis passing through (2,-1,3) and\
  127. // aligned with the vector (1,2,1).\
  128. M = glm::mat4(1.0f);\
  129. A->SetMatrix(14, M, false);\
  130. }\
  131. ","uri":"file://<project_root>/src/transforms.hpp","version":0}}}
  132.  
  133. I[18:30:32.224] <-- textDocument/didOpen
  134. V[18:30:32.224] System include extraction: driver clang expanded to /sbin/clang
  135. V[18:30:32.224] System include extraction: not allowed driver /sbin/clang
  136. V[18:30:32.225] config note at <project_root>/.clangd:1:0: Parsing config fragment
  137. V[18:30:32.225] config note at <project_root>/.clangd:1:0: Parsed 1 fragments from file
  138. V[18:30:32.225] Config fragment: compiling <project_root>/.clangd:1 -> 0x000076FDA8003360 (trusted=false)
  139. I[18:30:32.225] --> textDocument/publishDiagnostics
  140. V[18:30:32.225] >>> {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"diagnostics":[],"uri":"file://<project_root>/.clangd"}}
  141.  
  142. I[18:30:32.226] Loaded compilation database from <project_root>/build/compile_commands.json
  143. V[18:30:32.226] Broadcasting compilation database from <project_root>/build
  144. I[18:30:32.226] --> window/workDoneProgress/create(0)
  145. V[18:30:32.226] >>> {"id":0,"jsonrpc":"2.0","method":"window/workDoneProgress/create","params":{"token":"backgroundIndexProgress"}}
  146.  
  147. I[18:30:32.226] Enqueueing 1 commands for indexing
  148. '
  149. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.228] <<< {"id":2,"jsonrpc":"2.0","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  150.  
  151. I[18:30:32.228] <-- textDocument/semanticTokens/full(2)
  152. V[18:30:32.228] <<< {"id":0,"jsonrpc":"2.0","result":null}
  153.  
  154. I[18:30:32.228] <-- reply(0)
  155. I[18:30:32.228] --> $/progress
  156. V[18:30:32.228] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"begin","percentage":0,"title":"indexing"}}}
  157.  
  158. I[18:30:32.228] --> $/progress
  159. V[18:30:32.229] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
  160.  
  161. '
  162. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.247] System include extraction: target extracted: "x86_64-pc-linux-gnu"
  163. V[18:30:32.247] System include extraction: adding /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1
  164. V[18:30:32.247] System include extraction: adding /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu
  165. V[18:30:32.247] System include extraction: adding /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward
  166. V[18:30:32.247] System include extraction: adding /usr/lib/clang/19/include
  167. V[18:30:32.247] System include extraction: adding /usr/local/include
  168. V[18:30:32.247] System include extraction: adding /usr/include
  169. '
  170. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.265] System includes extractor: builtin headers /usr/lib/clang/19/include excluded
  171. I[18:30:32.265] System includes extractor: successfully executed /usr/bin/clang++
  172. \tgot includes: "/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1, /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu, /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward, /usr/local/include, /usr/include"
  173. \tgot target: "x86_64-pc-linux-gnu"
  174. '
  175. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "I[18:30:32.265] ASTWorker building file <project_root>/src/transforms.hpp version 0 with command inferred from <project_root>/src/main.cpp
  176. [<project_root>/build]
  177. /usr/bin/clang++ --driver-mode=g++ -I<project_root>/include -g -c -std=gnu++17 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward -isystem /usr/local/include -isystem /usr/include --target=x86_64-pc-linux-gnu -resource-dir=/usr/lib/clang/19 -- <project_root>/src/transforms.hpp
  178. "
  179. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.267] Driver produced command: cc1 -cc1 -triple x86_64-pc-linux-gnu -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name transforms.hpp -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 -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -fdebug-compilation-dir=<project_root>/build -fcoverage-compilation-dir=<project_root>/build -resource-dir /usr/lib/clang/19 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1 -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu -isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward -isystem /usr/local/include -isystem /usr/include -I <project_root>/include -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1 -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/x86_64-pc-linux-gnu -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/backward -internal-isystem /usr/lib/clang/19/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../x86_64-pc-linux-gnu/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=gnu++17 -fdeprecated-macro -ferror-limit 19 -stack-protector 2 -fgnuc-version=4.2.1 -fskip-odr-check-in-gmf -fcxx-exceptions -fexceptions -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++-header <project_root>/src/transforms.hpp
  180. "
  181. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.267] Building first preamble for <project_root>/src/transforms.hpp version 0
  182. "
  183. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'I[18:30:32.272] Built preamble of size 239400 for file <project_root>/src/transforms.hpp version 0 in 0.01 seconds
  184. I[18:30:32.273] --> workspace/semanticTokens/refresh(1)
  185. V[18:30:32.273] >>> {"id":1,"jsonrpc":"2.0","method":"workspace/semanticTokens/refresh","params":null}
  186.  
  187. V[18:30:32.273] indexed preamble AST for <project_root>/src/transforms.hpp version 0:
  188. symbol slab: 0 symbols, 120 bytes
  189. ref slab: 0 symbols, 0 refs, 128 bytes
  190. relations slab: 0 relations, 24 bytes
  191. I[18:30:32.275] Indexing c++17 standard library in the context of <project_root>/src/transforms.hpp
  192. '
  193. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.276] <<< {"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":2}}
  194.  
  195. I[18:30:32.276] <-- $/cancelRequest
  196. V[18:30:32.276] <<< {"id":3,"jsonrpc":"2.0","method":"textDocument/semanticTokens/full","params":{"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  197.  
  198. I[18:30:32.276] <-- textDocument/semanticTokens/full(3)
  199. '
  200. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.276] <<< {"id":1,"jsonrpc":"2.0","result":null}
  201.  
  202. I[18:30:32.276] <-- reply(1)
  203. '
  204. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.279] Trying to fix unresolved name "A01" in scopes: []
  205. '
  206. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "mat4" in scopes: [glm::]
  207. '
  208. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "mat4" in scopes: [glm::]
  209. '
  210. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "rotate" in scopes: [glm::]
  211. '
  212. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "translate" in scopes: [glm::]
  213. '
  214. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "mat4" in scopes: [glm::]
  215. '
  216. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.280] Trying to fix unresolved name "vec3" in scopes: [glm::]
  217. '
  218. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "radians" in scopes: [glm::]
  219. '
  220. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "vec3" in scopes: [glm::]
  221. '
  222. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
  223. '
  224. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
  225. '
  226. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
  227. '
  228. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
  229. '
  230. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
  231. '
  232. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
  233. '
  234. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.281] Trying to fix unresolved name "mat4" in scopes: [glm::]
  235. '
  236. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.282] Trying to fix unresolved name "mat4" in scopes: [glm::]
  237. '
  238. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.282] Trying to fix unresolved name "mat4" in scopes: [glm::]
  239. '
  240. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.282] Trying to fix unresolved name "mat4" in scopes: [glm::]
  241. '
  242. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.283] indexed file AST for <project_root>/src/transforms.hpp version 0:
  243. symbol slab: 1 symbols, 4448 bytes
  244. ref slab: 1 symbols, 1 refs, 4248 bytes
  245. relations slab: 0 relations, 24 bytes
  246. V[18:30:32.283] Build dynamic index for main-file symbols with estimated memory usage of 11520 bytes
  247. "
  248. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "I[18:30:32.283] --> textDocument/publishDiagnostics
  249. "
  250. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.284] >>> {\"jsonrpc\":\"2.0\",\"method\":\"textDocument/publishDiagnostics\",\"params\":{\"diagnostics\":[{\"code\":\"unknown_typename\",\"message\":\"Unknown type name 'A01'\",\"range\":{\"end\":{\"character\":21,\"line\":0},\"start\":{\"character\":18,\"line\":0}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":5,\"line\":32},\"start\":{\"character\":2,\"line\":32}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":35},\"start\":{\"character\":6,\"line\":35}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":41},\"start\":{\"character\":6,\"line\":41}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":42},\"start\":{\"character\":6,\"line\":42}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":24,\"line\":42},\"start\":{\"character\":21,\"line\":42}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":41,\"line\":42},\"start\":{\"character\":38,\"line\":42}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":43},\"start\":{\"character\":6,\"line\":43}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":30,\"line\":43},\"start\":{\"character\":27,\"line\":43}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":52},\"start\":{\"character\":6,\"line\":52}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":56},\"start\":{\"character\":6,\"line\":56}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":60},\"start\":{\"character\":6,\"line\":60}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":64},\"start\":{\"character\":6,\"line\":64}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":68},\"start\":{\"character\":6,\"line\":68}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":72},\"start\":{\"character\":6,\"line\":72}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":76},\"start\":{\"character\":6,\"line\":76}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":81},\"start\":{\"character\":6,\"line\":81}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":86},\"start\":{\"character\":6,\"line\":86}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"undeclared_var_use\",\"message\":\"Use of undeclared identifier 'glm'\",\"range\":{\"end\":{\"character\":9,\"line\":90},\"start\":{\"character\":6,\"line\":90}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"},{\"code\":\"fatal_too_many_errors\",\"message\":\"Too many errors emitted, stopping now\",\"range\":{\"end\":{\"character\":0,\"line\":0},\"start\":{\"character\":0,\"line\":0}},\"relatedInformation\":[],\"severity\":1,\"source\":\"clang\"}],\"uri\":\"file://<project_root>/src/transforms.hpp\",\"version\":0}}
  251.  
  252. I[18:30:32.284] --> reply:textDocument/semanticTokens/full(2) 55 ms, error: Task was cancelled.
  253. V[18:30:32.284] >>> {\"error\":{\"code\":-32800,\"message\":\"Request cancelled\"},\"id\":2,\"jsonrpc\":\"2.0\"}
  254.  
  255. V[18:30:32.284] ASTWorker running SemanticHighlights on version 0 of <project_root>/src/transforms.hpp
  256. I[18:30:32.284] --> reply:textDocument/semanticTokens/full(3) 7 ms
  257. V[18:30:32.284] >>> {\"id\":3,\"jsonrpc\":\"2.0\",\"result\":{\"data\":[0,5,12,3,131075,0,18,1,2,16387,32,12,1,1,16387,4,2,1,2,16384,0,3,9,14,33024,10,2,1,2,16384,0,3,9,14,33024,7,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024,4,2,1,2,16384,0,3,9,14,33024,6,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024,5,2,1,2,16384,0,3,9,14,33024],\"resultId\":\"1\"}}
  258.  
  259. "
  260. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.411] BackgroundIndex: building version 1 after loading index from disk
  261. "
  262. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:32.517] <<< {"id":4,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":6,"line":59},"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  263.  
  264. I[18:30:32.517] <-- textDocument/documentHighlight(4)
  265. '
  266. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.517] ASTWorker running Highlights on version 0 of <project_root>/src/transforms.hpp
  267. "
  268. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'I[18:30:32.517] --> reply:textDocument/documentHighlight(4) 0 ms
  269. V[18:30:32.517] >>> {"id":4,"jsonrpc":"2.0","result":[]}
  270.  
  271. '
  272. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:32.618] BackgroundIndex: serving version 1 (59075489 bytes)
  273. "
  274. [ERROR][2025-03-11 18:30:32] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'I[18:30:32.627] --> $/progress
  275. V[18:30:32.627] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"report","message":"0/1","percentage":0}}}
  276.  
  277. I[18:30:32.628] --> $/progress
  278. V[18:30:32.628] >>> {"jsonrpc":"2.0","method":"$/progress","params":{"token":"backgroundIndexProgress","value":{"kind":"end"}}}
  279.  
  280. '
  281. [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.532] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:104:49:too many arguments provided to function-like macro invocation
  282. V[18:30:33.532] Ignored diagnostic. /usr/lib/clang/19/include/stdatomic.h:90:9:macro 'atomic_is_lock_free' defined here
  283. V[18:30:33.532] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:104:5:redefinition of 'atomic_is_lock_free' as different kind of symbol
  284. V[18:30:33.532] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/atomic:1296:5:previous definition is here
  285. "
  286. [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.532] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:107:7:expected expression
  287. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:111:6:expected ';' after top level declarator
  288. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:142:5:expected parameter declarator
  289. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:142:5:expected ')'
  290. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:142:5:to match this '('
  291. "
  292. [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:157:41:too many arguments provided to function-like macro invocation
  293. V[18:30:33.533] Ignored diagnostic. /usr/lib/clang/19/include/stdatomic.h:144:9:macro 'atomic_load' defined here
  294. "
  295. [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:157:5:redefinition of 'atomic_load' as different kind of symbol
  296. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/atomic:1399:5:previous definition is here
  297. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:158:7:expected expression
  298. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:158:69:expected ';' after top level declarator
  299. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:183:5:expected parameter declarator
  300. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:183:5:expected ')'
  301. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:183:5:to match this '('
  302. "
  303. [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:200:47:too many arguments provided to function-like macro invocation
  304. V[18:30:33.533] Ignored diagnostic. /usr/lib/clang/19/include/stdatomic.h:141:9:macro 'atomic_store' defined here
  305. V[18:30:33.533] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:200:5:variable has incomplete type 'void'
  306. "
  307. [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.548] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:201:34:use of undeclared identifier '__p'
  308. V[18:30:33.548] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:201:49:use of undeclared identifier '__r'
  309. V[18:30:33.549] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:201:79:expected ';' after top level declarator
  310. "
  311. [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.549] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:225:5:expected parameter declarator
  312. V[18:30:33.549] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:225:5:expected ')'
  313. V[18:30:33.549] Ignored diagnostic. /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../include/c++/14.2.1/bits/shared_ptr_atomic.h:225:5:to match this '('
  314. "
  315. [ERROR][2025-03-11 18:30:33] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:33.549] Ignored diagnostic. too many errors emitted, stopping now
  316. "
  317. [ERROR][2025-03-11 18:30:34] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "I[18:30:34.076] Indexed c++17 standard library (incomplete due to errors): 14356 symbols, 1909 filtered
  318. "
  319. [ERROR][2025-03-11 18:30:34] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" "V[18:30:34.118] Build dynamic index for header symbols with estimated memory usage of 8546248 bytes
  320. "
  321. [ERROR][2025-03-11 18:30:36] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:36.450] <<< {"id":5,"jsonrpc":"2.0","method":"textDocument/documentHighlight","params":{"position":{"character":0,"line":31},"textDocument":{"uri":"file://<project_root>/src/transforms.hpp"}}}
  322.  
  323. I[18:30:36.450] <-- textDocument/documentHighlight(5)
  324. '
  325. [ERROR][2025-03-11 18:30:36] ...p/_transport.lua:36 "rpc" "/usr/bin/clangd" "stderr" 'V[18:30:36.451] ASTWorker running Highlights on version 0 of <project_root>/src/transforms.hpp
  326. I[18:30:36.451] --> reply:textDocument/documentHighlight(5) 0 ms
  327. V[18:30:36.451] >>> {"id":5,"jsonrpc":"2.0","result":[]}
  328.  
  329. '
  330.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement