Build Information
Successful build of Localizer, reference master (a87d97
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 15:18:40 UTC.
Swift 6 data race errors: 1
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/mihaelisaev/Localizer.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mihaelisaev/Localizer
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a87d971 Update README.md
Cloned https://github.com/mihaelisaev/Localizer.git
Revision (git rev-parse @):
a87d971d0e5421d30cb89b5ac7411714a11e47ae
SUCCESS checkout https://github.com/mihaelisaev/Localizer.git at master
========================================
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": "localizer",
"name": "Localizer",
"url": "https://github.com/mihaelisaev/Localizer.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Localizer",
"dependencies": [
]
}
]
}
Fetching https://github.com/mihaelisaev/Localizer.git
[1/46] Fetching localizer
Fetched https://github.com/mihaelisaev/Localizer.git from cache (0.59s)
Creating working copy for https://github.com/mihaelisaev/Localizer.git
Working copy of https://github.com/mihaelisaev/Localizer.git resolved at master (a87d971)
warning: '.resolve-product-dependencies': dependency 'localizer' 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/mihaelisaev/Localizer.git
https://github.com/mihaelisaev/Localizer.git
{
"dependencies" : [
],
"manifest_display_name" : "Localizer",
"name" : "Localizer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Localizer",
"targets" : [
"Localizer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LocalizerTests",
"module_type" : "SwiftTarget",
"name" : "LocalizerTests",
"path" : "Tests/LocalizerTests",
"sources" : [
"LocalizerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Localizer"
],
"type" : "test"
},
{
"c99name" : "Localizer",
"module_type" : "SwiftTarget",
"name" : "Localizer",
"path" : "Classes",
"product_memberships" : [
"Localizer"
],
"sources" : [
"Language.swift",
"Localizable.swift",
"LocalizedString.swift",
"Localizer.swift",
"String+LocalizedString.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
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] Compiling Localizer Localizer.swift
/Users/admin/builder/spi-builder-workspace/Classes/Localizer.swift:3:13: warning: var 'localizer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | private var localizer = Localizer()
| |- warning: var 'localizer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localizer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'localizer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | public final class Localizer: Localizable {
[4/8] Compiling Localizer String+LocalizedString.swift
[5/8] Compiling Localizer LocalizedString.swift
[6/8] Emitting module Localizer
/Users/admin/builder/spi-builder-workspace/Classes/Localizer.swift:3:13: warning: var 'localizer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | private var localizer = Localizer()
| |- warning: var 'localizer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localizer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'localizer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | public final class Localizer: Localizable {
[7/8] Compiling Localizer Language.swift
[8/8] Compiling Localizer Localizable.swift
Build complete! (4.19s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Localizer",
"name" : "Localizer",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Localizer",
"targets" : [
"Localizer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LocalizerTests",
"module_type" : "SwiftTarget",
"name" : "LocalizerTests",
"path" : "Tests/LocalizerTests",
"sources" : [
"LocalizerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Localizer"
],
"type" : "test"
},
{
"c99name" : "Localizer",
"module_type" : "SwiftTarget",
"name" : "Localizer",
"path" : "Classes",
"product_memberships" : [
"Localizer"
],
"sources" : [
"Language.swift",
"Localizable.swift",
"LocalizedString.swift",
"Localizer.swift",
"String+LocalizedString.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.