Swift build causes invalidAccess error

When trying to use swift build from the package manager I get an invalid access error:
bash-3.2$ swift build
error: invalidAccess

Terms of Service

Privacy Policy

Cookie Policy