We ought to be pinning our Swift dependencies (maybe via swift package resolve + swift build ... --force-resolved-versions when we add a plugin) so this won't happen in the future.
Originally posted by @stefanvanburen in #1935
The process would probably look similar to what we do for Python/NPM/etc. Ideally automated, but can be manual to start.