Build Information
Failed to build swift-complexity, reference v0.1.0 (dacf06), with Swift 6.2 for Wasm on 29 Mar 2026 22:06:26 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/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/swift-complexity.git
Reference: v0.1.0
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/fummicc1/swift-complexity
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at dacf062 feat: Add MCP server and Claude Plugin for complexity analysis (#22)
Cloned https://github.com/fummicc1/swift-complexity.git
Revision (git rev-parse @):
dacf062a0e026dd97ec36b04ac9627d5889de0f3
SUCCESS checkout https://github.com/fummicc1/swift-complexity.git at v0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/fummicc1/swift-complexity.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/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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/swift-sdk.json
Fetching https://github.com/swiftlang/indexstore-db
[1/5834] Fetching indexstore-db
Fetched https://github.com/swiftlang/indexstore-db from cache (0.55s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10374] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (1.21s)
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
[1/17471] Fetching swift-argument-parser
[351/20918] Fetching swift-argument-parser, swift-sdk
[20919/95807] Fetching swift-argument-parser, swift-sdk, swift-syntax
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (6.03s)
Fetched https://github.com/apple/swift-argument-parser from cache (6.03s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.09s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.0 (6.47s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-system.git
[1/271] Fetching eventsource
[272/6559] Fetching eventsource, swift-log
[650/12160] Fetching eventsource, swift-log, swift-system
[12161/95107] Fetching eventsource, swift-log, swift-system, swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (6.41s)
Fetched https://github.com/apple/swift-system.git from cache (6.41s)
Fetched https://github.com/apple/swift-log.git from cache (6.41s)
Fetched https://github.com/apple/swift-nio.git from cache (6.52s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (7.10s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (0.35s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.38s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.43s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.39s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.80s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[602/25068] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.34s)
Fetched https://github.com/apple/swift-collections.git from cache (1.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.80s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.57s)
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.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.4.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/indexstore-db
Working copy of https://github.com/swiftlang/indexstore-db resolved at main (b1354e1)
Creating working copy for https://github.com/swiftlang/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (a4bc878)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.40s)
[1/1] Compiling plugin SwiftComplexityPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/231] Compiling CLMDB midl.c
[5/231] Compiling _SwiftSyntaxCShims dummy.c
[6/231] Write sources
[13/231] Write swift-version-24593BA9C3E375BF.txt
[14/231] Compiling CLMDB mdb.c
[16/233] Emitting module SwiftSyntax600
[16/233] Compiling IndexStoreDB_Support PatternMatching.cpp
[17/233] Compiling IndexStoreDB_Index IndexStoreLibraryProvider.cpp
[18/233] Compiling IndexStoreDB_LLVMSupport AArch64TargetParser.cpp
[19/237] Compiling IndexStoreDB_Support Path.cpp
[20/237] Compiling IndexStoreDB_Support Logging-NonMac.cpp
[21/237] Compiling IndexStoreDB_Support Logging-Mac.mm
[22/237] Compiling IndexStoreDB_Index StoreSymbolRecord.cpp
/host/spi-builder-workspace/.build/checkouts/indexstore-db/Sources/IndexStoreDB_Support/Logging.cpp:19:10: fatal error: 'dispatch/dispatch.h' file not found
19 | #include <dispatch/dispatch.h>
| ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[23/237] Compiling IndexStoreDB_Support Logging.cpp
[23/237] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[23/237] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[24/237] Emitting module SwiftSyntax509
[25/237] Emitting module SwiftSyntax510
[25/237] Compiling IndexStoreDB_Index SymbolIndex.cpp
[25/237] Compiling IndexStoreDB_Index IndexSystem.cpp
BUILD FAILURE 6.2 wasm