The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Regulate, reference 0.2.0 (3dbaf3), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 22:16:51 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/sideeffect-io/Regulate.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] Regulate
[30 / 103]
[33 / 103]
[41 / 103]
[43 / 103]
[44 / 103]
[49 / 103]
[52 / 103]
[55 / 103]
[61 / 103]
[64 / 103]
[66 / 103]
[67 / 103]
[77 / 103]
[79 / 103]
[80 / 103]
[83 / 103]
[85 / 103]
[94 / 103] Regulate
[100 / 103] Regulate
Build complete! (10.38 sec)
/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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/os/lock.h:118:6: note: 'os_unfair_lock_lock' declared here
116 | OS_EXPORT OS_NOTHROW OS_NONNULL_ALL
117 | OS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking")
118 | void os_unfair_lock_lock(os_unfair_lock_t lock);
    |      `- note: 'os_unfair_lock_lock' declared here
119 |
120 | /*!
/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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/os/lock.h:158:6: note: 'os_unfair_lock_unlock' declared here
156 | OS_EXPORT OS_NOTHROW OS_NONNULL_ALL
157 | OS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking")
158 | void os_unfair_lock_unlock(os_unfair_lock_t lock);
    |      `- note: 'os_unfair_lock_unlock' declared here
159 |
160 | /*!
/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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/os/lock.h:118:6: note: 'os_unfair_lock_lock' declared here
116 | OS_EXPORT OS_NOTHROW OS_NONNULL_ALL
117 | OS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking")
118 | void os_unfair_lock_lock(os_unfair_lock_t lock);
    |      `- note: 'os_unfair_lock_lock' declared here
119 |
120 | /*!
/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-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/os/lock.h:158:6: note: 'os_unfair_lock_unlock' declared here
156 | OS_EXPORT OS_NOTHROW OS_NONNULL_ALL
157 | OS_SWIFT_UNAVAILABLE_FROM_ASYNC("Use OSAllocatedUnfairLock.performWhileLocked() for async-safe scoped locking")
158 | void os_unfair_lock_unlock(os_unfair_lock_t lock);
    |      `- note: 'os_unfair_lock_unlock' declared here
159 |
160 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/Button+Regulated.swift:16:59: warning: call to main actor-isolated initializer 'init(dueTime:)' in a synchronous nonisolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call\ActorIsolatedCall]8;;\]
14 |   /// - Returns: a debounced button
15 |   func debounce(dueTime: DispatchTimeInterval) -> some View {
16 |     return self.buttonStyle(RegulatedButtonStyle<Debouncer>(dueTime: dueTime))
   |                                                           `- warning: call to main actor-isolated initializer 'init(dueTime:)' in a synchronous nonisolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call\ActorIsolatedCall]8;;\]
17 |   }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/RegulatedButtonStyle.swift:15:3: note: calls to initializer 'init(dueTime:)' from outside of its actor context are implicitly asynchronous
13 |   let dueTime: DispatchTimeInterval
14 |
15 |   init(dueTime: DispatchTimeInterval) {
   |   |- note: calls to initializer 'init(dueTime:)' from outside of its actor context are implicitly asynchronous
   |   `- note: main actor isolation inferred from conformance to protocol 'PrimitiveButtonStyle'
16 |     self.dueTime = dueTime
17 |   }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/Button+Regulated.swift:23:59: warning: call to main actor-isolated initializer 'init(dueTime:)' in a synchronous nonisolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call\ActorIsolatedCall]8;;\]
21 |   /// - Returns: a throttled button
22 |   func throttle(dueTime: DispatchTimeInterval) -> some View {
23 |     return self.buttonStyle(RegulatedButtonStyle<Throttler>(dueTime: dueTime))
   |                                                           `- warning: call to main actor-isolated initializer 'init(dueTime:)' in a synchronous nonisolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call\ActorIsolatedCall]8;;\]
24 |   }
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUI/RegulatedButtonStyle.swift:15:3: note: calls to initializer 'init(dueTime:)' from outside of its actor context are implicitly asynchronous
13 |   let dueTime: DispatchTimeInterval
14 |
15 |   init(dueTime: DispatchTimeInterval) {
   |   |- note: calls to initializer 'init(dueTime:)' from outside of its actor context are implicitly asynchronous
   |   `- note: main actor isolation inferred from conformance to protocol 'PrimitiveButtonStyle'
16 |     self.dueTime = dueTime
17 |   }
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Regulate",
  "name" : "Regulate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "Regulate",
      "targets" : [
        "Regulate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RegulateTests",
      "module_type" : "SwiftTarget",
      "name" : "RegulateTests",
      "path" : "Tests",
      "sources" : [
        "DebouncerTests.swift",
        "Supporting/Spy.swift",
        "ThrottlerTests.swift"
      ],
      "target_dependencies" : [
        "Regulate"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Regulate",
      "module_type" : "SwiftTarget",
      "name" : "Regulate",
      "path" : "Sources",
      "product_memberships" : [
        "Regulate"
      ],
      "sources" : [
        "Debouncer.swift",
        "Regulator.swift",
        "Supporting/DispatchTimeInterval+Nanoseconds.swift",
        "SwiftUI/Binding+Regulate.swift",
        "SwiftUI/Button+Regulated.swift",
        "SwiftUI/RegulatedButtonStyle.swift",
        "Throttler.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.