The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftyAlert, reference v1.0.8 (593eac), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 06:29:46 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chocoford/SwiftyAlert.git
Reference: v1.0.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chocoford/SwiftyAlert
 * tag               v1.0.8     -> FETCH_HEAD
HEAD is now at 593eac6 Create NotificationAlertAction.swift
Cloned https://github.com/chocoford/SwiftyAlert.git
Revision (git rev-parse @):
593eac6fe95b7765f012040c3d6685ca7c4176d8
SUCCESS checkout https://github.com/chocoford/SwiftyAlert.git at v1.0.8
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/chocoford/SwiftyAlert.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] AlertToast
[36 / 113]
[39 / 113]
[47 / 113]
[49 / 113]
[50 / 113]
[55 / 113]
[58 / 113]
[61 / 113]
[67 / 113]
[70 / 113]
[72 / 113]
[73 / 113]
[83 / 113]
[85 / 113]
[86 / 113]
[89 / 113]
[91 / 113]
[96 / 113] AlertToast
[103 / 114] SwiftyAlert
[111 / 122] SwiftyAlert
[112 / 122] SwiftyAlert
[117 / 122] SwiftyAlert
[118 / 122] AlertToast
Build complete! (11.46 sec)
Fetching https://github.com/elai950/AlertToast.git
[1/1572] Fetching alerttoast
Fetched https://github.com/elai950/AlertToast.git (2.30s)
Creating working copy for https://github.com/elai950/AlertToast.git
Working copy of https://github.com/elai950/AlertToast.git resolved at master (76a1c17)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:19:16: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 17 | // 1. Create the key with a default value
 18 | private struct AlertToastActionKey: EnvironmentKey {
 19 |     static let defaultValue: AlertToastAction = AlertToastAction(
    |                `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 20 |         isPresented: .constant(false),
 21 |         alertToast: .constant(AlertToast(displayMode: .hud, type: .error(.red))),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:36:18: warning: stored property '_onTap' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
 34 |     @Binding var tapToDismiss: Bool
 35 |     @Binding var offsetY: CGFloat
 36 |     @Binding var onTap: (() -> Void)?
    |                  |- warning: stored property '_onTap' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 37 |     @Binding var onCompletion: (() -> Void)?
 38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:37:18: warning: stored property '_onCompletion' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
 35 |     @Binding var offsetY: CGFloat
 36 |     @Binding var onTap: (() -> Void)?
 37 |     @Binding var onCompletion: (() -> Void)?
    |                  |- warning: stored property '_onCompletion' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 38 |
 39 |     @State private var queue: [(AlertToast, Double, Bool, CGFloat, (() -> ())?, (() -> ())?)] = []
macro expansion @State:1:13: warning: stored property '__queue' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:39:99: note: expanded code originates here
 37 |     @Binding var onCompletion: (() -> Void)?
 38 |
 39 |     @State private var queue: [(AlertToast, Double, Bool, CGFloat, (() -> ())?, (() -> ())?)] = []
    |     |- note: in expansion of macro 'State' on property 'queue' here
    |     `- note: in expansion of macro 'State' on property 'queue' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __queue = SwiftUICore.State._makeStorage(({
    |   |             |- warning: stored property '__queue' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
    |   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
    | 2 |             let value: [(AlertToast, Double, Bool, CGFloat, (() -> ())?, (() -> ())?)] = []
    | 3 |             return value
    +-------------------------------------------------------------------
 40 |
 41 |     public func callAsFunction(
macro expansion @State:1:13: warning: stored property '__queue' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:39:99: note: expanded code originates here
 37 |     @Binding var onCompletion: (() -> Void)?
 38 |
 39 |     @State private var queue: [(AlertToast, Double, Bool, CGFloat, (() -> ())?, (() -> ())?)] = []
    |     |- note: in expansion of macro 'State' on property 'queue' here
    |     `- note: in expansion of macro 'State' on property 'queue' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __queue = SwiftUICore.State._makeStorage(({
    |   |             |- warning: stored property '__queue' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
    |   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
    | 2 |             let value: [(AlertToast, Double, Bool, CGFloat, (() -> ())?, (() -> ())?)] = []
    | 3 |             return value
    +-------------------------------------------------------------------
 40 |
 41 |     public func callAsFunction(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AlertAction' may have shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 11 | // 1. Create the key with a default value
 12 | private struct AlertActionKey: EnvironmentKey {
 13 |     static let defaultValue: AlertAction = .init(
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AlertAction' may have shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |         title: .constant("Alert"),
 15 |         isPresented: .constant(false),
    :
 19 | }
 20 |
 21 | public struct AlertAction {
    |               `- note: consider making struct 'AlertAction' conform to the 'Sendable' protocol
 22 |     @Binding var title: LocalizedStringKey
 23 |     @Binding var isPresented: Bool
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AlertAction' may have shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
 11 | // 1. Create the key with a default value
 12 | private struct AlertActionKey: EnvironmentKey {
 13 |     static let defaultValue: AlertAction = .init(
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AlertAction' may have shared mutable state; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable\MutableGlobalVariable]8;;\]
    |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 14 |         title: .constant("Alert"),
 15 |         isPresented: .constant(false),
    :
 19 | }
 20 |
 21 | public struct AlertAction {
    |               `- note: consider making struct 'AlertAction' conform to the 'Sendable' protocol
 22 |     @Binding var title: LocalizedStringKey
 23 |     @Binding var isPresented: Bool
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:35:17: warning: capture of 'self' with non-Sendable type 'AlertAction' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 19 | }
 20 |
 21 | public struct AlertAction {
    |               `- note: consider making struct 'AlertAction' conform to the 'Sendable' protocol
 22 |     @Binding var title: LocalizedStringKey
 23 |     @Binding var isPresented: Bool
    :
 33 |             self.isPresented.toggle()
 34 |             DispatchQueue.main.asyncAfter(deadline: .now().advanced(by: .milliseconds(500))) {
 35 |                 self.toggleAlert(title: title, actions: actions, message: message)
    |                 `- warning: capture of 'self' with non-Sendable type 'AlertAction' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 36 |             }
 37 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:35:41: warning: capture of 'title' with non-Sendable type 'LocalizedStringKey' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 33 |             self.isPresented.toggle()
 34 |             DispatchQueue.main.asyncAfter(deadline: .now().advanced(by: .milliseconds(500))) {
 35 |                 self.toggleAlert(title: title, actions: actions, message: message)
    |                                         `- warning: capture of 'title' with non-Sendable type 'LocalizedStringKey' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 36 |             }
 37 |         } else {
SwiftUI.LocalizedStringKey:2:23: note: struct 'LocalizedStringKey' explicitly suppresses conformance to 'Sendable' protocol
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | @frozen public struct LocalizedStringKey : Equatable, ExpressibleByStringInterpolation, ~Sendable {
   |                       `- note: struct 'LocalizedStringKey' explicitly suppresses conformance to 'Sendable' protocol
 3 |     public init(_ value: String)
 4 |     public init(stringLiteral value: String)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUICore' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
  7 |
  8 | import Foundation
  9 | import SwiftUI
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUICore' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import\AddPreconcurrencyImport]8;;\]
 10 |
 11 | // 1. Create the key with a default value
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:35:57: warning: capture of 'actions' with non-Sendable type '() -> some View' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 33 |             self.isPresented.toggle()
 34 |             DispatchQueue.main.asyncAfter(deadline: .now().advanced(by: .milliseconds(500))) {
 35 |                 self.toggleAlert(title: title, actions: actions, message: message)
    |                                                         |- warning: capture of 'actions' with non-Sendable type '() -> some View' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                                                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 36 |             }
 37 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:35:75: warning: capture of 'message' with non-Sendable type '() -> some View' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 33 |             self.isPresented.toggle()
 34 |             DispatchQueue.main.asyncAfter(deadline: .now().advanced(by: .milliseconds(500))) {
 35 |                 self.toggleAlert(title: title, actions: actions, message: message)
    |                                                                           |- warning: capture of 'message' with non-Sendable type '() -> some View' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
    |                                                                           `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 36 |             }
 37 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:35:22: warning: capture of non-Sendable type '(some View).Type' in an isolated closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
 33 |             self.isPresented.toggle()
 34 |             DispatchQueue.main.asyncAfter(deadline: .now().advanced(by: .milliseconds(500))) {
 35 |                 self.toggleAlert(title: title, actions: actions, message: message)
    |                      `- warning: capture of non-Sendable type '(some View).Type' in an isolated closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
 36 |             }
 37 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:35:22: warning: capture of non-Sendable type '(some View).Type' in an isolated closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
 33 |             self.isPresented.toggle()
 34 |             DispatchQueue.main.asyncAfter(deadline: .now().advanced(by: .milliseconds(500))) {
 35 |                 self.toggleAlert(title: title, actions: actions, message: message)
    |                      `- warning: capture of non-Sendable type '(some View).Type' in an isolated closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes\SendableMetatypes]8;;\]
 36 |             }
 37 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:35:22: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
 33 |             self.isPresented.toggle()
 34 |             DispatchQueue.main.asyncAfter(deadline: .now().advanced(by: .milliseconds(500))) {
 35 |                 self.toggleAlert(title: title, actions: actions, message: message)
    |                      |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
    |                      `- note: 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against code in the current isolation context
 36 |             }
 37 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:35:22: warning: sending 'title' risks causing data races; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
 33 |             self.isPresented.toggle()
 34 |             DispatchQueue.main.asyncAfter(deadline: .now().advanced(by: .milliseconds(500))) {
 35 |                 self.toggleAlert(title: title, actions: actions, message: message)
    |                      |- warning: sending 'title' risks causing data races; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
    |                      `- note: 'title' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against code in the current isolation context
 36 |             }
 37 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:35:57: warning: sending 'actions' risks causing data races; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
 33 |             self.isPresented.toggle()
 34 |             DispatchQueue.main.asyncAfter(deadline: .now().advanced(by: .milliseconds(500))) {
 35 |                 self.toggleAlert(title: title, actions: actions, message: message)
    |                                                         |- warning: sending 'actions' risks causing data races; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
    |                                                         `- note: 'actions' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against code in the current isolation context
 36 |             }
 37 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/Environments/Alert.swift:35:75: warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
 33 |             self.isPresented.toggle()
 34 |             DispatchQueue.main.asyncAfter(deadline: .now().advanced(by: .milliseconds(500))) {
 35 |                 self.toggleAlert(title: title, actions: actions, message: message)
    |                                                                           |- warning: sending 'message' risks causing data races; this is an error in the Swift 6 language mode [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/region-isolation\RegionIsolation]8;;\::]8;;https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race\SendingRisksDataRace]8;;\]
    |                                                                           `- note: 'message' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against code in the current isolation context
 36 |             }
 37 |         } else {
[#AddPreconcurrencyImport]: <https://docs.swift.org/compiler/documentation/diagnostics/add-preconcurrency-import>
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[#RegionIsolation]: <https://docs.swift.org/compiler/documentation/diagnostics/region-isolation>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:19:16: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 17 | // 1. Create the key with a default value
 18 | private struct AlertToastActionKey: EnvironmentKey {
 19 |     static let defaultValue: AlertToastAction = AlertToastAction(
    |                `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 20 |         isPresented: .constant(false),
 21 |         alertToast: .constant(AlertToast(displayMode: .hud, type: .error(.red))),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:36:18: warning: stored property '_onTap' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
 34 |     @Binding var tapToDismiss: Bool
 35 |     @Binding var offsetY: CGFloat
 36 |     @Binding var onTap: (() -> Void)?
    |                  |- warning: stored property '_onTap' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 37 |     @Binding var onCompletion: (() -> Void)?
 38 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:37:18: warning: stored property '_onCompletion' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
 35 |     @Binding var offsetY: CGFloat
 36 |     @Binding var onTap: (() -> Void)?
 37 |     @Binding var onCompletion: (() -> Void)?
    |                  |- warning: stored property '_onCompletion' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
    |                  `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 38 |
 39 |     @State private var queue: [(AlertToast, Double, Bool, CGFloat, (() -> ())?, (() -> ())?)] = []
macro expansion @State:1:13: warning: stored property '__queue' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:39:99: note: expanded code originates here
 37 |     @Binding var onCompletion: (() -> Void)?
 38 |
 39 |     @State private var queue: [(AlertToast, Double, Bool, CGFloat, (() -> ())?, (() -> ())?)] = []
    |     |- note: in expansion of macro 'State' on property 'queue' here
    |     `- note: in expansion of macro 'State' on property 'queue' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __queue = SwiftUICore.State._makeStorage(({
    |   |             |- warning: stored property '__queue' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
    |   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
    | 2 |             let value: [(AlertToast, Double, Bool, CGFloat, (() -> ())?, (() -> ())?)] = []
    | 3 |             return value
    +-------------------------------------------------------------------
 40 |
 41 |     public func callAsFunction(
macro expansion @State:1:13: warning: stored property '__queue' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:39:99: note: expanded code originates here
 37 |     @Binding var onCompletion: (() -> Void)?
 38 |
 39 |     @State private var queue: [(AlertToast, Double, Bool, CGFloat, (() -> ())?, (() -> ())?)] = []
    |     |- note: in expansion of macro 'State' on property 'queue' here
    |     `- note: in expansion of macro 'State' on property 'queue' here
    +--- macro expansion @State ----------------------------------------
    | 1 | private var __queue = SwiftUICore.State._makeStorage(({
    |   |             |- warning: stored property '__queue' of 'Sendable'-conforming struct 'AlertToastAction' contains non-Sendable type '() -> ()'; this is an error in the Swift 6 language mode
    |   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
    | 2 |             let value: [(AlertToast, Double, Bool, CGFloat, (() -> ())?, (() -> ())?)] = []
    | 3 |             return value
    +-------------------------------------------------------------------
 40 |
 41 |     public func callAsFunction(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToastBus.swift:78:29: warning: call to main actor-isolated initializer 'init(error:displayMode:type:)' in a synchronous nonisolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call\ActorIsolatedCall]8;;\]
 75 |     }
 76 |
 77 |     public func callAsFunction(_ error: Error) {
    |                 `- note: add '@MainActor' to make instance method 'callAsFunction' part of global actor 'MainActor'
 78 |         self.callAsFunction(AlertToast(error: error))
    |                             `- warning: call to main actor-isolated initializer 'init(error:displayMode:type:)' in a synchronous nonisolated context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call\ActorIsolatedCall]8;;\]
 79 |     }
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyAlert/AlertToast+/AlertToast+Extension.swift:15:12: note: calls to initializer 'init(error:displayMode:type:)' from outside of its actor context are implicitly asynchronous
13 |
14 | extension AlertToast {
15 |     public init(
   |            `- note: calls to initializer 'init(error:displayMode:type:)' from outside of its actor context are implicitly asynchronous
16 |         error: Error,
17 |         displayMode: DisplayMode = DisplayMode.hud,
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "alerttoast",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/elai950/AlertToast.git"
    }
  ],
  "manifest_display_name" : "SwiftyAlert",
  "name" : "SwiftyAlert",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyAlert",
      "targets" : [
        "SwiftyAlert"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyAlertTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyAlertTests",
      "path" : "Tests/SwiftyAlertTests",
      "sources" : [
        "SwiftyAlertTests.swift"
      ],
      "target_dependencies" : [
        "SwiftyAlert"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyAlert",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyAlert",
      "path" : "Sources/SwiftyAlert",
      "product_dependencies" : [
        "AlertToast"
      ],
      "product_memberships" : [
        "SwiftyAlert"
      ],
      "sources" : [
        "AlertToast+/AlertToast+Extension.swift",
        "AlertToast+/AlertToastBus.swift",
        "AlertToast+/FakeAlertToast.swift",
        "Environments/Alert.swift",
        "Extensions/Refreshable+SwiftyAlert.swift",
        "NotificationAlert/NotificationAlertAction.swift",
        "SwiftyAlert.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.