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 swift-tools-protocols, reference main (a3357c), with Swift 6.2 for Wasm on 12 Dec 2025 00:16:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-tools-protocols.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/swiftlang/swift-tools-protocols
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a3357c8 Merge pull request #30 from bnbarham/so-long-and-thanks-for-all-the-fish
Cloned https://github.com/swiftlang/swift-tools-protocols.git
Revision (git rev-parse @):
a3357c805672a12a0b4479b4bf902225366a7ff7
SUCCESS checkout https://github.com/swiftlang/swift-tools-protocols.git at main
========================================
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-0":/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:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
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/13093] Fetching swift-format
Fetched https://github.com/swiftlang/swift-format.git from cache (0.95s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/73110] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.57s)
Fetching https://github.com/swiftlang/swift-markdown.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/16911] Fetching swift-argument-parser
[340/23940] Fetching swift-argument-parser, swift-markdown
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.51s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.64s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.7.3 (1.08s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18257] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (0.89s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (1.29s)
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.33s)
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-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at 0.7.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at main (ca0480b)
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-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at main (e3cca1f)
[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 _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
[17/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/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
[19/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
BUILD FAILURE 6.2 wasm