These two examples have to use Swift 6.1 because they are used in the test archive plugin CI job
That job runs on GitHub's ubuntu-latest environment that only supports Swift 6.1 (as of date)
We will update to Swift 6.2 when GitHub hosts will have Swift 6.2
Swift update on GitHub runner:
actions/runner-images#13068
See:
https://github.com/actions/runner-images?tab=readme-ov-file
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md