On Debain Sid, Thinkpad X13s (Snapdragon 8cx / aarch64). I didn't have any trouble building the extension using the instructions in CONTRIBUTING.md , Dune and Ocaml seem to be working fine, but the results were the same when loading the generated .vsix directly.
/home/drue/.vscode-oss/extensions/chenglou92.rescript-vscode-1.18.0/server/out/server.js:665
diagnostics: [...syntaxDiagnosticsForFile, ...compilerDiagnosticsForFile],
^
TypeError: syntaxDiagnosticsForFile is not iterable
at updateDiagnosticSyntax (/home/drue/.vscode-oss/extensions/chenglou92.rescript-vscode-1.18.0/server/out/server.js:665:30)
at process.onMessage (/home/drue/.vscode-oss/extensions/chenglou92.rescript-vscode-1.18.0/server/out/server.js:821:13)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:939:14)
at process.processTicksAndRejections (node:internal/process/task_queues:84:21)
[Info - 6:30:43 AM] Connection to server got closed. Server will restart.
true