Build Information
Successful build of SwiftLocaleKit, reference main (b75d24
), with Swift 6.0 for macOS (SPM) on 22 Jan 2025 21:38:40 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FuturraGroup/SwiftLocaleKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FuturraGroup/SwiftLocaleKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b75d240 Updated iOS minimum target
Cloned https://github.com/FuturraGroup/SwiftLocaleKit.git
Revision (git rev-parse @):
b75d2403b00f995365b8ad70cca04d8796d6637e
SUCCESS checkout https://github.com/FuturraGroup/SwiftLocaleKit.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftlocalekit",
"name": "SwiftLocaleKit",
"url": "https://github.com/FuturraGroup/SwiftLocaleKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftLocaleKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/FuturraGroup/SwiftLocaleKit.git
[1/174] Fetching swiftlocalekit
Fetched https://github.com/FuturraGroup/SwiftLocaleKit.git from cache (0.67s)
Creating working copy for https://github.com/FuturraGroup/SwiftLocaleKit.git
Working copy of https://github.com/FuturraGroup/SwiftLocaleKit.git resolved at main (b75d240)
warning: '.resolve-product-dependencies': dependency 'swiftlocalekit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
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.2.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-5BDAB9E9C0126B9D.txt
[3/8] Compiling SwiftLocaleKit SwiftLocaleKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:9: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
6 | @available(swift 5.5)
7 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
8 | public final class LocaleKit {
| `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
9 | 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: annotate 'shared' 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
10 |
11 | private init() {
/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: annotate 'LocaleKitStorage' 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
19 | var localeKitBundleId = Bundle.main.bundleIdentifier ?? "locale.kit.lib"
20 | localeKitBundleId += ".storage"
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
[4/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: annotate 'LocaleKitStorage' 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
19 | var localeKitBundleId = Bundle.main.bundleIdentifier ?? "locale.kit.lib"
20 | localeKitBundleId += ".storage"
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
[5/8] Compiling SwiftLocaleKit Bundle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:9: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
6 | @available(swift 5.5)
7 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
8 | public final class LocaleKit {
| `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
9 | 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: annotate 'shared' 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
10 |
11 | private init() {
[6/8] Compiling SwiftLocaleKit String.swift
[7/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: annotate 'LocaleKitStorage' 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
19 | var localeKitBundleId = Bundle.main.bundleIdentifier ?? "locale.kit.lib"
20 | localeKitBundleId += ".storage"
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:9: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
6 | @available(swift 5.5)
7 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
8 | public final class LocaleKit {
| `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
9 | 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: annotate 'shared' 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
10 |
11 | private init() {
[8/8] Compiling SwiftLocaleKit LocaleKitLanguage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLocaleKit/SwiftLocaleKit.swift:9: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
6 | @available(swift 5.5)
7 | @available(macOS 10.15, iOS 12, watchOS 6, tvOS 13, *)
8 | public final class LocaleKit {
| `- note: class 'LocaleKit' does not conform to the 'Sendable' protocol
9 | 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: annotate 'shared' 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
10 |
11 | private init() {
Build complete! (8.27s)
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.