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 ThreadLocal, reference 0.1.1 (2600d7), with Swift 6.2 for Wasm on 14 Dec 2025 17:11:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/StanfordBDHG/ThreadLocal.git
Reference: 0.1.1
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/StanfordBDHG/ThreadLocal
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 2600d76 small fixes (#3)
Cloned https://github.com/StanfordBDHG/ThreadLocal.git
Revision (git rev-parse @):
2600d766183e7223f1e951b0ab03bf98738e1ccc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/StanfordBDHG/ThreadLocal.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
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/swift-sdk.json
Fetching https://github.com/swiftlang/swift-syntax.git
[1/73112] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.67s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (7.37s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.79s)
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/11] Emitting module ThreadLocalMacros
[6/11] Compiling ThreadLocalMacros ThreadLocalMacros.swift
[7/11] Compiling ThreadLocalMacros ThreadLocalMacro.swift
[8/11] Compiling ThreadLocalMacros Diagnostic.swift
[9/12] Wrapping AST for ThreadLocalMacros for debugging
[10/12] Write Objects.LinkFileList
[11/12] Linking ThreadLocalMacros-tool
[13/18] Compiling ThreadLocal Macros.swift
[14/18] Compiling ThreadLocal ThreadLocal.swift
[15/18] Emitting module ThreadLocal
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Sources/ThreadLocal/ThreadLocal.swift:15:8: error: no such module 'Darwin.C'
 13 | import Glibc
 14 | #else
 15 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 16 | #endif
 17 |
[18/19] Compiling ThreadLocal Macros.swift
/host/spi-builder-workspace/Sources/ThreadLocal/ThreadLocal.swift:15:8: error: no such module 'Darwin.C'
 13 | import Glibc
 14 | #else
 15 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 16 | #endif
 17 |
[19/19] Compiling ThreadLocal ThreadLocal.swift
/host/spi-builder-workspace/Sources/ThreadLocal/ThreadLocal.swift:15:8: error: no such module 'Darwin.C'
 13 | import Glibc
 14 | #else
 15 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 16 | #endif
 17 |
BUILD FAILURE 6.2 wasm