Build Information
Failed to build SwipeActions, reference 0.4.1 (1fe7b4
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 22:22:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/c-villain/SwipeActions.git
Reference: 0.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/c-villain/SwipeActions
* tag 0.4.1 -> FETCH_HEAD
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 0.4.1
========================================
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",
"dependencies": [
{
"identity": "swipeactions",
"name": "SwipeActions",
"url": "https://github.com/c-villain/SwipeActions.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwipeActions",
"dependencies": [
]
}
]
}
Fetching https://github.com/c-villain/SwipeActions.git
[1/645] Fetching swipeactions
Fetched https://github.com/c-villain/SwipeActions.git from cache (1.18s)
Creating working copy for https://github.com/c-villain/SwipeActions.git
Working copy of https://github.com/c-villain/SwipeActions.git resolved at 0.4.1 (1fe7b4e)
warning: '.resolve-product-dependencies': dependency 'swipeactions' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/c-villain/SwipeActions.git
{
"dependencies" : [
],
"manifest_display_name" : "SwipeActions",
"name" : "SwipeActions",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwipeActions",
"targets" : [
"SwipeActions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwipeActions",
"module_type" : "SwiftTarget",
"name" : "SwipeActions",
"path" : "Sources/SwipeActions",
"product_memberships" : [
"SwipeActions"
],
"sources" : [
"Environment keys/HapticFeedbackTypeKey.swift",
"Environment keys/HapticsEnabledKey.swift",
"Environment keys/Identifier.swift",
"Environment keys/SensitivityKey.swift",
"Foundation/AnimationTokens.swift",
"Foundation/Hashable+extension.swift",
"Support/HapticsProvider.swift",
"Support/Measurements.swift",
"Support/PreviewFormatting.swift",
"Support/Sensitivity.swift",
"SwipeActions.swift",
"ViewModifiers/DisableMultitouchModifier.swift",
"ViewModifiers/MeasureSizeModifier.swift",
"ViewModifiers/SwipeActionModifier.swift",
"ViewModifiers/SwipeHintModifier.swift",
"ViewModifiers/ValueChangedModifier.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/18] Compiling SwipeActions SwipeHintModifier.swift
[4/18] Compiling SwipeActions MeasureSizeModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/MeasureSizeModifier.swift:4:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | struct SizePreferenceKey: PreferenceKey {
4 | static var defaultValue: CGSize = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
6 | value = nextValue()
[5/18] Compiling SwipeActions PreviewFormatting.swift
[6/18] Compiling SwipeActions Sensitivity.swift
[7/18] Compiling SwipeActions SwipeActionModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
6 | case medium(_ intensity: CGFloat = 1.0)
7 | case heavy(_ intensity: CGFloat = 1.0)
8 | case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
| `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
9 | }
10 |
[8/18] Compiling SwipeActions HapticsProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
6 | case medium(_ intensity: CGFloat = 1.0)
7 | case heavy(_ intensity: CGFloat = 1.0)
8 | case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
| `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:13:53: error: cannot find 'UISelectionFeedbackGenerator' in scope
11 | public enum HapticsProvider {
12 |
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
12 |
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:89: error: cannot infer contextual base in reference to member 'light'
12 |
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
| `- error: cannot infer contextual base in reference to member 'light'
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:89: error: cannot infer contextual base in reference to member 'heavy'
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
| `- error: cannot infer contextual base in reference to member 'heavy'
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:56: error: cannot find 'UIImpactFeedbackGenerator' in scope
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:90: error: cannot infer contextual base in reference to member 'medium'
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
| `- error: cannot infer contextual base in reference to member 'medium'
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:17:56: error: cannot find 'UINotificationFeedbackGenerator' in scope
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
| `- error: cannot find 'UINotificationFeedbackGenerator' in scope
18 |
19 | public static func prepareHapticFeedbackGenerator(_ type: HapticFeedbackType) {
[9/18] Compiling SwipeActions Measurements.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
6 | case medium(_ intensity: CGFloat = 1.0)
7 | case heavy(_ intensity: CGFloat = 1.0)
8 | case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
| `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:13:53: error: cannot find 'UISelectionFeedbackGenerator' in scope
11 | public enum HapticsProvider {
12 |
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
12 |
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:89: error: cannot infer contextual base in reference to member 'light'
12 |
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
| `- error: cannot infer contextual base in reference to member 'light'
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:89: error: cannot infer contextual base in reference to member 'heavy'
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
| `- error: cannot infer contextual base in reference to member 'heavy'
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:56: error: cannot find 'UIImpactFeedbackGenerator' in scope
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:90: error: cannot infer contextual base in reference to member 'medium'
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
| `- error: cannot infer contextual base in reference to member 'medium'
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:17:56: error: cannot find 'UINotificationFeedbackGenerator' in scope
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
| `- error: cannot find 'UINotificationFeedbackGenerator' in scope
18 |
19 | public static func prepareHapticFeedbackGenerator(_ type: HapticFeedbackType) {
[10/18] Compiling SwipeActions SwipeActions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
6 | case medium(_ intensity: CGFloat = 1.0)
7 | case heavy(_ intensity: CGFloat = 1.0)
8 | case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
| `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Foundation/AnimationTokens.swift:4:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension Animation {
4 | static var `default`: Animation = .linear(duration: 0.3)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:49: error: cannot find type 'UIView' in scope
9 |
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
11 | public func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'UIView' in scope
12 | let view = UIView()
13 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:37: error: cannot find type 'Context' in scope
9 |
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
11 | public func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'Context' in scope
12 | let view = UIView()
13 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:40: error: cannot find type 'UIView' in scope
17 | }
18 |
19 | public func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'UIView' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:57: error: cannot find type 'Context' in scope
17 | }
18 |
19 | public func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | public func makeUIView(context: Context) -> UIView {
12 | let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:6:14: error: instance method 'overlay(_:alignment:)' requires that 'DisableMultitouchViewRepresentable' conform to 'View'
4 | public func body(content: Content) -> some View {
5 | content
6 | .overlay(DisableMultitouchViewRepresentable())
| `- error: instance method 'overlay(_:alignment:)' requires that 'DisableMultitouchViewRepresentable' conform to 'View'
7 | }
8 | }
SwiftUICore.View:8:40: note: where 'Overlay' = 'DisableMultitouchViewRepresentable'
6 | @available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use `overlay(alignment:content:)` instead.")
7 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use `overlay(alignment:content:)` instead.")
8 | @inlinable nonisolated public func overlay<Overlay>(_ overlay: Overlay, alignment: Alignment = .center) -> some View where Overlay : View
| `- note: where 'Overlay' = 'DisableMultitouchViewRepresentable'
9 |
10 | @inlinable nonisolated public func border<S>(_ content: S, width: CGFloat = 1) -> some View where S : ShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:12:20: error: cannot find 'UIView' in scope
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
11 | public func makeUIView(context: Context) -> UIView {
12 | let view = UIView()
| `- error: cannot find 'UIView' in scope
13 | view.backgroundColor = .clear
14 | view.isMultipleTouchEnabled = false
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:13:33: error: cannot infer contextual base in reference to member 'clear'
11 | public func makeUIView(context: Context) -> UIView {
12 | let view = UIView()
13 | view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
14 | view.isMultipleTouchEnabled = false
15 | view.isExclusiveTouch = true
[11/18] Compiling SwipeActions DisableMultitouchModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
6 | case medium(_ intensity: CGFloat = 1.0)
7 | case heavy(_ intensity: CGFloat = 1.0)
8 | case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
| `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Foundation/AnimationTokens.swift:4:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension Animation {
4 | static var `default`: Animation = .linear(duration: 0.3)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:49: error: cannot find type 'UIView' in scope
9 |
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
11 | public func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'UIView' in scope
12 | let view = UIView()
13 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:37: error: cannot find type 'Context' in scope
9 |
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
11 | public func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'Context' in scope
12 | let view = UIView()
13 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:40: error: cannot find type 'UIView' in scope
17 | }
18 |
19 | public func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'UIView' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:57: error: cannot find type 'Context' in scope
17 | }
18 |
19 | public func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | public func makeUIView(context: Context) -> UIView {
12 | let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:6:14: error: instance method 'overlay(_:alignment:)' requires that 'DisableMultitouchViewRepresentable' conform to 'View'
4 | public func body(content: Content) -> some View {
5 | content
6 | .overlay(DisableMultitouchViewRepresentable())
| `- error: instance method 'overlay(_:alignment:)' requires that 'DisableMultitouchViewRepresentable' conform to 'View'
7 | }
8 | }
SwiftUICore.View:8:40: note: where 'Overlay' = 'DisableMultitouchViewRepresentable'
6 | @available(watchOS, introduced: 6.0, deprecated: 100000.0, message: "Use `overlay(alignment:content:)` instead.")
7 | @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use `overlay(alignment:content:)` instead.")
8 | @inlinable nonisolated public func overlay<Overlay>(_ overlay: Overlay, alignment: Alignment = .center) -> some View where Overlay : View
| `- note: where 'Overlay' = 'DisableMultitouchViewRepresentable'
9 |
10 | @inlinable nonisolated public func border<S>(_ content: S, width: CGFloat = 1) -> some View where S : ShapeStyle
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:12:20: error: cannot find 'UIView' in scope
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
11 | public func makeUIView(context: Context) -> UIView {
12 | let view = UIView()
| `- error: cannot find 'UIView' in scope
13 | view.backgroundColor = .clear
14 | view.isMultipleTouchEnabled = false
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:13:33: error: cannot infer contextual base in reference to member 'clear'
11 | public func makeUIView(context: Context) -> UIView {
12 | let view = UIView()
13 | view.backgroundColor = .clear
| `- error: cannot infer contextual base in reference to member 'clear'
14 | view.isMultipleTouchEnabled = false
15 | view.isExclusiveTouch = true
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/19] Compiling SwipeActions Identifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Environment keys/Identifier.swift:4:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyHashable?' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IdentifierKey: EnvironmentKey {
4 | public static let defaultValue: AnyHashable? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyHashable?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[13/19] Compiling SwipeActions SensitivityKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Environment keys/Identifier.swift:4:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyHashable?' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IdentifierKey: EnvironmentKey {
4 | public static let defaultValue: AnyHashable? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyHashable?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[14/19] Compiling SwipeActions AnimationTokens.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Foundation/AnimationTokens.swift:4:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension Animation {
4 | static var `default`: Animation = .linear(duration: 0.3)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[15/19] Compiling SwipeActions Hashable+extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Foundation/AnimationTokens.swift:4:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension Animation {
4 | static var `default`: Animation = .linear(duration: 0.3)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[16/19] Emitting module SwipeActions
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Environment keys/HapticFeedbackTypeKey.swift:4:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HapticFeedbackType?' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | struct HapticFeedbackTypeKey: EnvironmentKey {
4 | static let defaultValue: HapticFeedbackType? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HapticFeedbackType?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:3:13: note: consider making enum 'HapticFeedbackType' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public enum HapticFeedbackType {
| `- note: consider making enum 'HapticFeedbackType' conform to the 'Sendable' protocol
4 | case selection
5 | case light(_ intensity: CGFloat = 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Environment keys/Identifier.swift:4:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyHashable?' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public struct IdentifierKey: EnvironmentKey {
4 | public static let defaultValue: AnyHashable? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyHashable?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Foundation/AnimationTokens.swift:4:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension Animation {
4 | static var `default`: Animation = .linear(duration: 0.3)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
6 | case medium(_ intensity: CGFloat = 1.0)
7 | case heavy(_ intensity: CGFloat = 1.0)
8 | case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
| `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:13:53: error: cannot find 'UISelectionFeedbackGenerator' in scope
11 | public enum HapticsProvider {
12 |
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
12 |
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:14:89: error: cannot infer contextual base in reference to member 'light'
12 |
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
| `- error: cannot infer contextual base in reference to member 'light'
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:55: error: cannot find 'UIImpactFeedbackGenerator' in scope
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:15:89: error: cannot infer contextual base in reference to member 'heavy'
13 | private static let selectionFeedbackGenerator = UISelectionFeedbackGenerator()
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
| `- error: cannot infer contextual base in reference to member 'heavy'
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:56: error: cannot find 'UIImpactFeedbackGenerator' in scope
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:16:90: error: cannot infer contextual base in reference to member 'medium'
14 | private static let lightImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .light)
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
| `- error: cannot infer contextual base in reference to member 'medium'
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:17:56: error: cannot find 'UINotificationFeedbackGenerator' in scope
15 | private static let heavyImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .heavy)
16 | private static let mediumImpactFeedbackGenerator = UIImpactFeedbackGenerator(style: .medium)
17 | private static let notificationFeedbackGenerator = UINotificationFeedbackGenerator()
| `- error: cannot find 'UINotificationFeedbackGenerator' in scope
18 |
19 | public static func prepareHapticFeedbackGenerator(_ type: HapticFeedbackType) {
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:49: error: cannot find type 'UIView' in scope
9 |
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
11 | public func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'UIView' in scope
12 | let view = UIView()
13 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:11:37: error: cannot find type 'Context' in scope
9 |
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
11 | public func makeUIView(context: Context) -> UIView {
| `- error: cannot find type 'Context' in scope
12 | let view = UIView()
13 | view.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:40: error: cannot find type 'UIView' in scope
17 | }
18 |
19 | public func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'UIView' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:19:57: error: cannot find type 'Context' in scope
17 | }
18 |
19 | public func updateUIView(_ uiView: UIView, context: Context) {}
| `- error: cannot find type 'Context' in scope
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/DisableMultitouchModifier.swift:10:51: error: cannot find type 'UIViewRepresentable' in scope
8 | }
9 |
10 | public struct DisableMultitouchViewRepresentable: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 | public func makeUIView(context: Context) -> UIView {
12 | let view = UIView()
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/ViewModifiers/MeasureSizeModifier.swift:4:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | struct SizePreferenceKey: PreferenceKey {
4 | static var defaultValue: CGSize = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | static func reduce(value: inout CGSize, nextValue: () -> CGSize) {
6 | value = nextValue()
[17/19] Compiling SwipeActions HapticFeedbackTypeKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Environment keys/HapticFeedbackTypeKey.swift:4:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HapticFeedbackType?' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | struct HapticFeedbackTypeKey: EnvironmentKey {
4 | static let defaultValue: HapticFeedbackType? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HapticFeedbackType?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:3:13: note: consider making enum 'HapticFeedbackType' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public enum HapticFeedbackType {
| `- note: consider making enum 'HapticFeedbackType' conform to the 'Sendable' protocol
4 | case selection
5 | case light(_ intensity: CGFloat = 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
6 | case medium(_ intensity: CGFloat = 1.0)
7 | case heavy(_ intensity: CGFloat = 1.0)
8 | case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
| `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
9 | }
10 |
[18/19] Compiling SwipeActions HapticsEnabledKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Environment keys/HapticFeedbackTypeKey.swift:4:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HapticFeedbackType?' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | struct HapticFeedbackTypeKey: EnvironmentKey {
4 | static let defaultValue: HapticFeedbackType? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HapticFeedbackType?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:3:13: note: consider making enum 'HapticFeedbackType' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public enum HapticFeedbackType {
| `- note: consider making enum 'HapticFeedbackType' conform to the 'Sendable' protocol
4 | case selection
5 | case light(_ intensity: CGFloat = 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/SwipeActions/Support/HapticsProvider.swift:8:39: error: cannot find type 'UINotificationFeedbackGenerator' in scope
6 | case medium(_ intensity: CGFloat = 1.0)
7 | case heavy(_ intensity: CGFloat = 1.0)
8 | case notification(_ feedbackType: UINotificationFeedbackGenerator.FeedbackType)
| `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
9 | }
10 |
[19/19] Compiling SwipeActions ValueChangedModifier.swift
BUILD FAILURE 6.0 macosSpm