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 (50d8fa), with Swift 6.2 (beta) for Wasm on 9 Sep 2025 14:27:23 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 50d8fa6 Enhance dictionary schema with additional properties support
Cloned https://github.com/1amageek/OpenFoundationModels.git
Revision (git rev-parse @):
50d8fa658ddfda971b778d9604f55ba240adfdcc
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/5243] Fetching swift-async-algorithms
[2204/77116] Fetching swift-async-algorithms, swift-syntax
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.13s)
[8625/71873] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.77s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (9.76s)
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/17445] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.22s)
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
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
Building for debugging...
[0/42] Write sources
[23/42] Compiling _SwiftSyntaxCShims dummy.c
[24/42] Write swift-version-24593BA9C3E375BF.txt
[26/80] Emitting module SwiftSyntax509
[27/80] Emitting module SwiftSyntax510
[28/80] Emitting module InternalCollectionsUtilities
[29/81] Compiling SwiftSyntax509 Empty.swift
[30/82] Emitting module SwiftSyntax600
[31/82] Compiling SwiftSyntax600 Empty.swift
[34/83] Compiling SwiftSyntax510 Empty.swift
[34/84] Wrapping AST for SwiftSyntax600 for debugging
[35/84] Wrapping AST for SwiftSyntax509 for debugging
[37/84] Wrapping AST for SwiftSyntax510 for debugging
[39/116] Compiling SwiftSyntax Identifier.swift
[40/116] Compiling SwiftSyntax MemoryLayout.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/148] 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
[42/148] Compiling SwiftSyntax SourceEdit.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
[43/148] Compiling SwiftSyntax SourceLength.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
[44/148] Compiling SwiftSyntax AbsolutePosition.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
[45/148] Compiling SwiftSyntax AbsoluteRawSyntax.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
[46/148] Compiling SwiftSyntax AbsoluteSyntaxInfo.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
[49/150] Compiling SwiftSyntax MissingNodeInitializers.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
[50/150] Compiling SwiftSyntax Assert.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
[51/150] Compiling SwiftSyntax BumpPtrAllocator.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
[52/150] Compiling SwiftSyntax CommonAncestor.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
[53/150] Compiling SwiftSyntax Convenience.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/150] Compiling SwiftSyntax CustomTraits.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
[55/150] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[57/150] Compiling SwiftSyntax RawSyntax.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
[67/150] Compiling SwiftSyntax RawSyntaxLayoutView.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
[68/150] Compiling SwiftSyntax RawSyntaxNodeProtocol.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
[69/150] Compiling SwiftSyntax RawSyntaxTokenView.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
[70/150] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[72/151] 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
[73/151] 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
BUILD FAILURE 6.2 wasm