Build Information
Failed to build swift-tools-protocols, reference 0.0.9 (f86b41), with Swift 6.2 for Wasm on 10 Nov 2025 21:15:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-tools-protocols.git
Reference: 0.0.9
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-tools-protocols
* tag 0.0.9 -> FETCH_HEAD
HEAD is now at f86b413 Merge pull request #24 from owenv/owenv/bsp-shim
Cloned https://github.com/swiftlang/swift-tools-protocols.git
Revision (git rev-parse @):
f86b413a803761408e5e718912c46d75a340801b
SUCCESS checkout https://github.com/swiftlang/swift-tools-protocols.git at 0.0.9
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftlang/swift-tools-protocols.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/swiftlang/swift-format.git
[1/12659] Fetching swift-format
Fetched https://github.com/swiftlang/swift-format.git from cache (1.04s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/72733] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.62s)
Fetching https://github.com/swiftlang/swift-markdown.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6965] Fetching swift-markdown
[4389/23651] Fetching swift-markdown, swift-argument-parser
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.78s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.78s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.7.3 (2.55s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18244] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.21s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (1.67s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.36s)
Creating working copy for https://github.com/swiftlang/swift-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at main (1058a40)
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at 0.7.3
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.2
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.7.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (02f8220)
[1/1] Compiling plugin cmake-smoke-test
[2/2] Compiling plugin Lint Source Code
[3/3] Compiling plugin Format Source Code
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/15] Write sources
[13/15] Compiling ToolsProtocolsCAtomics CAtomics.c
[14/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/21] Emitting module ToolsProtocolsSwiftExtensions
/host/spi-builder-workspace/Sources/ToolsProtocolsSwiftExtensions/AsyncQueue.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | /// Abstraction layer so we can store a heterogeneous collection of tasks in an
[17/21] Compiling ToolsProtocolsSwiftExtensions AsyncQueue.swift
/host/spi-builder-workspace/Sources/ToolsProtocolsSwiftExtensions/AsyncQueue.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | /// Abstraction layer so we can store a heterogeneous collection of tasks in an
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/21] Emitting module _ToolsProtocolsSwiftExtensionsForPlugin
/host/spi-builder-workspace/Sources/_ToolsProtocolsSwiftExtensionsForPlugin/AsyncQueue.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | /// Abstraction layer so we can store a heterogeneous collection of tasks in an
[19/21] Compiling _ToolsProtocolsSwiftExtensionsForPlugin AsyncQueue.swift
/host/spi-builder-workspace/Sources/_ToolsProtocolsSwiftExtensionsForPlugin/AsyncQueue.swift:13:8: error: no such module 'Foundation'
11 | //===----------------------------------------------------------------------===//
12 |
13 | import Foundation
| `- error: no such module 'Foundation'
14 |
15 | /// Abstraction layer so we can store a heterogeneous collection of tasks in an
BUILD FAILURE 6.2 wasm