Build Information
Failed to build SwiftAgent, reference main (f96f88
), with Swift 6.2 (beta) for Wasm on 31 Aug 2025 20:56:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/SwiftAgent.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/SwiftAgent
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f96f886 Add documentation for Step-to-Tool conversion process
Cloned https://github.com/1amageek/SwiftAgent.git
Revision (git rev-parse @):
f96f88673631ad72d3829cef2b474f2080f8752c
SUCCESS checkout https://github.com/1amageek/SwiftAgent.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/1amageek/SwiftAgent.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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-argument-parser.git
[1/15689] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.99s)
Fetching https://github.com/1amageek/OpenFoundationModels.git
[1/1078] Fetching openfoundationmodels
Fetched https://github.com/1amageek/OpenFoundationModels.git from cache (0.25s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/5143] Fetching swift-distributed-tracing
[1802/10276] Fetching swift-distributed-tracing, swift-async-algorithms
[10277/82118] Fetching swift-distributed-tracing, swift-async-algorithms, swift-syntax
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.44s)
[7289/76975] Fetching swift-async-algorithms, swift-syntax
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.48s)
[3593/71842] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.76s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (6.00s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.08s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.82s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.17s)
Fetching https://github.com/apple/swift-collections.git
[1/17394] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (3.76s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1 (309a47b)
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
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/1amageek/OpenFoundationModels.git
Working copy of https://github.com/1amageek/OpenFoundationModels.git resolved at main (8e8a9dc)
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/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/48] Write sources
[29/48] Compiling _SwiftSyntaxCShims dummy.c
[30/48] Write swift-version-24593BA9C3E375BF.txt
[32/89] Emitting module SwiftSyntax600
[33/89] Compiling OpenFoundationModelsCore Generable.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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/89] Compiling OpenFoundationModelsCore InstructionsRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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/91] Compiling OpenFoundationModelsCore Optional+Generable.swift
[36/91] Compiling OpenFoundationModelsCore PromptBuilder.swift
[37/92] Compiling OpenFoundationModelsCore ProtocolExtensions.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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
[38/92] Compiling OpenFoundationModelsCore StandardTypeConformances.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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
[39/92] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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/.build/checkouts/OpenFoundationModels/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
[41/92] Compiling OpenFoundationModelsCore ConvertibleFromGeneratedContent.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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/92] Compiling OpenFoundationModelsCore ConvertibleToGeneratedContent.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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/92] Compiling SwiftSyntax509 Empty.swift
[44/92] Emitting module SwiftSyntax509
[45/93] Compiling SwiftSyntax600 Empty.swift
[46/94] Emitting module InternalCollectionsUtilities
[47/94] Compiling OpenFoundationModelsCore Array+Generable.swift
[48/94] Compiling OpenFoundationModelsCore Dictionary+Generable.swift
[49/94] Compiling ServiceContextModule ServiceContextKey.swift
[52/94] Compiling OpenFoundationModelsCore PromptRepresentable.swift
[59/94] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[61/94] Compiling ServiceContextModule ServiceContext.swift
[62/94] Emitting module ServiceContextModule
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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/95] Compiling OpenFoundationModelsCore DynamicGenerationSchema.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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/95] Compiling OpenFoundationModelsCore GeneratedContent.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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
[66/95] Compiling OpenFoundationModelsCore GenerationID.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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/95] Compiling OpenFoundationModelsCore GenerationSchema.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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/95] Compiling OpenFoundationModelsCore Instructions.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[69/95] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[70/95] Compiling OpenFoundationModelsCore Prompt.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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
[71/95] Compiling OpenFoundationModelsCore SchemaCompatibility.swift
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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
[72/95] Emitting module OpenFoundationModelsCore
/host/spi-builder-workspace/.build/checkouts/OpenFoundationModels/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/.build/checkouts/OpenFoundationModels/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/.build/checkouts/OpenFoundationModels/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/.build/checkouts/OpenFoundationModels/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
[76/96] Wrapping AST for SwiftSyntax600 for debugging
[77/96] Emitting module SwiftSyntax510
[78/96] Compiling SwiftSyntax510 Empty.swift
[78/96] Wrapping AST for SwiftSyntax509 for debugging
BUILD FAILURE 6.2 wasm