Hi All:
I download swift 6 toolchain from here, and install it on macOS 14.6.
Then just make a simple package, but it build fail...
mkdir hello
cd hello
swift package init --type executable
swift build
The detail error shows as below.
test@testdeiMac testServer % swift build -vv
error: 'testserver': Invalid manifest (compiled with: ["/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.4b0OBb/vfs.yaml", "-L", "/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx13.0", "-sdk", "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk", "-swift-version", "6", "-I", "/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk", "-package-description-version", "6.0.0", "/Users/test/dev/testServer/Package.swift", "-v", "-o", "/var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.nG7f3g/testserver-manifest"])
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/test/dev/testServer/Package.swift -target arm64-apple-macosx13.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI -vfsoverlay /var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.4b0OBb/vfs.yaml -swift-version 6 -package-description-version 6.0.0 -empty-abi-descriptor -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift -module-name main -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 14.4 -target-sdk-name macosx14.4 -external-plugin-path '/Library/Developer/Developer/usr/lib/swift/host/plugins#/Library/Developer/Developer/usr/bin/swift-plugin-server' -external-plugin-path '/Library/Developer/Developer/usr/local/lib/swift/host/plugins#/Library/Developer/Developer/usr/bin/swift-plugin-server' -o /var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.S2GxFs/Package-1.o
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/bin/clang /var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.S2GxFs/Package-1.o --sysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk --target=arm64-apple-macosx13.0 /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/macosx/libswiftCompatibilityPacks.a -L /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/macosx -L /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/swift -L /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI -lPackageDescription -Xlinker -rpath -Xlinker /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI -o /var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.nG7f3g/testserver-manifest
Apple Swift version 6.0-dev (LLVM c3efe9282719c35, Swift b163fed2b3101e0)
Target: arm64-apple-macosx13.0
error: 'testserver': Invalid manifest (compiled with: ["/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.z8Wygx/vfs.yaml", "-L", "/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx13.0", "-sdk", "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk", "-swift-version", "6", "-I", "/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk", "-package-description-version", "6.0.0", "/Users/test/dev/testServer/Package.swift", "-v", "-o", "/var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.fjxbmk/testserver-manifest"])
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/test/dev/testServer/Package.swift -target arm64-apple-macosx13.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI -vfsoverlay /var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.z8Wygx/vfs.yaml -swift-version 6 -package-description-version 6.0.0 -empty-abi-descriptor -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift -module-name main -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 14.4 -target-sdk-name macosx14.4 -external-plugin-path '/Library/Developer/Developer/usr/lib/swift/host/plugins#/Library/Developer/Developer/usr/bin/swift-plugin-server' -external-plugin-path '/Library/Developer/Developer/usr/local/lib/swift/host/plugins#/Library/Developer/Developer/usr/bin/swift-plugin-server' -o /var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.iwu74F/Package-1.o
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/bin/clang /var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.iwu74F/Package-1.o --sysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk --target=arm64-apple-macosx13.0 /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/macosx/libswiftCompatibilityPacks.a -L /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/macosx -L /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/swift -L /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI -lPackageDescription -Xlinker -rpath -Xlinker /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-08-22-a.xctoolchain/usr/lib/swift/pm/ManifestAPI -o /var/folders/4p/n1jbs_l10v93dsxr51_nxffm0000gn/T/TemporaryDirectory.fjxbmk/testserver-manifest
Apple Swift version 6.0-dev (LLVM c3efe9282719c35, Swift b163fed2b3101e0)
Target: arm64-apple-macosx13.0