This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of NiceNotifications with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 12

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dreymonde/NiceNotifications.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dreymonde/NiceNotifications
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dc24879 Update DateBuilder
Cloned https://github.com/dreymonde/NiceNotifications.git
Revision (git rev-parse @):
dc24879ac7979efdea18a2c1f7a8bb6c364d16e6
SUCCESS checkout https://github.com/dreymonde/NiceNotifications.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/dreymonde/NiceNotifications.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/5] Emitting module DateBuilder
[5/5] Compiling DateBuilder DateBuilder.swift
[6/8] Compiling NiceNotifications NotificationPermissionView.swift
[7/8] Emitting module NiceNotifications
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:805:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
803 | }
804 |
805 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
806 | public enum TimelineBuilder {
807 |     public typealias Expression = LocalNotifications.NotificationRequest
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:14:27: warning: static property 'info' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | extension LocalNotifications {
 13 |     public enum Log {
 14 |         public static var info: (Any) -> () = { _ in }
    |                           |- warning: static property 'info' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'info' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'info' 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
 15 |     }
 16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:47:27: warning: static property 'askSystemPermissionIfNeeded' is not concurrency-safe because non-'Sendable' type 'LocalNotifications.PermissionStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 | extension LocalNotifications {
 19 |     public struct PermissionStrategy {
    |                   `- note: consider making struct 'PermissionStrategy' conform to the 'Sendable' protocol
 20 |
 21 |         public init(groupLevel: LocalNotifications.PermissionStrategy.GroupLevel, systemLevel: LocalNotifications.PermissionStrategy.SystemLevel) {
    :
 45 |         }
 46 |
 47 |         public static let askSystemPermissionIfNeeded = PermissionStrategy(
    |                           |- warning: static property 'askSystemPermissionIfNeeded' is not concurrency-safe because non-'Sendable' type 'LocalNotifications.PermissionStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'askSystemPermissionIfNeeded' 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
 48 |             groupLevel: .bypass,
 49 |             systemLevel: .askPermission
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:52:27: warning: static property 'scheduleIfSystemAllowed' is not concurrency-safe because non-'Sendable' type 'LocalNotifications.PermissionStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 | extension LocalNotifications {
 19 |     public struct PermissionStrategy {
    |                   `- note: consider making struct 'PermissionStrategy' conform to the 'Sendable' protocol
 20 |
 21 |         public init(groupLevel: LocalNotifications.PermissionStrategy.GroupLevel, systemLevel: LocalNotifications.PermissionStrategy.SystemLevel) {
    :
 50 |         )
 51 |
 52 |         public static let scheduleIfSystemAllowed = PermissionStrategy(
    |                           |- warning: static property 'scheduleIfSystemAllowed' is not concurrency-safe because non-'Sendable' type 'LocalNotifications.PermissionStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scheduleIfSystemAllowed' 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
 53 |             groupLevel: .bypass,
 54 |             systemLevel: .ifAlreadyAllowed
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:86:27: warning: static property 'addNotificationRequest' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 84 |
 85 |     public enum Env {
 86 |         public static var addNotificationRequest = UNUserNotificationCenter.current().add
    |                           |- warning: static property 'addNotificationRequest' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'addNotificationRequest' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'addNotificationRequest' 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
 87 |         public static var removeDeliveredNotifications = UNUserNotificationCenter.current().removeDeliveredNotifications
 88 |         public static var removePendingNotificationRequests = UNUserNotificationCenter.current().removePendingNotificationRequests
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:87:27: warning: static property 'removeDeliveredNotifications' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 85 |     public enum Env {
 86 |         public static var addNotificationRequest = UNUserNotificationCenter.current().add
 87 |         public static var removeDeliveredNotifications = UNUserNotificationCenter.current().removeDeliveredNotifications
    |                           |- warning: static property 'removeDeliveredNotifications' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'removeDeliveredNotifications' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'removeDeliveredNotifications' 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
 88 |         public static var removePendingNotificationRequests = UNUserNotificationCenter.current().removePendingNotificationRequests
 89 |         public static var getPendingNotificationRequests = UNUserNotificationCenter.current().getPendingNotificationRequests
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:88:27: warning: static property 'removePendingNotificationRequests' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 86 |         public static var addNotificationRequest = UNUserNotificationCenter.current().add
 87 |         public static var removeDeliveredNotifications = UNUserNotificationCenter.current().removeDeliveredNotifications
 88 |         public static var removePendingNotificationRequests = UNUserNotificationCenter.current().removePendingNotificationRequests
    |                           |- warning: static property 'removePendingNotificationRequests' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'removePendingNotificationRequests' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'removePendingNotificationRequests' 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
 89 |         public static var getPendingNotificationRequests = UNUserNotificationCenter.current().getPendingNotificationRequests
 90 |         public static var getDeliveredNotifications = UNUserNotificationCenter.current().getDeliveredNotifications
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:89:27: warning: static property 'getPendingNotificationRequests' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 87 |         public static var removeDeliveredNotifications = UNUserNotificationCenter.current().removeDeliveredNotifications
 88 |         public static var removePendingNotificationRequests = UNUserNotificationCenter.current().removePendingNotificationRequests
 89 |         public static var getPendingNotificationRequests = UNUserNotificationCenter.current().getPendingNotificationRequests
    |                           |- warning: static property 'getPendingNotificationRequests' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'getPendingNotificationRequests' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'getPendingNotificationRequests' 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
 90 |         public static var getDeliveredNotifications = UNUserNotificationCenter.current().getDeliveredNotifications
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:90:27: warning: static property 'getDeliveredNotifications' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 88 |         public static var removePendingNotificationRequests = UNUserNotificationCenter.current().removePendingNotificationRequests
 89 |         public static var getPendingNotificationRequests = UNUserNotificationCenter.current().getPendingNotificationRequests
 90 |         public static var getDeliveredNotifications = UNUserNotificationCenter.current().getDeliveredNotifications
    |                           |- warning: static property 'getDeliveredNotifications' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'getDeliveredNotifications' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'getDeliveredNotifications' 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
 91 |     }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:432:31: warning: static property 'valueForKey' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
430 |
431 |         public enum Env {
432 |             public static var valueForKey = UserDefaults.standard.value(forKey:)
    |                               |- warning: static property 'valueForKey' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'valueForKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'valueForKey' 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
433 |             public static var setValue = UserDefaults.standard.setValue(_:forKey:)
434 |
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:433:31: warning: static property 'setValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
431 |         public enum Env {
432 |             public static var valueForKey = UserDefaults.standard.value(forKey:)
433 |             public static var setValue = UserDefaults.standard.setValue(_:forKey:)
    |                               |- warning: static property 'setValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'setValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'setValue' 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 |
435 |             public static func setUserDefaults(_ userDefaults: UserDefaults) {
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:476:31: warning: static property 'getNotificationSettings' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
474 |
475 |         public enum Env {
476 |             public static var getNotificationSettings = UNUserNotificationCenter.current().getNotificationSettings
    |                               |- warning: static property 'getNotificationSettings' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'getNotificationSettings' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'getNotificationSettings' 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
477 |             public static var requestAuthorization = UNUserNotificationCenter.current().requestAuthorization
478 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:477:31: warning: static property 'requestAuthorization' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
475 |         public enum Env {
476 |             public static var getNotificationSettings = UNUserNotificationCenter.current().getNotificationSettings
477 |             public static var requestAuthorization = UNUserNotificationCenter.current().requestAuthorization
    |                               |- warning: static property 'requestAuthorization' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'requestAuthorization' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'requestAuthorization' 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 |         }
479 |
[8/8] Compiling NiceNotifications NiceNotifications.swift
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:805:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
803 | }
804 |
805 | @_functionBuilder
    |  `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
806 | public enum TimelineBuilder {
807 |     public typealias Expression = LocalNotifications.NotificationRequest
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:14:27: warning: static property 'info' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | extension LocalNotifications {
 13 |     public enum Log {
 14 |         public static var info: (Any) -> () = { _ in }
    |                           |- warning: static property 'info' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'info' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'info' 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
 15 |     }
 16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:47:27: warning: static property 'askSystemPermissionIfNeeded' is not concurrency-safe because non-'Sendable' type 'LocalNotifications.PermissionStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 | extension LocalNotifications {
 19 |     public struct PermissionStrategy {
    |                   `- note: consider making struct 'PermissionStrategy' conform to the 'Sendable' protocol
 20 |
 21 |         public init(groupLevel: LocalNotifications.PermissionStrategy.GroupLevel, systemLevel: LocalNotifications.PermissionStrategy.SystemLevel) {
    :
 45 |         }
 46 |
 47 |         public static let askSystemPermissionIfNeeded = PermissionStrategy(
    |                           |- warning: static property 'askSystemPermissionIfNeeded' is not concurrency-safe because non-'Sendable' type 'LocalNotifications.PermissionStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'askSystemPermissionIfNeeded' 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
 48 |             groupLevel: .bypass,
 49 |             systemLevel: .askPermission
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:52:27: warning: static property 'scheduleIfSystemAllowed' is not concurrency-safe because non-'Sendable' type 'LocalNotifications.PermissionStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |
 18 | extension LocalNotifications {
 19 |     public struct PermissionStrategy {
    |                   `- note: consider making struct 'PermissionStrategy' conform to the 'Sendable' protocol
 20 |
 21 |         public init(groupLevel: LocalNotifications.PermissionStrategy.GroupLevel, systemLevel: LocalNotifications.PermissionStrategy.SystemLevel) {
    :
 50 |         )
 51 |
 52 |         public static let scheduleIfSystemAllowed = PermissionStrategy(
    |                           |- warning: static property 'scheduleIfSystemAllowed' is not concurrency-safe because non-'Sendable' type 'LocalNotifications.PermissionStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scheduleIfSystemAllowed' 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
 53 |             groupLevel: .bypass,
 54 |             systemLevel: .ifAlreadyAllowed
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:86:27: warning: static property 'addNotificationRequest' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 84 |
 85 |     public enum Env {
 86 |         public static var addNotificationRequest = UNUserNotificationCenter.current().add
    |                           |- warning: static property 'addNotificationRequest' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'addNotificationRequest' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'addNotificationRequest' 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
 87 |         public static var removeDeliveredNotifications = UNUserNotificationCenter.current().removeDeliveredNotifications
 88 |         public static var removePendingNotificationRequests = UNUserNotificationCenter.current().removePendingNotificationRequests
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:87:27: warning: static property 'removeDeliveredNotifications' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 85 |     public enum Env {
 86 |         public static var addNotificationRequest = UNUserNotificationCenter.current().add
 87 |         public static var removeDeliveredNotifications = UNUserNotificationCenter.current().removeDeliveredNotifications
    |                           |- warning: static property 'removeDeliveredNotifications' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'removeDeliveredNotifications' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'removeDeliveredNotifications' 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
 88 |         public static var removePendingNotificationRequests = UNUserNotificationCenter.current().removePendingNotificationRequests
 89 |         public static var getPendingNotificationRequests = UNUserNotificationCenter.current().getPendingNotificationRequests
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:88:27: warning: static property 'removePendingNotificationRequests' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 86 |         public static var addNotificationRequest = UNUserNotificationCenter.current().add
 87 |         public static var removeDeliveredNotifications = UNUserNotificationCenter.current().removeDeliveredNotifications
 88 |         public static var removePendingNotificationRequests = UNUserNotificationCenter.current().removePendingNotificationRequests
    |                           |- warning: static property 'removePendingNotificationRequests' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'removePendingNotificationRequests' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'removePendingNotificationRequests' 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
 89 |         public static var getPendingNotificationRequests = UNUserNotificationCenter.current().getPendingNotificationRequests
 90 |         public static var getDeliveredNotifications = UNUserNotificationCenter.current().getDeliveredNotifications
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:89:27: warning: static property 'getPendingNotificationRequests' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 87 |         public static var removeDeliveredNotifications = UNUserNotificationCenter.current().removeDeliveredNotifications
 88 |         public static var removePendingNotificationRequests = UNUserNotificationCenter.current().removePendingNotificationRequests
 89 |         public static var getPendingNotificationRequests = UNUserNotificationCenter.current().getPendingNotificationRequests
    |                           |- warning: static property 'getPendingNotificationRequests' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'getPendingNotificationRequests' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'getPendingNotificationRequests' 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
 90 |         public static var getDeliveredNotifications = UNUserNotificationCenter.current().getDeliveredNotifications
 91 |     }
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:90:27: warning: static property 'getDeliveredNotifications' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 88 |         public static var removePendingNotificationRequests = UNUserNotificationCenter.current().removePendingNotificationRequests
 89 |         public static var getPendingNotificationRequests = UNUserNotificationCenter.current().getPendingNotificationRequests
 90 |         public static var getDeliveredNotifications = UNUserNotificationCenter.current().getDeliveredNotifications
    |                           |- warning: static property 'getDeliveredNotifications' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'getDeliveredNotifications' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: annotate 'getDeliveredNotifications' 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
 91 |     }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:432:31: warning: static property 'valueForKey' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
430 |
431 |         public enum Env {
432 |             public static var valueForKey = UserDefaults.standard.value(forKey:)
    |                               |- warning: static property 'valueForKey' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'valueForKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'valueForKey' 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
433 |             public static var setValue = UserDefaults.standard.setValue(_:forKey:)
434 |
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:433:31: warning: static property 'setValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
431 |         public enum Env {
432 |             public static var valueForKey = UserDefaults.standard.value(forKey:)
433 |             public static var setValue = UserDefaults.standard.setValue(_:forKey:)
    |                               |- warning: static property 'setValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'setValue' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'setValue' 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 |
435 |             public static func setUserDefaults(_ userDefaults: UserDefaults) {
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:476:31: warning: static property 'getNotificationSettings' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
474 |
475 |         public enum Env {
476 |             public static var getNotificationSettings = UNUserNotificationCenter.current().getNotificationSettings
    |                               |- warning: static property 'getNotificationSettings' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'getNotificationSettings' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'getNotificationSettings' 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
477 |             public static var requestAuthorization = UNUserNotificationCenter.current().requestAuthorization
478 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:477:31: warning: static property 'requestAuthorization' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
475 |         public enum Env {
476 |             public static var getNotificationSettings = UNUserNotificationCenter.current().getNotificationSettings
477 |             public static var requestAuthorization = UNUserNotificationCenter.current().requestAuthorization
    |                               |- warning: static property 'requestAuthorization' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                               |- note: convert 'requestAuthorization' to a 'let' constant to make 'Sendable' shared state immutable
    |                               |- note: annotate 'requestAuthorization' 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 |         }
479 |
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:106:17: warning: capture of 'completion' with non-sendable type '(LocalNotifications.FinalAuthorizationStatus) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
104 |         let completion = { status in
105 |             DispatchQueue.main.async {
106 |                 completion(status)
    |                 |- warning: capture of 'completion' with non-sendable type '(LocalNotifications.FinalAuthorizationStatus) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 |             }
108 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:106:28: warning: capture of 'status' with non-sendable type 'LocalNotifications.FinalAuthorizationStatus' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 91 |     }
 92 |
 93 |     public enum FinalAuthorizationStatus {
    |                 `- note: consider making enum 'FinalAuthorizationStatus' conform to the 'Sendable' protocol
 94 |         case enabled
 95 |         case disabled
    :
104 |         let completion = { status in
105 |             DispatchQueue.main.async {
106 |                 completion(status)
    |                            `- warning: capture of 'status' with non-sendable type 'LocalNotifications.FinalAuthorizationStatus' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |             }
108 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:243:55: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
241 |
242 |             let performSchedule = group.preferredExecutionContext == .mainQueueOnly
243 |                 ? { DispatchQueue.main.async(execute: performScheduleInCurrentContext) }
    |                                                       `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
244 |                 : performScheduleInCurrentContext
245 |
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:225:40: warning: capture of 'completion' with non-sendable type '(LocalNotifications.SchedulingResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
223 |
224 |         let mainQueueCompletion = { val in
225 |             DispatchQueue.main.async { completion(val) }
    |                                        |- warning: capture of 'completion' with non-sendable type '(LocalNotifications.SchedulingResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
226 |         }
227 |         Log.info("EXECUTING AUTH STRATEGY")
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:225:51: warning: capture of 'val' with non-sendable type 'LocalNotifications.SchedulingResult' in a `@Sendable` closure; this is an error in the Swift 6 language mode
203 |     }
204 |
205 |     public enum SchedulingResult {
    |                 `- note: consider making enum 'SchedulingResult' conform to the 'Sendable' protocol
206 |         case scheduledSuccesfully
207 |         case systemError(Swift.Error)
    :
223 |
224 |         let mainQueueCompletion = { val in
225 |             DispatchQueue.main.async { completion(val) }
    |                                                   `- warning: capture of 'val' with non-sendable type 'LocalNotifications.SchedulingResult' in a `@Sendable` closure; this is an error in the Swift 6 language mode
226 |         }
227 |         Log.info("EXECUTING AUTH STRATEGY")
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:106:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
104 |         let completion = { status in
105 |             DispatchQueue.main.async {
106 |                 completion(status)
    |                 |- 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
107 |             }
108 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:106:28: warning: sending 'status' risks causing data races; this is an error in the Swift 6 language mode
104 |         let completion = { status in
105 |             DispatchQueue.main.async {
106 |                 completion(status)
    |                            |- warning: sending 'status' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: task-isolated 'status' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
107 |             }
108 |         }
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:225:40: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
223 |
224 |         let mainQueueCompletion = { val in
225 |             DispatchQueue.main.async { completion(val) }
    |                                        |- 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
226 |         }
227 |         Log.info("EXECUTING AUTH STRATEGY")
/Users/admin/builder/spi-builder-workspace/Sources/NiceNotifications/NiceNotifications.swift:225:51: warning: sending 'val' risks causing data races; this is an error in the Swift 6 language mode
223 |
224 |         let mainQueueCompletion = { val in
225 |             DispatchQueue.main.async { completion(val) }
    |                                                   |- warning: sending 'val' risks causing data races; this is an error in the Swift 6 language mode
    |                                                   `- note: task-isolated 'val' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
226 |         }
227 |         Log.info("EXECUTING AUTH STRATEGY")
Build complete! (22.29s)
Fetching https://github.com/dreymonde/DateBuilder
[2/148] Fetching datebuilder
Fetched https://github.com/dreymonde/DateBuilder from cache (0.88s)
Computing version for https://github.com/dreymonde/DateBuilder
Computed https://github.com/dreymonde/DateBuilder at 0.1.3 (0.65s)
Creating working copy for https://github.com/dreymonde/DateBuilder
Working copy of https://github.com/dreymonde/DateBuilder resolved at 0.1.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "datebuilder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.3",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/dreymonde/DateBuilder"
    }
  ],
  "manifest_display_name" : "NiceNotifications",
  "name" : "NiceNotifications",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    }
  ],
  "products" : [
    {
      "name" : "NiceNotifications",
      "targets" : [
        "NiceNotifications"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NiceNotificationsTests",
      "module_type" : "SwiftTarget",
      "name" : "NiceNotificationsTests",
      "path" : "Tests/NiceNotificationsTests",
      "sources" : [
        "NiceNotificationsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "NiceNotifications"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NiceNotifications",
      "module_type" : "SwiftTarget",
      "name" : "NiceNotifications",
      "path" : "Sources/NiceNotifications",
      "product_dependencies" : [
        "DateBuilder"
      ],
      "product_memberships" : [
        "NiceNotifications"
      ],
      "sources" : [
        "NiceNotifications.swift",
        "NotificationPermissionView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.