The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-foundation, reference release/6.5.x (72996d), with Swift 6.2 for macOS (SPM) on 22 Nov 2026 20:01:17 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-foundation.git
Reference: release/6.5.x
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftlang/swift-foundation
 * branch            release/6.5.x -> FETCH_HEAD
 * [new branch]      release/6.5.x -> origin/release/6.5.x
HEAD is now at 72996db Revert changes unintentionally included in #2385 (#2458)
Cloned https://github.com/swiftlang/swift-foundation.git
Revision (git rev-parse @):
72996dbdde1147dd142f5b2ce4c7998c689ba9bb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-foundation.git at release/6.5.x
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-foundation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.G4FW4I/vfs.yaml", "-L", "/Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx14.0", "-plugin-path", "/Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing", "-sdk", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk", "-F", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-F", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks", "-I", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "6", "-I", "/Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk", "-package-description-version", "6.2.0", "/Users/admin/builder/spi-builder-workspace/Package.swift", "-o", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.IuYVKS/spi-builder-workspace-manifest"])
/Users/admin/builder/spi-builder-workspace/Package.swift:101:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 99 | ]
100 |
101 | var package = Package(
    |     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
102 |     name: "swift-foundation",
103 |     platforms: [.macOS("27"), .iOS("27"), .tvOS("27"), .watchOS("27"), .visionOS("27")],
/Users/admin/builder/spi-builder-workspace/Package.swift:274:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
272 |
273 |     // Two targets cannot have the same source files, so remove the separate modules and the tests that use them.
274 |     package.targets.removeAll {
    |     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
275 |         $0.name == "FoundationEssentials" || $0.name == "FoundationInternationalization" || $0.name == "TestSupport" || $0.type == .test
276 |     }
/Users/admin/builder/spi-builder-workspace/Package.swift:277:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
275 |         $0.name == "FoundationEssentials" || $0.name == "FoundationInternationalization" || $0.name == "TestSupport" || $0.type == .test
276 |     }
277 |     package.targets.append(
    |     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
278 |         .target(
279 |             name: "Foundation",
/Users/admin/builder/spi-builder-workspace/Package.swift:302:27: error: type 'Any' has no member 'macOS'
300 |         )
301 |     )
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
    |                           `- error: type 'Any' has no member 'macOS'
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
/Users/admin/builder/spi-builder-workspace/Package.swift:302:41: error: type 'Any' has no member 'iOS'
300 |         )
301 |     )
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
    |                                         `- error: type 'Any' has no member 'iOS'
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
/Users/admin/builder/spi-builder-workspace/Package.swift:302:53: error: type 'Any' has no member 'tvOS'
300 |         )
301 |     )
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
    |                                                     `- error: type 'Any' has no member 'tvOS'
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
/Users/admin/builder/spi-builder-workspace/Package.swift:302:66: error: type 'Any' has no member 'watchOS'
300 |         )
301 |     )
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
    |                                                                  `- error: type 'Any' has no member 'watchOS'
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
/Users/admin/builder/spi-builder-workspace/Package.swift:302:82: error: type 'Any' has no member 'visionOS'
300 |         )
301 |     )
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
    |                                                                                  `- error: type 'Any' has no member 'visionOS'
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
/Users/admin/builder/spi-builder-workspace/Package.swift:304:10: error: type 'Any' has no member 'library'
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
    |          `- error: type 'Any' has no member 'library'
305 |     ]
306 | }
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.PKmfYO/vfs.yaml", "-L", "/Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-target", "arm64-apple-macosx14.0", "-plugin-path", "/Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing", "-sdk", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk", "-F", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks", "-F", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks", "-I", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-L", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib", "-swift-version", "6", "-I", "/Applications/Xcode-26.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/pm/ManifestAPI", "-sdk", "/Applications/Xcode-26.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.2.sdk", "-package-description-version", "6.2.0", "/Users/admin/builder/spi-builder-workspace/Package.swift", "-o", "/var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/TemporaryDirectory.1MBcad/spi-builder-workspace-manifest"])
/Users/admin/builder/spi-builder-workspace/Package.swift:101:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 99 | ]
100 |
101 | var package = Package(
    |     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
102 |     name: "swift-foundation",
103 |     platforms: [.macOS("27"), .iOS("27"), .tvOS("27"), .watchOS("27"), .visionOS("27")],
/Users/admin/builder/spi-builder-workspace/Package.swift:274:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
272 |
273 |     // Two targets cannot have the same source files, so remove the separate modules and the tests that use them.
274 |     package.targets.removeAll {
    |     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
275 |         $0.name == "FoundationEssentials" || $0.name == "FoundationInternationalization" || $0.name == "TestSupport" || $0.type == .test
276 |     }
/Users/admin/builder/spi-builder-workspace/Package.swift:277:5: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
275 |         $0.name == "FoundationEssentials" || $0.name == "FoundationInternationalization" || $0.name == "TestSupport" || $0.type == .test
276 |     }
277 |     package.targets.append(
    |     `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
278 |         .target(
279 |             name: "Foundation",
/Users/admin/builder/spi-builder-workspace/Package.swift:302:27: error: type 'Any' has no member 'macOS'
300 |         )
301 |     )
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
    |                           `- error: type 'Any' has no member 'macOS'
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
/Users/admin/builder/spi-builder-workspace/Package.swift:302:41: error: type 'Any' has no member 'iOS'
300 |         )
301 |     )
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
    |                                         `- error: type 'Any' has no member 'iOS'
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
/Users/admin/builder/spi-builder-workspace/Package.swift:302:53: error: type 'Any' has no member 'tvOS'
300 |         )
301 |     )
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
    |                                                     `- error: type 'Any' has no member 'tvOS'
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
/Users/admin/builder/spi-builder-workspace/Package.swift:302:66: error: type 'Any' has no member 'watchOS'
300 |         )
301 |     )
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
    |                                                                  `- error: type 'Any' has no member 'watchOS'
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
/Users/admin/builder/spi-builder-workspace/Package.swift:302:82: error: type 'Any' has no member 'visionOS'
300 |         )
301 |     )
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
    |                                                                                  `- error: type 'Any' has no member 'visionOS'
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
/Users/admin/builder/spi-builder-workspace/Package.swift:304:10: error: type 'Any' has no member 'library'
302 |     package.platforms = [.macOS("15"), .iOS("18"), .tvOS("18"), .watchOS("11"), .visionOS("2")]
303 |     package.products = [
304 |         .library(name: "Foundation", targets: ["Foundation"]),
    |          `- error: type 'Any' has no member 'library'
305 |     ]
306 | }
BUILD FAILURE 6.2 macosSpm