Build Information
Failed to build SwipeActions, reference main (1fe7b4
), with Swift 5.9 for macOS (SPM) on 28 Sep 2024 12:53:55 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/c-villain/SwipeActions.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/c-villain/SwipeActions
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1fe7b4e Update README.md
Cloned https://github.com/c-villain/SwipeActions.git
Revision (git rev-parse @):
1fe7b4e2cea808b50f9dbdb64796153bd1f9edfe
SUCCESS checkout https://github.com/c-villain/SwipeActions.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/c-villain/SwipeActions.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/16] Compiling SwipeActions PreviewFormatting.swift
[2/16] Compiling SwipeActions Sensitivity.swift
[3/16] Compiling SwipeActions HapticsProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:13:53: error: cannot find 'UISelectionFeedbackGenerator' in scope
private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:89: error: cannot infer contextual base in reference to member 'light'
private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:89: error: cannot infer contextual base in reference to member 'heavy'
private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:56: error: cannot find 'UIImpactFeedbackGenerator' in scope
private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:90: error: cannot infer contextual base in reference to member 'medium'
private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:17:56: error: cannot find 'UINotificationFeedbackGenerator' in scope
private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/16] Compiling SwipeActions Measurements.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:13:53: error: cannot find 'UISelectionFeedbackGenerator' in scope
private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:89: error: cannot infer contextual base in reference to member 'light'
private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:89: error: cannot infer contextual base in reference to member 'heavy'
private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:56: error: cannot find 'UIImpactFeedbackGenerator' in scope
private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:90: error: cannot infer contextual base in reference to member 'medium'
private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:17:56: error: cannot find 'UINotificationFeedbackGenerator' in scope
private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5/16] Compiling SwipeActions AnimationTokens.swift
[6/16] Compiling SwipeActions Hashable+extension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/17] Emitting module SwipeActions
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:13:53: error: cannot find 'UISelectionFeedbackGenerator' in scope
private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:89: error: cannot infer contextual base in reference to member 'light'
private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:89: error: cannot infer contextual base in reference to member 'heavy'
private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
~^~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:56: error: cannot find 'UIImpactFeedbackGenerator' in scope
private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:90: error: cannot infer contextual base in reference to member 'medium'
private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
~^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:17:56: error: cannot find 'UINotificationFeedbackGenerator' in scope
private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:49: error: cannot find type 'UIView' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:37: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:40: error: cannot find type 'UIView' in scope
public func updateUIView(_ uiView: UIView, context: Context) {}
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:57: error: cannot find type 'Context' in scope
public func updateUIView(_ uiView: UIView, context: Context) {}
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
[8/17] Compiling SwipeActions HapticFeedbackTypeKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[9/17] Compiling SwipeActions HapticsEnabledKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[10/17] Compiling SwipeActions SwipeHintModifier.swift
[11/17] Compiling SwipeActions Identifier.swift
[12/17] Compiling SwipeActions SensitivityKey.swift
[13/17] Compiling SwipeActions MeasureSizeModifier.swift
[14/17] Compiling SwipeActions SwipeActions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:49: error: cannot find type 'UIView' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:37: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:40: error: cannot find type 'UIView' in scope
public func updateUIView(_ uiView: UIView, context: Context) {}
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:57: error: cannot find type 'Context' in scope
public func updateUIView(_ uiView: UIView, context: Context) {}
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:6:14: error: instance method 'overlay(_:alignment:)' requires that 'DisableMultitouchViewRepresentable' conform to 'View'
.overlay(DisableMultitouchViewRepresentable())
^
SwiftUI.View:8:28: note: where 'Overlay' = 'DisableMultitouchViewRepresentable'
@inlinable public func overlay<Overlay>(_ overlay: Overlay, alignment: Alignment = .center) -> some View where Overlay : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:12:20: error: cannot find 'UIView' in scope
let view = UIView()
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:13:33: error: cannot infer contextual base in reference to member 'clear'
view.backgroundColor = .clear
~^~~~~
[15/17] Compiling SwipeActions DisableMultitouchModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:49: error: cannot find type 'UIView' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:37: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> UIView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:40: error: cannot find type 'UIView' in scope
public func updateUIView(_ uiView: UIView, context: Context) {}
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:57: error: cannot find type 'Context' in scope
public func updateUIView(_ uiView: UIView, context: Context) {}
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:6:14: error: instance method 'overlay(_:alignment:)' requires that 'DisableMultitouchViewRepresentable' conform to 'View'
.overlay(DisableMultitouchViewRepresentable())
^
SwiftUI.View:8:28: note: where 'Overlay' = 'DisableMultitouchViewRepresentable'
@inlinable public func overlay<Overlay>(_ overlay: Overlay, alignment: Alignment = .center) -> some View where Overlay : View
^
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:12:20: error: cannot find 'UIView' in scope
let view = UIView()
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:13:33: error: cannot infer contextual base in reference to member 'clear'
view.backgroundColor = .clear
~^~~~~
[16/17] Compiling SwipeActions SwipeActionModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[17/17] Compiling SwipeActions ValueChangedModifier.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm