Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config not being used #127

Closed
JezerM opened this issue Aug 26, 2024 · 15 comments
Closed

Config not being used #127

JezerM opened this issue Aug 26, 2024 · 15 comments

Comments

@JezerM
Copy link

JezerM commented Aug 26, 2024

I disabled x86_64 instruction set and enabled arm, however I still see information about x86_64 but not arm. I'm not sure if I have something wrong in my setup.

Here's an screenshot of my setup (git was initialized):

Captura de pantalla 2024-08-26 a la(s) 17 12 05

Also, asm-lsp was installed with cargo from git.

@WillLillis
Copy link
Collaborator

Can you post the LSP's log? I suspect that parsing your config file failed, which caused the server to use a default config (gas = true, go = true, x86 = true, x86_64 = true, all else false). How recently did you install asm-lsp from git?

@JezerM
Copy link
Author

JezerM commented Aug 26, 2024

[START][2024-08-26 17:40:10] LSP logging initiated
[ERROR][2024-08-26 17:40:10] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] Starting asm_lsp...\n"
[ERROR][2024-08-26 17:40:10] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	'INFO [asm_lsp::lsp] Creating directories along /Users/jezerm/Library/Application Support/asm-lsp as necessary...\nINFO [asm_lsp] Server Configuration: TargetConfig { version: "0.1", assemblers: Assemblers { gas: true, go: true, z80: false }, instruction_sets: InstructionSets { x86: true, x86_64: true, z80: false, arm: false, riscv: false } }\nINFO [asm_lsp] x86 instruction set loaded in 4ms\nINFO [asm_lsp] x86-64 instruction set loaded in 4ms\nINFO [asm_lsp] x86 register set loaded in 0ms\nINFO [asm_lsp] x86-64 register set loaded in 0ms\nINFO [asm_lsp] Gas directive set loaded in 0ms\n'
[ERROR][2024-08-26 17:40:10] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] Loaded compile commands: []\n"
[ERROR][2024-08-26 17:40:10] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	'INFO [asm_lsp::lsp] Include directory map: {All: ["/opt/homebrew/Cellar/llvm/18.1.8/lib/clang/18/include", "/opt/homebrew/Cellar/llvm/18.1.8/include/c++/v1", "/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include"]}\nINFO [asm_lsp] Starting asm_lsp loop...\n'
[ERROR][2024-08-26 17:40:10] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] Did open text document notification serviced in 0ms\nINFO [asm_lsp] Diagnostics request serviced in 0ms\n"
[ERROR][2024-08-26 17:40:11] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] Hover request serviced in 8ms\n"
[ERROR][2024-08-26 17:40:12] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] Hover request serviced in 2ms\n"

@JezerM
Copy link
Author

JezerM commented Aug 26, 2024

I installed asm-lsp like 2 hours ago.

@WillLillis
Copy link
Collaborator

WillLillis commented Aug 27, 2024

Gotcha. I'm not able to reproduce locally, so I'm not entirely sure why but the server is failing to find the project specific config file. I've added some additional logs to the config parsing related code in #128. If you could pull down the latest copy from git once that's merged again and post the logs again, that would be incredibly helpful :).

@JezerM
Copy link
Author

JezerM commented Aug 27, 2024

It says that it failed to detect project root, even though I have a git instance.

[START][2024-08-26 18:34:26] LSP logging initiated
[ERROR][2024-08-26 18:34:26] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] Starting asm_lsp...\n"
[ERROR][2024-08-26 18:34:26] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	'INFO [asm_lsp::lsp] Creating directories along /Users/jezerm/Library/Application Support/asm-lsp as necessary...\nWARN [asm_lsp::lsp] Failed to detect project root\nINFO [asm_lsp] Server Configuration: TargetConfig { version: "0.1", assemblers: Assemblers { gas: true, go: true, z80: false }, instruction_sets: InstructionSets { x86: true, x86_64: true, z80: false, arm: false, riscv: false } }\nINFO [asm_lsp] x86 instruction set loaded in 4ms\nINFO [asm_lsp] x86-64 instruction set loaded in 4ms\nINFO [asm_lsp] x86 register set loaded in 0ms\nINFO [asm_lsp] x86-64 register set loaded in 0ms\nINFO [asm_lsp] Gas directive set loaded in 0ms\n'
[ERROR][2024-08-26 18:34:26] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"WARN [asm_lsp::lsp] Failed to detect project root\nINFO [asm_lsp] Loaded compile commands: []\n"
[ERROR][2024-08-26 18:34:26] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	'INFO [asm_lsp::lsp] Include directory map: {All: ["/Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk/usr/include", "/opt/homebrew/Cellar/llvm/18.1.8/lib/clang/18/include", "/opt/homebrew/Cellar/llvm/18.1.8/include/c++/v1"]}\nINFO [asm_lsp] Starting asm_lsp loop...\n'
[ERROR][2024-08-26 18:34:26] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] Did open text document notification serviced in 0ms\n"
[ERROR][2024-08-26 18:34:26] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] Diagnostics request serviced in 0ms\n"

@WillLillis
Copy link
Collaborator

Just to be sure, are you launching your editor from within the project's root directory? Are you using a much older/newer version of (Neo)vim? I'm not sure what could be causing this, but I'll spend some more time looking into it. Thanks so much for the quick responses!

@JezerM
Copy link
Author

JezerM commented Aug 27, 2024

Just to be sure, are you launching your editor from within the project's root directory?
Yep, it's on the same directory.

Here's more about my environment:

  • OS: macOS Sonoma 14.1
  • neovim: v0.10.1
  • GCC version: Apple clang version 16.0.0
  • asm-lsp: latest from git

Also, just a note: asm-lsp worked for a more complex project, such as open-goal/jak-project, but for some reason it doesn't work on a simple project. I followed the same steps on both (Install from git, setup nvim lsp, add .asm-lsp.toml, open asm file).

@JezerM
Copy link
Author

JezerM commented Aug 27, 2024

Here's the lsp log when running on open-goal/jak-project: (just some of the top lines, as there's a lot of text in these logs)

[START][2024-08-26 19:08:17] LSP logging initiated
[ERROR][2024-08-26 19:08:17] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] Starting asm_lsp...\n"
[ERROR][2024-08-26 19:08:17] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	'INFO [asm_lsp::lsp] Creating directories along /Users/jezerm/Library/Application Support/asm-lsp as necessary...\nINFO [asm_lsp::lsp] Detected project root: /Users/jezerm/Documents/Clones/jak-project\nINFO [asm_lsp::lsp] Parsing asm-lsp project config from file -> /Users/jezerm/Documents/Clones/jak-project/.asm-lsp.toml\nINFO [asm_lsp] Server Configuration: TargetConfig { version: "0.1", assemblers: Assemblers { gas: true, go: false, z80: false }, instruction_sets: InstructionSets { x86: false, x86_64: true, z80: false, arm: true, riscv: false } }\n'
[ERROR][2024-08-26 19:08:17] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] x86-64 instruction set loaded in 4ms\nINFO [asm_lsp] arm instruction set loaded in 0ms\n"
[ERROR][2024-08-26 19:08:17] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp] x86-64 register set loaded in 0ms\nINFO [asm_lsp] arm register set loaded in 0ms\nINFO [asm_lsp] Gas directive set loaded in 0ms\n"
[ERROR][2024-08-26 19:08:17] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	"INFO [asm_lsp::lsp] Detected project root: /Users/jezerm/Documents/Clones/jak-project\n"
[ERROR][2024-08-26 19:08:17] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	'INFO [asm_lsp] Loaded compile commands: [CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/offline/config/config.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/offline-test.dir/test/offline/config/config.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/offline/config/config.cpp"), output: Some("CMakeFiles/offline-test.dir/test/offline/config/config.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/offline/framework/execution.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/offline-test.dir/test/offline/framework/execution.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/offline/framework/execution.cpp"), output: Some("CMakeFiles/offline-test.dir/test/offline/framework/execution.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/offline/framework/orchestration.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/offline-test.dir/test/offline/framework/orchestration.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/offline/framework/orchestration.cpp"), output: Some("CMakeFiles/offline-test.dir/test/offline/framework/orchestration.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/offline/framework/file_management.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/'
[ERROR][2024-08-26 19:08:17] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	'Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/offline-test.dir/test/offline/framework/file_management.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/offline/framework/file_management.cpp"), output: Some("CMakeFiles/offline-test.dir/test/offline/framework/file_management.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/offline/offline_test_main.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/offline-test.dir/test/offline/offline_test_main.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/offline/offline_test_main.cpp"), output: Some("CMakeFiles/offline-test.dir/test/offline/offline_test_main.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_main.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/goalc-test.dir/test/test_main.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/test_main.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/test_main.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_reader.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14'
[ERROR][2024-08-26 19:08:17] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	'.6 -o CMakeFiles/goalc-test.dir/test/test_reader.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/test_reader.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/test_reader.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_goos.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/goalc-test.dir/test/test_goos.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/test_goos.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/test_goos.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_listener_deci2.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/goalc-test.dir/test/test_listener_deci2.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/test_listener_deci2.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/test_listener_deci2.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_kernel_jak1.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/goalc-test.dir/test/test_kernel_jak1.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/test_kernel_jak1.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/test_kernel_jak1.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/all_jak1_symbols.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/j'
[ERROR][2024-08-26 19:08:17] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	'ezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/goalc-test.dir/test/all_jak1_symbols.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/all_jak1_symbols.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/all_jak1_symbols.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_type_system.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/goalc-test.dir/test/test_type_system.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/test_type_system.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/test_type_system.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_CodeTester.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/goalc-test.dir/test/test_CodeTester.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/test_CodeTester.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/test_CodeTester.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_emitter.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-proje'
[ERROR][2024-08-26 19:08:17] .../vim/lsp/rpc.lua:770	"rpc"	"/Users/jezerm/.cargo/bin/asm-lsp"	"stderr"	'ct/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/goalc-test.dir/test/test_emitter.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/test_emitter.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/test_emitter.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_emitter_avx.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/goalc-test.dir/test/test_emitter_avx.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/test_emitter_avx.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/test_emitter_avx.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_common_util.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest/include -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/googletest/googletest          -Wall         -Winit-self         -ggdb         -Wextra         -Wno-cast-align         -Wcast-qual         -Wdisabled-optimization         -Wformat         -Wextra         -Woverloaded-virtual         -Wredundant-decls         -Wshadow         -Wsign-promo         -fdiagnostics-color=always -mavx -O3 -O3 -DNDEBUG -std=gnu++20 -arch arm64 -isysroot \\"/Volumes/Disco 1TB/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk\\" -mmacosx-version-min=14.6 -o CMakeFiles/goalc-test.dir/test/test_common_util.cpp.o -c /Users/jezerm/Documents/Clones/jak-project/test/test_common_util.cpp"), output: Some("CMakeFiles/goalc-test.dir/test/test_common_util.cpp.o") }, CompileCommand { directory: "/Users/jezerm/Documents/Clones/jak-project/build", file: File("/Users/jezerm/Documents/Clones/jak-project/test/test_pretty_print.cpp"), arguments: None, command: Some("/usr/bin/clang++ -DDISCORD_DYNAMIC_LIB -DFMT_SHARED -DHAVE_USLEEP=1 -DREPLXX_BUILDING_DLL -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_THREADSAFE=1 -DZYCORE_STATIC_BUILD -I/Users/jezerm/Documents/Clones/jak-project/. -I/Users/jezerm/Documents/Clones/jak-project/third-party/curl/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/tree-sitter/tree-sitter/lib/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/fmt/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/glad/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/discord-rpc/include -I/Users/jezerm/Documents/Clones/jak-project/third-party/lzokay -I/Users/jezerm/Documents/Clones/jak-project/third-party/replxx/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/SDL/include-config-release/SDL2 -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis -I/Users/jezerm/Documents/Clones/jak-project/third-party/zydis/dependencies/zycore/include -I/Users/jezerm/Documents/Clones/jak-project/build/third-party/zydis/zycore -isystem /Users/jezerm/Documents/Clones/jak-project/third-party/inja -isystem /Users/jezerm/Documents/Cl'

@WillLillis
Copy link
Collaborator

WillLillis commented Aug 27, 2024

Reading through the initialization parameters, I found that we can also check the (deprecated) root_path field, but I don't expect this to fix the issue. I also added in an additional log to display all of the supplied parameters on server start, so if you're able to pull down the latest version again and show the logs, we can check to be certain. (#129)

The fact that it's working with one project and not another leads me to believe that the neovim client isn't communicating the correct information to the server at start time. I found a few open issues with similar sounding problems in the nvim-lspconfig repo, so maybe this is something similar. Some suggested solutions (for example) include adding additional root markers. Maybe adding .asm-lsp.toml as a root marker might force it to recognize the project's root?

I'm really sorry this still isn't working! As a temporary workaround, you can also create a global configuration file. This won't override the configs for any projects where the local config is being detected correctly. Based off of the logs you posted earlier, I believe the correct place for this is /Users/jezerm/Library/Application Support/asm-lsp/.

@amir1387aht

This comment was marked as spam.

@JezerM
Copy link
Author

JezerM commented Aug 27, 2024

It works now!! Thanks~

It seems weird to me that root_path is the solution as I don't have it configured for asm-lsp. Also, I previously added a global config at ~/.config/asm-lsp/.asm-lsp.toml but it doesn't load it; adding it to /Users/jezerm/Library/Application Support/asm-lsp/ worked!

I appreciate your effort, thanks again.

Captura de pantalla 2024-08-26 a la(s) 20 24 32

@WillLillis
Copy link
Collaborator

WillLillis commented Aug 27, 2024

Glad to hear it! Thanks for working through it with me!

Also, I previously added a global config at ~/.config/asm-lsp/.asm-lsp.toml but it doesn't load it; adding it to /Users/jezerm/Library/Application Support/asm-lsp/ worked!

That is pretty odd. The global config directory is chosen based off of the dirs crate, so I guess that's just considered the config directory on MacOS. ¯\(ツ)

@JezerM
Copy link
Author

JezerM commented Aug 27, 2024

so I guess that's just considered the config directory on MacOS?

Maybe, I don't know about that create. But, for future revisions, my opinion is that a global config must be placed at ~/.config instead of ~/Library even on macOS, specially as a developer tool.

@WillLillis
Copy link
Collaborator

so I guess that's just considered the config directory on MacOS?

Maybe, I don't know about that create. But, for future revisions, my opinion is that a global config must be placed at ~/.config instead of ~/Library even on macOS, specially as a developer tool.

That seems reasonable. I think it makes sense to still search in that directory (I'm sure it's set up that way for a reason), but I can add a secondary check for the more intuitive path.

@WillLillis
Copy link
Collaborator

#130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@JezerM @WillLillis @amir1387aht and others