The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NotificationManager, reference main (0ca86f), with Swift 6.1 for macOS (SPM) on 26 Jun 2026 06:30:09 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markbattistella/NotificationManager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/NotificationManager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0ca86fa 2026-05-26
Cloned https://github.com/markbattistella/NotificationManager.git
Revision (git rev-parse @):
0ca86fa72d18afbdae36ce0d6b430c0bedd090e2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/NotificationManager.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/markbattistella/NotificationManager.git
https://github.com/markbattistella/NotificationManager.git
{
  "dependencies" : [
    {
      "identity" : "defaultskit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "26.0.0",
            "upper_bound" : "27.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/markbattistella/DefaultsKit"
    },
    {
      "identity" : "simplelogger",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "26.0.0",
            "upper_bound" : "27.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/markbattistella/SimpleLogger"
    }
  ],
  "manifest_display_name" : "NotificationManager",
  "name" : "NotificationManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "NotificationManager",
      "targets" : [
        "NotificationManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "NotificationManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "NotificationManagerTests",
      "path" : "Tests/NotificationManagerTests",
      "sources" : [
        "NotificationRequestBuilderTests.swift"
      ],
      "target_dependencies" : [
        "NotificationManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NotificationManager",
      "module_type" : "SwiftTarget",
      "name" : "NotificationManager",
      "path" : "Sources/NotificationManager",
      "product_dependencies" : [
        "DefaultsKit",
        "SimpleLogger"
      ],
      "product_memberships" : [
        "NotificationManager"
      ],
      "sources" : [
        "Attachments/ImageRenderer+Ext.swift",
        "Attachments/NSImage+Ext.swift",
        "Attachments/NotificationAttachmentBuilder.swift",
        "Core/Duration+Ext.swift",
        "Core/NotificationManager.swift",
        "Core/NotificationRequestBuilder.swift",
        "Descriptors/NotificationActionDescriptor.swift",
        "Descriptors/NotificationAttachmentFactory.swift",
        "Descriptors/NotificationCategoryDescriptor.swift",
        "Descriptors/NotificationType.swift",
        "Models/NotificationCapabilities.swift",
        "Models/NotificationError.swift",
        "Models/NotificationState.swift",
        "Models/NotificationWeekday.swift",
        "Models/PermissionStatus.swift",
        "Persistence/NotificationsUserDefaultsKey.swift",
        "Persistence/UserDefaults+Suite.swift",
        "Sound/NotificationSound.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/5] Write sources
[0/5] Copying PrivacyInfo.xcprivacy
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/34] Emitting module SimpleLogger
[7/36] Compiling SimpleLogger Data+Ext.swift
[8/36] Compiling SimpleLogger gzip+Error.swift
[9/36] Compiling DefaultsKit UserDefaultsKeyRepresentable.swift
[10/36] Compiling DefaultsKit resource_bundle_accessor.swift
[11/36] Compiling SimpleLogger LoggerReader.swift
[12/36] Compiling SimpleLogger CompressionLevel.swift
[13/36] Compiling DefaultsKit UserDefaults+Ext.swift
[14/36] Compiling SimpleLogger Category+UI.swift
[15/36] Compiling SimpleLogger Category+Utilities.swift
[16/36] Compiling SimpleLogger Logger+Export.swift
[17/36] Compiling DefaultsKit DefaultsPersisted.swift
[18/36] Emitting module DefaultsKit
[19/36] Compiling DefaultsKit AppStorage+Ext.swift
[20/36] Compiling SimpleLogger Category+Network.swift
[21/36] Compiling SimpleLogger Category+Performance.swift
[22/36] Compiling SimpleLogger Category+Persistence.swift
[23/36] Compiling SimpleLogger LoggerCategory.swift
[24/36] Compiling SimpleLogger LoggerRepresentation.swift
[25/36] Compiling SimpleLogger Category+Architecture.swift
[26/36] Compiling SimpleLogger Category+Commerce.swift
[27/36] Compiling SimpleLogger Category+Miscellaneous.swift
[28/36] Compiling SimpleLogger Duration+Ext.swift
[29/36] Compiling SimpleLogger LoggerExporter.swift
[30/36] Compiling SimpleLogger LoggerManager.swift
[31/36] Compiling SimpleLogger LoggerQuery.swift
[32/36] Compiling SimpleLogger Category+Security.swift
[33/36] Compiling SimpleLogger Category+System.swift
[34/36] Compiling SimpleLogger Category+Testing.swift
[35/36] Compiling SimpleLogger Logger+Filter.swift
[36/36] Compiling SimpleLogger Logger+Init.swift
[37/54] Compiling NotificationManager UserDefaults+Suite.swift
[38/55] Compiling NotificationManager PermissionStatus.swift
[39/55] Compiling NotificationManager NotificationsUserDefaultsKey.swift
[40/55] Compiling NotificationManager NotificationState.swift
[41/55] Compiling NotificationManager NotificationWeekday.swift
[42/55] Compiling NotificationManager NotificationCapabilities.swift
[43/55] Compiling NotificationManager NotificationError.swift
[44/55] Compiling NotificationManager NotificationSound.swift
[45/55] Compiling NotificationManager NotificationCategoryDescriptor.swift
[46/55] Compiling NotificationManager NotificationType.swift
[47/55] Compiling NotificationManager NotificationActionDescriptor.swift
[48/55] Compiling NotificationManager NotificationAttachmentFactory.swift
[49/55] Compiling NotificationManager NotificationAttachmentBuilder.swift
[50/55] Compiling NotificationManager Duration+Ext.swift
[51/55] Compiling NotificationManager ImageRenderer+Ext.swift
[52/55] Compiling NotificationManager NSImage+Ext.swift
[53/55] Emitting module NotificationManager
[54/55] Compiling NotificationManager NotificationManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:258:33: error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
256 |   /// ``authorizationStatus`` accordingly.
257 |   internal func refreshAuthorizationStatus() async {
258 |     let settings = await center.notificationSettings()
    |                                 `- error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
259 |     self.authorizationStatus = settings.authorizationStatus
260 |   }
/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/NotificationManager/Core/NotificationManager.swift:11:12: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'UserNotifications' as warnings
  9 | import Observation
 10 | import SimpleLogger
 11 | @_exported import UserNotifications
    |            `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'UserNotifications' as warnings
 12 |
 13 | #if canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:312:33: error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
310 |   /// - Returns: A ``NotificationCapabilities`` value describing the enabled features.
311 |   public func capabilities() async -> NotificationCapabilities {
312 |     let settings = await center.notificationSettings()
    |                                 `- error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
313 |
314 |     #if os(macOS)
/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/NotificationManager/Core/NotificationManager.swift:720:18: error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
718 |   /// scheduled notifications.
719 |   public func pendingNotifications() async -> [UNNotificationRequest] {
720 |     await center.pendingNotificationRequests()
    |                  `- error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
721 |   }
722 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:742:18: error: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'
740 |   /// - Returns: An array of delivered `UNNotification` instances.
741 |   public func deliveredNotifications() async -> [UNNotification] {
742 |     await center.deliveredNotifications()
    |                  `- error: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'
743 |   }
744 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h:15:12: note: class 'UNNotification' does not conform to the 'Sendable' protocol
13 |
14 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
15 | @interface UNNotification : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotification' does not conform to the 'Sendable' protocol
16 |
17 | // The date displayed on the notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:823:33: error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
821 |   /// - Parameter prefix: The prefix used to match identifiers.
822 |   public func removePendingNotifications(matchingPrefix prefix: String) async {
823 |     let requests = await center.pendingNotificationRequests()
    |                                 `- error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
824 |     let ids =
825 |       requests
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
[55/55] Compiling NotificationManager NotificationRequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:258:33: error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
256 |   /// ``authorizationStatus`` accordingly.
257 |   internal func refreshAuthorizationStatus() async {
258 |     let settings = await center.notificationSettings()
    |                                 `- error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
259 |     self.authorizationStatus = settings.authorizationStatus
260 |   }
/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/NotificationManager/Core/NotificationManager.swift:11:12: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'UserNotifications' as warnings
  9 | import Observation
 10 | import SimpleLogger
 11 | @_exported import UserNotifications
    |            `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'UserNotifications' as warnings
 12 |
 13 | #if canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:312:33: error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
310 |   /// - Returns: A ``NotificationCapabilities`` value describing the enabled features.
311 |   public func capabilities() async -> NotificationCapabilities {
312 |     let settings = await center.notificationSettings()
    |                                 `- error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
313 |
314 |     #if os(macOS)
/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/NotificationManager/Core/NotificationManager.swift:720:18: error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
718 |   /// scheduled notifications.
719 |   public func pendingNotifications() async -> [UNNotificationRequest] {
720 |     await center.pendingNotificationRequests()
    |                  `- error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
721 |   }
722 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:742:18: error: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'
740 |   /// - Returns: An array of delivered `UNNotification` instances.
741 |   public func deliveredNotifications() async -> [UNNotification] {
742 |     await center.deliveredNotifications()
    |                  `- error: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'
743 |   }
744 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h:15:12: note: class 'UNNotification' does not conform to the 'Sendable' protocol
13 |
14 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
15 | @interface UNNotification : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotification' does not conform to the 'Sendable' protocol
16 |
17 | // The date displayed on the notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:823:33: error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
821 |   /// - Parameter prefix: The prefix used to match identifiers.
822 |   public func removePendingNotifications(matchingPrefix prefix: String) async {
823 |     let requests = await center.pendingNotificationRequests()
    |                                 `- error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
824 |     let ids =
825 |       requests
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
Fetching https://github.com/markbattistella/SimpleLogger
Fetching https://github.com/markbattistella/DefaultsKit
[1/148] Fetching defaultskit
[149/377] Fetching defaultskit, simplelogger
Fetched https://github.com/markbattistella/DefaultsKit from cache (0.79s)
Fetched https://github.com/markbattistella/SimpleLogger from cache (0.79s)
Computing version for https://github.com/markbattistella/SimpleLogger
Computed https://github.com/markbattistella/SimpleLogger at 26.5.26 (1.25s)
Computing version for https://github.com/markbattistella/DefaultsKit
Computed https://github.com/markbattistella/DefaultsKit at 26.5.26 (0.46s)
Creating working copy for https://github.com/markbattistella/DefaultsKit
Working copy of https://github.com/markbattistella/DefaultsKit resolved at 26.5.26
Creating working copy for https://github.com/markbattistella/SimpleLogger
Working copy of https://github.com/markbattistella/SimpleLogger resolved at 26.5.26
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/30] Compiling DefaultsKit resource_bundle_accessor.swift
[3/30] Compiling DefaultsKit UserDefaultsKeyRepresentable.swift
[4/30] Compiling DefaultsKit UserDefaults+Ext.swift
[5/30] Compiling DefaultsKit AppStorage+Ext.swift
[6/30] Emitting module DefaultsKit
[7/30] Compiling DefaultsKit DefaultsPersisted.swift
[8/30] Compiling SimpleLogger Category+Network.swift
[9/30] Compiling SimpleLogger Category+Performance.swift
[10/30] Compiling SimpleLogger Category+Persistence.swift
[11/32] Compiling SimpleLogger LoggerReader.swift
[12/32] Compiling SimpleLogger CompressionLevel.swift
[13/32] Compiling SimpleLogger Duration+Ext.swift
[14/32] Compiling SimpleLogger LoggerExporter.swift
[15/32] Compiling SimpleLogger LoggerCategory.swift
[16/32] Compiling SimpleLogger LoggerRepresentation.swift
[17/32] Emitting module SimpleLogger
[18/32] Compiling SimpleLogger Category+UI.swift
[19/32] Compiling SimpleLogger Category+Utilities.swift
[20/32] Compiling SimpleLogger Logger+Export.swift
[21/32] Compiling SimpleLogger Category+Architecture.swift
[22/32] Compiling SimpleLogger Category+Commerce.swift
[23/32] Compiling SimpleLogger Category+Miscellaneous.swift
[24/32] Compiling SimpleLogger Logger+Filter.swift
[25/32] Compiling SimpleLogger Logger+Init.swift
[26/32] Compiling SimpleLogger Category+Security.swift
[27/32] Compiling SimpleLogger Category+System.swift
[28/32] Compiling SimpleLogger Category+Testing.swift
[29/32] Compiling SimpleLogger LoggerManager.swift
[30/32] Compiling SimpleLogger LoggerQuery.swift
[31/32] Compiling SimpleLogger Data+Ext.swift
[32/32] Compiling SimpleLogger gzip+Error.swift
[33/50] Compiling NotificationManager UserDefaults+Suite.swift
[34/51] Compiling NotificationManager NotificationCapabilities.swift
[35/51] Compiling NotificationManager NotificationError.swift
[36/51] Compiling NotificationManager NotificationState.swift
[37/51] Compiling NotificationManager NotificationWeekday.swift
[38/51] Compiling NotificationManager NotificationCategoryDescriptor.swift
[39/51] Compiling NotificationManager NotificationType.swift
[40/51] Compiling NotificationManager PermissionStatus.swift
[41/51] Compiling NotificationManager NotificationsUserDefaultsKey.swift
[42/51] Compiling NotificationManager NotificationAttachmentBuilder.swift
[43/51] Compiling NotificationManager Duration+Ext.swift
[44/51] Compiling NotificationManager NotificationActionDescriptor.swift
[45/51] Compiling NotificationManager NotificationAttachmentFactory.swift
[46/51] Compiling NotificationManager ImageRenderer+Ext.swift
[47/51] Compiling NotificationManager NSImage+Ext.swift
[48/51] Emitting module NotificationManager
[49/51] Compiling NotificationManager NotificationManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:258:33: error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
256 |   /// ``authorizationStatus`` accordingly.
257 |   internal func refreshAuthorizationStatus() async {
258 |     let settings = await center.notificationSettings()
    |                                 `- error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
259 |     self.authorizationStatus = settings.authorizationStatus
260 |   }
/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/NotificationManager/Core/NotificationManager.swift:11:12: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'UserNotifications' as warnings
  9 | import Observation
 10 | import SimpleLogger
 11 | @_exported import UserNotifications
    |            `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'UserNotifications' as warnings
 12 |
 13 | #if canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:312:33: error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
310 |   /// - Returns: A ``NotificationCapabilities`` value describing the enabled features.
311 |   public func capabilities() async -> NotificationCapabilities {
312 |     let settings = await center.notificationSettings()
    |                                 `- error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
313 |
314 |     #if os(macOS)
/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/NotificationManager/Core/NotificationManager.swift:720:18: error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
718 |   /// scheduled notifications.
719 |   public func pendingNotifications() async -> [UNNotificationRequest] {
720 |     await center.pendingNotificationRequests()
    |                  `- error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
721 |   }
722 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:742:18: error: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'
740 |   /// - Returns: An array of delivered `UNNotification` instances.
741 |   public func deliveredNotifications() async -> [UNNotification] {
742 |     await center.deliveredNotifications()
    |                  `- error: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'
743 |   }
744 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h:15:12: note: class 'UNNotification' does not conform to the 'Sendable' protocol
13 |
14 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
15 | @interface UNNotification : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotification' does not conform to the 'Sendable' protocol
16 |
17 | // The date displayed on the notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:823:33: error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
821 |   /// - Parameter prefix: The prefix used to match identifiers.
822 |   public func removePendingNotifications(matchingPrefix prefix: String) async {
823 |     let requests = await center.pendingNotificationRequests()
    |                                 `- error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
824 |     let ids =
825 |       requests
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
[50/51] Compiling NotificationManager NotificationRequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:258:33: error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
256 |   /// ``authorizationStatus`` accordingly.
257 |   internal func refreshAuthorizationStatus() async {
258 |     let settings = await center.notificationSettings()
    |                                 `- error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
259 |     self.authorizationStatus = settings.authorizationStatus
260 |   }
/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/NotificationManager/Core/NotificationManager.swift:11:12: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'UserNotifications' as warnings
  9 | import Observation
 10 | import SimpleLogger
 11 | @_exported import UserNotifications
    |            `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'UserNotifications' as warnings
 12 |
 13 | #if canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:312:33: error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
310 |   /// - Returns: A ``NotificationCapabilities`` value describing the enabled features.
311 |   public func capabilities() async -> NotificationCapabilities {
312 |     let settings = await center.notificationSettings()
    |                                 `- error: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'
313 |
314 |     #if os(macOS)
/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/NotificationManager/Core/NotificationManager.swift:720:18: error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
718 |   /// scheduled notifications.
719 |   public func pendingNotifications() async -> [UNNotificationRequest] {
720 |     await center.pendingNotificationRequests()
    |                  `- error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
721 |   }
722 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:742:18: error: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'
740 |   /// - Returns: An array of delivered `UNNotification` instances.
741 |   public func deliveredNotifications() async -> [UNNotification] {
742 |     await center.deliveredNotifications()
    |                  `- error: non-sendable result type '[UNNotification]' cannot be sent from nonisolated context in call to instance method 'deliveredNotifications()'
743 |   }
744 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h:15:12: note: class 'UNNotification' does not conform to the 'Sendable' protocol
13 |
14 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
15 | @interface UNNotification : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotification' does not conform to the 'Sendable' protocol
16 |
17 | // The date displayed on the notification.
/Users/admin/builder/spi-builder-workspace/Sources/NotificationManager/Core/NotificationManager.swift:823:33: error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
821 |   /// - Parameter prefix: The prefix used to match identifiers.
822 |   public func removePendingNotifications(matchingPrefix prefix: String) async {
823 |     let requests = await center.pendingNotificationRequests()
    |                                 `- error: non-sendable result type '[UNNotificationRequest]' cannot be sent from nonisolated context in call to instance method 'pendingNotificationRequests()'
824 |     let ids =
825 |       requests
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
14 |
15 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
16 | @interface UNNotificationRequest : NSObject <NSCopying, NSSecureCoding>
   |            `- note: class 'UNNotificationRequest' does not conform to the 'Sendable' protocol
17 |
18 | // The unique identifier for this notification request. It can be used to replace or remove a pending notification request or a delivered notification.
[51/51] Compiling NotificationManager NotificationSound.swift
BUILD FAILURE 6.1 macosSpm