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 DefferedTaskKit, reference 2.0.4 (434fd2), with Swift 5.9 for macOS (SPM) on 14 Jun 2025 15:26:36 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NikSativa/DefferedTaskKit.git
Reference: 2.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/DefferedTaskKit
 * tag               2.0.4      -> FETCH_HEAD
HEAD is now at 434fd2a upd SwiftFormat rules and github actions
Cloned https://github.com/NikSativa/DefferedTaskKit.git
Revision (git rev-parse @):
434fd2a985c3ba5556915b674be76d83b97b7a1c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NikSativa/DefferedTaskKit.git at 2.0.4
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/NikSativa/DefferedTaskKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[3/27] Emitting module Threading
[4/29] Compiling Threading USendable.swift
[5/29] Compiling Threading resource_bundle_accessor.swift
[6/29] Compiling Threading QueueBarrier.swift
[7/29] Compiling Threading SyncMutex.swift
[8/29] Compiling Threading IsolatedMain.swift
[9/29] Compiling Threading NSLock.swift
[10/29] Compiling Threading NSRecursiveLock.swift
[11/29] Compiling Threading AnyLock.swift
[12/29] Compiling Threading AnyMutex.swift
[13/29] Compiling Threading AtomicValue.swift
[14/29] Compiling Threading Mutexing.swift
[15/29] Compiling Threading DelayedQueue.swift
[16/29] Compiling Threading Queue.swift
[17/29] Compiling Threading Queueable.swift
[18/29] Compiling Threading OSAllocatedUnfairLock.swift
[19/29] Compiling Threading PThread.swift
[20/29] Compiling Threading Semaphore.swift
[21/29] Compiling Threading DispatchTime+Queue.swift
[22/29] Compiling Threading Queue+Queueable.swift
[23/29] Compiling Threading UnfairLock.swift
[24/29] Compiling Threading Locking.swift
[25/29] Compiling Threading MutexInitializable.swift
[26/29] Compiling Threading LockedValue.swift
[27/29] Compiling Threading OSAllocatedUnfairMutex.swift
[28/41] Compiling DefferedTaskKit PollingTask.swift
[29/41] Compiling DefferedTaskKit Legacy.swift
[30/41] Compiling DefferedTaskKit PendingTask.swift
/Users/admin/builder/spi-builder-workspace/Source/PendingTask.swift:31:35: error: instance member 'pthread' cannot be used on type 'AnyMutex<_>'; did you mean to use a value of this type instead?
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/PendingTask.swift:31:35: error: generic parameter 'Value' could not be inferred
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^
/Users/admin/builder/spi-builder-workspace/Source/PendingTask.swift:31:35: note: explicitly specify the generic arguments to fix this issue
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^
                                          <Any>
/Users/admin/builder/spi-builder-workspace/Source/PendingTask.swift:31:53: error: cannot infer contextual base in reference to member 'recursive'
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                                   ~^~~~~~~~~
[31/42] Compiling DefferedTaskKit DefferedTask+combine.swift
[32/42] Compiling DefferedTaskKit DefferedTask+sync.swift
[33/42] Compiling DefferedTaskKit DefferedTask.swift
/Users/admin/builder/spi-builder-workspace/Source/DefferedTask.swift:50:35: error: instance member 'pthread' cannot be used on type 'AnyMutex<_>'; did you mean to use a value of this type instead?
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/DefferedTask.swift:50:35: error: generic parameter 'Value' could not be inferred
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^
/Users/admin/builder/spi-builder-workspace/Source/DefferedTask.swift:50:35: note: explicitly specify the generic arguments to fix this issue
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^
                                          <Any>
/Users/admin/builder/spi-builder-workspace/Source/DefferedTask.swift:50:53: error: cannot infer contextual base in reference to member 'recursive'
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                                   ~^~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/42] Compiling DefferedTaskKit DefferedTask+andThen.swift
[35/42] Compiling DefferedTaskKit DefferedTask+Array.swift
[36/42] Compiling DefferedTaskKit DefferedTask+Async.swift
[37/42] Compiling DefferedTaskKit DefferedTask+Result.swift
[38/42] Compiling DefferedTaskKit DefferedTask+Void.swift
[39/42] Emitting module DefferedTaskKit
/Users/admin/builder/spi-builder-workspace/Source/DefferedTask.swift:50:35: error: instance member 'pthread' cannot be used on type 'AnyMutex<_>'; did you mean to use a value of this type instead?
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/DefferedTask.swift:50:35: error: generic parameter 'Value' could not be inferred
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^
/Users/admin/builder/spi-builder-workspace/Source/DefferedTask.swift:50:35: note: explicitly specify the generic arguments to fix this issue
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^
                                          <Any>
/Users/admin/builder/spi-builder-workspace/Source/DefferedTask.swift:50:53: error: cannot infer contextual base in reference to member 'recursive'
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                                   ~^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/PendingTask.swift:31:35: error: instance member 'pthread' cannot be used on type 'AnyMutex<_>'; did you mean to use a value of this type instead?
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Source/PendingTask.swift:31:35: error: generic parameter 'Value' could not be inferred
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^
/Users/admin/builder/spi-builder-workspace/Source/PendingTask.swift:31:35: note: explicitly specify the generic arguments to fix this issue
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                  ^
                                          <Any>
/Users/admin/builder/spi-builder-workspace/Source/PendingTask.swift:31:53: error: cannot infer contextual base in reference to member 'recursive'
    private var mutex: Mutexing = AnyMutex.pthread(.recursive)
                                                   ~^~~~~~~~~
[40/42] Compiling DefferedTaskKit resource_bundle_accessor.swift
error: fatalError
Fetching https://github.com/NikSativa/SpryKit.git
Fetching https://github.com/NikSativa/Threading.git
[14/463] Fetching threading
[89/1430] Fetching threading, sprykit
Fetched https://github.com/NikSativa/Threading.git (1.43s)
Fetched https://github.com/NikSativa/SpryKit.git (1.43s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.4 (0.36s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.73s)
Computing version for https://github.com/NikSativa/Threading.git
Computed https://github.com/NikSativa/Threading.git at 2.2.0 (0.34s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (2.66s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.67s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.48s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/NikSativa/SpryKit.git
Working copy of https://github.com/NikSativa/SpryKit.git resolved at 3.0.4
Creating working copy for https://github.com/NikSativa/Threading.git
Working copy of https://github.com/NikSativa/Threading.git resolved at 2.2.0
BUILD FAILURE 5.9 macosSpm