Build Information
Successful build of BottomSheet with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 3
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/danielsaidi/BottomSheet.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danielsaidi/BottomSheet
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 9be83ff Update README.md
Cloned https://github.com/danielsaidi/BottomSheet.git
Revision (git rev-parse @):
9be83ffd039f3b843c3f1e74446b7c3b3655ebe5
SUCCESS checkout https://github.com/danielsaidi/BottomSheet.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/danielsaidi/BottomSheet.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
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/6] Write sources
[2/6] Copying Info.plist
[4/6] Copying Colors.xcassets
[5/6] Write swift-version-6F35C1178C84523A.txt
[7/17] Compiling BottomSheet BottomSheetHeight.swift
[8/18] Compiling BottomSheet SheetColor.swift
[9/18] Compiling BottomSheet View+BottomSheet.swift
[10/18] Compiling BottomSheet Color+Sheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/Color/Color+Sheet.swift:13:16: warning: static property 'bottomSheet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension Color {
12 |
13 | static var bottomSheet: Color = color(for: .bottomSheet)
| |- warning: static property 'bottomSheet' 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 'bottomSheet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bottomSheet' 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 |
[11/18] Compiling BottomSheet BottomSheetHandleStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetHandleStyle.swift:84:16: warning: static property 'standard' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
82 | of all bottom sheet handles.
83 | */
84 | static var standard = BottomSheetHandleStyle()
| |- warning: static property 'standard' 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 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' 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
85 | }
86 |
[12/18] Compiling BottomSheet BottomSheetHandleStyle+Deprecated.swift
[13/18] Compiling BottomSheet BottomSheetStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/Color/Color+Sheet.swift:13:16: warning: static property 'bottomSheet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension Color {
12 |
13 | static var bottomSheet: Color = color(for: .bottomSheet)
| |- warning: static property 'bottomSheet' 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 'bottomSheet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bottomSheet' 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/BottomSheet/BottomSheetHandleStyle.swift:84:16: warning: static property 'standard' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
82 | of all bottom sheet handles.
83 | */
84 | static var standard = BottomSheetHandleStyle()
| |- warning: static property 'standard' 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 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' 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
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetStyle.swift:76:16: warning: static property 'standard' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | of all bottom sheets.
75 | */
76 | static var standard = BottomSheetStyle()
| |- warning: static property 'standard' 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 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' 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
77 |
78 | /**
[14/18] Emitting module BottomSheet
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetStyle.swift:76:16: warning: static property 'standard' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | of all bottom sheets.
75 | */
76 | static var standard = BottomSheetStyle()
| |- warning: static property 'standard' 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 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' 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
77 |
78 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetHandleStyle.swift:84:16: warning: static property 'standard' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
82 | of all bottom sheet handles.
83 | */
84 | static var standard = BottomSheetHandleStyle()
| |- warning: static property 'standard' 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 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' 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
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/Color/Color+Sheet.swift:13:16: warning: static property 'bottomSheet' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public extension Color {
12 |
13 | static var bottomSheet: Color = color(for: .bottomSheet)
| |- warning: static property 'bottomSheet' 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 'bottomSheet' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bottomSheet' 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 |
[15/18] Compiling BottomSheet BottomSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetStyle.swift:76:16: warning: static property 'standard' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | of all bottom sheets.
75 | */
76 | static var standard = BottomSheetStyle()
| |- warning: static property 'standard' 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 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' 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
77 |
78 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet.swift:169:13: warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
167 |
168 | var twentyItemsList: some View {
169 | List {
| `- warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
170 | ForEach(1...20, id: \.self) { index in
171 | Text("Item \(index)")
SwiftUI.List:3:23: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension List where SelectionValue == Never {
3 | @MainActor public init(@ViewBuilder content: () -> Content)
| `- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
4 | @MainActor public init<Data, RowContent>(_ data: Data, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable
5 | @available(iOS 14.0, macOS 11.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetHandleStyle.swift:84:16: warning: static property 'standard' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
82 | of all bottom sheet handles.
83 | */
84 | static var standard = BottomSheetHandleStyle()
| |- warning: static property 'standard' 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 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' 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
85 | }
86 |
[16/18] Compiling BottomSheet BottomSheetHandle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetStyle.swift:76:16: warning: static property 'standard' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 | of all bottom sheets.
75 | */
76 | static var standard = BottomSheetStyle()
| |- warning: static property 'standard' 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 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' 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
77 |
78 | /**
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheet.swift:169:13: warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
167 |
168 | var twentyItemsList: some View {
169 | List {
| `- warning: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
170 | ForEach(1...20, id: \.self) { index in
171 | Text("Item \(index)")
SwiftUI.List:3:23: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension List where SelectionValue == Never {
3 | @MainActor public init(@ViewBuilder content: () -> Content)
| `- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
4 | @MainActor public init<Data, RowContent>(_ data: Data, @ViewBuilder rowContent: @escaping (Data.Element) -> RowContent) where Content == ForEach<Data, Data.Element.ID, RowContent>, Data : RandomAccessCollection, RowContent : View, Data.Element : Identifiable
5 | @available(iOS 14.0, macOS 11.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetHandleStyle.swift:84:16: warning: static property 'standard' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
82 | of all bottom sheet handles.
83 | */
84 | static var standard = BottomSheetHandleStyle()
| |- warning: static property 'standard' 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 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' 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
85 | }
86 |
[17/18] Compiling BottomSheet BottomSheetHandleBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/BottomSheetHandleStyle.swift:84:16: warning: static property 'standard' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
82 | of all bottom sheet handles.
83 | */
84 | static var standard = BottomSheetHandleStyle()
| |- warning: static property 'standard' 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 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' 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
85 | }
86 |
[18/18] Compiling BottomSheet resource_bundle_accessor.swift
Build complete! (54.23s)
Fetching https://github.com/apple/swift-docc-plugin
[1/1458] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.27s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.0.0 (0.66s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.0.0
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "BottomSheet",
"name" : "BottomSheet",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "BottomSheet",
"targets" : [
"BottomSheet"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BottomSheetTests",
"module_type" : "SwiftTarget",
"name" : "BottomSheetTests",
"path" : "Tests/BottomSheetTests",
"sources" : [
"BottomSheetTests.swift"
],
"target_dependencies" : [
"BottomSheet"
],
"type" : "test"
},
{
"c99name" : "BottomSheet",
"module_type" : "SwiftTarget",
"name" : "BottomSheet",
"path" : "Sources/BottomSheet",
"product_memberships" : [
"BottomSheet"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/BottomSheet/Resources/Colors.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"BottomSheet.swift",
"BottomSheetHandle.swift",
"BottomSheetHandleBar.swift",
"BottomSheetHandleStyle.swift",
"BottomSheetHeight.swift",
"BottomSheetStyle.swift",
"Color/Color+Sheet.swift",
"Color/SheetColor.swift",
"View+BottomSheet.swift",
"_Deprecated/BottomSheetHandleStyle+Deprecated.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.