Build Information
Failed to build Regulate, reference 0.2.0 (3dbaf3), with Swift 6.3 for macOS (SPM) on 20 Apr 2026 18:44:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sideeffect-io/Regulate.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sideeffect-io/Regulate
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 3dbaf34 Merge pull request #1 from sideeffect-io/feature/task-extensions
Cloned https://github.com/sideeffect-io/Regulate.git
Revision (git rev-parse @):
3dbaf34cf489792e9b944be5a3aaa31e20ff5b03
SUCCESS checkout https://github.com/sideeffect-io/Regulate.git at 0.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "regulate",
"name": "Regulate",
"url": "https://github.com/sideeffect-io/Regulate.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Regulate",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/sideeffect-io/Regulate.git
[1/81] Fetching regulate
Fetched https://github.com/sideeffect-io/Regulate.git from cache (0.93s)
Creating working copy for https://github.com/sideeffect-io/Regulate.git
Working copy of https://github.com/sideeffect-io/Regulate.git resolved at 0.2.0 (3dbaf34)
warning: '.resolve-product-dependencies': dependency 'regulate' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/sideeffect-io/Regulate.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/10] Compiling Regulate Throttler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Throttler.swift:132:13: warning: global function 'os_unfair_lock_lock' is unavailable from asynchronous contexts; Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking; this is an error in the Swift 6 language mode
130 | var hasTickedOutput: StateMachine.HasTickedOutput
131 |
132 | os_unfair_lock_lock(self.lock)
| `- warning: global function 'os_unfair_lock_lock' is unavailable from asynchronous contexts; Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking; this is an error in the Swift 6 language mode
133 | hasTickedOutput = self.stateMachine.hasTicked()
134 | os_unfair_lock_unlock(self.lock)
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/os/lock.h:115:6: note: 'os_unfair_lock_lock' declared here
113 | OS_EXPORT OS_NOTHROW OS_NONNULL_ALL
114 | OS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking")
115 | void os_unfair_lock_lock(os_unfair_lock_t lock);
| `- note: 'os_unfair_lock_lock' declared here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Throttler.swift:134:13: warning: global function 'os_unfair_lock_unlock' is unavailable from asynchronous contexts; Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking; this is an error in the Swift 6 language mode
132 | os_unfair_lock_lock(self.lock)
133 | hasTickedOutput = self.stateMachine.hasTicked()
134 | os_unfair_lock_unlock(self.lock)
| `- warning: global function 'os_unfair_lock_unlock' is unavailable from asynchronous contexts; Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking; this is an error in the Swift 6 language mode
135 |
136 | switch hasTickedOutput {
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/os/lock.h:155:6: note: 'os_unfair_lock_unlock' declared here
153 | OS_EXPORT OS_NOTHROW OS_NONNULL_ALL
154 | OS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking")
155 | void os_unfair_lock_unlock(os_unfair_lock_t lock);
| `- note: 'os_unfair_lock_unlock' declared here
156 |
157 | /*!
[4/10] Compiling Regulate RegulatedButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/RegulatedButtonStyle.swift:12:4: error: 'StateObject' is only available in macOS 11.0 or newer
9 | import SwiftUI
10 |
11 | public struct RegulatedButtonStyle<R: Regulator<Void>>: PrimitiveButtonStyle {
| `- note: add '@available' attribute to enclosing generic struct
12 | @StateObject var regulator = R.init()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
13 | let dueTime: DispatchTimeInterval
14 |
[5/10] Compiling Regulate Button+Regulated.swift
[6/10] Compiling Regulate Regulator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Compiling Regulate Debouncer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Debouncer.swift:125:9: warning: global function 'os_unfair_lock_lock' is unavailable from asynchronous contexts; Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking; this is an error in the Swift 6 language mode
123 |
124 | var output: StateMachine.HasDebouncedOutput
125 | os_unfair_lock_lock(self.lock)
| `- warning: global function 'os_unfair_lock_lock' is unavailable from asynchronous contexts; Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking; this is an error in the Swift 6 language mode
126 | output = self.stateMachine.hasDebouncedCurrentValue()
127 | os_unfair_lock_unlock(self.lock)
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/os/lock.h:115:6: note: 'os_unfair_lock_lock' declared here
113 | OS_EXPORT OS_NOTHROW OS_NONNULL_ALL
114 | OS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking")
115 | void os_unfair_lock_lock(os_unfair_lock_t lock);
| `- note: 'os_unfair_lock_lock' declared here
116 |
117 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Debouncer.swift:127:9: warning: global function 'os_unfair_lock_unlock' is unavailable from asynchronous contexts; Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking; this is an error in the Swift 6 language mode
125 | os_unfair_lock_lock(self.lock)
126 | output = self.stateMachine.hasDebouncedCurrentValue()
127 | os_unfair_lock_unlock(self.lock)
| `- warning: global function 'os_unfair_lock_unlock' is unavailable from asynchronous contexts; Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking; this is an error in the Swift 6 language mode
128 |
129 | switch output {
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/os/lock.h:155:6: note: 'os_unfair_lock_unlock' declared here
153 | OS_EXPORT OS_NOTHROW OS_NONNULL_ALL
154 | OS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking")
155 | void os_unfair_lock_unlock(os_unfair_lock_t lock);
| `- note: 'os_unfair_lock_unlock' declared here
156 |
157 | /*!
[8/10] Compiling Regulate Binding+Regulate.swift
[9/10] Compiling Regulate DispatchTimeInterval+Nanoseconds.swift
[10/10] Emitting module Regulate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/RegulatedButtonStyle.swift:12:4: error: 'StateObject' is only available in macOS 11.0 or newer
9 | import SwiftUI
10 |
11 | public struct RegulatedButtonStyle<R: Regulator<Void>>: PrimitiveButtonStyle {
| `- note: add '@available' attribute to enclosing generic struct
12 | @StateObject var regulator = R.init()
| `- error: 'StateObject' is only available in macOS 11.0 or newer
13 | let dueTime: DispatchTimeInterval
14 |
BUILD FAILURE 6.3 macosSpm