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 PonyExpress, reference main (9d5a3a), with Swift 5.10 for Linux on 5 Sep 2025 11:22:41 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adamwulf/PonyExpress.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/adamwulf/PonyExpress
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9d5a3a1 Updating locks to 1.0.1
Cloned https://github.com/adamwulf/PonyExpress.git
Revision (git rev-parse @):
9d5a3a11a6e68e5ba0880be24b9e968dc55a3d9f
SUCCESS checkout https://github.com/adamwulf/PonyExpress.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/adamwulf/PonyExpress.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/adamwulf/Locks.git
[1/312] Fetching locks
Fetched https://github.com/adamwulf/Locks.git from cache (0.35s)
Computing version for https://github.com/adamwulf/Locks.git
Computed https://github.com/adamwulf/Locks.git at 1.0.1 (0.44s)
Creating working copy for https://github.com/adamwulf/Locks.git
Working copy of https://github.com/adamwulf/Locks.git resolved at 1.0.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/13] Compiling Locks ThreadLocal.swift
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:48:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
            Thread.current.threadDictionary[key] = initialValue
            ^
<unknown>:0: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:52:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
            Thread.current.threadDictionary[key] = newValue
            ^
<unknown>:0: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
[5/14] Compiling Locks RecursiveMutex.swift
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/RecursiveMutex.swift:38:45: error: cannot convert value of type 'Int' to expected argument type 'Int32'
            pthread_mutexattr_settype(attr, PTHREAD_MUTEX_RECURSIVE)
                                            ^
                                            Int32(                 )
[6/14] Compiling Locks NSLocking+Extensions.swift
[7/14] Compiling Locks AtomicWrapper+Extensions.swift
[8/14] Compiling Locks AtomicWrapper.swift
[9/14] Compiling Locks AtomicDictionary.swift
[10/14] Compiling Locks AtomicSet.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/14] Emitting module Locks
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:48:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
            Thread.current.threadDictionary[key] = initialValue
            ^
<unknown>:0: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/ThreadLocal.swift:52:13: error: setter for property 'threadDictionary' is private and cannot be referenced from an '@inlinable' function
            Thread.current.threadDictionary[key] = newValue
            ^
<unknown>:0: note: setter for property 'threadDictionary' is not '@usableFromInline' or public
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:14:29: error: cannot find type 'os_unfair_lock_t' in scope
    private let unfairLock: os_unfair_lock_t
                            ^~~~~~~~~~~~~~~~
[12/14] Compiling Locks Mutex.swift
[13/14] Compiling Locks ReadWriteLock.swift
[14/14] Compiling Locks UnfairLock.swift
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:14:29: error: cannot find type 'os_unfair_lock_t' in scope
    private let unfairLock: os_unfair_lock_t
                            ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:20:12: error: cannot find 'os_unfair_lock_trylock' in scope
        if os_unfair_lock_trylock(unfairLock) {
           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:21:13: error: cannot find 'os_unfair_lock_unlock' in scope
            os_unfair_lock_unlock(unfairLock)
            ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:31:23: error: cannot infer contextual base in reference to member 'allocate'
        unfairLock = .allocate(capacity: 1)
                     ~^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:32:35: error: cannot find 'os_unfair_lock' in scope
        unfairLock.initialize(to: os_unfair_lock())
                                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:37:9: error: cannot find 'os_unfair_lock_lock' in scope
        os_unfair_lock_lock(unfairLock)
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Locks/Sources/Locks/UnfairLock.swift:44:9: error: cannot find 'os_unfair_lock_unlock' in scope
        os_unfair_lock_unlock(unfairLock)
        ^~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux