How to build terraform-ls

I have figured it out in the end. Using different Go version was not an issue. It’s just that the building documentation is outdated and I had to instead do go install and go build, I believe.