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

The Swift Package Index logo.Swift Package Index

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

Build Information

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

Swift 6 data race errors: 5

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fatbobman/SwiftUIOverlayContainer.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fatbobman/SwiftUIOverlayContainer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 151b788 fix spell issue
Cloned https://github.com/fatbobman/SwiftUIOverlayContainer.git
Revision (git rev-parse @):
151b78849bc0b5741c9bc0ce5dfa7816e310d997
SUCCESS checkout https://github.com/fatbobman/SwiftUIOverlayContainer.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/fatbobman/SwiftUIOverlayContainer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/26] Emitting module SwiftUIOverlayContainer
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/Container/ViewFrameInfoModifier.swift:16:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | struct ViewFrameKey: PreferenceKey {
16 |     static var defaultValue: CGRect = .zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     static func reduce(value: inout CGRect, nextValue: () -> CGRect) {}
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerManager/ContainerManager.swift:234:16: warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | ///
 31 | /// Because the Container Manager adopts the singleton pattern, you can directly call public methods such as show and dismiss through code even if you are not in the SwiftUI view.
 32 | public final class ContainerManager: ContainerManagerLogger {
    |                    `- note: class 'ContainerManager' does not conform to the 'Sendable' protocol
 33 |     var publishers: [String: ContainerViewPublisher] = [:]
 34 |
    :
232 |
233 | public extension ContainerManager {
234 |     static let share = ContainerManager()
    |                |- warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'share' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerView/TransitionAndAnimation.swift:44:23: warning: static property 'popMessageFromTop' is not concurrency-safe because non-'Sendable' type 'AnyTransition' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 |     /// An example showing how to customize a transition for specific case.
44 |     public static let popMessageFromTop: AnyTransition = .move(edge: .top).combined(with: .opacity)
   |                       |- warning: static property 'popMessageFromTop' is not concurrency-safe because non-'Sendable' type 'AnyTransition' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'popMessageFromTop' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
SwiftUI.AnyTransition:2:23: note: struct 'AnyTransition' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyTransition {
  |                       `- note: struct 'AnyTransition' does not conform to the 'Sendable' protocol
3 |     @available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *)
4 |     public init<T>(_ transition: T) where T : Transition
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/EnvironmentKey/ContainerKey.swift:63:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// An Environment Key that provides some informations and methods about container in the container views.
62 | public struct ContainerEnvironmentKey: EnvironmentKey {
63 |     public static var defaultValue = ContainerEnvironment(
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |         containerName: "`ContainerEnvironmentKey` Can only be used in container views",
65 |         containerFrame: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/EnvironmentKey/ContainerManagerKey.swift:17:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// The Environment Key of container manager. An instance of container manager.
16 | struct ContainerManagerKey: EnvironmentKey {
17 |     static var defaultValue = ContainerManager.share
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
[4/28] Compiling SwiftUIOverlayContainer ModifierForContainerView.swift
[5/28] Compiling SwiftUIOverlayContainer ShadowStyle.swift
[6/28] Compiling SwiftUIOverlayContainer SwiftUI.swift
[7/28] Compiling SwiftUIOverlayContainer LoggerProtocol.swift
[8/28] Compiling SwiftUIOverlayContainer CompositeContainerView.swift
[9/28] Compiling SwiftUIOverlayContainer Container.swift
[10/28] Compiling SwiftUIOverlayContainer ContainerProtocols.swift
[11/28] Compiling SwiftUIOverlayContainer TransitionAndAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerView/TransitionAndAnimation.swift:44:23: warning: static property 'popMessageFromTop' is not concurrency-safe because non-'Sendable' type 'AnyTransition' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 |     /// An example showing how to customize a transition for specific case.
44 |     public static let popMessageFromTop: AnyTransition = .move(edge: .top).combined(with: .opacity)
   |                       |- warning: static property 'popMessageFromTop' is not concurrency-safe because non-'Sendable' type 'AnyTransition' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'popMessageFromTop' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
SwiftUI.AnyTransition:2:23: note: struct 'AnyTransition' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyTransition {
  |                       `- note: struct 'AnyTransition' does not conform to the 'Sendable' protocol
3 |     @available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *)
4 |     public init<T>(_ transition: T) where T : Transition
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/EnvironmentKey/ContainerKey.swift:63:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// An Environment Key that provides some informations and methods about container in the container views.
62 | public struct ContainerEnvironmentKey: EnvironmentKey {
63 |     public static var defaultValue = ContainerEnvironment(
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |         containerName: "`ContainerEnvironmentKey` Can only be used in container views",
65 |         containerFrame: .zero,
[12/28] Compiling SwiftUIOverlayContainer ContainerKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerView/TransitionAndAnimation.swift:44:23: warning: static property 'popMessageFromTop' is not concurrency-safe because non-'Sendable' type 'AnyTransition' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 |     /// An example showing how to customize a transition for specific case.
44 |     public static let popMessageFromTop: AnyTransition = .move(edge: .top).combined(with: .opacity)
   |                       |- warning: static property 'popMessageFromTop' is not concurrency-safe because non-'Sendable' type 'AnyTransition' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'popMessageFromTop' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
SwiftUI.AnyTransition:2:23: note: struct 'AnyTransition' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct AnyTransition {
  |                       `- note: struct 'AnyTransition' does not conform to the 'Sendable' protocol
3 |     @available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *)
4 |     public init<T>(_ transition: T) where T : Transition
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/EnvironmentKey/ContainerKey.swift:63:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
61 | /// An Environment Key that provides some informations and methods about container in the container views.
62 | public struct ContainerEnvironmentKey: EnvironmentKey {
63 |     public static var defaultValue = ContainerEnvironment(
   |                       |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |         containerName: "`ContainerEnvironmentKey` Can only be used in container views",
65 |         containerFrame: .zero,
[13/28] Compiling SwiftUIOverlayContainer ContainerManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerManager/ContainerManager.swift:234:16: warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | ///
 31 | /// Because the Container Manager adopts the singleton pattern, you can directly call public methods such as show and dismiss through code even if you are not in the SwiftUI view.
 32 | public final class ContainerManager: ContainerManagerLogger {
    |                    `- note: class 'ContainerManager' does not conform to the 'Sendable' protocol
 33 |     var publishers: [String: ContainerViewPublisher] = [:]
 34 |
    :
232 |
233 | public extension ContainerManager {
234 |     static let share = ContainerManager()
    |                |- warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'share' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | }
236 |
[14/28] Compiling SwiftUIOverlayContainer ContainerManagerProtocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerManager/ContainerManager.swift:234:16: warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | ///
 31 | /// Because the Container Manager adopts the singleton pattern, you can directly call public methods such as show and dismiss through code even if you are not in the SwiftUI view.
 32 | public final class ContainerManager: ContainerManagerLogger {
    |                    `- note: class 'ContainerManager' does not conform to the 'Sendable' protocol
 33 |     var publishers: [String: ContainerViewPublisher] = [:]
 34 |
    :
232 |
233 | public extension ContainerManager {
234 |     static let share = ContainerManager()
    |                |- warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'share' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | }
236 |
[15/28] Compiling SwiftUIOverlayContainer Alignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerManager/ContainerManager.swift:234:16: warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | ///
 31 | /// Because the Container Manager adopts the singleton pattern, you can directly call public methods such as show and dismiss through code even if you are not in the SwiftUI view.
 32 | public final class ContainerManager: ContainerManagerLogger {
    |                    `- note: class 'ContainerManager' does not conform to the 'Sendable' protocol
 33 |     var publishers: [String: ContainerViewPublisher] = [:]
 34 |
    :
232 |
233 | public extension ContainerManager {
234 |     static let share = ContainerManager()
    |                |- warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'share' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | }
236 |
[16/28] Compiling SwiftUIOverlayContainer ContainerType.swift
[17/28] Compiling SwiftUIOverlayContainer GenericStack.swift
[18/28] Compiling SwiftUIOverlayContainer QueueHandler.swift
[19/28] Compiling SwiftUIOverlayContainer ViewContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/Container/ViewFrameInfoModifier.swift:16:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | struct ViewFrameKey: PreferenceKey {
16 |     static var defaultValue: CGRect = .zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     static func reduce(value: inout CGRect, nextValue: () -> CGRect) {}
18 | }
[20/28] Compiling SwiftUIOverlayContainer ViewFrameInfoModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/Container/ViewFrameInfoModifier.swift:16:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | struct ViewFrameKey: PreferenceKey {
16 |     static var defaultValue: CGRect = .zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     static func reduce(value: inout CGRect, nextValue: () -> CGRect) {}
18 | }
[21/28] Compiling SwiftUIOverlayContainer ContainerAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/Container/ViewFrameInfoModifier.swift:16:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | struct ViewFrameKey: PreferenceKey {
16 |     static var defaultValue: CGRect = .zero
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     static func reduce(value: inout CGRect, nextValue: () -> CGRect) {}
18 | }
[22/28] Compiling SwiftUIOverlayContainer ContainerManagerKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/EnvironmentKey/ContainerManagerKey.swift:17:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// The Environment Key of container manager. An instance of container manager.
16 | struct ContainerManagerKey: EnvironmentKey {
17 |     static var defaultValue = ContainerManager.share
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerManager/ContainerManager.swift:234:16: warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | ///
 31 | /// Because the Container Manager adopts the singleton pattern, you can directly call public methods such as show and dismiss through code even if you are not in the SwiftUI view.
 32 | public final class ContainerManager: ContainerManagerLogger {
    |                    `- note: class 'ContainerManager' does not conform to the 'Sendable' protocol
 33 |     var publishers: [String: ContainerViewPublisher] = [:]
 34 |
    :
232 |
233 | public extension ContainerManager {
234 |     static let share = ContainerManager()
    |                |- warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'share' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/Extensions/Foundation.swift:44:9: warning: capture of 'action' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 |     }
43 |     dispatchQueue.asyncAfter(deadline: .now() + seconds) {
44 |         action()
   |         |- warning: capture of 'action' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 |     }
46 | }
[23/28] Compiling SwiftUIOverlayContainer Foundation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/EnvironmentKey/ContainerManagerKey.swift:17:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | /// The Environment Key of container manager. An instance of container manager.
16 | struct ContainerManagerKey: EnvironmentKey {
17 |     static var defaultValue = ContainerManager.share
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerManager/ContainerManager.swift:234:16: warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | ///
 31 | /// Because the Container Manager adopts the singleton pattern, you can directly call public methods such as show and dismiss through code even if you are not in the SwiftUI view.
 32 | public final class ContainerManager: ContainerManagerLogger {
    |                    `- note: class 'ContainerManager' does not conform to the 'Sendable' protocol
 33 |     var publishers: [String: ContainerViewPublisher] = [:]
 34 |
    :
232 |
233 | public extension ContainerManager {
234 |     static let share = ContainerManager()
    |                |- warning: static property 'share' is not concurrency-safe because non-'Sendable' type 'ContainerManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'share' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | }
236 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/Extensions/Foundation.swift:44:9: warning: capture of 'action' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 |     }
43 |     dispatchQueue.asyncAfter(deadline: .now() + seconds) {
44 |         action()
   |         |- warning: capture of 'action' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 |     }
46 | }
[24/28] Compiling SwiftUIOverlayContainer DissmissGesture.swift
[25/28] Compiling SwiftUIOverlayContainer IdentifiableContainerView.swift
[26/28] Compiling SwiftUIOverlayContainer AutoDismiss.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerView/AutoDismiss.swift:67:29: warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |                     if !Task.isCancelled {
66 |                         await MainActor.run {
67 |                             dismissAction()
   |                             |- warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 |                         }
69 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerView/AutoDismiss.swift:67:29: warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |                     if !Task.isCancelled {
66 |                         await MainActor.run {
67 |                             dismissAction()
   |                             |- warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 |                         }
69 |                     }
[27/28] Compiling SwiftUIOverlayContainer BackgroundStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerView/AutoDismiss.swift:67:29: warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |                     if !Task.isCancelled {
66 |                         await MainActor.run {
67 |                             dismissAction()
   |                             |- warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 |                         }
69 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerView/AutoDismiss.swift:67:29: warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |                     if !Task.isCancelled {
66 |                         await MainActor.run {
67 |                             dismissAction()
   |                             |- warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 |                         }
69 |                     }
[28/28] Compiling SwiftUIOverlayContainer ContainerViewProtocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerView/AutoDismiss.swift:67:29: warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |                     if !Task.isCancelled {
66 |                         await MainActor.run {
67 |                             dismissAction()
   |                             |- warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 |                         }
69 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIOverlayContainer/ContainerView/AutoDismiss.swift:67:29: warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 |                     if !Task.isCancelled {
66 |                         await MainActor.run {
67 |                             dismissAction()
   |                             |- warning: capture of 'dismissAction' with non-sendable type 'DismissAction' (aka '() -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 |                         }
69 |                     }
Build complete! (43.25s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUIOverlayContainer",
  "name" : "SwiftUIOverlayContainer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIOverlayContainer",
      "targets" : [
        "SwiftUIOverlayContainer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUIOverlayContainerTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIOverlayContainerTests",
      "path" : "Tests/SwiftUIOverlayContainerTests",
      "sources" : [
        "AutoDismissMergeTests.swift",
        "BackgroundMergeTests.swift",
        "ContainerManagerTests.swift",
        "DismissGestureMergeTests.swift",
        "ExtensionTests.swift",
        "QueueControlOpretorTests.swift",
        "QueueHandlerForMultipleTests.swift",
        "QueueHandlerForOneByOneTests.swift",
        "QueueHandlerForOneByeOneWaitFinishTests.swift",
        "QueueHandlerTests.swift",
        "ShadowMergeTests.swift",
        "SwiftUIOverlayContainerTests.swift",
        "TapToDismissTests.swift",
        "TransitionMergeTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUIOverlayContainer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUIOverlayContainer",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIOverlayContainer",
      "path" : "Sources/SwiftUIOverlayContainer",
      "product_memberships" : [
        "SwiftUIOverlayContainer"
      ],
      "sources" : [
        "Container/CompositeContainerView.swift",
        "Container/Container.swift",
        "Container/ContainerProtocols.swift",
        "Container/ContainerType.swift",
        "Container/GenericStack.swift",
        "Container/QueueHandler.swift",
        "Container/ViewContainer.swift",
        "Container/ViewFrameInfoModifier.swift",
        "ContainerManager/ContainerAction.swift",
        "ContainerManager/ContainerManager.swift",
        "ContainerManager/ContainerManagerProtocols.swift",
        "ContainerView/Alignment.swift",
        "ContainerView/AutoDismiss.swift",
        "ContainerView/BackgroundStyle.swift",
        "ContainerView/ContainerViewProtocols.swift",
        "ContainerView/DissmissGesture.swift",
        "ContainerView/IdentifiableContainerView.swift",
        "ContainerView/ModifierForContainerView.swift",
        "ContainerView/ShadowStyle.swift",
        "ContainerView/TransitionAndAnimation.swift",
        "EnvironmentKey/ContainerKey.swift",
        "EnvironmentKey/ContainerManagerKey.swift",
        "Extensions/Foundation.swift",
        "Extensions/SwiftUI.swift",
        "Logger/LoggerProtocol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.