The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Feedback, reference main (64fb2c), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 04:13:45 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shaps80/Feedback.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shaps80/Feedback
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 64fb2c5 Now compiles for macOS - some implementation missing
Cloned https://github.com/shaps80/Feedback.git
Revision (git rev-parse @):
64fb2c557bc8216803ac29e0fa498146dc78e6ee
SUCCESS checkout https://github.com/shaps80/Feedback.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/shaps80/Feedback.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/14] Compiling Feedback DelayedFeedback.swift
[4/14] Compiling Feedback Backport.swift
[5/15] Compiling Feedback Flash.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Flash/Flash.swift:48:10: warning: macOS flash not implemented
46 |         }
47 | #else
48 | #warning("macOS flash not implemented")
   |          `- warning: macOS flash not implemented
49 | #endif
50 |     }
[6/15] Compiling Feedback Feedback+Binding.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback/Feedback+Binding.swift:26:20: warning: capture of non-sendable type 'Value.Type' in an isolated closure
24 |     func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
25 |         Binding(
26 |             get: { wrappedValue },
   |                    `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
27 |             set: { newValue in
28 |                 let oldValue = round(wrappedValue / step) * step
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback/Feedback+Binding.swift:24:10: warning: capture of non-sendable type 'Value.Type' in an isolated closure
22 |     ///
23 |     /// - Returns: A new binding.
24 |     func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
   |          `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
25 |         Binding(
26 |             get: { wrappedValue },
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback/Feedback+Binding.swift:28:59: warning: capture of non-sendable type 'Value.Type' in an isolated closure
26 |             get: { wrappedValue },
27 |             set: { newValue in
28 |                 let oldValue = round(wrappedValue / step) * step
   |                                                           `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
29 |                 let stepValue = round(newValue / step) * step
30 |
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback/Feedback+Binding.swift:24:10: warning: capture of non-sendable type 'Value.Type' in an isolated closure
22 |     ///
23 |     /// - Returns: A new binding.
24 |     func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
   |          `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
25 |         Binding(
26 |             get: { wrappedValue },
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback/Feedback+Binding.swift:49:20: warning: capture of non-sendable type 'Value.Type' in an isolated closure
47 |     func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
48 |         Binding(
49 |             get: { wrappedValue },
   |                    `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
50 |             set: { newValue in
51 |                 let oldValue = wrappedValue / step * step
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback/Feedback+Binding.swift:47:10: warning: capture of non-sendable type 'Value.Type' in an isolated closure
45 |     ///
46 |     /// - Returns: A new binding.
47 |     func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
   |          `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
48 |         Binding(
49 |             get: { wrappedValue },
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback/Feedback+Binding.swift:51:52: warning: capture of non-sendable type 'Value.Type' in an isolated closure
49 |             get: { wrappedValue },
50 |             set: { newValue in
51 |                 let oldValue = wrappedValue / step * step
   |                                                    `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
52 |                 let stepValue = newValue / step * step
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback/Feedback+Binding.swift:47:10: warning: capture of non-sendable type 'Value.Type' in an isolated closure
45 |     ///
46 |     /// - Returns: A new binding.
47 |     func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
   |          `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
48 |         Binding(
49 |             get: { wrappedValue },
[7/15] Compiling Feedback SystemHaptic.swift
[8/15] Compiling Feedback AudioPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Audio/AudioPlayer.swift:29:10: warning: macOS audio not implemented
27 |         player?.play()
28 | #else
29 | #warning("macOS audio not implemented")
   |          `- warning: macOS audio not implemented
30 | #endif
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback.swift:64:30: warning: capture of non-sendable type 'V.Type' in an isolated closure
62 |         content
63 |             .backport.onChange(of: value) { value in
64 |                 Task { await feedback.perform() }
   |                              `- warning: capture of non-sendable type 'V.Type' in an isolated closure
65 |             }
66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback.swift:61:10: warning: capture of non-sendable type 'V.Type' in an isolated closure
59 |     let value: V
60 |
61 |     func body(content: Content) -> some View {
   |          `- warning: capture of non-sendable type 'V.Type' in an isolated closure
62 |         content
63 |             .backport.onChange(of: value) { value in
[9/15] Compiling Feedback Feedback.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Audio/AudioPlayer.swift:29:10: warning: macOS audio not implemented
27 |         player?.play()
28 | #else
29 | #warning("macOS audio not implemented")
   |          `- warning: macOS audio not implemented
30 | #endif
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback.swift:64:30: warning: capture of non-sendable type 'V.Type' in an isolated closure
62 |         content
63 |             .backport.onChange(of: value) { value in
64 |                 Task { await feedback.perform() }
   |                              `- warning: capture of non-sendable type 'V.Type' in an isolated closure
65 |             }
66 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Feedback.swift:61:10: warning: capture of non-sendable type 'V.Type' in an isolated closure
59 |     let value: V
60 |
61 |     func body(content: Content) -> some View {
   |          `- warning: capture of non-sendable type 'V.Type' in an isolated closure
62 |         content
63 |             .backport.onChange(of: value) { value in
[10/15] Compiling Feedback AnyFeedback.swift
[11/15] Compiling Feedback Audio.swift
[12/15] Compiling Feedback AudioFeedback.swift
[13/15] Compiling Feedback PatternHaptic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Haptic/PatternHaptic.swift:93:17: warning: capture of 'engine' with non-sendable type 'CHHapticEngine' in a '@Sendable' closure [#SendableClosureCaptures]
 91 |             // ensuring haptics play for the entire duration
 92 |             DispatchQueue.main.asyncAfter(deadline: .now() + pattern.duration) {
 93 |                 engine.stop()
    |                 `- warning: capture of 'engine' with non-sendable type 'CHHapticEngine' in a '@Sendable' closure [#SendableClosureCaptures]
 94 |             }
 95 |         } catch {
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreHaptics.framework/Headers/CHHapticEngine.h:135:12: note: class 'CHHapticEngine' does not conform to the 'Sendable' protocol
133 |  */
134 | CH_EXPORT API_AVAILABLE(ios(13.0), macos(10.15), tvos(14.0), macCatalyst(13.0)) API_UNAVAILABLE(watchos)
135 | @interface CHHapticEngine : NSObject
    |            `- note: class 'CHHapticEngine' does not conform to the 'Sendable' protocol
136 |
137 | /*! @method capabilitiesForHardware
/Users/admin/builder/spi-builder-workspace/Sources/Feedback/Haptic/PatternHaptic.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreHaptics'
  1 | import SwiftUI
  2 | import CoreHaptics
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreHaptics'
  3 |
  4 | public extension AnyFeedback {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[14/15] Emitting module Feedback
[15/15] Compiling Feedback OnChange.swift
Build complete! (10.58s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Feedback",
  "name" : "Feedback",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "Feedback",
      "targets" : [
        "Feedback"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Feedback",
      "module_type" : "SwiftTarget",
      "name" : "Feedback",
      "path" : "Sources/Feedback",
      "product_memberships" : [
        "Feedback"
      ],
      "sources" : [
        "Audio/Audio.swift",
        "Audio/AudioFeedback.swift",
        "Audio/AudioPlayer.swift",
        "Feedback.swift",
        "Feedback/AnyFeedback.swift",
        "Feedback/Feedback+Binding.swift",
        "Flash/Flash.swift",
        "Haptic/PatternHaptic.swift",
        "Haptic/SystemHaptic.swift",
        "Miscellaneous/DelayedFeedback.swift",
        "Support/Backport.swift",
        "Support/OnChange.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.