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 iOS using Xcode 26.3 on 22 Nov 2026 19:56:01 UTC.

Build Command

No build command. This typically means the build failed at an early stage where we determine the build command.

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:         iOS
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-foundation.git
Command line invocation:
    /Applications/Xcode-26.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Package: spi-builder-workspace
Resolve Package Graph
Package: spi-builder-workspace
Resolved source packages:
  spi-builder-workspace: (null)
2026-11-22 14:55:43.888 xcodebuild[539:3095] Writing error result bundle to /var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/ResultBundle_2026-22-11_14-55-0043.xcresult
xcodebuild: error: Could not resolve package dependencies:
  The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  Type 'Any' has no member 'macOS'
  Type 'Any' has no member 'iOS'
  Type 'Any' has no member 'tvOS'
  Type 'Any' has no member 'watchOS'
  Type 'Any' has no member 'visionOS'
  Type 'Any' has no member 'library'
  /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 | }
Command line invocation:
    /Applications/Xcode-26.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Package: spi-builder-workspace
Resolved source packages:
  spi-builder-workspace: (null)
2026-11-22 14:56:01.125 xcodebuild[647:4138] Writing error result bundle to /var/folders/xq/y_g06wb113726d38xsyx71_h0000gn/T/ResultBundle_2026-22-11_14-56-0001.xcresult
xcodebuild: error: Could not resolve package dependencies:
  The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
  Type 'Any' has no member 'macOS'
  Type 'Any' has no member 'iOS'
  Type 'Any' has no member 'tvOS'
  Type 'Any' has no member 'watchOS'
  Type 'Any' has no member 'visionOS'
  Type 'Any' has no member 'library'
  /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 iOS