100% CPU after a while and all logging stops

I don’t think it’s Go itself, it’s most likely the dependencies or the compiler user by Arch.