Build Information
Successful build of SearchBar, reference 2.1.7 (e72c14), with Swift 6.1 for macOS (SPM) on 26 Mar 2026 07:59:00 UTC.
Swift 6 data race errors: 3
Build Command
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SzpakKamil/SearchBar.git
Reference: 2.1.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SzpakKamil/SearchBar
* tag 2.1.7 -> FETCH_HEAD
HEAD is now at e72c146 docs:added missing key in title
Cloned https://github.com/SzpakKamil/SearchBar.git
Revision (git rev-parse @):
e72c14615b3b6473ca32cdb3b3bea4d40d5d28f1
SUCCESS checkout https://github.com/SzpakKamil/SearchBar.git at 2.1.7
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/SzpakKamil/SearchBar.git
https://github.com/SzpakKamil/SearchBar.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "SearchBar",
"name" : "SearchBar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "SearchBar",
"targets" : [
"SearchBar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SearchBarTests",
"module_type" : "SwiftTarget",
"name" : "SearchBarTests",
"path" : "Tests/SearchBarTests",
"sources" : [
"DataTypes/SearchBarCancelButtonDisplayModeTests.swift",
"DataTypes/SearchBarClearButtonDisplayMode.swift",
"DataTypes/SearchBarCornerStyleTest.swift",
"DataTypes/SearchBarStyleTest.swift",
"DataTypes/SearchBarSuggestionTests.swift",
"DataTypes/SearchBarTokenTests.swift",
"ModifiersTest.swift",
"WatchOSTvOSTests.swift"
],
"target_dependencies" : [
"SearchBar"
],
"type" : "test"
},
{
"c99name" : "SearchBar",
"module_type" : "SwiftTarget",
"name" : "SearchBar",
"path" : "Sources/SearchBar",
"product_memberships" : [
"SearchBar"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DataTypes/SearchBarCancelButtonDisplayMode.swift",
"DataTypes/SearchBarClearButtonDisplayMode.swift",
"DataTypes/SearchBarMaterial.swift",
"DataTypes/SearchBarScale.swift",
"DataTypes/SearchBarStyle.swift",
"DataTypes/SearchBarSuggestion.swift",
"DataTypes/SearchBarToken.swift",
"DataTypes/SearchBarTranslation.swift",
"Modifiers.swift",
"Platforms/MacOS/SearchBarMacOS.swift",
"Platforms/TvOS/KeyboardTrigger.swift",
"Platforms/TvOS/SearchBarTvOS.swift",
"Platforms/WatchOS/SearchBarWatchOS.swift",
"Platforms/iOSVisionOS/SearchBarIOSVisionOS.swift",
"Views/IfModifier.swift",
"Views/SearchFieldClearButton.swift",
"Views/SearchFieldView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/4] Copying Info.plist
[1/4] Copying Localizable.xcstrings
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/22] Compiling SearchBar IfModifier.swift
[6/22] Compiling SearchBar SearchFieldClearButton.swift
[7/23] Compiling SearchBar Modifiers.swift
[8/23] Compiling SearchBar SearchBarMacOS.swift
[9/23] Compiling SearchBar SearchBarStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:151:23: warning: static property 'capsule' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public struct SearchBarStyle: Equatable, Hashable{
| `- note: consider making struct 'SearchBarStyle' conform to the 'Sendable' protocol
37 | public let cornerRadius: CGFloat
38 | public let tintColor: Color?
:
149 | }
150 |
151 | public static let capsule = SearchBarStyle(style: .capsule)
| |- warning: static property 'capsule' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'capsule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let rectangle = SearchBarStyle(style: .rectangle)
153 | public static let rounded = SearchBarStyle(style: .rounded)
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:152:23: warning: static property 'rectangle' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public struct SearchBarStyle: Equatable, Hashable{
| `- note: consider making struct 'SearchBarStyle' conform to the 'Sendable' protocol
37 | public let cornerRadius: CGFloat
38 | public let tintColor: Color?
:
150 |
151 | public static let capsule = SearchBarStyle(style: .capsule)
152 | public static let rectangle = SearchBarStyle(style: .rectangle)
| |- warning: static property 'rectangle' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rectangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let rounded = SearchBarStyle(style: .rounded)
154 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:153:23: warning: static property 'rounded' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public struct SearchBarStyle: Equatable, Hashable{
| `- note: consider making struct 'SearchBarStyle' conform to the 'Sendable' protocol
37 | public let cornerRadius: CGFloat
38 | public let tintColor: Color?
:
151 | public static let capsule = SearchBarStyle(style: .capsule)
152 | public static let rectangle = SearchBarStyle(style: .rectangle)
153 | public static let rounded = SearchBarStyle(style: .rounded)
| |- warning: static property 'rounded' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rounded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | }
[10/23] Compiling SearchBar SearchBarSuggestion.swift
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:151:23: warning: static property 'capsule' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public struct SearchBarStyle: Equatable, Hashable{
| `- note: consider making struct 'SearchBarStyle' conform to the 'Sendable' protocol
37 | public let cornerRadius: CGFloat
38 | public let tintColor: Color?
:
149 | }
150 |
151 | public static let capsule = SearchBarStyle(style: .capsule)
| |- warning: static property 'capsule' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'capsule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let rectangle = SearchBarStyle(style: .rectangle)
153 | public static let rounded = SearchBarStyle(style: .rounded)
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:152:23: warning: static property 'rectangle' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public struct SearchBarStyle: Equatable, Hashable{
| `- note: consider making struct 'SearchBarStyle' conform to the 'Sendable' protocol
37 | public let cornerRadius: CGFloat
38 | public let tintColor: Color?
:
150 |
151 | public static let capsule = SearchBarStyle(style: .capsule)
152 | public static let rectangle = SearchBarStyle(style: .rectangle)
| |- warning: static property 'rectangle' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rectangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let rounded = SearchBarStyle(style: .rounded)
154 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:153:23: warning: static property 'rounded' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public struct SearchBarStyle: Equatable, Hashable{
| `- note: consider making struct 'SearchBarStyle' conform to the 'Sendable' protocol
37 | public let cornerRadius: CGFloat
38 | public let tintColor: Color?
:
151 | public static let capsule = SearchBarStyle(style: .capsule)
152 | public static let rectangle = SearchBarStyle(style: .rectangle)
153 | public static let rounded = SearchBarStyle(style: .rounded)
| |- warning: static property 'rounded' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rounded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | }
[11/23] Emitting module SearchBar
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:151:23: warning: static property 'capsule' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public struct SearchBarStyle: Equatable, Hashable{
| `- note: consider making struct 'SearchBarStyle' conform to the 'Sendable' protocol
37 | public let cornerRadius: CGFloat
38 | public let tintColor: Color?
:
149 | }
150 |
151 | public static let capsule = SearchBarStyle(style: .capsule)
| |- warning: static property 'capsule' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'capsule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let rectangle = SearchBarStyle(style: .rectangle)
153 | public static let rounded = SearchBarStyle(style: .rounded)
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:152:23: warning: static property 'rectangle' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public struct SearchBarStyle: Equatable, Hashable{
| `- note: consider making struct 'SearchBarStyle' conform to the 'Sendable' protocol
37 | public let cornerRadius: CGFloat
38 | public let tintColor: Color?
:
150 |
151 | public static let capsule = SearchBarStyle(style: .capsule)
152 | public static let rectangle = SearchBarStyle(style: .rectangle)
| |- warning: static property 'rectangle' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rectangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let rounded = SearchBarStyle(style: .rounded)
154 |
/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/DataTypes/SearchBarStyle.swift:153:23: warning: static property 'rounded' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public struct SearchBarStyle: Equatable, Hashable{
| `- note: consider making struct 'SearchBarStyle' conform to the 'Sendable' protocol
37 | public let cornerRadius: CGFloat
38 | public let tintColor: Color?
:
151 | public static let capsule = SearchBarStyle(style: .capsule)
152 | public static let rectangle = SearchBarStyle(style: .rectangle)
153 | public static let rounded = SearchBarStyle(style: .rounded)
| |- warning: static property 'rounded' is not concurrency-safe because non-'Sendable' type 'SearchBarStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rounded' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | }
[12/23] Compiling SearchBar SearchBarCancelButtonDisplayMode.swift
[13/23] Compiling SearchBar SearchBarClearButtonDisplayMode.swift
[14/23] Compiling SearchBar KeyboardTrigger.swift
[15/23] Compiling SearchBar SearchBarTvOS.swift
[16/23] Compiling SearchBar SearchFieldView.swift
[17/23] Compiling SearchBar SearchBarWatchOS.swift
[18/23] Compiling SearchBar SearchBarIOSVisionOS.swift
[19/23] Compiling SearchBar SearchBarToken.swift
[20/23] Compiling SearchBar SearchBarTranslation.swift
[21/23] Compiling SearchBar SearchBarMaterial.swift
[22/23] Compiling SearchBar SearchBarScale.swift
[23/23] Compiling SearchBar resource_bundle_accessor.swift
Build complete! (9.57s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "SearchBar",
"name" : "SearchBar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "SearchBar",
"targets" : [
"SearchBar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SearchBarTests",
"module_type" : "SwiftTarget",
"name" : "SearchBarTests",
"path" : "Tests/SearchBarTests",
"sources" : [
"DataTypes/SearchBarCancelButtonDisplayModeTests.swift",
"DataTypes/SearchBarClearButtonDisplayMode.swift",
"DataTypes/SearchBarCornerStyleTest.swift",
"DataTypes/SearchBarStyleTest.swift",
"DataTypes/SearchBarSuggestionTests.swift",
"DataTypes/SearchBarTokenTests.swift",
"ModifiersTest.swift",
"WatchOSTvOSTests.swift"
],
"target_dependencies" : [
"SearchBar"
],
"type" : "test"
},
{
"c99name" : "SearchBar",
"module_type" : "SwiftTarget",
"name" : "SearchBar",
"path" : "Sources/SearchBar",
"product_memberships" : [
"SearchBar"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SearchBar/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"DataTypes/SearchBarCancelButtonDisplayMode.swift",
"DataTypes/SearchBarClearButtonDisplayMode.swift",
"DataTypes/SearchBarMaterial.swift",
"DataTypes/SearchBarScale.swift",
"DataTypes/SearchBarStyle.swift",
"DataTypes/SearchBarSuggestion.swift",
"DataTypes/SearchBarToken.swift",
"DataTypes/SearchBarTranslation.swift",
"Modifiers.swift",
"Platforms/MacOS/SearchBarMacOS.swift",
"Platforms/TvOS/KeyboardTrigger.swift",
"Platforms/TvOS/SearchBarTvOS.swift",
"Platforms/WatchOS/SearchBarWatchOS.swift",
"Platforms/iOSVisionOS/SearchBarIOSVisionOS.swift",
"Views/IfModifier.swift",
"Views/SearchFieldClearButton.swift",
"Views/SearchFieldView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.