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 Android on 14 Dec 2025 17:11:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-4609320-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/73112] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.53s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (6.90s)
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.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.79s)
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version-2B04F66FBCF4E350.txt
[5/11] Compiling ThreadLocalMacros ThreadLocalMacros.swift
[6/11] Compiling ThreadLocalMacros Diagnostic.swift
[7/11] Emitting module ThreadLocalMacros
[8/11] Compiling ThreadLocalMacros ThreadLocalMacro.swift
[9/12] Wrapping AST for ThreadLocalMacros for debugging
[10/12] Write Objects.LinkFileList
[11/12] Linking ThreadLocalMacros-tool
[13/18] Compiling ThreadLocal ThreadLocal.swift
[14/18] Compiling ThreadLocal Macros.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 android