The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftUI-DetectGestureUtil, reference main (472f03), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 04:18:54 UTC.

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/Saw-000/SwiftUI-DetectGestureUtil.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Saw-000/SwiftUI-DetectGestureUtil
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 472f034 Rename args. (#35)
Cloned https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git
Revision (git rev-parse @):
472f034dd971803c1a8446b41fc5761ed0c4be3c
SUCCESS checkout https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Saw-000/SwiftUI-DetectGestureUtil.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 124]
[Planning deferred tasks]
[31 / 56]
[32 / 57] MyModuleCore
[42 / 94]
[47 / 94]
[50 / 94]
[51 / 94]
[55 / 94]
[57 / 94]
[60 / 94]
[63 / 94]
[64 / 94]
[65 / 94]
[66 / 94]
[76 / 95] MyModuleFeatureDetectGesture
[87 / 136]
[96 / 136]
[99 / 136]
[101 / 136]
[104 / 136]
[107 / 136]
[109 / 136]
[119 / 136] MyModuleFeatureDetectGesture
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/DetectGestureViewModifier.swift:11:34: error: 'CoordinateSpaceProtocol' is only available in macOS 14.0 or newer
  2 |
  3 | /// View modifier for detecting custom gestures
  4 | struct DetectGestureViewModifier<GestureDetection: Equatable>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  5 |     /// Gesture state binding
  6 |     @State private var state = DetectGestureState<GestureDetection>()
    :
  9 |
 10 |     /// Coordinate space for gesture tracking
 11 |     private let coordinateSpace: CoordinateSpaceProtocol = .local
    |                                  `- error: 'CoordinateSpaceProtocol' is only available in macOS 14.0 or newer
 12 |
 13 |     /// Closure to detect gesture from state
/Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/DetectGestureViewModifier.swift:11:61: error: 'local' is only available in macOS 14.0 or newer
  2 |
  3 | /// View modifier for detecting custom gestures
  4 | struct DetectGestureViewModifier<GestureDetection: Equatable>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  5 |     /// Gesture state binding
  6 |     @State private var state = DetectGestureState<GestureDetection>()
    :
  9 |
 10 |     /// Coordinate space for gesture tracking
 11 |     private let coordinateSpace: CoordinateSpaceProtocol = .local
    |                                                             `- error: 'local' is only available in macOS 14.0 or newer
 12 |
 13 |     /// Closure to detect gesture from state
/Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/DetectGestureViewModifier.swift:23:17: warning: cannot use generic class 'Autoconnect' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
 21 |
 22 |     /// Timer for periodic gesture state updates
 23 |     private let heartbeatTimer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect()
    |                 `- warning: cannot use generic class 'Autoconnect' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
 24 |
 25 |     init(
Combine.Publishers.Autoconnect:2:14: note: generic class declared here
 1 | enum Publishers {
 2 | public class Autoconnect<Upstream> : Publisher where Upstream : ConnectablePublisher {
   |              `- note: generic class declared here
 3 |     public typealias Output = Upstream.Output
 4 |     public typealias Failure = Upstream.Failure
/Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/DetectGestureViewModifier.swift:23:17: warning: cannot use enum 'Publishers' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
 21 |
 22 |     /// Timer for periodic gesture state updates
 23 |     private let heartbeatTimer = Timer.publish(every: 0.1, on: .main, in: .common).autoconnect()
    |                 `- warning: cannot use enum 'Publishers' in a property declaration member of a type not marked '@_implementationOnly'; 'Combine' was not imported by this file
 24 |
 25 |     init(
Combine.Publishers:2:13: note: enum declared here
1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
2 | public enum Publishers {
  |             `- note: enum declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/DetectGestureViewModifier.swift:71:33: error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
  2 |
  3 | /// View modifier for detecting custom gestures
  4 | struct DetectGestureViewModifier<GestureDetection: Equatable>: ViewModifier {
    |        `- note: add '@available' attribute to enclosing generic struct
  5 |     /// Gesture state binding
  6 |     @State private var state = DetectGestureState<GestureDetection>()
    :
 68 |
 69 |     /// Update state and perform gesture detection and handling.
 70 |     private func processGesture(
    |                  `- note: add '@available' attribute to enclosing instance method
 71 |         spatialEventCollection: SpatialEventCollection,
    |                                 `- error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
 72 |         geo: GeometryProxy?,
 73 |         timing: DetectGestureTouchSequence.Value.Timing
/Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/DetectGestureState.swift:465:23: error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
 70 | // MARK: - Default Gesture Detection
 71 |
 72 | public extension DetectGestureState {
    |        `- note: add '@available' attribute to enclosing extension
 73 |     /// Whether the specified default gesture has already been detected
 74 |     func detected(
    :
462 |
463 |     /// Determine if the pinch gesture has ended
464 |     private func isPinchEnded(
    |                  `- note: add '@available' attribute to enclosing instance method
465 |         eventIDs: Set<SpatialEventCollection.Event.ID>?,
    |                       `- error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
466 |         lastGestureValue: DetectGestureTouchSequence.Value?
467 |     ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/GesutureValue/DetectGestureFingerSequence.swift:12:53: error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
  8 |     public struct Finger {
  9 |         /// DetectGestureTouchSequence.Value formatted to focus on a single finger event
 10 |         public struct Event {
    |                       `- note: add '@available' attribute to enclosing struct
 11 |             /// event of one finger.
 12 |             public let spatialEventCollectionEvent: SpatialEventCollection.Event
    |                                                     `- error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
 13 |             /// attachment information (DetectGestureTouchSequence.Value)
 14 |             public let relatedGestureValue: DetectGestureTouchSequence.Value
/Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/GesutureValue/DetectGestureFingerSequence.swift:18:51: error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
  6 | public struct DetectGestureFingerSequence {
  7 |     /// Collection of events for a single finger
  8 |     public struct Finger {
    |                   `- note: add '@available' attribute to enclosing struct
  9 |         /// DetectGestureTouchSequence.Value formatted to focus on a single finger event
 10 |         public struct Event {
    :
 16 |
 17 |         /// Unique identifier for the finger event
 18 |         public let spatialEventCollectionEventID: SpatialEventCollection.Event.ID
    |                                                   `- error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
 19 |         /// Array of values for this finger's touch
 20 |         public let events: [Event]
/Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/GesutureValue/DetectGestureFingerSequence.swift:22:30: error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
  6 | public struct DetectGestureFingerSequence {
  7 |     /// Collection of events for a single finger
  8 |     public struct Finger {
    |                   `- note: add '@available' attribute to enclosing struct
  9 |         /// DetectGestureTouchSequence.Value formatted to focus on a single finger event
 10 |         public struct Event {
    :
 20 |         public let events: [Event]
 21 |
 22 |         public init(eventID: SpatialEventCollection.Event.ID, values: [Event]) {
    |                |             `- error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
    |                `- note: add '@available' attribute to enclosing initializer
 23 |             spatialEventCollectionEventID = eventID
 24 |             events = values.sortedByTimestamp
/Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/GesutureValue/DetectGestureTouchSequence.swift:21:44: error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
 4 | public struct DetectGestureTouchSequence: Identifiable {
 5 |     /// Value containing gesture state information (like DragGesture.Value)
 6 |     public struct Value: Identifiable {
   |                   `- note: add '@available' attribute to enclosing struct
 7 |         /// Timing of gesture state update
 8 |         public enum Timing {
   :
19 |
20 |         /// Spatial event collection from SwiftUI
21 |         public let spatialEventCollection: SpatialEventCollection
   |                                            `- error: 'SpatialEventCollection' is only available in macOS 15.0 or newer
22 |         /// Geometry proxy for view bounds
23 |         public let geometryProxy: GeometryProxy
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/DefaultDetectGesture.swift /Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/DetectGestureViewModifier.swift /Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/DetectGestureState.swift /Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/GesutureValue/Convert+Extention.swift /Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/GesutureValue/DetectGestureFingerSequence.swift /Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/GesutureValue/DetectGesturePinchValue.swift /Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/GesutureValue/DetectGestureTouchSequence.swift /Users/admin/builder/spi-builder-workspace/Sources/Feature/DetectGesture/State/GesutureValue/TouchPeriod.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/Objects-normal/arm64/MyModuleFeatureDetectGesture-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MyModuleFeatureDetectGesture -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/Objects-normal/arm64/MyModuleFeatureDetectGesture_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/Objects-normal/arm64/MyModuleFeatureDetectGesture.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/Objects-normal/arm64/MyModuleFeatureDetectGesture.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/Objects-normal/arm64/MyModuleFeatureDetectGesture-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/Objects-normal/arm64/MyModuleFeatureDetectGesture-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/Objects-normal/arm64/MyModuleFeatureDetectGesture-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/Objects-normal/arm64/MyModuleFeatureDetectGesture.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftUI-DetectGestureUtil.build/Debug/MyModuleFeatureDetectGesture-t.build/Objects-normal/arm64/MyModuleFeatureDetectGesture.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm