The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-complexity, reference main (4bc50d), with Swift 6.2 for Linux on 20 Apr 2026 04:04:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fummicc1/swift-complexity.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/fummicc1/swift-complexity
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4bc50d9 feat: Add Artifact Bundle distribution to release workflow (#26)
Cloned https://github.com/fummicc1/swift-complexity.git
Revision (git rev-parse @):
4bc50d9a747e684132389832a700024805d80370
SUCCESS checkout https://github.com/fummicc1/swift-complexity.git at main
========================================
Build
========================================
Selected platform:         linux
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-4606859-3":/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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/indexstore-db
[1/5903] Fetching indexstore-db
Fetched https://github.com/swiftlang/indexstore-db from cache (1.03s)
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10375] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (1.81s)
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/17529] Fetching swift-argument-parser
[1053/92510] Fetching swift-argument-parser, swift-syntax
[1054/95983] Fetching swift-argument-parser, swift-syntax, swift-sdk
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.83s)
[20719/78454] Fetching swift-syntax, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (9.71s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.78s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.0 (10.57s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/271] Fetching eventsource
Fetching https://github.com/apple/swift-system.git
Fetched https://github.com/mattt/eventsource.git from cache (0.44s)
[1/6635] Fetching swift-log
[6636/89807] Fetching swift-log, swift-nio
[7468/95408] Fetching swift-log, swift-nio, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.90s)
[12458/89807] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (10.43s)
Fetched https://github.com/apple/swift-nio.git from cache (10.55s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (14.49s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (3.55s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (2.83s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (4.79s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (7.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (9.10s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[1821/25389] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (9.25s)
Fetched https://github.com/apple/swift-collections.git from cache (9.28s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (9.82s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.22s)
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.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.12.0
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/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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
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.7.1
Creating working copy for https://github.com/swiftlang/indexstore-db
Working copy of https://github.com/swiftlang/indexstore-db resolved at main (4ee7a49)
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-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/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.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
[7/231] Write sources
[25/231] Write swift-version-24593BA9C3E375BF.txt
[26/231] Compiling IndexStoreDB_LLVMSupport Atomic.cpp
[27/233] Compiling CLMDB mdb.c
[28/235] Compiling IndexStoreDB_Database DatabaseError.cpp
[29/237] Compiling IndexStoreDB_Support PatternMatching.cpp
[30/239] Compiling IndexStoreDB_Index FileVisibilityChecker.cpp
[31/241] Compiling IndexStoreDB_Support Path.cpp
[33/243] Emitting module SwiftSyntax509
[33/243] Compiling IndexStoreDB_Index FilePathIndex.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.
[35/249] Compiling IndexStoreDB_Support Logging.cpp
[36/249] Emitting module SwiftSyntax510
[37/249] Emitting module SwiftSyntax600
BUILD FAILURE 6.2 linux