Hello I was having trouble building a command line program and I found that my swift and package manager version seem to be different. I'm running macOS Sequoia 15.5. I have uninstalled all the references to Xcode and swifty. There is still a swift executable in /user/bin. I rebooted and to run the commands below I had to first reinstall the command line tools when I ran them and agree to the license so I am sure I did a thorough job of removing things originally. The versions should match?
deverman@Brents-MacBook-Pro-2 Toolchains % which swift
/usr/bin/swift
deverman@Brents-MacBook-Pro-2 Toolchains % swift --version
swift-driver version: 1.120.5 Apple Swift version 6.1.2 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
Target: arm64-apple-macosx15.0
deverman@Brents-MacBook-Pro-2 Toolchains % swift package --version
Swift Package Manager - Swift 6.1.0
It looks like that may be expected as the Swift Package Manager version is in the swift-package-manager source code, and the version still represents 6.2.0