Build Information
Failed to build DefferedTaskKit, reference main (434fd2
), with Swift 5.9 for macOS (SPM) on 14 Jun 2025 15:24:44 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NikSativa/DefferedTaskKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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 QueueBarrier.swift
[5/29] Compiling Threading SyncMutex.swift
[6/29] Compiling Threading DispatchTime+Queue.swift
[7/29] Compiling Threading Queue+Queueable.swift
[8/29] Compiling Threading Queue.swift
[9/29] Compiling Threading Queueable.swift
[10/29] Compiling Threading IsolatedMain.swift
[11/29] Compiling Threading NSLock.swift
[12/29] Compiling Threading NSRecursiveLock.swift
[13/29] Compiling Threading USendable.swift
[14/29] Compiling Threading resource_bundle_accessor.swift
[15/29] Compiling Threading UnfairLock.swift
[16/29] Compiling Threading Locking.swift
[17/29] Compiling Threading MutexInitializable.swift
[18/29] Compiling Threading Mutexing.swift
[19/29] Compiling Threading DelayedQueue.swift
[20/29] Compiling Threading LockedValue.swift
[21/29] Compiling Threading OSAllocatedUnfairMutex.swift
[22/29] Compiling Threading OSAllocatedUnfairLock.swift
[23/29] Compiling Threading PThread.swift
[24/29] Compiling Threading Semaphore.swift
[25/29] Compiling Threading AnyLock.swift
[26/29] Compiling Threading AnyMutex.swift
[27/29] Compiling Threading AtomicValue.swift
[28/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)
~^~~~~~~~~
[29/42] Compiling DefferedTaskKit DefferedTask+sync.swift
[30/42] Compiling DefferedTaskKit Legacy.swift
[31/42] Compiling DefferedTaskKit DefferedTask+combine.swift
[32/42] Compiling DefferedTaskKit PollingTask.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/Threading.git
Fetching https://github.com/NikSativa/SpryKit.git
[1/463] Fetching threading
[261/1430] Fetching threading, sprykit
Fetched https://github.com/NikSativa/Threading.git (1.34s)
Fetched https://github.com/NikSativa/SpryKit.git (1.34s)
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.36s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (2.39s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[5/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.69s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.45s)
Creating working copy for https://github.com/NikSativa/Threading.git
Working copy of https://github.com/NikSativa/Threading.git resolved at 2.2.0
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
BUILD FAILURE 5.9 macosSpm