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 Android on 22 Nov 2026 19:32:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-foundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9a42373a341cf0ac994d1354bf172b4b5ee78d50d70e79bac890b78e8d33c52e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/root/.local/share/swiftly/toolchains/6.2.0/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.BMbnha/vfs.yaml", "-L", "/root/.local/share/swiftly/toolchains/6.2.0/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/root/.local/share/swiftly/toolchains/6.2.0/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/root/.local/share/swiftly/toolchains/6.2.0/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.2.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.TBYRdu/spi-builder-workspace-manifest"])
/host/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")],
/host/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 |     }
/host/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",
/host/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"]),
/host/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"]),
/host/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"]),
/host/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"]),
/host/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"]),
/host/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: ["/root/.local/share/swiftly/toolchains/6.2.0/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.KNUJky/vfs.yaml", "-L", "/root/.local/share/swiftly/toolchains/6.2.0/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/root/.local/share/swiftly/toolchains/6.2.0/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/root/.local/share/swiftly/toolchains/6.2.0/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.2.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.Y6uSVG/spi-builder-workspace-manifest"])
/host/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")],
/host/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 |     }
/host/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",
/host/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"]),
/host/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"]),
/host/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"]),
/host/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"]),
/host/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"]),
/host/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 android