Build Information
Successful build of ISO639 with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageRepository/ISO639.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftPackageRepository/ISO639.swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 92cb77c added base ukraine
Cloned https://github.com/SwiftPackageRepository/ISO639.swift.git
Revision (git rev-parse @):
92cb77c9b0da6ec1d9ad5fd8043257c90ccc0a65
SUCCESS checkout https://github.com/SwiftPackageRepository/ISO639.swift.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/SwiftPackageRepository/ISO639.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/22] Copying Localizable.strings
[15/22] Copying Info.plist
[17/22] Copying Localizable.strings
[17/22] Write sources
[19/22] Copying Localizable.strings
[21/22] Write swift-version-6F35C1178C84523A.txt
[23/39] Compiling ISO639 LetterCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | internal struct LocaleHelper {
11 | public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
| |- warning: static property 'currentLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentLanguageCode' 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
12 | public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | internal struct LocaleHelper {
11 | public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
12 | public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
| |- warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'preferredLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'preferredLanguageCodes' 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
13 | }
14 |
[24/39] Compiling ISO639 LocaleHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | internal struct LocaleHelper {
11 | public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
| |- warning: static property 'currentLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentLanguageCode' 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
12 | public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | internal struct LocaleHelper {
11 | public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
12 | public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
| |- warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'preferredLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'preferredLanguageCodes' 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
13 | }
14 |
[25/39] Compiling ISO639 WritingSystem.swift
[26/40] Compiling ISO639 LanguageSymbols+Characters.swift
[27/40] Compiling ISO639 LanguageSymbols.swift
[28/40] Compiling ISO639 Language+All.swift
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | internal struct LocaleHelper {
11 | public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
| |- warning: static property 'currentLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentLanguageCode' 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
12 | public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | internal struct LocaleHelper {
11 | public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
12 | public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
| |- warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'preferredLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'preferredLanguageCodes' 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
13 | }
14 |
[29/40] Compiling ISO639 Language+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | internal struct LocaleHelper {
11 | public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
| |- warning: static property 'currentLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentLanguageCode' 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
12 | public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | internal struct LocaleHelper {
11 | public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
12 | public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
| |- warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'preferredLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'preferredLanguageCodes' 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
13 | }
14 |
[30/40] Compiling ISO639 Language.swift
[31/40] Compiling ISO639 LanguageArray+Extensions.swift
[32/40] Emitting module ISO639
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | internal struct LocaleHelper {
11 | public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
| |- warning: static property 'currentLanguageCode' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentLanguageCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentLanguageCode' 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
12 | public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | internal struct LocaleHelper {
11 | public static var currentLanguageCode: String? = Locale.current.languageCode?.cutLanguageCode()
12 | public static var preferredLanguageCodes: [String] = Locale.preferredLanguages.map { $0.cutLanguageCode() }
| |- warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'preferredLanguageCodes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'preferredLanguageCodes' 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
13 | }
14 |
[33/40] Compiling ISO639 ChineseLanguageSymbols.swift
[34/40] Compiling ISO639 JapaneseLanguageSymbols.swift
[35/40] Compiling ISO639 Character+Extensions.swift
[36/40] Compiling ISO639 CharacterArray+Extensions.swift
[37/40] Compiling ISO639 ISO639Alpha1.swift
[38/40] Compiling ISO639 ISO639Alpha2.swift
[39/40] Compiling ISO639 String+Extensions.swift
[40/40] Compiling ISO639 resource_bundle_accessor.swift
Build complete! (20.56s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/Localizable.strings
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "ISO639",
"name" : "ISO639",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "ISO639",
"targets" : [
"ISO639"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ISO639Tests",
"module_type" : "SwiftTarget",
"name" : "ISO639Tests",
"path" : "Tests/ISO639Tests",
"sources" : [
"GenerateResourcesTests.swift",
"LanguageCharactersTests.swift",
"LanguageTests.swift",
"String+ExtensionsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ISO639"
],
"type" : "test"
},
{
"c99name" : "ISO639",
"module_type" : "SwiftTarget",
"name" : "ISO639",
"path" : "Sources/ISO639",
"product_memberships" : [
"ISO639"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/fi.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "fi"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/ru.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ru"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/pl.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "pl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/es.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "es"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/uk.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "uk"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/it.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "it"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/da.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "da"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/pt.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "pt"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/ro.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ro"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/el.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "el"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/nl.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/de.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "de"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/fr.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "fr"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/ja.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ja"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/bg.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "bg"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/cs.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "cs"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/lv.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "lv"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/ISO639/Resources/zh.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "zh"
}
}
}
],
"sources" : [
"Character+Extensions.swift",
"CharacterArray+Extensions.swift",
"ISO639Alpha1.swift",
"ISO639Alpha2.swift",
"Language+All.swift",
"Language+Extensions.swift",
"Language.swift",
"LanguageArray+Extensions.swift",
"LanguageSymbols+Characters.swift",
"LanguageSymbols.swift",
"LanguageSymbols/ChineseLanguageSymbols.swift",
"LanguageSymbols/JapaneseLanguageSymbols.swift",
"LetterCase.swift",
"LocaleHelper.swift",
"String+Extensions.swift",
"WritingSystem.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.