The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build OpenFoundationModels, reference main (c0ec94), with Swift 6.2 for Wasm on 15 Sep 2025 09:44:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/1amageek/OpenFoundationModels.git
Reference: main
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/1amageek/OpenFoundationModels
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c0ec944 Update stream function to use AsyncThrowingStream
Cloned https://github.com/1amageek/OpenFoundationModels.git
Revision (git rev-parse @):
c0ec944c7eb8f8db9f53c4f728c869b2522cd714
SUCCESS checkout https://github.com/1amageek/OpenFoundationModels.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/1amageek/OpenFoundationModels.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5405] Fetching swift-async-algorithms
[5406/77321] Fetching swift-async-algorithms, swift-syntax
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.92s)
[1439/71916] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.04s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (8.97s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.60s)
Fetching https://github.com/apple/swift-collections.git
[1/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.99s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Building for debugging...
[0/42] Write sources
[23/42] Compiling _SwiftSyntaxCShims dummy.c
[24/42] Write swift-version-24593BA9C3E375BF.txt
[26/80] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[27/80] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[28/80] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[29/80] Compiling InternalCollectionsUtilities _SortedCollection.swift
[30/80] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[31/80] Compiling OpenFoundationModelsCore ProtocolExtensions.swift
[32/81] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[33/81] Compiling InternalCollectionsUtilities Debugging.swift
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
[34/81] Compiling InternalCollectionsUtilities Descriptions.swift
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
[35/81] Compiling OpenFoundationModelsCore GenerationSchema.swift
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
[36/81] Compiling OpenFoundationModelsCore Instructions.swift
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
[37/81] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[39/83] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[40/83] Compiling InternalCollectionsUtilities Integer rank.swift
[41/83] Emitting module InternalCollectionsUtilities
[43/83] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/83] Emitting module OpenFoundationModelsCore
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
[49/83] Compiling OpenFoundationModelsCore DynamicGenerationSchema.swift
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
[53/83] Compiling OpenFoundationModelsCore GeneratedContent.swift
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
[54/83] Compiling OpenFoundationModelsCore GenerationID.swift
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
[58/83] Emitting module SwiftSyntax509
[59/83] Compiling SwiftSyntax509 Empty.swift
[60/84] Compiling SwiftSyntax510 Empty.swift
[61/84] Emitting module SwiftSyntax510
[63/85] Compiling OpenFoundationModelsCore Prompt.swift
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
[64/85] Compiling OpenFoundationModelsCore SchemaCompatibility.swift
/host/spi-builder-workspace/Sources/OpenFoundationModelsCore/Extensions/Array+Generable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | // MARK: - Array Generable Conformance
[65/85] Compiling SwiftSyntax600 Empty.swift
[66/85] Emitting module SwiftSyntax600
[66/85] Wrapping AST for SwiftSyntax509 for debugging
BUILD FAILURE 6.2 wasm