Build Information
Failed to build DefferedTaskKit, reference 2.0.4 (434fd2
), with Swift 5.10 for macOS (SPM) on 14 Jun 2025 15:27:16 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.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.10
Building package at path: $PWD
https://github.com/NikSativa/DefferedTaskKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[1/9] Copying PrivacyInfo.xcprivacy
[1/9] Write sources
[2/9] Copying PrivacyInfo.xcprivacy
[4/9] Write swift-version-33747A42983211AE.txt
[6/32] Emitting module Threading
[7/34] Compiling Threading USendable.swift
[8/34] Compiling Threading resource_bundle_accessor.swift
[9/34] Compiling Threading IsolatedMain.swift
[10/34] Compiling Threading NSLock.swift
[11/34] Compiling Threading NSRecursiveLock.swift
[12/34] Compiling Threading UnfairLock.swift
[13/34] Compiling Threading Locking.swift
[14/34] Compiling Threading MutexInitializable.swift
[15/34] Compiling Threading DispatchTime+Queue.swift
[16/34] Compiling Threading Queue+Queueable.swift
[17/34] Compiling Threading QueueBarrier.swift
[18/34] Compiling Threading SyncMutex.swift
[19/34] Compiling Threading Mutexing.swift
[20/34] Compiling Threading DelayedQueue.swift
[21/34] Compiling Threading Queue.swift
[22/34] Compiling Threading Queueable.swift
[23/34] Compiling Threading OSAllocatedUnfairLock.swift
[24/34] Compiling Threading PThread.swift
[25/34] Compiling Threading Semaphore.swift
[26/34] Compiling Threading LockedValue.swift
[27/34] Compiling Threading OSAllocatedUnfairMutex.swift
[28/34] Compiling Threading AnyLock.swift
[29/34] Compiling Threading AnyMutex.swift
[30/34] Compiling Threading AtomicValue.swift
[31/46] Compiling DefferedTaskKit Legacy.swift
[32/47] Compiling DefferedTaskKit DefferedTask+sync.swift
[33/47] 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)
~^~~~~~~~~
[34/47] Compiling DefferedTaskKit PollingTask.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/47] Compiling DefferedTaskKit DefferedTask+Result.swift
[36/47] Compiling DefferedTaskKit DefferedTask+Void.swift
[37/47] Compiling DefferedTaskKit DefferedTask+combine.swift
[38/47] 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)
~^~~~~~~~~
[39/47] Compiling DefferedTaskKit DefferedTask+andThen.swift
[40/47] 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)
~^~~~~~~~~
[41/47] Compiling DefferedTaskKit DefferedTask+Array.swift
[42/47] Compiling DefferedTaskKit DefferedTask+Async.swift
[43/47] Compiling DefferedTaskKit resource_bundle_accessor.swift
error: fatalError
Fetching https://github.com/NikSativa/SpryKit.git
Fetching https://github.com/NikSativa/Threading.git
[1/967] Fetching sprykit
[127/1430] Fetching sprykit, threading
Fetched https://github.com/NikSativa/SpryKit.git from cache (1.28s)
Fetched https://github.com/NikSativa/Threading.git from cache (1.28s)
Computing version for https://github.com/NikSativa/SpryKit.git
Computed https://github.com/NikSativa/SpryKit.git at 3.0.4 (0.37s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.75s)
Computing version for https://github.com/NikSativa/Threading.git
Computed https://github.com/NikSativa/Threading.git at 2.2.0 (0.33s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (2.05s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.69s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.41s)
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/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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.10 macosSpm