Build Information
Failed to build Storybook, reference master (7cd99c), with Swift 6.1 for macOS (SPM) on 29 Jan 2026 08:49:13 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.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 7cd99c8 make search bar accessible (#9)
Cloned https://github.com/aj-bartocci/Storybook-SwiftUI.git
Revision (git rev-parse @):
7cd99c800761170dfb67eb955465678ee261e04e
SUCCESS checkout https://github.com/aj-bartocci/Storybook-SwiftUI.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/aj-bartocci/Storybook-SwiftUI.git
https://github.com/aj-bartocci/Storybook-SwiftUI.git
{
"dependencies" : [
],
"manifest_display_name" : "Storybook",
"name" : "Storybook",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "Storybook",
"targets" : [
"Storybook"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StorybookTests",
"module_type" : "SwiftTarget",
"name" : "StorybookTests",
"path" : "Tests/StorybookTests",
"sources" : [
"StorybookCollectionDataTests.swift"
],
"target_dependencies" : [
"Storybook"
],
"type" : "test"
},
{
"c99name" : "Storybook",
"module_type" : "SwiftTarget",
"name" : "Storybook",
"path" : "Sources/Storybook",
"product_memberships" : [
"Storybook"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Resources/figma_icon.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Resources/jira_icon.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Resources/storybook_icon.png",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"PreviewAdditions/ControlledPreview+Utils.swift",
"PreviewAdditions/ControlledPreview.swift",
"PreviewAdditions/Controls.swift",
"PreviewAdditions/Controls/ColorSchemeControl.swift",
"PreviewAdditions/Controls/ControlConstants.swift",
"PreviewAdditions/Controls/ControlHelpers.swift",
"PreviewAdditions/Controls/DocumentationControl.swift",
"PreviewAdditions/Controls/DynamicTypeControl.swift",
"PreviewAdditions/Controls/ScreenSizeControl.swift",
"PreviewAdditions/Controls/TextFieldControl.swift",
"PreviewAdditions/StorybookControlContext.swift",
"PreviewAdditions/Utilities/Image+Utils.swift",
"Storybook.swift",
"StorybookCollectionData.swift",
"Views/SearchBar.swift",
"Views/StorybookCollection.swift",
"Views/StorybookCollectionMac.swift",
"Views/StorybookCollectionViewModel.swift",
"Views/StorybookEntryView.swift",
"Views/StorybookFolder.swift",
"Views/StorybookPage.swift",
"Views/TagsView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/5] Write sources
[1/5] Copying storybook_icon.png
[1/5] Copying figma_icon.png
[3/5] Copying jira_icon.png
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/27] Emitting module Storybook
/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: 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
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: 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 | }
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: 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
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: 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
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: 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
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: add '@MainActor' to make static property 'largest' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'smallest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | var title: String {
[7/29] Compiling Storybook TagsView.swift
[8/29] Compiling Storybook resource_bundle_accessor.swift
[9/29] Compiling Storybook ControlledPreview+Utils.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
| `- note: main actor isolation inferred from conformance to protocol 'View'
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
42 | self.icon = icon ?? Image(systemName: "link")
43 |
[10/29] Compiling Storybook ControlledPreview.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
| `- note: main actor isolation inferred from conformance to protocol 'View'
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
42 | self.icon = icon ?? Image(systemName: "link")
43 |
[11/29] 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
| `- note: main actor isolation inferred from conformance to protocol 'View'
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
42 | self.icon = icon ?? Image(systemName: "link")
43 |
[12/29] Compiling Storybook StorybookCollectionData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/StorybookCollectionData.swift:225:34: warning: capture of 'self' with non-sendable type 'StorybookCollectionData?' in a '@Sendable' closure
100 | @available(iOS 13.0, *)
101 | @available(macOS 11, *)
102 | class StorybookCollectionData {
| `- note: class 'StorybookCollectionData' does not conform to the 'Sendable' protocol
103 | private(set) var root = [String: StorybookEntry]()
104 | private var tags = Set<String>()
:
223 | } else {
224 | DispatchQueue.storybookCollection.async { [weak self] in
225 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'StorybookCollectionData?' in a '@Sendable' closure
226 | return
227 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/StorybookCollectionData.swift:271:21: warning: capture of 'completion' with non-sendable type '([StorybookEntry]) -> Void' in a '@Sendable' closure
269 | }
270 | DispatchQueue.main.async {
271 | completion(entries)
| |- warning: capture of 'completion' with non-sendable type '([StorybookEntry]) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
[13/29] Compiling Storybook SearchBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/StorybookCollectionData.swift:225:34: warning: capture of 'self' with non-sendable type 'StorybookCollectionData?' in a '@Sendable' closure
100 | @available(iOS 13.0, *)
101 | @available(macOS 11, *)
102 | class StorybookCollectionData {
| `- note: class 'StorybookCollectionData' does not conform to the 'Sendable' protocol
103 | private(set) var root = [String: StorybookEntry]()
104 | private var tags = Set<String>()
:
223 | } else {
224 | DispatchQueue.storybookCollection.async { [weak self] in
225 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'StorybookCollectionData?' in a '@Sendable' closure
226 | return
227 | }
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/StorybookCollectionData.swift:271:21: warning: capture of 'completion' with non-sendable type '([StorybookEntry]) -> Void' in a '@Sendable' closure
269 | }
270 | DispatchQueue.main.async {
271 | completion(entries)
| |- warning: capture of 'completion' with non-sendable type '([StorybookEntry]) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
272 | }
273 | }
[14/29] Compiling Storybook ColorSchemeControl.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: 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
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: 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 | }
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: 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
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: 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
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: 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
36 |
37 | static func reduce(value: inout [StorybookControlType], nextValue: () -> [StorybookControlType]) {
[15/29] 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: 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
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: 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 | }
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: 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
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: 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
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: 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
36 |
37 | static func reduce(value: inout [StorybookControlType], nextValue: () -> [StorybookControlType]) {
[16/29] 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: 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
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: 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 | }
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: 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
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: 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
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: 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
36 |
37 | static func reduce(value: inout [StorybookControlType], nextValue: () -> [StorybookControlType]) {
error: compile command failed due to signal 4 (use -v to see invocation)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/23] Compiling Storybook StorybookFolder.swift
[3/23] Compiling Storybook StorybookPage.swift
[4/23] Compiling Storybook StorybookCollectionData.swift
[5/23] Compiling Storybook SearchBar.swift
[6/25] Compiling Storybook TagsView.swift
[7/25] Compiling Storybook resource_bundle_accessor.swift
[8/25] Compiling Storybook StorybookCollectionViewModel.swift
[9/25] Compiling Storybook StorybookEntryView.swift
[10/25] Compiling Storybook TextFieldControl.swift
[11/25] Compiling Storybook StorybookControlContext.swift
[12/25] Compiling Storybook ControlledPreview+Utils.swift
[13/25] Compiling Storybook ControlledPreview.swift
[14/25] Compiling Storybook Controls.swift
[15/25] Compiling Storybook ColorSchemeControl.swift
[16/25] Compiling Storybook ControlConstants.swift
[17/25] Compiling Storybook ControlHelpers.swift
error: compile command failed due to signal 4 (use -v to see invocation)
[18/25] Compiling Storybook DocumentationControl.swift
[19/25] Compiling Storybook DynamicTypeControl.swift
[20/25] Compiling Storybook ScreenSizeControl.swift
[21/25] Compiling Storybook Image+Utils.swift
[22/25] Compiling Storybook Storybook.swift
[23/25] Emitting module Storybook
BUILD FAILURE 6.1 macosSpm