Build Information
Successful build of ISO639, reference master (92cb77
), with Swift 6.0 for Linux on 2 Nov 2024 10:44:30 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageRepository/ISO639.swift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/SwiftPackageRepository/ISO639.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/ISO639/Resources/Localizable.strings
Building for debugging...
[0/22] Write sources
[1/22] Copying Localizable.strings
[19/22] Copying Info.plist
[19/22] Copying Localizable.strings
[21/22] Write swift-version-24593BA9C3E375BF.txt
[23/38] Emitting module ISO639
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated 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 nonisolated 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 | }
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated 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 nonisolated 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/40] Compiling ISO639 LocaleHelper.swift
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated 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 nonisolated 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 | }
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated 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 nonisolated 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/40] Compiling ISO639 String+Extensions.swift
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated 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 nonisolated 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 | }
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated 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 nonisolated 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 |
[26/40] Compiling ISO639 LanguageArray+Extensions.swift
[27/40] Compiling ISO639 LanguageSymbols+Characters.swift
[28/40] Compiling ISO639 JapaneseLanguageSymbols.swift
[29/40] Compiling ISO639 LetterCase.swift
[30/40] Compiling ISO639 LanguageSymbols.swift
[31/40] Compiling ISO639 ChineseLanguageSymbols.swift
[32/40] Compiling ISO639 Language+Extensions.swift
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated 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 nonisolated 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 | }
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated 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 nonisolated 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 Language.swift
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:11:23: warning: static property 'currentLanguageCode' is not concurrency-safe because it is nonisolated 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 nonisolated 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 | }
/host/spi-builder-workspace/Sources/ISO639/LocaleHelper.swift:12:23: warning: static property 'preferredLanguageCodes' is not concurrency-safe because it is nonisolated 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 nonisolated 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 |
[34/40] Compiling ISO639 WritingSystem.swift
[35/40] Compiling ISO639 resource_bundle_accessor.swift
[36/40] Compiling ISO639 Character+Extensions.swift
[37/40] Compiling ISO639 CharacterArray+Extensions.swift
[38/40] Compiling ISO639 ISO639Alpha1.swift
[39/40] Compiling ISO639 ISO639Alpha2.swift
[40/40] Compiling ISO639 Language+All.swift
Build complete! (11.60s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "ISO639",
"name" : "ISO639",
"path" : "/host/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" : "/host/spi-builder-workspace/Sources/ISO639/Resources/bg.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "bg"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/cs.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "cs"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/da.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "da"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/de.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "de"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/el.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "el"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/es.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "es"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/fi.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "fi"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/fr.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "fr"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/it.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "it"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/ja.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ja"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/lv.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "lv"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/nl.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/pl.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "pl"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/pt.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "pt"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/ro.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ro"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/ru.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ru"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ISO639/Resources/uk.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "uk"
}
}
},
{
"path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.