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, reference main (dc2487), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 10:02:46 UTC.

Swift 6 data race errors: 12

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/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
Fetching https://github.com/dreymonde/DateBuilder
[1/148] Fetching datebuilder
Fetched https://github.com/dreymonde/DateBuilder from cache (0.79s)
Computing version for https://github.com/dreymonde/DateBuilder
Computed https://github.com/dreymonde/DateBuilder at 0.1.3 (1.36s)
Creating working copy for https://github.com/dreymonde/DateBuilder
Working copy of https://github.com/dreymonde/DateBuilder resolved at 0.1.3
========================================
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": "nicenotifications",
      "name": "NiceNotifications",
      "url": "https://github.com/dreymonde/NiceNotifications.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NiceNotifications",
      "dependencies": [
        {
          "identity": "datebuilder",
          "name": "DateBuilder",
          "url": "https://github.com/dreymonde/DateBuilder",
          "version": "0.1.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DateBuilder",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/dreymonde/NiceNotifications.git
[1/146] Fetching nicenotifications
Fetched https://github.com/dreymonde/NiceNotifications.git from cache (0.81s)
Fetching https://github.com/dreymonde/DateBuilder from cache
Fetched https://github.com/dreymonde/DateBuilder from cache (0.39s)
Computing version for https://github.com/dreymonde/DateBuilder
Computed https://github.com/dreymonde/DateBuilder at 0.1.4 (0.44s)
Creating working copy for https://github.com/dreymonde/NiceNotifications.git
Working copy of https://github.com/dreymonde/NiceNotifications.git resolved at main (dc24879)
Creating working copy for https://github.com/dreymonde/DateBuilder
Working copy of https://github.com/dreymonde/DateBuilder resolved at 0.1.4
warning: '.resolve-product-dependencies': dependency 'nicenotifications' is not used by any target
Found 1 product dependencies
  - DateBuilder
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dreymonde/NiceNotifications.git
https://github.com/dreymonde/NiceNotifications.git
{
  "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"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/5] Compiling DateBuilder DateBuilder.swift
[5/5] Emitting module DateBuilder
[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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'askSystemPermissionIfNeeded' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'scheduleIfSystemAllowed' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'addNotificationRequest' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'removeDeliveredNotifications' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'removePendingNotificationRequests' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'getPendingNotificationRequests' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'getDeliveredNotifications' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'valueForKey' part of global actor 'MainActor'
    |                               `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'setValue' part of global actor 'MainActor'
    |                               `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'getNotificationSettings' part of global actor 'MainActor'
    |                               `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'requestAuthorization' part of global actor 'MainActor'
    |                               `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'info' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'askSystemPermissionIfNeeded' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'scheduleIfSystemAllowed' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'addNotificationRequest' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'removeDeliveredNotifications' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'removePendingNotificationRequests' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'getPendingNotificationRequests' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'getDeliveredNotifications' part of global actor 'MainActor'
    |                           `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'valueForKey' part of global actor 'MainActor'
    |                               `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'setValue' part of global actor 'MainActor'
    |                               `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'getNotificationSettings' part of global actor 'MainActor'
    |                               `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'requestAuthorization' part of global actor 'MainActor'
    |                               `- 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: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: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! (7.81s)
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.