Build Information
Successful build of LocaleSupport, reference main (c2dc01
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 10:07:11 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/LocaleSupport.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/LocaleSupport
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c2dc014 LocalizedStringConvertible (#10)
Cloned https://github.com/richardpiazza/LocaleSupport.git
Revision (git rev-parse @):
c2dc014d8ae8befc54a79f34dce7d23f3d6bef91
SUCCESS checkout https://github.com/richardpiazza/LocaleSupport.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": "localesupport",
"name": "LocaleSupport",
"url": "https://github.com/richardpiazza/LocaleSupport.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LocaleSupport",
"dependencies": [
]
}
]
}
Fetching https://github.com/richardpiazza/LocaleSupport.git
[1/686] Fetching localesupport
Fetched https://github.com/richardpiazza/LocaleSupport.git from cache (0.87s)
Creating working copy for https://github.com/richardpiazza/LocaleSupport.git
Working copy of https://github.com/richardpiazza/LocaleSupport.git resolved at main (c2dc014)
warning: '.resolve-product-dependencies': dependency 'localesupport' 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/richardpiazza/LocaleSupport.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling LocaleSupport ScriptCode.swift
[4/9] Compiling LocaleSupport RegionCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/RegionCode.swift:262:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
260 | case ZW
261 |
262 | public static var `default`: Self = .US
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
263 | }
264 |
[5/9] Compiling LocaleSupport LocaleSupportConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LocaleSupportConfiguration.swift:7:23: warning: static property 'defaultIndicators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Characters that will be prepended/appended to any default `LocalizedStringConvertible` implementation.
7 | public static var defaultIndicators: (prefix: Character, suffix: Character)?
| |- warning: static property 'defaultIndicators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultIndicators' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultIndicators' 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
8 | }
9 |
[6/9] Compiling LocaleSupport Locale+LocaleSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/Locale+LocaleSupport.swift:100:1: warning: extension declares a conformance of imported type 'Locale' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
98 | }
99 |
100 | extension Locale: Identifiable {
| |- warning: extension declares a conformance of imported type 'Locale' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
101 | public var id: String { identifier }
102 | }
[7/9] Compiling LocaleSupport LanguageCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LanguageCode.swift:602:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
600 | case zza
601 |
602 | public static var `default`: Self = .en
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
603 | }
604 |
[8/9] Compiling LocaleSupport LocalizedStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LocaleSupportConfiguration.swift:7:23: warning: static property 'defaultIndicators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Characters that will be prepended/appended to any default `LocalizedStringConvertible` implementation.
7 | public static var defaultIndicators: (prefix: Character, suffix: Character)?
| |- warning: static property 'defaultIndicators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultIndicators' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultIndicators' 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
8 | }
9 |
[9/9] Emitting module LocaleSupport
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LanguageCode.swift:602:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
600 | case zza
601 |
602 | public static var `default`: Self = .en
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
603 | }
604 |
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/Locale+LocaleSupport.swift:100:1: warning: extension declares a conformance of imported type 'Locale' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
98 | }
99 |
100 | extension Locale: Identifiable {
| |- warning: extension declares a conformance of imported type 'Locale' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
101 | public var id: String { identifier }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/LocaleSupportConfiguration.swift:7:23: warning: static property 'defaultIndicators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Characters that will be prepended/appended to any default `LocalizedStringConvertible` implementation.
7 | public static var defaultIndicators: (prefix: Character, suffix: Character)?
| |- warning: static property 'defaultIndicators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultIndicators' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultIndicators' 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
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/LocaleSupport/RegionCode.swift:262:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
260 | case ZW
261 |
262 | public static var `default`: Self = .US
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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
263 | }
264 |
Build complete! (8.13s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "LocaleSupport",
"name" : "LocaleSupport",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "LocaleSupport",
"targets" : [
"LocaleSupport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "LocaleSupportTests",
"module_type" : "SwiftTarget",
"name" : "LocaleSupportTests",
"path" : "Tests/LocaleSupportTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/LocaleSupportTests/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"LocalizedStringConvertibleTests.swift",
"LocalizedStrings.swift"
],
"target_dependencies" : [
"LocaleSupport"
],
"type" : "test"
},
{
"c99name" : "LocaleSupport",
"module_type" : "SwiftTarget",
"name" : "LocaleSupport",
"path" : "Sources/LocaleSupport",
"product_memberships" : [
"LocaleSupport"
],
"sources" : [
"LanguageCode.swift",
"Locale+LocaleSupport.swift",
"LocaleSupportConfiguration.swift",
"LocalizedStringConvertible.swift",
"RegionCode.swift",
"ScriptCode.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.