Build Information
Successful build of EmbeddedStringsKit, reference main (20a1e3
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 18:51:06 UTC.
Swift 6 data race errors: 2
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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/EmbeddedStringsKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/EmbeddedStringsKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 20a1e37 { } (#1)
Cloned https://github.com/FluidGroup/EmbeddedStringsKit.git
Revision (git rev-parse @):
20a1e370cd3bc55be3a3743a9b9295811970d6b8
SUCCESS checkout https://github.com/FluidGroup/EmbeddedStringsKit.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": "embeddedstringskit",
"name": "EmbeddedStringsKit",
"url": "https://github.com/FluidGroup/EmbeddedStringsKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EmbeddedStringsKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/FluidGroup/EmbeddedStringsKit.git
[1/44] Fetching embeddedstringskit
Fetched https://github.com/FluidGroup/EmbeddedStringsKit.git from cache (0.61s)
Creating working copy for https://github.com/FluidGroup/EmbeddedStringsKit.git
Working copy of https://github.com/FluidGroup/EmbeddedStringsKit.git resolved at main (20a1e37)
warning: '.resolve-product-dependencies': dependency 'embeddedstringskit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/FluidGroup/EmbeddedStringsKit.git
https://github.com/FluidGroup/EmbeddedStringsKit.git
{
"dependencies" : [
],
"manifest_display_name" : "EmbeddedStringsKit",
"name" : "EmbeddedStringsKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "EmbeddedStringsKit",
"targets" : [
"EmbeddedStringsKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EmbeddedStringsKitTests",
"module_type" : "SwiftTarget",
"name" : "EmbeddedStringsKitTests",
"path" : "Tests/EmbeddedStringsKitTests",
"sources" : [
"EmbeddedStringsKitTests.swift"
],
"target_dependencies" : [
"EmbeddedStringsKit"
],
"type" : "test"
},
{
"c99name" : "EmbeddedStringsKit",
"module_type" : "SwiftTarget",
"name" : "EmbeddedStringsKit",
"path" : "Sources/EmbeddedStringsKit",
"product_memberships" : [
"EmbeddedStringsKit"
],
"sources" : [
"EmbeddedStringsKit.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Emitting module EmbeddedStringsKit
/Users/admin/builder/spi-builder-workspace/Sources/EmbeddedStringsKit/EmbeddedStringsKit.swift:43:21: warning: static property 'ja' is not concurrency-safe because non-'Sendable' type 'LocalizedStringsLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | public struct LocalizedStringsLanguage: Hashable {
| `- note: consider making struct 'LocalizedStringsLanguage' conform to the 'Sendable' protocol
34 |
35 | public let identifier: String
:
41 | }
42 |
43 | public static let ja = Self.init(identifier: "ja")
| |- warning: static property 'ja' is not concurrency-safe because non-'Sendable' type 'LocalizedStringsLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ja' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let en = Self.init(identifier: "en")
45 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbeddedStringsKit/EmbeddedStringsKit.swift:44:21: warning: static property 'en' is not concurrency-safe because non-'Sendable' type 'LocalizedStringsLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | public struct LocalizedStringsLanguage: Hashable {
| `- note: consider making struct 'LocalizedStringsLanguage' conform to the 'Sendable' protocol
34 |
35 | public let identifier: String
:
42 |
43 | public static let ja = Self.init(identifier: "ja")
44 | public static let en = Self.init(identifier: "en")
| |- warning: static property 'en' is not concurrency-safe because non-'Sendable' type 'LocalizedStringsLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'en' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | }
[4/4] Compiling EmbeddedStringsKit EmbeddedStringsKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbeddedStringsKit/EmbeddedStringsKit.swift:43:21: warning: static property 'ja' is not concurrency-safe because non-'Sendable' type 'LocalizedStringsLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | public struct LocalizedStringsLanguage: Hashable {
| `- note: consider making struct 'LocalizedStringsLanguage' conform to the 'Sendable' protocol
34 |
35 | public let identifier: String
:
41 | }
42 |
43 | public static let ja = Self.init(identifier: "ja")
| |- warning: static property 'ja' is not concurrency-safe because non-'Sendable' type 'LocalizedStringsLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ja' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let en = Self.init(identifier: "en")
45 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbeddedStringsKit/EmbeddedStringsKit.swift:44:21: warning: static property 'en' is not concurrency-safe because non-'Sendable' type 'LocalizedStringsLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | public struct LocalizedStringsLanguage: Hashable {
| `- note: consider making struct 'LocalizedStringsLanguage' conform to the 'Sendable' protocol
34 |
35 | public let identifier: String
:
42 |
43 | public static let ja = Self.init(identifier: "ja")
44 | public static let en = Self.init(identifier: "en")
| |- warning: static property 'en' is not concurrency-safe because non-'Sendable' type 'LocalizedStringsLanguage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'en' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | }
Build complete! (4.48s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "EmbeddedStringsKit",
"name" : "EmbeddedStringsKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "EmbeddedStringsKit",
"targets" : [
"EmbeddedStringsKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EmbeddedStringsKitTests",
"module_type" : "SwiftTarget",
"name" : "EmbeddedStringsKitTests",
"path" : "Tests/EmbeddedStringsKitTests",
"sources" : [
"EmbeddedStringsKitTests.swift"
],
"target_dependencies" : [
"EmbeddedStringsKit"
],
"type" : "test"
},
{
"c99name" : "EmbeddedStringsKit",
"module_type" : "SwiftTarget",
"name" : "EmbeddedStringsKit",
"path" : "Sources/EmbeddedStringsKit",
"product_memberships" : [
"EmbeddedStringsKit"
],
"sources" : [
"EmbeddedStringsKit.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.