Build Information
Successful build of PermissionsKit, reference 11.0.1 (7fd4d6
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 12:09:52 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sparrowcode/PermissionsKit.git
Reference: 11.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sparrowcode/PermissionsKit
* tag 11.0.1 -> FETCH_HEAD
HEAD is now at 7fd4d6c Merge pull request #352 from EchoLunar/EchoLunar-patch-1
Cloned https://github.com/sparrowcode/PermissionsKit.git
Revision (git rev-parse @):
7fd4d6c4f90b8389dad1432a57a8d773d887fa26
SUCCESS checkout https://github.com/sparrowcode/PermissionsKit.git at 11.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "permissionskit",
"name": "PermissionsKit",
"url": "https://github.com/sparrowcode/PermissionsKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PermissionsKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/sparrowcode/PermissionsKit.git
[1/12601] Fetching permissionskit
Fetched https://github.com/sparrowcode/PermissionsKit.git from cache (3.70s)
Creating working copy for https://github.com/sparrowcode/PermissionsKit.git
Working copy of https://github.com/sparrowcode/PermissionsKit.git resolved at 11.0.1 (7fd4d6c)
warning: '.resolve-product-dependencies': dependency 'permissionskit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/sparrowcode/PermissionsKit.git
https://github.com/sparrowcode/PermissionsKit.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "PermissionsKit",
"name" : "PermissionsKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "CameraPermission",
"targets" : [
"CameraPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PhotoLibraryPermission",
"targets" : [
"PhotoLibraryPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NotificationPermission",
"targets" : [
"NotificationPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MicrophonePermission",
"targets" : [
"MicrophonePermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CalendarPermission",
"targets" : [
"CalendarPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ContactsPermission",
"targets" : [
"ContactsPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RemindersPermission",
"targets" : [
"RemindersPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeechRecognizerPermission",
"targets" : [
"SpeechRecognizerPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LocationPermission",
"targets" : [
"LocationPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MotionPermission",
"targets" : [
"MotionPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MediaLibraryPermission",
"targets" : [
"MediaLibraryPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BluetoothPermission",
"targets" : [
"BluetoothPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TrackingPermission",
"targets" : [
"TrackingPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FaceIDPermission",
"targets" : [
"FaceIDPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SiriPermission",
"targets" : [
"SiriPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HealthPermission",
"targets" : [
"HealthPermission"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "TrackingPermission",
"module_type" : "SwiftTarget",
"name" : "TrackingPermission",
"path" : "Sources/TrackingPermission",
"product_memberships" : [
"TrackingPermission"
],
"sources" : [
"TrackingPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "SpeechRecognizerPermission",
"module_type" : "SwiftTarget",
"name" : "SpeechRecognizerPermission",
"path" : "Sources/SpeechRecognizerPermission",
"product_memberships" : [
"SpeechRecognizerPermission"
],
"sources" : [
"SpeechPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "SiriPermission",
"module_type" : "SwiftTarget",
"name" : "SiriPermission",
"path" : "Sources/SiriPermission",
"product_memberships" : [
"SiriPermission"
],
"sources" : [
"SiriPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "RemindersPermission",
"module_type" : "SwiftTarget",
"name" : "RemindersPermission",
"path" : "Sources/RemindersPermission",
"product_memberships" : [
"RemindersPermission"
],
"sources" : [
"RemindersPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "PhotoLibraryPermission",
"module_type" : "SwiftTarget",
"name" : "PhotoLibraryPermission",
"path" : "Sources/PhotoLibraryPermission",
"product_memberships" : [
"PhotoLibraryPermission"
],
"sources" : [
"PhotoLibraryPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "PermissionsKit",
"module_type" : "SwiftTarget",
"name" : "PermissionsKit",
"path" : "Sources/PermissionsKit",
"product_memberships" : [
"CameraPermission",
"PhotoLibraryPermission",
"NotificationPermission",
"MicrophonePermission",
"CalendarPermission",
"ContactsPermission",
"RemindersPermission",
"SpeechRecognizerPermission",
"LocationPermission",
"MotionPermission",
"MediaLibraryPermission",
"BluetoothPermission",
"TrackingPermission",
"FaceIDPermission",
"SiriPermission",
"HealthPermission"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/ar.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ar"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/de.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "de"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/es.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "es"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/fa.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "fa"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/fr.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "fr"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/it.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "it"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/nl.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/pl.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "pl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/pt.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "pt"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/ru.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ru"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/uk.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "uk"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/zh-Hant.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "zh-hant"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/zh_Hans.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "zh_hans"
}
}
}
],
"sources" : [
"Data/Text.swift",
"Permission.swift"
],
"type" : "library"
},
{
"c99name" : "NotificationPermission",
"module_type" : "SwiftTarget",
"name" : "NotificationPermission",
"path" : "Sources/NotificationPermission",
"product_memberships" : [
"NotificationPermission"
],
"sources" : [
"NotificationPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "MotionPermission",
"module_type" : "SwiftTarget",
"name" : "MotionPermission",
"path" : "Sources/MotionPermission",
"product_memberships" : [
"MotionPermission"
],
"sources" : [
"MotionPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "MicrophonePermission",
"module_type" : "SwiftTarget",
"name" : "MicrophonePermission",
"path" : "Sources/MicrophonePermission",
"product_memberships" : [
"MicrophonePermission"
],
"sources" : [
"MicrophonePermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "MediaLibraryPermission",
"module_type" : "SwiftTarget",
"name" : "MediaLibraryPermission",
"path" : "Sources/MediaLibraryPermission",
"product_memberships" : [
"MediaLibraryPermission"
],
"sources" : [
"MediaLibraryPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "LocationPermission",
"module_type" : "SwiftTarget",
"name" : "LocationPermission",
"path" : "Sources/LocationPermission",
"product_memberships" : [
"LocationPermission"
],
"sources" : [
"Handlers/LocationAlwaysHandler.swift",
"Handlers/LocationWhenInUseHandler.swift",
"LocationAccuracy.swift",
"LocationPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "HealthPermission",
"module_type" : "SwiftTarget",
"name" : "HealthPermission",
"path" : "Sources/HealthPermission",
"product_memberships" : [
"HealthPermission"
],
"sources" : [
"HealthPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "FaceIDPermission",
"module_type" : "SwiftTarget",
"name" : "FaceIDPermission",
"path" : "Sources/FaceIDPermission",
"product_memberships" : [
"FaceIDPermission"
],
"sources" : [
"FaceIDPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "ContactsPermission",
"module_type" : "SwiftTarget",
"name" : "ContactsPermission",
"path" : "Sources/ContactsPermission",
"product_memberships" : [
"ContactsPermission"
],
"sources" : [
"ContactsPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "CameraPermission",
"module_type" : "SwiftTarget",
"name" : "CameraPermission",
"path" : "Sources/CameraPermission",
"product_memberships" : [
"CameraPermission"
],
"sources" : [
"CameraPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "CalendarPermission",
"module_type" : "SwiftTarget",
"name" : "CalendarPermission",
"path" : "Sources/CalendarPermission",
"product_memberships" : [
"CalendarPermission"
],
"sources" : [
"CalendarPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "BluetoothPermission",
"module_type" : "SwiftTarget",
"name" : "BluetoothPermission",
"path" : "Sources/BluetoothPermission",
"product_memberships" : [
"BluetoothPermission"
],
"sources" : [
"BluetoothHandler.swift",
"BluetoothPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/33] Write sources
[8/33] Copying Localizable.strings
[14/33] Copying Info.plist
[22/33] Copying Localizable.strings
[23/33] Write sources
[32/33] Write swift-version-2F0A5646E1D333AE.txt
[34/37] Compiling PermissionsKit resource_bundle_accessor.swift
[35/37] Emitting module PermissionsKit
[36/37] Compiling PermissionsKit Permission.swift
[37/37] Compiling PermissionsKit Text.swift
[38/60] Compiling MicrophonePermission MicrophonePermission.swift
[39/60] Emitting module MicrophonePermission
[40/60] Emitting module TrackingPermission
[41/60] Compiling TrackingPermission TrackingPermission.swift
/Users/admin/builder/spi-builder-workspace/Sources/TrackingPermission/TrackingPermission.swift:56:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
54 | ATTrackingManager.requestTrackingAuthorization { _ in
55 | DispatchQueue.main.async {
56 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
57 | }
58 | }
[42/60] Compiling SpeechRecognizerPermission SpeechPermission.swift
[43/60] Emitting module SpeechRecognizerPermission
[44/60] Emitting module SiriPermission
[45/60] Compiling SiriPermission SiriPermission.swift
[46/60] Emitting module RemindersPermission
[47/60] Compiling RemindersPermission RemindersPermission.swift
[48/60] Compiling MotionPermission MotionPermission.swift
[49/60] Emitting module MotionPermission
[50/60] Compiling MediaLibraryPermission MediaLibraryPermission.swift
[51/60] Emitting module MediaLibraryPermission
[52/68] Emitting module NotificationPermission
[53/68] Compiling NotificationPermission NotificationPermission.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationPermission/NotificationPermission.swift:57:17: warning: capture of 'notificationSettings' with non-sendable type 'UNNotificationSettings?' in a '@Sendable' closure
55 | DispatchQueue.global().async {
56 | UNUserNotificationCenter.current().getNotificationSettings { setttings in
57 | notificationSettings = setttings
| `- warning: capture of 'notificationSettings' with non-sendable type 'UNNotificationSettings?' in a '@Sendable' closure
58 | semaphore.signal()
59 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/NotificationPermission/NotificationPermission.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
25 |
26 | #if PERMISSIONSKIT_NOTIFICATION
27 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
28 |
29 | public extension Permission {
/Users/admin/builder/spi-builder-workspace/Sources/NotificationPermission/NotificationPermission.swift:57:17: warning: capture of 'notificationSettings' with non-sendable type 'UNNotificationSettings?' in an isolated closure
55 | DispatchQueue.global().async {
56 | UNUserNotificationCenter.current().getNotificationSettings { setttings in
57 | notificationSettings = setttings
| `- warning: capture of 'notificationSettings' with non-sendable type 'UNNotificationSettings?' in an isolated closure
58 | semaphore.signal()
59 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/NotificationPermission/NotificationPermission.swift:57:17: warning: mutation of captured var 'notificationSettings' in concurrently-executing code
55 | DispatchQueue.global().async {
56 | UNUserNotificationCenter.current().getNotificationSettings { setttings in
57 | notificationSettings = setttings
| `- warning: mutation of captured var 'notificationSettings' in concurrently-executing code
58 | semaphore.signal()
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/NotificationPermission/NotificationPermission.swift:69:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
67 | center.requestAuthorization(options:[.badge, .alert, .sound]) { (granted, error) in
68 | DispatchQueue.main.async {
69 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
70 | }
71 | }
[54/73] Emitting module HealthPermission
[55/73] Compiling HealthPermission HealthPermission.swift
[56/73] Emitting module FaceIDPermission
[57/73] Compiling FaceIDPermission FaceIDPermission.swift
[58/73] Emitting module CameraPermission
[59/73] Compiling CameraPermission CameraPermission.swift
[60/73] Emitting module CalendarPermission
[61/73] Compiling CalendarPermission CalendarPermission.swift
[62/73] Emitting module ContactsPermission
[63/73] Compiling ContactsPermission ContactsPermission.swift
[64/73] Emitting module BluetoothPermission
/Users/admin/builder/spi-builder-workspace/Sources/BluetoothPermission/BluetoothHandler.swift:32:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'BluetoothHandler' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import CoreBluetooth
25 |
26 | class BluetoothHandler: NSObject, CBCentralManagerDelegate {
| `- note: class 'BluetoothHandler' does not conform to the 'Sendable' protocol
27 |
28 | var completion: ()->Void = {}
:
30 | // MARK: - Init
31 |
32 | static let shared: BluetoothHandler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'BluetoothHandler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | override init() {
[65/73] Compiling BluetoothPermission BluetoothHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/BluetoothPermission/BluetoothHandler.swift:32:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'BluetoothHandler' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import CoreBluetooth
25 |
26 | class BluetoothHandler: NSObject, CBCentralManagerDelegate {
| `- note: class 'BluetoothHandler' does not conform to the 'Sendable' protocol
27 |
28 | var completion: ()->Void = {}
:
30 | // MARK: - Init
31 |
32 | static let shared: BluetoothHandler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'BluetoothHandler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | override init() {
[66/73] Compiling BluetoothPermission BluetoothPermission.swift
[67/73] Compiling LocationPermission LocationPermission.swift
[68/73] Emitting module LocationPermission
/Users/admin/builder/spi-builder-workspace/Sources/LocationPermission/Handlers/LocationWhenInUseHandler.swift:85:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | // MARK: - Init
84 |
85 | static var shared: LocationWhenInUseHandler?
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | override init() {
[69/73] Compiling LocationPermission LocationAccuracy.swift
[70/73] Compiling LocationPermission LocationAlwaysHandler.swift
[71/73] Compiling LocationPermission LocationWhenInUseHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocationPermission/Handlers/LocationWhenInUseHandler.swift:85:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | // MARK: - Init
84 |
85 | static var shared: LocationWhenInUseHandler?
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | override init() {
[72/73] Emitting module PhotoLibraryPermission
[73/73] Compiling PhotoLibraryPermission PhotoLibraryPermission.swift
/Users/admin/builder/spi-builder-workspace/Sources/PhotoLibraryPermission/PhotoLibraryPermission.swift:63:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
61 | finished in
62 | DispatchQueue.main.async {
63 | completion()
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
64 | }
65 | })
Build complete! (10.06s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "PermissionsKit",
"name" : "PermissionsKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "CameraPermission",
"targets" : [
"CameraPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PhotoLibraryPermission",
"targets" : [
"PhotoLibraryPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NotificationPermission",
"targets" : [
"NotificationPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MicrophonePermission",
"targets" : [
"MicrophonePermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CalendarPermission",
"targets" : [
"CalendarPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ContactsPermission",
"targets" : [
"ContactsPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RemindersPermission",
"targets" : [
"RemindersPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeechRecognizerPermission",
"targets" : [
"SpeechRecognizerPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LocationPermission",
"targets" : [
"LocationPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MotionPermission",
"targets" : [
"MotionPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MediaLibraryPermission",
"targets" : [
"MediaLibraryPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BluetoothPermission",
"targets" : [
"BluetoothPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TrackingPermission",
"targets" : [
"TrackingPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FaceIDPermission",
"targets" : [
"FaceIDPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SiriPermission",
"targets" : [
"SiriPermission"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HealthPermission",
"targets" : [
"HealthPermission"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "TrackingPermission",
"module_type" : "SwiftTarget",
"name" : "TrackingPermission",
"path" : "Sources/TrackingPermission",
"product_memberships" : [
"TrackingPermission"
],
"sources" : [
"TrackingPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "SpeechRecognizerPermission",
"module_type" : "SwiftTarget",
"name" : "SpeechRecognizerPermission",
"path" : "Sources/SpeechRecognizerPermission",
"product_memberships" : [
"SpeechRecognizerPermission"
],
"sources" : [
"SpeechPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "SiriPermission",
"module_type" : "SwiftTarget",
"name" : "SiriPermission",
"path" : "Sources/SiriPermission",
"product_memberships" : [
"SiriPermission"
],
"sources" : [
"SiriPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "RemindersPermission",
"module_type" : "SwiftTarget",
"name" : "RemindersPermission",
"path" : "Sources/RemindersPermission",
"product_memberships" : [
"RemindersPermission"
],
"sources" : [
"RemindersPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "PhotoLibraryPermission",
"module_type" : "SwiftTarget",
"name" : "PhotoLibraryPermission",
"path" : "Sources/PhotoLibraryPermission",
"product_memberships" : [
"PhotoLibraryPermission"
],
"sources" : [
"PhotoLibraryPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "PermissionsKit",
"module_type" : "SwiftTarget",
"name" : "PermissionsKit",
"path" : "Sources/PermissionsKit",
"product_memberships" : [
"CameraPermission",
"PhotoLibraryPermission",
"NotificationPermission",
"MicrophonePermission",
"CalendarPermission",
"ContactsPermission",
"RemindersPermission",
"SpeechRecognizerPermission",
"LocationPermission",
"MotionPermission",
"MediaLibraryPermission",
"BluetoothPermission",
"TrackingPermission",
"FaceIDPermission",
"SiriPermission",
"HealthPermission"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/ar.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ar"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/de.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "de"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/es.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "es"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/fa.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "fa"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/fr.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "fr"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/it.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "it"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/nl.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/pl.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "pl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/pt.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "pt"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/ru.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ru"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/uk.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "uk"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/zh-Hant.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "zh-hant"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PermissionsKit/Resources/Localization/zh_Hans.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "zh_hans"
}
}
}
],
"sources" : [
"Data/Text.swift",
"Permission.swift"
],
"type" : "library"
},
{
"c99name" : "NotificationPermission",
"module_type" : "SwiftTarget",
"name" : "NotificationPermission",
"path" : "Sources/NotificationPermission",
"product_memberships" : [
"NotificationPermission"
],
"sources" : [
"NotificationPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "MotionPermission",
"module_type" : "SwiftTarget",
"name" : "MotionPermission",
"path" : "Sources/MotionPermission",
"product_memberships" : [
"MotionPermission"
],
"sources" : [
"MotionPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "MicrophonePermission",
"module_type" : "SwiftTarget",
"name" : "MicrophonePermission",
"path" : "Sources/MicrophonePermission",
"product_memberships" : [
"MicrophonePermission"
],
"sources" : [
"MicrophonePermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "MediaLibraryPermission",
"module_type" : "SwiftTarget",
"name" : "MediaLibraryPermission",
"path" : "Sources/MediaLibraryPermission",
"product_memberships" : [
"MediaLibraryPermission"
],
"sources" : [
"MediaLibraryPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "LocationPermission",
"module_type" : "SwiftTarget",
"name" : "LocationPermission",
"path" : "Sources/LocationPermission",
"product_memberships" : [
"LocationPermission"
],
"sources" : [
"Handlers/LocationAlwaysHandler.swift",
"Handlers/LocationWhenInUseHandler.swift",
"LocationAccuracy.swift",
"LocationPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "HealthPermission",
"module_type" : "SwiftTarget",
"name" : "HealthPermission",
"path" : "Sources/HealthPermission",
"product_memberships" : [
"HealthPermission"
],
"sources" : [
"HealthPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "FaceIDPermission",
"module_type" : "SwiftTarget",
"name" : "FaceIDPermission",
"path" : "Sources/FaceIDPermission",
"product_memberships" : [
"FaceIDPermission"
],
"sources" : [
"FaceIDPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "ContactsPermission",
"module_type" : "SwiftTarget",
"name" : "ContactsPermission",
"path" : "Sources/ContactsPermission",
"product_memberships" : [
"ContactsPermission"
],
"sources" : [
"ContactsPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "CameraPermission",
"module_type" : "SwiftTarget",
"name" : "CameraPermission",
"path" : "Sources/CameraPermission",
"product_memberships" : [
"CameraPermission"
],
"sources" : [
"CameraPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "CalendarPermission",
"module_type" : "SwiftTarget",
"name" : "CalendarPermission",
"path" : "Sources/CalendarPermission",
"product_memberships" : [
"CalendarPermission"
],
"sources" : [
"CalendarPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
},
{
"c99name" : "BluetoothPermission",
"module_type" : "SwiftTarget",
"name" : "BluetoothPermission",
"path" : "Sources/BluetoothPermission",
"product_memberships" : [
"BluetoothPermission"
],
"sources" : [
"BluetoothHandler.swift",
"BluetoothPermission.swift"
],
"target_dependencies" : [
"PermissionsKit"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.