Could not find module ‘Sound.Tidal.Context’ It is not a module in the current program, or in any known package

Just checking on the brew llvvm page it looks like it might install llvm@14 whereas your log file stipulates between 9 and 13. I found my notes for the build I managed to sort out and I used llvm 13.0.0_1.

Found this, it's a bit different: specifies GHC 9.2.2 How to install for M1 Mac

According to this guide GHC 9 doesn't require llvm.... I don't know enough to comment. At the time I installed GHC 8.10.7 and is still @ version 8.10.7. My installation still works on OS X 12.0 m1 Mac.