This error is triggered if you previously listened to the preliminary repository. You can solve this problem with the following commands
brew untap microsoft mssql-preview
brew tap microsoft/mssql-release https://github.com/Microsoft/homebrew-mssql-release
brew update
brew install mssql-tools
source
share