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

Failed to build Storybook, reference master (d878de), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 01:13:55 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aj-bartocci/Storybook-SwiftUI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aj-bartocci/Storybook-SwiftUI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d878dee Update README.md
Cloned https://github.com/aj-bartocci/Storybook-SwiftUI.git
Revision (git rev-parse @):
d878dee92ee11c6b3a1d3c7f242358fda441784a
SUCCESS checkout https://github.com/aj-bartocci/Storybook-SwiftUI.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/aj-bartocci/Storybook-SwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[1/5] Copying figma_icon.png
[1/5] Copying storybook_icon.png
[2/5] Copying jira_icon.png
[4/5] Write swift-version-117DEE11B69C53C9.txt
[6/24] Compiling Storybook Storybook.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Storybook.swift:17:9: warning: call to main actor-isolated initializer 'init(embedInNav:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 |
15 |     /// Renders the storybook, alternatively you can use StorybookCollection() direclty
16 |     public static func render() -> some View {
   |                        `- note: add '@MainActor' to make static method 'render()' part of global actor 'MainActor'
17 |         StorybookCollection()
   |         `- warning: call to main actor-isolated initializer 'init(embedInNav:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 |     }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Views/StorybookCollectionMac.swift:14:12: note: calls to initializer 'init(embedInNav:)' from outside of its actor context are implicitly asynchronous
 12 |     let embedInNav: Bool
 13 |
 14 |     public init(embedInNav: Bool = true) {
    |            `- note: calls to initializer 'init(embedInNav:)' from outside of its actor context are implicitly asynchronous
 15 |         self.embedInNav = embedInNav
 16 |     }
[7/24] Compiling Storybook StorybookCollectionData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Storybook.swift:17:9: warning: call to main actor-isolated initializer 'init(embedInNav:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
14 |
15 |     /// Renders the storybook, alternatively you can use StorybookCollection() direclty
16 |     public static func render() -> some View {
   |                        `- note: add '@MainActor' to make static method 'render()' part of global actor 'MainActor'
17 |         StorybookCollection()
   |         `- warning: call to main actor-isolated initializer 'init(embedInNav:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 |     }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Views/StorybookCollectionMac.swift:14:12: note: calls to initializer 'init(embedInNav:)' from outside of its actor context are implicitly asynchronous
 12 |     let embedInNav: Bool
 13 |
 14 |     public init(embedInNav: Bool = true) {
    |            `- note: calls to initializer 'init(embedInNav:)' from outside of its actor context are implicitly asynchronous
 15 |         self.embedInNav = embedInNav
 16 |     }
[8/26] Compiling Storybook ControlConstants.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:7:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | @available(macOS 11, *)
 6 | enum StorybookControlsKey: EnvironmentKey {
 7 |     static var defaultValue: [StorybookControlType] = []
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
 8 | }
 9 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @available(macOS 11, *)
12 | enum StorybookControlsEmbedEnvKey: EnvironmentKey {
13 |     static var defaultValue: Bool = false
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @available(macOS 11, *)
18 | enum StorybookContextEmbedKey: EnvironmentKey {
19 |     static var defaultValue: Bool = false
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | @available(macOS 11, *)
24 | struct StorybookControlsEmbedPrefKey: PreferenceKey {
25 |     static var defaultValue: Bool = false
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
26 |
27 |     static func reduce(value: inout Bool, nextValue: () -> Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:35:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | @available(macOS 11, *)
34 | enum StorybookControlsPrefKey: PreferenceKey {
35 |     static var defaultValue: [StorybookControlType] = []
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
36 |
37 |     static func reduce(value: inout [StorybookControlType], nextValue: () -> [StorybookControlType]) {
[9/26] Compiling Storybook ControlHelpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:7:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | @available(macOS 11, *)
 6 | enum StorybookControlsKey: EnvironmentKey {
 7 |     static var defaultValue: [StorybookControlType] = []
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
 8 | }
 9 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @available(macOS 11, *)
12 | enum StorybookControlsEmbedEnvKey: EnvironmentKey {
13 |     static var defaultValue: Bool = false
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @available(macOS 11, *)
18 | enum StorybookContextEmbedKey: EnvironmentKey {
19 |     static var defaultValue: Bool = false
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | @available(macOS 11, *)
24 | struct StorybookControlsEmbedPrefKey: PreferenceKey {
25 |     static var defaultValue: Bool = false
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
26 |
27 |     static func reduce(value: inout Bool, nextValue: () -> Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:35:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | @available(macOS 11, *)
34 | enum StorybookControlsPrefKey: PreferenceKey {
35 |     static var defaultValue: [StorybookControlType] = []
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
36 |
37 |     static func reduce(value: inout [StorybookControlType], nextValue: () -> [StorybookControlType]) {
[10/26] Compiling Storybook Controls.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls.swift:65:13: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 |     @ViewBuilder
56 |     public func render() -> some View {
   |                 `- note: add '@MainActor' to make instance method 'render()' part of global actor 'MainActor'
57 |         switch self {
58 |         #if os(iOS)
   :
63 |         #endif
64 |         case .colorScheme:
65 |             ColorSchemeControl()
   |             `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 |         case .documentationLink(let title, let url, let icon):
67 |             DocumentationControl(icon: icon?.icon, title: title, url: url)
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ColorSchemeControl.swift:22:12: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 |     @Environment(\.colorScheme) var colorScheme
21 |
22 |     public init() { }
   |            `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
23 |
24 |     var isDarkBinding: Binding<Bool> {
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls.swift:67:13: warning: call to main actor-isolated initializer 'init(icon:title:url:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 |     @ViewBuilder
56 |     public func render() -> some View {
   |                 `- note: add '@MainActor' to make instance method 'render()' part of global actor 'MainActor'
57 |         switch self {
58 |         #if os(iOS)
   :
65 |             ColorSchemeControl()
66 |         case .documentationLink(let title, let url, let icon):
67 |             DocumentationControl(icon: icon?.icon, title: title, url: url)
   |             `- warning: call to main actor-isolated initializer 'init(icon:title:url:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 |         case .custom(let control):
69 |             control.view
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/DocumentationControl.swift:41:5: note: calls to initializer 'init(icon:title:url:)' from outside of its actor context are implicitly asynchronous
39 |     let url: URL?
40 |
41 |     init(icon: Image?, title: String, url: String) {
   |     `- note: calls to initializer 'init(icon:title:url:)' from outside of its actor context are implicitly asynchronous
42 |         self.icon = icon ?? Image(systemName: "link")
43 |
[11/26] Compiling Storybook ColorSchemeControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls.swift:65:13: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 |     @ViewBuilder
56 |     public func render() -> some View {
   |                 `- note: add '@MainActor' to make instance method 'render()' part of global actor 'MainActor'
57 |         switch self {
58 |         #if os(iOS)
   :
63 |         #endif
64 |         case .colorScheme:
65 |             ColorSchemeControl()
   |             `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 |         case .documentationLink(let title, let url, let icon):
67 |             DocumentationControl(icon: icon?.icon, title: title, url: url)
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ColorSchemeControl.swift:22:12: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
20 |     @Environment(\.colorScheme) var colorScheme
21 |
22 |     public init() { }
   |            `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
23 |
24 |     var isDarkBinding: Binding<Bool> {
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls.swift:67:13: warning: call to main actor-isolated initializer 'init(icon:title:url:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 |     @ViewBuilder
56 |     public func render() -> some View {
   |                 `- note: add '@MainActor' to make instance method 'render()' part of global actor 'MainActor'
57 |         switch self {
58 |         #if os(iOS)
   :
65 |             ColorSchemeControl()
66 |         case .documentationLink(let title, let url, let icon):
67 |             DocumentationControl(icon: icon?.icon, title: title, url: url)
   |             `- warning: call to main actor-isolated initializer 'init(icon:title:url:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 |         case .custom(let control):
69 |             control.view
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/DocumentationControl.swift:41:5: note: calls to initializer 'init(icon:title:url:)' from outside of its actor context are implicitly asynchronous
39 |     let url: URL?
40 |
41 |     init(icon: Image?, title: String, url: String) {
   |     `- note: calls to initializer 'init(icon:title:url:)' from outside of its actor context are implicitly asynchronous
42 |         self.icon = icon ?? Image(systemName: "link")
43 |
[12/26] Compiling Storybook ControlledPreview+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/ControlledPreview+Utils.swift:7:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 5 | @available(macOS 11, *)
 6 | public class PreviewActions: ObservableObject {
 7 |     @Published private (set) var message: String?
   |                `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 8 |
 9 |     public func tappedButton(message: String) {
[13/26] Compiling Storybook ControlledPreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/ControlledPreview+Utils.swift:7:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 5 | @available(macOS 11, *)
 6 | public class PreviewActions: ObservableObject {
 7 |     @Published private (set) var message: String?
   |                `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 8 |
 9 |     public func tappedButton(message: String) {
[14/26] Emitting module Storybook
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/ControlledPreview+Utils.swift:7:16: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 5 | @available(macOS 11, *)
 6 | public class PreviewActions: ObservableObject {
 7 |     @Published private (set) var message: String?
   |                `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
 8 |
 9 |     public func tappedButton(message: String) {
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:7:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 5 | @available(macOS 11, *)
 6 | enum StorybookControlsKey: EnvironmentKey {
 7 |     static var defaultValue: [StorybookControlType] = []
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
 8 | }
 9 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:13:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | @available(macOS 11, *)
12 | enum StorybookControlsEmbedEnvKey: EnvironmentKey {
13 |     static var defaultValue: Bool = false
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | @available(macOS 11, *)
18 | enum StorybookContextEmbedKey: EnvironmentKey {
19 |     static var defaultValue: Bool = false
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:25:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | @available(macOS 11, *)
24 | struct StorybookControlsEmbedPrefKey: PreferenceKey {
25 |     static var defaultValue: Bool = false
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
26 |
27 |     static func reduce(value: inout Bool, nextValue: () -> Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ControlHelpers.swift:35:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | @available(macOS 11, *)
34 | enum StorybookControlsPrefKey: PreferenceKey {
35 |     static var defaultValue: [StorybookControlType] = []
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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
36 |
37 |     static func reduce(value: inout [StorybookControlType], nextValue: () -> [StorybookControlType]) {
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ScreenSizeControl.swift:38:20: warning: static property 'largest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | public struct ScreenSizeControl: View {
 28 |
 29 |     public enum PhoneModel: Int {
    |                 `- note: consider making enum 'PhoneModel' conform to the 'Sendable' protocol
 30 |         case current
 31 |         case se
    :
 36 |         case fourteenPro
 37 |
 38 |         static let largest = PhoneModel.fourteenPro
    |                    |- warning: static property 'largest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'largest' 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
 39 |         static let smallest = PhoneModel.current
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ScreenSizeControl.swift:39:20: warning: static property 'smallest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | public struct ScreenSizeControl: View {
 28 |
 29 |     public enum PhoneModel: Int {
    |                 `- note: consider making enum 'PhoneModel' conform to the 'Sendable' protocol
 30 |         case current
 31 |         case se
    :
 37 |
 38 |         static let largest = PhoneModel.fourteenPro
 39 |         static let smallest = PhoneModel.current
    |                    |- warning: static property 'smallest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'smallest' 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
 40 |
 41 |         var title: String {
[15/26] Compiling Storybook DocumentationControl.swift
[16/26] Compiling Storybook DynamicTypeControl.swift
error: compile command failed due to signal 4 (use -v to see invocation)
[17/26] Compiling Storybook SearchBar.swift
[18/26] Compiling Storybook StorybookCollection.swift
[19/26] Compiling Storybook StorybookControlContext.swift
[20/26] Compiling Storybook Image+Utils.swift
[21/26] Compiling Storybook ScreenSizeControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ScreenSizeControl.swift:38:20: warning: static property 'largest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | public struct ScreenSizeControl: View {
 28 |
 29 |     public enum PhoneModel: Int {
    |                 `- note: consider making enum 'PhoneModel' conform to the 'Sendable' protocol
 30 |         case current
 31 |         case se
    :
 36 |         case fourteenPro
 37 |
 38 |         static let largest = PhoneModel.fourteenPro
    |                    |- warning: static property 'largest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'largest' 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
 39 |         static let smallest = PhoneModel.current
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ScreenSizeControl.swift:39:20: warning: static property 'smallest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | public struct ScreenSizeControl: View {
 28 |
 29 |     public enum PhoneModel: Int {
    |                 `- note: consider making enum 'PhoneModel' conform to the 'Sendable' protocol
 30 |         case current
 31 |         case se
    :
 37 |
 38 |         static let largest = PhoneModel.fourteenPro
 39 |         static let smallest = PhoneModel.current
    |                    |- warning: static property 'smallest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'smallest' 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
 40 |
 41 |         var title: String {
[22/26] Compiling Storybook TextFieldControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ScreenSizeControl.swift:38:20: warning: static property 'largest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | public struct ScreenSizeControl: View {
 28 |
 29 |     public enum PhoneModel: Int {
    |                 `- note: consider making enum 'PhoneModel' conform to the 'Sendable' protocol
 30 |         case current
 31 |         case se
    :
 36 |         case fourteenPro
 37 |
 38 |         static let largest = PhoneModel.fourteenPro
    |                    |- warning: static property 'largest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'largest' 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
 39 |         static let smallest = PhoneModel.current
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/PreviewAdditions/Controls/ScreenSizeControl.swift:39:20: warning: static property 'smallest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | public struct ScreenSizeControl: View {
 28 |
 29 |     public enum PhoneModel: Int {
    |                 `- note: consider making enum 'PhoneModel' conform to the 'Sendable' protocol
 30 |         case current
 31 |         case se
    :
 37 |
 38 |         static let largest = PhoneModel.fourteenPro
 39 |         static let smallest = PhoneModel.current
    |                    |- warning: static property 'smallest' is not concurrency-safe because non-'Sendable' type 'ScreenSizeControl.PhoneModel' may have shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: annotate 'smallest' 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
 40 |
 41 |         var title: String {
BUILD FAILURE 6.0 macosSpm