Build Information
Successful build of SwiftLocaleKit, reference 1.6.3 (349692), with Swift 6.1 for macOS (SPM) on 7 Jul 2026 08:07:14 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: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FuturraGroup/SwiftLocaleKit.git
Reference: 1.6.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FuturraGroup/SwiftLocaleKit
* tag 1.6.3 -> FETCH_HEAD
HEAD is now at 349692b Made language equality strict full-code identity and added isSameLanguageFamily(as:) for short-code (family) matching. A region-decorated preferred language (e.g. en-GB) no longer compares equal to a different region of the same language (en-UA), which fixes duplicate "selected" highlighting when several preferred entries share a short code. Made selectedAppLocale deterministic — it resolves to exactly one language (exact full code, otherwise the first same-family match with preferred entries first, otherwise English) and is always an element of sortedLanguages. Reworked sortedLanguages and the system/default seed checks to use explicit family matching, preserving the existing list output. Added Hashable conformance consistent with the strict equality, and unit tests for the resolution. Bumped version to 1.6.3.
Cloned https://github.com/FuturraGroup/SwiftLocaleKit.git
Revision (git rev-parse @):
349692b394bab5529fb4c094b3efb42cfff9bce1
SUCCESS checkout https://github.com/FuturraGroup/SwiftLocaleKit.git at 1.6.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/FuturraGroup/SwiftLocaleKit.git
https://github.com/FuturraGroup/SwiftLocaleKit.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftLocaleKit",
"name" : "SwiftLocaleKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftLocaleKit",
"targets" : [
"SwiftLocaleKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLocaleKitTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLocaleKitTests",
"path" : "Tests/SwiftLocaleKitTests",
"sources" : [
"SwiftLocaleKitTests.swift"
],
"target_dependencies" : [
"SwiftLocaleKit"
],
"type" : "test"
},
{
"c99name" : "SwiftLocaleKit",
"module_type" : "SwiftTarget",
"name" : "SwiftLocaleKit",
"path" : "Sources/SwiftLocaleKit",
"product_memberships" : [
"SwiftLocaleKit"
],
"sources" : [
"Extensions/Foundation/Bundle.swift",
"Extensions/Foundation/String.swift",
"Extensions/Foundation/UserDefaults.swift",
"Models/LocaleKitLanguage.swift",
"SwiftLocaleKit.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/8] Emitting module SwiftLocaleKit
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocaleKit/Extensions/Foundation/UserDefaults.swift:18:12: warning: let 'LocaleKitStorage' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
16 | @available(swift 5.5)
17 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
18 | public let LocaleKitStorage = { () -> UserDefaults in
| |- warning: let 'LocaleKitStorage' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'LocaleKitStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var localeKitBundleId = Bundle.main.bundleIdentifier ?? "locale.kit.lib"
20 | localeKitBundleId += ".storage"
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
47 | NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
48 | */
49 | @interface NSUserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
50 | @private
51 | id _kvo_;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:13:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocaleKit' may have shared mutable state; this is an error in the Swift 6 language mode
10 | @available(swift 5.5)
11 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
12 | public final class LocaleKit {
| `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
13 | public static let shared = LocaleKit()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocaleKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | /// Fallback language used when the device's first preferred language is not one of the
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:18:21: warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// app's supported localizations. Set it through `configure(defaultLanguage:)` as early as
17 | /// possible — before the first access to `shared`.
18 | private static var defaultLanguage: LocaleKitLanguage?
| |- warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLanguage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private init() {
[4/8] Compiling SwiftLocaleKit String.swift
[5/8] Compiling SwiftLocaleKit UserDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocaleKit/Extensions/Foundation/UserDefaults.swift:18:12: warning: let 'LocaleKitStorage' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
16 | @available(swift 5.5)
17 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
18 | public let LocaleKitStorage = { () -> UserDefaults in
| |- warning: let 'LocaleKitStorage' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'LocaleKitStorage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var localeKitBundleId = Bundle.main.bundleIdentifier ?? "locale.kit.lib"
20 | localeKitBundleId += ".storage"
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
47 | NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
48 | */
49 | @interface NSUserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
50 | @private
51 | id _kvo_;
[6/8] Compiling SwiftLocaleKit SwiftLocaleKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:13:20: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocaleKit' may have shared mutable state; this is an error in the Swift 6 language mode
10 | @available(swift 5.5)
11 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
12 | public final class LocaleKit {
| `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
13 | public static let shared = LocaleKit()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LocaleKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | /// Fallback language used when the device's first preferred language is not one of the
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:18:21: warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// app's supported localizations. Set it through `configure(defaultLanguage:)` as early as
17 | /// possible — before the first access to `shared`.
18 | private static var defaultLanguage: LocaleKitLanguage?
| |- warning: static property 'defaultLanguage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLanguage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLanguage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | private init() {
[7/8] Compiling SwiftLocaleKit LocaleKitLanguage.swift
[8/8] Compiling SwiftLocaleKit Bundle.swift
Build complete! (3.84s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftLocaleKit",
"name" : "SwiftLocaleKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftLocaleKit",
"targets" : [
"SwiftLocaleKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLocaleKitTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLocaleKitTests",
"path" : "Tests/SwiftLocaleKitTests",
"sources" : [
"SwiftLocaleKitTests.swift"
],
"target_dependencies" : [
"SwiftLocaleKit"
],
"type" : "test"
},
{
"c99name" : "SwiftLocaleKit",
"module_type" : "SwiftTarget",
"name" : "SwiftLocaleKit",
"path" : "Sources/SwiftLocaleKit",
"product_memberships" : [
"SwiftLocaleKit"
],
"sources" : [
"Extensions/Foundation/Bundle.swift",
"Extensions/Foundation/String.swift",
"Extensions/Foundation/UserDefaults.swift",
"Models/LocaleKitLanguage.swift",
"SwiftLocaleKit.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.