Build Information
Successful build of SwiftUIPlus, reference 2.9.0 (acf911
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 06:55:27 UTC.
Swift 6 data race errors: 159
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
Build Log
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
219 | )
220 |
221 | static let workoutResumedAutoDetect = Self(
| |- warning: static property 'workoutResumedAutoDetect' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workoutResumedAutoDetect' 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
222 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/nano/WorkoutResumedAutoDetect.caf")
223 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:225:16: warning: static property 'workoutStartAutodetect' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
223 | )
224 |
225 | static let workoutStartAutodetect = Self(
| |- warning: static property 'workoutStartAutodetect' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'workoutStartAutodetect' 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
226 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/nano/WorkoutStartAutodetect.caf")
227 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:229:16: warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
227 | )
228 |
229 | static let critical = Self(
| |- warning: static property 'critical' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'critical' 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
230 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/3rd_party_critical.caf")
231 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:233:16: warning: static property 'accessScanComplete' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
231 | )
232 |
233 | static let accessScanComplete = Self(
| |- warning: static property 'accessScanComplete' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accessScanComplete' 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
234 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/access_scan_complete.caf")
235 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:237:16: warning: static property 'acknowledgmentReceived' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
235 | )
236 |
237 | static let acknowledgmentReceived = Self(
| |- warning: static property 'acknowledgmentReceived' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acknowledgmentReceived' 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
238 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/acknowledgment_received.caf")
239 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:241:16: warning: static property 'acknowledgmentSent' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
239 | )
240 |
241 | static let acknowledgmentSent = Self(
| |- warning: static property 'acknowledgmentSent' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acknowledgmentSent' 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
242 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/acknowledgment_sent.caf")
243 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:245:16: warning: static property 'alarm' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
243 | )
244 |
245 | static let alarm = Self(
| |- warning: static property 'alarm' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alarm' 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
246 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/alarm.caf")
247 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:249:16: warning: static property 'beginRecord' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
247 | )
248 |
249 | static let beginRecord = Self(
| |- warning: static property 'beginRecord' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beginRecord' 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
250 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/begin_record.caf")
251 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:253:16: warning: static property 'cameraTimerCountdown' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
251 | )
252 |
253 | static let cameraTimerCountdown = Self(
| |- warning: static property 'cameraTimerCountdown' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cameraTimerCountdown' 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
254 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/camera_timer_countdown.caf")
255 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:257:16: warning: static property 'cameraTimerFinalSecond' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
255 | )
256 |
257 | static let cameraTimerFinalSecond = Self(
| |- warning: static property 'cameraTimerFinalSecond' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cameraTimerFinalSecond' 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
258 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/camera_timer_final_second.caf")
259 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:261:16: warning: static property 'connectPower' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
259 | )
260 |
261 | static let connectPower = Self(
| |- warning: static property 'connectPower' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'connectPower' 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
262 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/connect_power.caf")
263 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:265:16: warning: static property 'ctBusy' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
263 | )
264 |
265 | static let ctBusy = Self(
| |- warning: static property 'ctBusy' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctBusy' 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
266 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/ct-busy.caf")
267 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:269:16: warning: static property 'ctCongestion' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
267 | )
268 |
269 | static let ctCongestion = Self(
| |- warning: static property 'ctCongestion' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctCongestion' 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
270 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/ct-congestion.caf")
271 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:273:16: warning: static property 'ctError' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
271 | )
272 |
273 | static let ctError = Self(
| |- warning: static property 'ctError' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctError' 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
274 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/ct-error.caf")
275 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:277:16: warning: static property 'ctKeytone2' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
275 | )
276 |
277 | static let ctKeytone2 = Self(
| |- warning: static property 'ctKeytone2' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctKeytone2' 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
278 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/ct-keytone2.caf")
279 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:281:16: warning: static property 'ctPathACK' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
279 | )
280 |
281 | static let ctPathACK = Self(
| |- warning: static property 'ctPathACK' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctPathACK' 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
282 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/ct-path-ack.caf")
283 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:285:16: warning: static property 'deviceShutdown' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
283 | )
284 |
285 | static let deviceShutdown = Self(
| |- warning: static property 'deviceShutdown' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deviceShutdown' 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
286 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/DeviceShutdown.caf")
287 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:289:16: warning: static property 'doorbell' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
287 | )
288 |
289 | static let doorbell = Self(
| |- warning: static property 'doorbell' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doorbell' 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
290 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/Doorbell.caf")
291 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:293:16: warning: static property 'endRecord' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
291 | )
292 |
293 | static let endRecord = Self(
| |- warning: static property 'endRecord' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'endRecord' 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
294 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/end_record.caf")
295 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:297:16: warning: static property 'focusChangeAppIcon' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
295 | )
296 |
297 | static let focusChangeAppIcon = Self(
| |- warning: static property 'focusChangeAppIcon' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'focusChangeAppIcon' 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
298 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/focus_change_app_icon.caf")
299 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:301:16: warning: static property 'focusChangeKeyboard' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
299 | )
300 |
301 | static let focusChangeKeyboard = Self(
| |- warning: static property 'focusChangeKeyboard' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'focusChangeKeyboard' 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
302 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/focus_change_keyboard.caf")
303 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:305:16: warning: static property 'focusChangeLarge' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
303 | )
304 |
305 | static let focusChangeLarge = Self(
| |- warning: static property 'focusChangeLarge' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'focusChangeLarge' 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
306 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/focus_change_large.caf")
307 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:309:16: warning: static property 'focusChangeSmall' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
307 | )
308 |
309 | static let focusChangeSmall = Self(
| |- warning: static property 'focusChangeSmall' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'focusChangeSmall' 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
310 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/focus_change_small.caf")
311 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:313:16: warning: static property 'gotoSleepAlert' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
311 | )
312 |
313 | static let gotoSleepAlert = Self(
| |- warning: static property 'gotoSleepAlert' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gotoSleepAlert' 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
314 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/go_to_sleep_alert.caf")
315 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:317:16: warning: static property 'healthNotification' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
315 | )
316 |
317 | static let healthNotification = Self(
| |- warning: static property 'healthNotification' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'healthNotification' 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
318 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/health_notification.caf")
319 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:321:16: warning: static property 'jblAmbiguous' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
319 | )
320 |
321 | static let jblAmbiguous = Self(
| |- warning: static property 'jblAmbiguous' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jblAmbiguous' 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
322 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/jbl_ambiguous.caf")
323 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:325:16: warning: static property 'jblBegin' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
323 | )
324 |
325 | static let jblBegin = Self(
| |- warning: static property 'jblBegin' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jblBegin' 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
326 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/jbl_begin.caf")
327 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:329:16: warning: static property 'jblBeginShort' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
327 | )
328 |
329 | static let jblBeginShort = Self(
| |- warning: static property 'jblBeginShort' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jblBeginShort' 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
330 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/jbl_begin_short.caf")
331 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:333:16: warning: static property 'jblBeginShortCarplay' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
331 | )
332 |
333 | static let jblBeginShortCarplay = Self(
| |- warning: static property 'jblBeginShortCarplay' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jblBeginShortCarplay' 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
334 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/jbl_begin_short_carplay.caf")
335 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:337:16: warning: static property 'jblCancel' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
335 | )
336 |
337 | static let jblCancel = Self(
| |- warning: static property 'jblCancel' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jblCancel' 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
338 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/jbl_cancel.caf")
339 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:341:16: warning: static property 'jblConfirm' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
339 | )
340 |
341 | static let jblConfirm = Self(
| |- warning: static property 'jblConfirm' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jblConfirm' 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
342 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/jbl_confirm.caf")
343 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:345:16: warning: static property 'jblNoMatch' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
343 | )
344 |
345 | static let jblNoMatch = Self(
| |- warning: static property 'jblNoMatch' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jblNoMatch' 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
346 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/jbl_no_match.caf")
347 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:349:16: warning: static property 'keyPressClick' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
347 | )
348 |
349 | static let keyPressClick = Self(
| |- warning: static property 'keyPressClick' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyPressClick' 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
350 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/key_press_click.caf")
351 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:353:16: warning: static property 'keyPressDelete' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
351 | )
352 |
353 | static let keyPressDelete = Self(
| |- warning: static property 'keyPressDelete' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyPressDelete' 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
354 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/key_press_delete.caf")
355 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:357:16: warning: static property 'keyPressModifier' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
355 | )
356 |
357 | static let keyPressModifier = Self(
| |- warning: static property 'keyPressModifier' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyPressModifier' 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
358 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/key_press_modifier.caf")
359 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:361:16: warning: static property 'keyboardPressClear' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
359 | )
360 |
361 | static let keyboardPressClear = Self(
| |- warning: static property 'keyboardPressClear' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyboardPressClear' 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
362 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/keyboard_press_clear.caf")
363 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:365:16: warning: static property 'keyboardPressDelete' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
363 | )
364 |
365 | static let keyboardPressDelete = Self(
| |- warning: static property 'keyboardPressDelete' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyboardPressDelete' 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
366 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/keyboard_press_delete.caf")
367 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:369:16: warning: static property 'keyboardPressNormal' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
367 | )
368 |
369 | static let keyboardPressNormal = Self(
| |- warning: static property 'keyboardPressNormal' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keyboardPressNormal' 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
370 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/keyboard_press_normal.caf")
371 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:373:16: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
371 | )
372 |
373 | static let lock = Self(
| |- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lock' 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
374 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/lock.caf")
375 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:377:16: warning: static property 'longLowShortHigh' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
375 | )
376 |
377 | static let longLowShortHigh = Self(
| |- warning: static property 'longLowShortHigh' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longLowShortHigh' 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
378 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/long_low_short_high.caf")
379 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:381:16: warning: static property 'lowPower' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
379 | )
380 |
381 | static let lowPower = Self(
| |- warning: static property 'lowPower' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowPower' 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
382 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/low_power.caf")
383 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:385:16: warning: static property 'mailSent' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
383 | )
384 |
385 | static let mailSent = Self(
| |- warning: static property 'mailSent' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mailSent' 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
386 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/mail-sent.caf")
387 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:389:16: warning: static property 'middle9ShortDoubleLow' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
387 | )
388 |
389 | static let middle9ShortDoubleLow = Self(
| |- warning: static property 'middle9ShortDoubleLow' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'middle9ShortDoubleLow' 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
390 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/middle_9_short_double_low.caf")
391 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:393:16: warning: static property 'multiwayInvitation' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
391 | )
392 |
393 | static let multiwayInvitation = Self(
| |- warning: static property 'multiwayInvitation' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multiwayInvitation' 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
394 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/multiway_invitation.caf")
395 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:397:16: warning: static property 'navigationPop' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
395 | )
396 |
397 | static let navigationPop = Self(
| |- warning: static property 'navigationPop' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'navigationPop' 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
398 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/navigation_pop.caf")
399 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:401:16: warning: static property 'navigationPush' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
399 | )
400 |
401 | static let navigationPush = Self(
| |- warning: static property 'navigationPush' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'navigationPush' 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
402 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/navigation_push.caf")
403 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:405:16: warning: static property 'navigationGenericManeuver' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
403 | )
404 |
405 | static let navigationGenericManeuver = Self(
| |- warning: static property 'navigationGenericManeuver' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'navigationGenericManeuver' 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
406 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/NavigationGenericManeuver.caf")
407 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:409:16: warning: static property 'newMail' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
407 | )
408 |
409 | static let newMail = Self(
| |- warning: static property 'newMail' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newMail' 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
410 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/new-mail.caf")
411 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:413:16: warning: static property 'nfcScanComplete' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
411 | )
412 |
413 | static let nfcScanComplete = Self(
| |- warning: static property 'nfcScanComplete' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nfcScanComplete' 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
414 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/nfc_scan_complete.caf")
415 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:417:16: warning: static property 'nfcScanFailure' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
415 | )
416 |
417 | static let nfcScanFailure = Self(
| |- warning: static property 'nfcScanFailure' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nfcScanFailure' 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
418 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/nfc_scan_failure.caf")
419 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:421:16: warning: static property 'paymentFailure' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
419 | )
420 |
421 | static let paymentFailure = Self(
| |- warning: static property 'paymentFailure' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paymentFailure' 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
422 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/payment_failure.caf")
423 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:425:16: warning: static property 'paymentSuccess' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
423 | )
424 |
425 | static let paymentSuccess = Self(
| |- warning: static property 'paymentSuccess' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paymentSuccess' 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
426 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/payment_success.caf")
427 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:429:16: warning: static property 'paymentReceived' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
427 | )
428 |
429 | static let paymentReceived = Self(
| |- warning: static property 'paymentReceived' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paymentReceived' 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
430 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/PaymentReceived.caf")
431 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:433:16: warning: static property 'paymentReceivedFailure' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
431 | )
432 |
433 | static let paymentReceivedFailure = Self(
| |- warning: static property 'paymentReceivedFailure' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'paymentReceivedFailure' 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
434 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/PaymentReceivedFailure.caf")
435 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:437:16: warning: static property 'photoShutter' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
435 | )
436 |
437 | static let photoShutter = Self(
| |- warning: static property 'photoShutter' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'photoShutter' 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
438 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/photoShutter.caf")
439 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:441:16: warning: static property 'pinDelete' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
439 | )
440 |
441 | static let pinDelete = Self(
| |- warning: static property 'pinDelete' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pinDelete' 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
442 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/PINDelete.caf")
443 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:445:16: warning: static property 'pinDeleteAX' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
443 | )
444 |
445 | static let pinDeleteAX = Self(
| |- warning: static property 'pinDeleteAX' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pinDeleteAX' 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
446 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/PINDelete_AX.caf")
447 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:449:16: warning: static property 'pinEnterDigit' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
447 | )
448 |
449 | static let pinEnterDigit = Self(
| |- warning: static property 'pinEnterDigit' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pinEnterDigit' 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
450 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/PINEnterDigit.caf")
451 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:453:16: warning: static property 'pinEnterDigitAX' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
451 | )
452 |
453 | static let pinEnterDigitAX = Self(
| |- warning: static property 'pinEnterDigitAX' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pinEnterDigitAX' 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
454 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/PINEnterDigit_AX.caf")
455 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:457:16: warning: static property 'pinSubmitAX' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
455 | )
456 |
457 | static let pinSubmitAX = Self(
| |- warning: static property 'pinSubmitAX' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pinSubmitAX' 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
458 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/PINSubmit_AX.caf")
459 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:461:16: warning: static property 'pinUnexpected' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
459 | )
460 |
461 | static let pinUnexpected = Self(
| |- warning: static property 'pinUnexpected' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pinUnexpected' 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
462 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/PINUnexpected.caf")
463 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:465:16: warning: static property 'receivedMessage' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
463 | )
464 |
465 | static let receivedMessage = Self(
| |- warning: static property 'receivedMessage' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'receivedMessage' 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
466 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/ReceivedMessage.caf")
467 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:469:16: warning: static property 'ringerChanged' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
467 | )
468 |
469 | static let ringerChanged = Self(
| |- warning: static property 'ringerChanged' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ringerChanged' 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
470 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/RingerChanged.caf")
471 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:473:16: warning: static property 'sentMessage' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
471 | )
472 |
473 | static let sentMessage = Self(
| |- warning: static property 'sentMessage' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sentMessage' 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
474 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/SentMessage.caf")
475 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:477:16: warning: static property 'shake' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
475 | )
476 |
477 | static let shake = Self(
| |- warning: static property 'shake' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shake' 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
478 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/shake.caf")
479 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:481:16: warning: static property 'shortDoubleHigh' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
479 | )
480 |
481 | static let shortDoubleHigh = Self(
| |- warning: static property 'shortDoubleHigh' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortDoubleHigh' 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
482 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/short_double_high.caf")
483 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:485:16: warning: static property 'shortDoubleLow' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
483 | )
484 |
485 | static let shortDoubleLow = Self(
| |- warning: static property 'shortDoubleLow' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortDoubleLow' 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
486 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/short_double_low.caf")
487 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:489:16: warning: static property 'shortLowHigh' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
487 | )
488 |
489 | static let shortLowHigh = Self(
| |- warning: static property 'shortLowHigh' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shortLowHigh' 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
490 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/short_low_high.caf")
491 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:493:16: warning: static property 'simToolkitCallDropped' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
491 | )
492 |
493 | static let simToolkitCallDropped = Self(
| |- warning: static property 'simToolkitCallDropped' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'simToolkitCallDropped' 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
494 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/SIMToolkitCallDropped.caf")
495 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:497:16: warning: static property 'simToolkitGeneralBeep' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
495 | )
496 |
497 | static let simToolkitGeneralBeep = Self(
| |- warning: static property 'simToolkitGeneralBeep' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'simToolkitGeneralBeep' 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
498 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/SIMToolkitGeneralBeep.caf")
499 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:501:16: warning: static property 'simToolkitNegativeACK' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
499 | )
500 |
501 | static let simToolkitNegativeACK = Self(
| |- warning: static property 'simToolkitNegativeACK' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'simToolkitNegativeACK' 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
502 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/SIMToolkitNegativeACK.caf")
503 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:505:16: warning: static property 'simToolkitPositiveACK' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
503 | )
504 |
505 | static let simToolkitPositiveACK = Self(
| |- warning: static property 'simToolkitPositiveACK' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'simToolkitPositiveACK' 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
506 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/SIMToolkitPositiveACK.caf")
507 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:509:16: warning: static property 'simToolkitSMS' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
507 | )
508 |
509 | static let simToolkitSMS = Self(
| |- warning: static property 'simToolkitSMS' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'simToolkitSMS' 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
510 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/SIMToolkitSMS.caf")
511 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:513:16: warning: static property 'smsReceived1' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
511 | )
512 |
513 | static let smsReceived1 = Self(
| |- warning: static property 'smsReceived1' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smsReceived1' 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
514 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/sms-received1.caf")
515 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:517:16: warning: static property 'smsReceived2' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
515 | )
516 |
517 | static let smsReceived2 = Self(
| |- warning: static property 'smsReceived2' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smsReceived2' 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
518 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/sms-received2.caf")
519 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:521:16: warning: static property 'smsReceived3' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
519 | )
520 |
521 | static let smsReceived3 = Self(
| |- warning: static property 'smsReceived3' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smsReceived3' 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
522 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/sms-received3.caf")
523 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:525:16: warning: static property 'smsReceived4' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
523 | )
524 |
525 | static let smsReceived4 = Self(
| |- warning: static property 'smsReceived4' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smsReceived4' 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
526 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/sms-received4.caf")
527 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:529:16: warning: static property 'smsReceived5' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
527 | )
528 |
529 | static let smsReceived5 = Self(
| |- warning: static property 'smsReceived5' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smsReceived5' 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
530 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/sms-received5.caf")
531 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:533:16: warning: static property 'smsReceived6' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
531 | )
532 |
533 | static let smsReceived6 = Self(
| |- warning: static property 'smsReceived6' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'smsReceived6' 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
534 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/sms-received6.caf")
535 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:537:16: warning: static property 'swish' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
535 | )
536 |
537 | static let swish = Self(
| |- warning: static property 'swish' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swish' 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
538 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/Swish.caf")
539 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:541:16: warning: static property 'tink' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
539 | )
540 |
541 | static let tink = Self(
| |- warning: static property 'tink' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tink' 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
542 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/Tink.caf")
543 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:545:16: warning: static property 'tock' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
543 | )
544 |
545 | static let tock = Self(
| |- warning: static property 'tock' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tock' 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
546 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/Tock.caf")
547 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:549:16: warning: static property 'tweetSent' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
547 | )
548 |
549 | static let tweetSent = Self(
| |- warning: static property 'tweetSent' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tweetSent' 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
550 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/tweet_sent.caf")
551 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:553:16: warning: static property 'ussd' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
551 | )
552 |
553 | static let ussd = Self(
| |- warning: static property 'ussd' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ussd' 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
554 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/ussd.caf")
555 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:557:16: warning: static property 'warsaw' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
555 | )
556 |
557 | static let warsaw = Self(
| |- warning: static property 'warsaw' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warsaw' 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
558 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/warsaw.caf")
559 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:561:16: warning: static property 'webcamStart' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
559 | )
560 |
561 | static let webcamStart = Self(
| |- warning: static property 'webcamStart' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webcamStart' 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
562 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/WebcamStart.caf")
563 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:565:16: warning: static property 'wheelsOfTime' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
563 | )
564 |
565 | static let wheelsOfTime = Self(
| |- warning: static property 'wheelsOfTime' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wheelsOfTime' 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
566 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/wheels_of_time.caf")
567 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:569:16: warning: static property 'anticipate' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
567 | )
568 |
569 | static let anticipate = Self(
| |- warning: static property 'anticipate' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'anticipate' 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
570 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Anticipate.caf")
571 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:573:16: warning: static property 'bloom' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
571 | )
572 |
573 | static let bloom = Self(
| |- warning: static property 'bloom' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bloom' 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
574 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Bloom.caf")
575 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:577:16: warning: static property 'calypso' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
575 | )
576 |
577 | static let calypso = Self(
| |- warning: static property 'calypso' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'calypso' 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
578 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Calypso.caf")
579 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:581:16: warning: static property 'chooChoo' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
579 | )
580 |
581 | static let chooChoo = Self(
| |- warning: static property 'chooChoo' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'chooChoo' 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
582 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Choo_Choo.caf")
583 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:585:16: warning: static property 'descent' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
583 | )
584 |
585 | static let descent = Self(
| |- warning: static property 'descent' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'descent' 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
586 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Descent.caf")
587 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:589:16: warning: static property 'fanfare' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
587 | )
588 |
589 | static let fanfare = Self(
| |- warning: static property 'fanfare' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fanfare' 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
590 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Fanfare.caf")
591 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:593:16: warning: static property 'ladder' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
591 | )
592 |
593 | static let ladder = Self(
| |- warning: static property 'ladder' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ladder' 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
594 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Ladder.caf")
595 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:597:16: warning: static property 'minuet' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
595 | )
596 |
597 | static let minuet = Self(
| |- warning: static property 'minuet' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minuet' 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
598 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Minuet.caf")
599 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:601:16: warning: static property 'newsFlash' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
599 | )
600 |
601 | static let newsFlash = Self(
| |- warning: static property 'newsFlash' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newsFlash' 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
602 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/News_Flash.caf")
603 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:605:16: warning: static property 'noir' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
603 | )
604 |
605 | static let noir = Self(
| |- warning: static property 'noir' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noir' 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
606 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Noir.caf")
607 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:609:16: warning: static property 'sherwoodForest' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
607 | )
608 |
609 | static let sherwoodForest = Self(
| |- warning: static property 'sherwoodForest' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sherwoodForest' 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
610 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Sherwood_Forest.caf")
611 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:613:16: warning: static property 'spell' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
611 | )
612 |
613 | static let spell = Self(
| |- warning: static property 'spell' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'spell' 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
614 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Spell.caf")
615 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:617:16: warning: static property 'suspense' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
615 | )
616 |
617 | static let suspense = Self(
| |- warning: static property 'suspense' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'suspense' 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
618 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Suspense.caf")
619 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:621:16: warning: static property 'telegraph' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
619 | )
620 |
621 | static let telegraph = Self(
| |- warning: static property 'telegraph' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'telegraph' 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
622 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Telegraph.caf")
623 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:625:16: warning: static property 'tiptoes' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
623 | )
624 |
625 | static let tiptoes = Self(
| |- warning: static property 'tiptoes' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tiptoes' 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
626 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Tiptoes.caf")
627 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:629:16: warning: static property 'typewriters' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
627 | )
628 |
629 | static let typewriters = Self(
| |- warning: static property 'typewriters' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'typewriters' 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
630 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Typewriters.caf")
631 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:633:16: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
631 | )
632 |
633 | static let update = Self(
| |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'update' 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
634 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/New/Update.caf")
635 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:637:16: warning: static property 'cameraShutterBurst' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
635 | )
636 |
637 | static let cameraShutterBurst = Self(
| |- warning: static property 'cameraShutterBurst' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cameraShutterBurst' 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
638 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/Modern/camera_shutter_burst.caf")
639 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:641:16: warning: static property 'cameraShutterBurstBegin' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
639 | )
640 |
641 | static let cameraShutterBurstBegin = Self(
| |- warning: static property 'cameraShutterBurstBegin' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cameraShutterBurstBegin' 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
642 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/Modern/camera_shutter_burst_begin.caf")
643 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:645:16: warning: static property 'cameraShutterBurstEnd' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
:
643 | )
644 |
645 | static let cameraShutterBurstEnd = Self(
| |- warning: static property 'cameraShutterBurstEnd' is not concurrency-safe because non-'Sendable' type 'Audio' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cameraShutterBurstEnd' 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
646 | url: URL(fileURLWithPath: "/System/Library/Audio/UISounds/Modern/camera_shutter_burst_end.caf")
647 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/AudioFeedback.swift:12: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
10 |
11 | private struct AudioPlayerEnvironmentKey: EnvironmentKey {
12 | static var defaultValue: AudioPlayer = .init()
| |- 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
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/AudioFeedback.swift:7:15: warning: call to main actor-isolated initializer 'init(audio:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
4 | /// Specifies feedback that plays an audio file
5 | /// - Parameter audio: The audio to play when this feedback is triggered
6 | static func audio(_ audio: Audio) -> Self {
| `- note: add '@MainActor' to make static method 'audio' part of global actor 'MainActor'
7 | .init(AudioFeedback(audio: audio))
| `- warning: call to main actor-isolated initializer 'init(audio:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
8 | }
9 | }
:
26 | var audio: Audio
27 |
28 | init(audio: Audio) {
| `- note: calls to initializer 'init(audio:)' from outside of its actor context are implicitly asynchronous
29 | self.audio = audio
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/AudioPlayer.swift:5:10: warning: associated value 'badUrl' of 'Sendable'-conforming enum 'PlayerError' has non-sendable type 'Audio'; this is an error in the Swift 6 language mode
3 |
4 | private enum PlayerError: LocalizedError {
5 | case badUrl(Audio)
| `- warning: associated value 'badUrl' of 'Sendable'-conforming enum 'PlayerError' has non-sendable type 'Audio'; this is an error in the Swift 6 language mode
6 | var errorDescription: String? {
7 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Audio/Audio.swift:4:15: note: consider making struct 'Audio' conform to the 'Sendable' protocol
2 |
3 | /// Represents an audio URL
4 | public struct Audio: Identifiable, Hashable {
| `- note: consider making struct 'Audio' conform to the 'Sendable' protocol
5 | public var id: String { url.path }
6 | public let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/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/SwiftUIPlus/Feedback/Audio/AudioFeedback.swift:7:15: warning: sending 'audio' risks causing data races; this is an error in the Swift 6 language mode
5 | /// - Parameter audio: The audio to play when this feedback is triggered
6 | static func audio(_ audio: Audio) -> Self {
7 | .init(AudioFeedback(audio: audio))
| |- warning: sending 'audio' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'audio' to main actor-isolated initializer 'init(audio:)' risks causing data races between main actor-isolated and task-isolated uses
8 | }
9 | }
[163/178] Compiling SwiftUIPlus Feedback.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:10:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | func feedback(_ feedback: AnyFeedback) -> Self {
9 | Binding(
10 | get: { wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:12:30: warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | get: { wrappedValue },
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/AnyFeedback.swift:4:15: note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
2 |
3 | /// A type-erased Feedback
4 | public struct AnyFeedback: Feedback {
| `- note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
5 | private var haptic: Feedback
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:12:42: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | get: { wrappedValue },
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:12:42: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
10 | get: { wrappedValue },
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
13 | }
14 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:26:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
25 | Binding(
26 | get: { wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | set: { newValue in
28 | let oldValue = round(wrappedValue / step) * step
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:28:38: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | get: { wrappedValue },
27 | set: { newValue in
28 | let oldValue = round(wrappedValue / step) * step
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | let stepValue = round(newValue / step) * step
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:28:53: warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | get: { wrappedValue },
27 | set: { newValue in
28 | let oldValue = round(wrappedValue / step) * step
| `- warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | let stepValue = round(newValue / step) * step
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:32:34: warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 | if oldValue != stepValue {
32 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | } else {
34 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/AnyFeedback.swift:4:15: note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
2 |
3 | /// A type-erased Feedback
4 | public struct AnyFeedback: Feedback {
| `- note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
5 | private var haptic: Feedback
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:32:46: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
30 |
31 | if oldValue != stepValue {
32 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
33 | } else {
34 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:49:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
48 | Binding(
49 | get: { wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | set: { newValue in
51 | let oldValue = wrappedValue / step * step
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:51:32: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | get: { wrappedValue },
50 | set: { newValue in
51 | let oldValue = wrappedValue / step * step
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | let stepValue = newValue / step * step
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:51:47: warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | get: { wrappedValue },
50 | set: { newValue in
51 | let oldValue = wrappedValue / step * step
| `- warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | let stepValue = newValue / step * step
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:55:34: warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |
54 | if oldValue != stepValue {
55 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | } else {
57 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/AnyFeedback.swift:4:15: note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
2 |
3 | /// A type-erased Feedback
4 | public struct AnyFeedback: Feedback {
| `- note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
5 | private var haptic: Feedback
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:55:46: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
53 |
54 | if oldValue != stepValue {
55 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
56 | } else {
57 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:27:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
25 | /// - body: The content of this value will be called alongside the feedback
26 | public func withFeedback<Result>(_ feedback: AnyFeedback = .haptic(.haptic(intensity: 0.5, sharpness: 0.5)), _ body: () throws -> Result) rethrows -> Result {
27 | Task { await feedback.perform() }
| | `- note: closure captures 'feedback' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 | return try body()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:45:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
43 | /// Performs the specified feedback and any associated feedback (via combined)
44 | public func perform() async {
45 | async let c: Void = content.perform()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
46 | async let m: Void = modifier.perform()
47 | _ = await (c, m)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:46:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
44 | public func perform() async {
45 | async let c: Void = content.perform()
46 | async let m: Void = modifier.perform()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
47 | _ = await (c, m)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:68:43: warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
66 | content
67 | .onChange(of: value) { value in
68 | Task { await feedback.perform() }
| |- warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.feedback' to nonisolated instance method 'perform()' risks causing data races between nonisolated and main actor-isolated uses
69 | }
70 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:73:43: warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
71 | content
72 | .backport.onChange(of: value) { value in
73 | Task { await feedback.perform() }
| |- warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.feedback' to nonisolated instance method 'perform()' risks causing data races between nonisolated and main actor-isolated uses
74 | }
75 | }
[164/178] Compiling SwiftUIPlus AnyFeedback.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:10:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | func feedback(_ feedback: AnyFeedback) -> Self {
9 | Binding(
10 | get: { wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:12:30: warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | get: { wrappedValue },
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/AnyFeedback.swift:4:15: note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
2 |
3 | /// A type-erased Feedback
4 | public struct AnyFeedback: Feedback {
| `- note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
5 | private var haptic: Feedback
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:12:42: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | get: { wrappedValue },
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:12:42: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
10 | get: { wrappedValue },
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
13 | }
14 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:26:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
25 | Binding(
26 | get: { wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | set: { newValue in
28 | let oldValue = round(wrappedValue / step) * step
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:28:38: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | get: { wrappedValue },
27 | set: { newValue in
28 | let oldValue = round(wrappedValue / step) * step
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | let stepValue = round(newValue / step) * step
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:28:53: warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | get: { wrappedValue },
27 | set: { newValue in
28 | let oldValue = round(wrappedValue / step) * step
| `- warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | let stepValue = round(newValue / step) * step
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:32:34: warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 | if oldValue != stepValue {
32 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | } else {
34 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/AnyFeedback.swift:4:15: note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
2 |
3 | /// A type-erased Feedback
4 | public struct AnyFeedback: Feedback {
| `- note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
5 | private var haptic: Feedback
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:32:46: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
30 |
31 | if oldValue != stepValue {
32 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
33 | } else {
34 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:49:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
48 | Binding(
49 | get: { wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | set: { newValue in
51 | let oldValue = wrappedValue / step * step
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:51:32: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | get: { wrappedValue },
50 | set: { newValue in
51 | let oldValue = wrappedValue / step * step
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | let stepValue = newValue / step * step
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:51:47: warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | get: { wrappedValue },
50 | set: { newValue in
51 | let oldValue = wrappedValue / step * step
| `- warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | let stepValue = newValue / step * step
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:55:34: warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |
54 | if oldValue != stepValue {
55 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | } else {
57 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/AnyFeedback.swift:4:15: note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
2 |
3 | /// A type-erased Feedback
4 | public struct AnyFeedback: Feedback {
| `- note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
5 | private var haptic: Feedback
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:55:46: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
53 |
54 | if oldValue != stepValue {
55 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
56 | } else {
57 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:27:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
25 | /// - body: The content of this value will be called alongside the feedback
26 | public func withFeedback<Result>(_ feedback: AnyFeedback = .haptic(.haptic(intensity: 0.5, sharpness: 0.5)), _ body: () throws -> Result) rethrows -> Result {
27 | Task { await feedback.perform() }
| | `- note: closure captures 'feedback' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 | return try body()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:45:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
43 | /// Performs the specified feedback and any associated feedback (via combined)
44 | public func perform() async {
45 | async let c: Void = content.perform()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
46 | async let m: Void = modifier.perform()
47 | _ = await (c, m)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:46:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
44 | public func perform() async {
45 | async let c: Void = content.perform()
46 | async let m: Void = modifier.perform()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
47 | _ = await (c, m)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:68:43: warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
66 | content
67 | .onChange(of: value) { value in
68 | Task { await feedback.perform() }
| |- warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.feedback' to nonisolated instance method 'perform()' risks causing data races between nonisolated and main actor-isolated uses
69 | }
70 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:73:43: warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
71 | content
72 | .backport.onChange(of: value) { value in
73 | Task { await feedback.perform() }
| |- warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.feedback' to nonisolated instance method 'perform()' risks causing data races between nonisolated and main actor-isolated uses
74 | }
75 | }
[165/178] Compiling SwiftUIPlus Feedback+Binding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:10:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
8 | func feedback(_ feedback: AnyFeedback) -> Self {
9 | Binding(
10 | get: { wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:12:30: warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | get: { wrappedValue },
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/AnyFeedback.swift:4:15: note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
2 |
3 | /// A type-erased Feedback
4 | public struct AnyFeedback: Feedback {
| `- note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
5 | private var haptic: Feedback
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:12:42: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
10 | get: { wrappedValue },
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | }
14 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:12:42: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
10 | get: { wrappedValue },
11 | set: { newValue in
12 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
13 | }
14 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:26:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
25 | Binding(
26 | get: { wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | set: { newValue in
28 | let oldValue = round(wrappedValue / step) * step
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:28:38: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | get: { wrappedValue },
27 | set: { newValue in
28 | let oldValue = round(wrappedValue / step) * step
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | let stepValue = round(newValue / step) * step
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:28:53: warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | get: { wrappedValue },
27 | set: { newValue in
28 | let oldValue = round(wrappedValue / step) * step
| `- warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | let stepValue = round(newValue / step) * step
30 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:32:34: warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |
31 | if oldValue != stepValue {
32 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
33 | } else {
34 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/AnyFeedback.swift:4:15: note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
2 |
3 | /// A type-erased Feedback
4 | public struct AnyFeedback: Feedback {
| `- note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
5 | private var haptic: Feedback
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:32:46: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
30 |
31 | if oldValue != stepValue {
32 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
33 | } else {
34 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:49:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | func feedback(_ feedback: AnyFeedback, step: Value) -> Self {
48 | Binding(
49 | get: { wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 | set: { newValue in
51 | let oldValue = wrappedValue / step * step
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:51:32: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | get: { wrappedValue },
50 | set: { newValue in
51 | let oldValue = wrappedValue / step * step
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | let stepValue = newValue / step * step
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:51:47: warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | get: { wrappedValue },
50 | set: { newValue in
51 | let oldValue = wrappedValue / step * step
| `- warning: capture of 'step' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | let stepValue = newValue / step * step
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:55:34: warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 |
54 | if oldValue != stepValue {
55 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'feedback' with non-sendable type 'AnyFeedback' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | } else {
57 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/AnyFeedback.swift:4:15: note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
2 |
3 | /// A type-erased Feedback
4 | public struct AnyFeedback: Feedback {
| `- note: consider making struct 'AnyFeedback' conform to the 'Sendable' protocol
5 | private var haptic: Feedback
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback/Feedback+Binding.swift:55:46: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
53 |
54 | if oldValue != stepValue {
55 | withFeedback(feedback) { wrappedValue = newValue }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
56 | } else {
57 | wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:27:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
25 | /// - body: The content of this value will be called alongside the feedback
26 | public func withFeedback<Result>(_ feedback: AnyFeedback = .haptic(.haptic(intensity: 0.5, sharpness: 0.5)), _ body: () throws -> Result) rethrows -> Result {
27 | Task { await feedback.perform() }
| | `- note: closure captures 'feedback' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 | return try body()
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:45:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
43 | /// Performs the specified feedback and any associated feedback (via combined)
44 | public func perform() async {
45 | async let c: Void = content.perform()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
46 | async let m: Void = modifier.perform()
47 | _ = await (c, m)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:46:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
44 | public func perform() async {
45 | async let c: Void = content.perform()
46 | async let m: Void = modifier.perform()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
47 | _ = await (c, m)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:68:43: warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
66 | content
67 | .onChange(of: value) { value in
68 | Task { await feedback.perform() }
| |- warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.feedback' to nonisolated instance method 'perform()' risks causing data races between nonisolated and main actor-isolated uses
69 | }
70 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Feedback.swift:73:43: warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
71 | content
72 | .backport.onChange(of: value) { value in
73 | Task { await feedback.perform() }
| |- warning: sending 'self.feedback' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.feedback' to nonisolated instance method 'perform()' risks causing data races between nonisolated and main actor-isolated uses
74 | }
75 | }
[166/178] Compiling SwiftUIPlus VScrollStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/FrameObserver.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 | private struct FramePreferenceKey: PreferenceKey {
4 | static var defaultValue: CGRect = .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 |
6 | static func reduce(value: inout CGRect, nextValue: () -> CGRect) {
[167/178] Compiling SwiftUIPlus FrameObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/FrameObserver.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 | private struct FramePreferenceKey: PreferenceKey {
4 | static var defaultValue: CGRect = .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 |
6 | static func reduce(value: inout CGRect, nextValue: () -> CGRect) {
[168/178] Compiling SwiftUIPlus TextSlider.swift
[169/178] Compiling SwiftUIPlus TextSliderField.swift
[170/178] Compiling SwiftUIPlus Plain.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/TextSlider/Styles/TextSliderStyle.swift:37:9: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | @available(iOS 15, macOS 12, *)
12 | public struct TextSliderConfiguration {
13 | struct Label: View {
| `- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
14 | let configuration: TextSliderConfiguration
15 |
:
35 |
36 | public var label: some View {
37 | Label(configuration: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/TextSlider/Styles/TextSliderStyle.swift:37:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
35 |
36 | public var label: some View {
37 | Label(configuration: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
38 | }
39 | }
[171/178] Compiling SwiftUIPlus TextSliderStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/TextSlider/Styles/TextSliderStyle.swift:37:9: warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | @available(iOS 15, macOS 12, *)
12 | public struct TextSliderConfiguration {
13 | struct Label: View {
| `- note: calls to initializer 'init(configuration:)' from outside of its actor context are implicitly asynchronous
14 | let configuration: TextSliderConfiguration
15 |
:
35 |
36 | public var label: some View {
37 | Label(configuration: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | }
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/TextSlider/Styles/TextSliderStyle.swift:37:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
35 |
36 | public var label: some View {
37 | Label(configuration: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:)' risks causing data races between main actor-isolated and task-isolated uses
38 | }
39 | }
[172/178] Compiling SwiftUIPlus Inspect.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:120:18: warning: call to main actor-isolated instance method 'ancestor(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | internal extension PlatformView {
56 | func ancestor<ViewType: PlatformView>(ofType type: ViewType.Type) -> ViewType? {
| `- note: calls to instance method 'ancestor(ofType:)' from outside of its actor context are implicitly asynchronous
57 | var view = superview
58 | while let s = view {
:
117 | }
118 |
119 | func ancestor<ViewType: PlatformView>(ofType: ViewType.Type) -> ViewType? {
| `- note: add '@MainActor' to make instance method 'ancestor(ofType:)' part of global actor 'MainActor'
120 | hostView.ancestor(ofType: ViewType.self)
| `- warning: call to main actor-isolated instance method 'ancestor(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
121 | }
122 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:124:18: warning: call to main actor-isolated instance method 'sibling(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | }
66 |
67 | func sibling<ViewType: PlatformView>(ofType type: ViewType.Type) -> ViewType? {
| `- note: calls to instance method 'sibling(ofType:)' from outside of its actor context are implicitly asynchronous
68 | guard let superview = superview, let index = superview.subviews.firstIndex(of: self) else { return nil }
69 |
:
121 | }
122 |
123 | func sibling<ViewType: PlatformView>(ofType: ViewType.Type) -> ViewType? {
| `- note: add '@MainActor' to make instance method 'sibling(ofType:)' part of global actor 'MainActor'
124 | hostView.sibling(ofType: ViewType.self)
| `- warning: call to main actor-isolated instance method 'sibling(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:128:18: warning: call to main actor-isolated instance method 'descendent(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
82 | }
83 |
84 | func descendent<ViewType: PlatformView>(ofType type: ViewType.Type) -> ViewType? {
| `- note: calls to instance method 'descendent(ofType:)' from outside of its actor context are implicitly asynchronous
85 | for subview in subviews {
86 | if let typed = subview as? ViewType {
:
125 | }
126 |
127 | func descendent<ViewType: PlatformView>(ofType: ViewType.Type) -> ViewType? {
| `- note: add '@MainActor' to make instance method 'descendent(ofType:)' part of global actor 'MainActor'
128 | hostView.descendent(ofType: ViewType.self)
| `- warning: call to main actor-isolated instance method 'descendent(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | }
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:138:26: warning: call to main actor-isolated instance method 'ancestor(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 |
13 | internal extension PlatformViewController {
14 | func ancestor<ControllerType: PlatformViewController>(ofType type: ControllerType.Type) -> ControllerType? {
| `- note: calls to instance method 'ancestor(ofType:)' from outside of its actor context are implicitly asynchronous
15 | var controller = parent
16 | while let c = controller {
:
135 | }
136 |
137 | func ancestor<ControllerType: PlatformViewController>(ofType: ControllerType.Type) -> ControllerType? {
| `- note: add '@MainActor' to make instance method 'ancestor(ofType:)' part of global actor 'MainActor'
138 | sourceController.ancestor(ofType: ControllerType.self)
| `- warning: call to main actor-isolated instance method 'ancestor(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
139 | }
140 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:142:26: warning: call to main actor-isolated instance method 'sibling(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 |
25 | func sibling<ControllerType: PlatformViewController>(ofType type: ControllerType.Type) -> ControllerType? {
| `- note: calls to instance method 'sibling(ofType:)' from outside of its actor context are implicitly asynchronous
26 | guard let controller = parent, let index = controller.children.firstIndex(of: self) else { return nil }
27 |
:
139 | }
140 |
141 | func sibling<ControllerType: PlatformViewController>(ofType: ControllerType.Type) -> ControllerType? {
| `- note: add '@MainActor' to make instance method 'sibling(ofType:)' part of global actor 'MainActor'
142 | sourceController.sibling(ofType: ControllerType.self)
| `- warning: call to main actor-isolated instance method 'sibling(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:146:26: warning: call to main actor-isolated instance method 'descendent(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | }
41 |
42 | func descendent<ControllerType: PlatformViewController>(ofType type: ControllerType.Type) -> ControllerType? {
| `- note: calls to instance method 'descendent(ofType:)' from outside of its actor context are implicitly asynchronous
43 | for c in children {
44 | if let typed = c as? ControllerType {
:
143 | }
144 |
145 | func descendent<ControllerType: PlatformViewController>(ofType: ControllerType.Type) -> ControllerType? {
| `- note: add '@MainActor' to make instance method 'descendent(ofType:)' part of global actor 'MainActor'
146 | sourceController.descendent(ofType: ControllerType.self)
| `- warning: call to main actor-isolated instance method 'descendent(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
147 | }
148 | }
[173/178] Compiling SwiftUIPlus Bordered.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:120:18: warning: call to main actor-isolated instance method 'ancestor(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | internal extension PlatformView {
56 | func ancestor<ViewType: PlatformView>(ofType type: ViewType.Type) -> ViewType? {
| `- note: calls to instance method 'ancestor(ofType:)' from outside of its actor context are implicitly asynchronous
57 | var view = superview
58 | while let s = view {
:
117 | }
118 |
119 | func ancestor<ViewType: PlatformView>(ofType: ViewType.Type) -> ViewType? {
| `- note: add '@MainActor' to make instance method 'ancestor(ofType:)' part of global actor 'MainActor'
120 | hostView.ancestor(ofType: ViewType.self)
| `- warning: call to main actor-isolated instance method 'ancestor(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
121 | }
122 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:124:18: warning: call to main actor-isolated instance method 'sibling(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | }
66 |
67 | func sibling<ViewType: PlatformView>(ofType type: ViewType.Type) -> ViewType? {
| `- note: calls to instance method 'sibling(ofType:)' from outside of its actor context are implicitly asynchronous
68 | guard let superview = superview, let index = superview.subviews.firstIndex(of: self) else { return nil }
69 |
:
121 | }
122 |
123 | func sibling<ViewType: PlatformView>(ofType: ViewType.Type) -> ViewType? {
| `- note: add '@MainActor' to make instance method 'sibling(ofType:)' part of global actor 'MainActor'
124 | hostView.sibling(ofType: ViewType.self)
| `- warning: call to main actor-isolated instance method 'sibling(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:128:18: warning: call to main actor-isolated instance method 'descendent(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
82 | }
83 |
84 | func descendent<ViewType: PlatformView>(ofType type: ViewType.Type) -> ViewType? {
| `- note: calls to instance method 'descendent(ofType:)' from outside of its actor context are implicitly asynchronous
85 | for subview in subviews {
86 | if let typed = subview as? ViewType {
:
125 | }
126 |
127 | func descendent<ViewType: PlatformView>(ofType: ViewType.Type) -> ViewType? {
| `- note: add '@MainActor' to make instance method 'descendent(ofType:)' part of global actor 'MainActor'
128 | hostView.descendent(ofType: ViewType.self)
| `- warning: call to main actor-isolated instance method 'descendent(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | }
130 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:138:26: warning: call to main actor-isolated instance method 'ancestor(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
12 |
13 | internal extension PlatformViewController {
14 | func ancestor<ControllerType: PlatformViewController>(ofType type: ControllerType.Type) -> ControllerType? {
| `- note: calls to instance method 'ancestor(ofType:)' from outside of its actor context are implicitly asynchronous
15 | var controller = parent
16 | while let c = controller {
:
135 | }
136 |
137 | func ancestor<ControllerType: PlatformViewController>(ofType: ControllerType.Type) -> ControllerType? {
| `- note: add '@MainActor' to make instance method 'ancestor(ofType:)' part of global actor 'MainActor'
138 | sourceController.ancestor(ofType: ControllerType.self)
| `- warning: call to main actor-isolated instance method 'ancestor(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
139 | }
140 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:142:26: warning: call to main actor-isolated instance method 'sibling(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 |
25 | func sibling<ControllerType: PlatformViewController>(ofType type: ControllerType.Type) -> ControllerType? {
| `- note: calls to instance method 'sibling(ofType:)' from outside of its actor context are implicitly asynchronous
26 | guard let controller = parent, let index = controller.children.firstIndex(of: self) else { return nil }
27 |
:
139 | }
140 |
141 | func sibling<ControllerType: PlatformViewController>(ofType: ControllerType.Type) -> ControllerType? {
| `- note: add '@MainActor' to make instance method 'sibling(ofType:)' part of global actor 'MainActor'
142 | sourceController.sibling(ofType: ControllerType.self)
| `- warning: call to main actor-isolated instance method 'sibling(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Support/Inspect.swift:146:26: warning: call to main actor-isolated instance method 'descendent(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 | }
41 |
42 | func descendent<ControllerType: PlatformViewController>(ofType type: ControllerType.Type) -> ControllerType? {
| `- note: calls to instance method 'descendent(ofType:)' from outside of its actor context are implicitly asynchronous
43 | for c in children {
44 | if let typed = c as? ControllerType {
:
143 | }
144 |
145 | func descendent<ControllerType: PlatformViewController>(ofType: ControllerType.Type) -> ControllerType? {
| `- note: add '@MainActor' to make instance method 'descendent(ofType:)' part of global actor 'MainActor'
146 | sourceController.descendent(ofType: ControllerType.self)
| `- warning: call to main actor-isolated instance method 'descendent(ofType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
147 | }
148 | }
[174/178] Compiling SwiftUIPlus Flash.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Haptic/PatternHaptic.swift:102:17: warning: capture of 'engine' with non-sendable type 'CHHapticEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | // ensuring haptics play for the entire duration
101 | DispatchQueue.main.asyncAfter(deadline: .now() + pattern.duration) {
102 | engine.stop()
| `- warning: capture of 'engine' with non-sendable type 'CHHapticEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | }
104 | } catch {
CoreHaptics.CHHapticEngine:2:12: note: class 'CHHapticEngine' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, *)
2 | open class CHHapticEngine : NSObject {
| `- note: class 'CHHapticEngine' does not conform to the 'Sendable' protocol
3 | open class func capabilitiesForHardware() -> any CHHapticDeviceCapability
4 | open var currentTime: TimeInterval { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Haptic/PatternHaptic.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreHaptics'
1 | import SwiftUI
2 | #if canImport(CoreHaptics)
3 | import CoreHaptics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreHaptics'
4 | #endif
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Haptic/PatternHaptic.swift:102:17: warning: sending 'engine' risks causing data races; this is an error in the Swift 6 language mode
100 | // ensuring haptics play for the entire duration
101 | DispatchQueue.main.asyncAfter(deadline: .now() + pattern.duration) {
102 | engine.stop()
| |- warning: sending 'engine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'engine' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
103 | }
104 | } catch {
[175/178] Compiling SwiftUIPlus Haptic-Typealias.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Haptic/PatternHaptic.swift:102:17: warning: capture of 'engine' with non-sendable type 'CHHapticEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | // ensuring haptics play for the entire duration
101 | DispatchQueue.main.asyncAfter(deadline: .now() + pattern.duration) {
102 | engine.stop()
| `- warning: capture of 'engine' with non-sendable type 'CHHapticEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | }
104 | } catch {
CoreHaptics.CHHapticEngine:2:12: note: class 'CHHapticEngine' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, *)
2 | open class CHHapticEngine : NSObject {
| `- note: class 'CHHapticEngine' does not conform to the 'Sendable' protocol
3 | open class func capabilitiesForHardware() -> any CHHapticDeviceCapability
4 | open var currentTime: TimeInterval { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Haptic/PatternHaptic.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreHaptics'
1 | import SwiftUI
2 | #if canImport(CoreHaptics)
3 | import CoreHaptics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreHaptics'
4 | #endif
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Haptic/PatternHaptic.swift:102:17: warning: sending 'engine' risks causing data races; this is an error in the Swift 6 language mode
100 | // ensuring haptics play for the entire duration
101 | DispatchQueue.main.asyncAfter(deadline: .now() + pattern.duration) {
102 | engine.stop()
| |- warning: sending 'engine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'engine' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
103 | }
104 | } catch {
[176/178] Compiling SwiftUIPlus PatternHaptic.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Haptic/PatternHaptic.swift:102:17: warning: capture of 'engine' with non-sendable type 'CHHapticEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 | // ensuring haptics play for the entire duration
101 | DispatchQueue.main.asyncAfter(deadline: .now() + pattern.duration) {
102 | engine.stop()
| `- warning: capture of 'engine' with non-sendable type 'CHHapticEngine' in a `@Sendable` closure; this is an error in the Swift 6 language mode
103 | }
104 | } catch {
CoreHaptics.CHHapticEngine:2:12: note: class 'CHHapticEngine' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, *)
2 | open class CHHapticEngine : NSObject {
| `- note: class 'CHHapticEngine' does not conform to the 'Sendable' protocol
3 | open class func capabilitiesForHardware() -> any CHHapticDeviceCapability
4 | open var currentTime: TimeInterval { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Haptic/PatternHaptic.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreHaptics'
1 | import SwiftUI
2 | #if canImport(CoreHaptics)
3 | import CoreHaptics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreHaptics'
4 | #endif
5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPlus/Feedback/Haptic/PatternHaptic.swift:102:17: warning: sending 'engine' risks causing data races; this is an error in the Swift 6 language mode
100 | // ensuring haptics play for the entire duration
101 | DispatchQueue.main.asyncAfter(deadline: .now() + pattern.duration) {
102 | engine.stop()
| |- warning: sending 'engine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'engine' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
103 | }
104 | } catch {
[177/178] Compiling SwiftUIPlus VFlowStack.swift
[178/178] Compiling SwiftUIPlus WebView.swift
Build complete! (41.76s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftuibackports",
"requirement" : {
"range" : [
{
"lower_bound" : "2.8.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shaps80/SwiftUIBackports"
}
],
"manifest_display_name" : "SwiftUIPlus",
"name" : "SwiftUIPlus",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftUIPlus",
"targets" : [
"SwiftUIPlus"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUIPlus",
"module_type" : "SwiftTarget",
"name" : "SwiftUIPlus",
"path" : "Sources/SwiftUIPlus",
"product_dependencies" : [
"SwiftUIBackports"
],
"product_memberships" : [
"SwiftUIPlus"
],
"sources" : [
"Feedback/Audio/Audio.swift",
"Feedback/Audio/AudioFeedback.swift",
"Feedback/Audio/AudioPlayer.swift",
"Feedback/Feedback.swift",
"Feedback/Feedback/AnyFeedback.swift",
"Feedback/Feedback/Feedback+Binding.swift",
"Feedback/Flash/Flash.swift",
"Feedback/Haptic/Haptic-Typealias.swift",
"Feedback/Haptic/PatternHaptic.swift",
"Feedback/Haptic/SystemHaptic.swift",
"Feedback/Miscellaneous/DelayedFeedback.swift",
"FittingGeometryReader/FittingGeometryReader.swift",
"Presentation/PresentationLink.swift",
"Safari/OpenURL.swift",
"ScrollStack/HScrollStack.swift",
"ScrollStack/VScrollStack.swift",
"Support/FrameObserver.swift",
"Support/Inspect.swift",
"TextSlider/Styles/Bordered.swift",
"TextSlider/Styles/Plain.swift",
"TextSlider/Styles/TextSliderStyle.swift",
"TextSlider/TextSlider.swift",
"TextSlider/TextSliderField.swift",
"VFlowStack/VFlowStack.swift",
"WebView/WebView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.