Build Information
Successful build of XibLoc, reference main (575dfa
), with Swift 6.1 for Linux on 27 Apr 2025 15:25:50 UTC.
Swift 6 data race errors: 6
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/happn-app/XibLoc.git
Reference: main
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/happn-app/XibLoc
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 575dfae Relax the tokens validation
Cloned https://github.com/happn-app/XibLoc.git
Revision (git rev-parse @):
575dfaef781b378e84be0144bae4a4ccb9f45a5e
SUCCESS checkout https://github.com/happn-app/XibLoc.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/happn-app/XibLoc.git
https://github.com/happn-app/XibLoc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "XibLoc",
"name" : "XibLoc",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "XibLoc",
"targets" : [
"XibLoc"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XibLocTests",
"module_type" : "SwiftTarget",
"name" : "XibLocTests",
"path" : "Tests/XibLocTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/XibLocTests/Helpers/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"AttrStrTests.swift",
"AttributedStringUtilsTests.swift",
"Helpers/PluralityDefinition+Utils.swift",
"Helpers/Utils.swift",
"Helpers/XibLoc4ObjCHelper.swift",
"PluralityTests.swift",
"XibLocResolvingInfoTests.swift",
"XibLocTestsSwiftAttrStr.swift",
"XibLocTestsSwiftNSAttrStr.swift",
"XibLocTestsSwiftStr.swift"
],
"target_dependencies" : [
"XibLoc"
],
"type" : "test"
},
{
"c99name" : "XibLoc",
"module_type" : "SwiftTarget",
"name" : "XibLoc",
"path" : "Sources/XibLoc",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"XibLoc"
],
"sources" : [
"Cache/CacheLock.swift",
"Cache/ParsedXibLoc+InitCache.swift",
"Cache/XibLocParsingInfo.swift",
"Parser/ParsedXibLoc.swift",
"Parser/ParserHelper+AttributedString.swift",
"Parser/ParserHelper+NSMutableAttributedString.swift",
"Parser/ParserHelper+String.swift",
"Parser/ParserHelper.swift",
"Plurality/PluralValue.swift",
"Plurality/PluralityDefinition.swift",
"Plurality/PluralityDefinitionZone.swift",
"Plurality/PluralityDefinitionZoneValue.swift",
"Plurality/PluralityDefinitionZoneValueGlob.swift",
"Plurality/PluralityDefinitionZoneValueIntervalOfFloats.swift",
"Plurality/PluralityDefinitionZoneValueIntervalOfInts.swift",
"Plurality/PluralityDefinitionZoneValueNumber.swift",
"Resolving Info/MultipleWordsTokens.swift",
"Resolving Info/OneWordTokens.swift",
"Resolving Info/Str2AttrStrXibLocInfo.swift",
"Resolving Info/Str2NSAttrStrXibLocInfo.swift",
"Resolving Info/Str2StrXibLocInfo.swift",
"Resolving Info/Tokens Group/CommonTokensGroup.swift",
"Resolving Info/Tokens Group/CommonTokensGroup_Linux.swift",
"Resolving Info/Tokens Group/TokensGroup.swift",
"Resolving Info/XibLocResolvingInfo.swift",
"Utilities/AttributedString+Utils.swift",
"Utilities/Collection+Utils.swift",
"Utilities/NSMutableAttributedString+Utils.swift",
"Utilities/NumberFormatter+Utils.swift",
"Utilities/RandomAccessCollection+StableSort.swift",
"Utilities/Range+Utils.swift",
"Utilities/Scanner+LinuxCompat.swift",
"Utilities/StringAttributesChangesDescription.swift",
"Utilities/XibLocFont.swift",
"Utilities/XibLocNumber.swift",
"XibLoc.swift",
"XibLocConfig.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.94s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling Logging Logging.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Locks.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging MetadataProvider.swift
[10/43] Emitting module XibLoc
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | public static var oslog: OSLog? = .default
46 | #endif
47 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:56:20: warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | }()
55 |
56 | public static var defaultNumberFormatterForInts: NumberFormatter = {
| |- warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultNumberFormatterForInts' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultNumberFormatterForInts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | let f = NumberFormatter()
58 | f.numberStyle = .none
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:62:20: warning: static property 'defaultNumberFormatterForFloats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | }()
61 |
62 | public static var defaultNumberFormatterForFloats: NumberFormatter = {
| |- warning: static property 'defaultNumberFormatterForFloats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultNumberFormatterForFloats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultNumberFormatterForFloats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | let f = NumberFormatter()
64 | f.numberStyle = .decimal
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | public static var defaultEscapeToken: String? = "~"
| |- warning: static property 'defaultEscapeToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultEscapeToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultEscapeToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static var defaultPluralityDefinition = PluralityDefinition(matchingNothing: ())
70 |
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:69:20: warning: static property 'defaultPluralityDefinition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public static var defaultEscapeToken: String? = "~"
69 | public static var defaultPluralityDefinition = PluralityDefinition(matchingNothing: ())
| |- warning: static property 'defaultPluralityDefinition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultPluralityDefinition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultPluralityDefinition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:87:20: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | - Important: Do **not** modify the objects in this cache. The property should
86 | only be modified if needed when your app starts, to customize the cache. */
87 | public static var cache: NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>? = {
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
[11/47] Compiling XibLoc PluralityDefinitionZoneValueNumber.swift
[12/47] Compiling XibLoc MultipleWordsTokens.swift
[13/47] Compiling XibLoc OneWordTokens.swift
[14/47] Compiling XibLoc Str2AttrStrXibLocInfo.swift
[15/47] Compiling XibLoc Str2NSAttrStrXibLocInfo.swift
[16/47] Compiling XibLoc XibLocFont.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | public static var oslog: OSLog? = .default
46 | #endif
47 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:56:20: warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | }()
55 |
56 | public static var defaultNumberFormatterForInts: NumberFormatter = {
| |- warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultNumberFormatterForInts' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultNumberFormatterForInts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | let f = NumberFormatter()
58 | f.numberStyle = .none
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:62:20: warning: static property 'defaultNumberFormatterForFloats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | }()
61 |
62 | public static var defaultNumberFormatterForFloats: NumberFormatter = {
| |- warning: static property 'defaultNumberFormatterForFloats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultNumberFormatterForFloats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultNumberFormatterForFloats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | let f = NumberFormatter()
64 | f.numberStyle = .decimal
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | public static var defaultEscapeToken: String? = "~"
| |- warning: static property 'defaultEscapeToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultEscapeToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultEscapeToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static var defaultPluralityDefinition = PluralityDefinition(matchingNothing: ())
70 |
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:69:20: warning: static property 'defaultPluralityDefinition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public static var defaultEscapeToken: String? = "~"
69 | public static var defaultPluralityDefinition = PluralityDefinition(matchingNothing: ())
| |- warning: static property 'defaultPluralityDefinition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultPluralityDefinition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultPluralityDefinition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:87:20: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | - Important: Do **not** modify the objects in this cache. The property should
86 | only be modified if needed when your app starts, to customize the cache. */
87 | public static var cache: NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>? = {
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
[17/47] Compiling XibLoc XibLocNumber.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | public static var oslog: OSLog? = .default
46 | #endif
47 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:56:20: warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | }()
55 |
56 | public static var defaultNumberFormatterForInts: NumberFormatter = {
| |- warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultNumberFormatterForInts' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultNumberFormatterForInts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | let f = NumberFormatter()
58 | f.numberStyle = .none
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:62:20: warning: static property 'defaultNumberFormatterForFloats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | }()
61 |
62 | public static var defaultNumberFormatterForFloats: NumberFormatter = {
| |- warning: static property 'defaultNumberFormatterForFloats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultNumberFormatterForFloats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultNumberFormatterForFloats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | let f = NumberFormatter()
64 | f.numberStyle = .decimal
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | public static var defaultEscapeToken: String? = "~"
| |- warning: static property 'defaultEscapeToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultEscapeToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultEscapeToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static var defaultPluralityDefinition = PluralityDefinition(matchingNothing: ())
70 |
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:69:20: warning: static property 'defaultPluralityDefinition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public static var defaultEscapeToken: String? = "~"
69 | public static var defaultPluralityDefinition = PluralityDefinition(matchingNothing: ())
| |- warning: static property 'defaultPluralityDefinition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultPluralityDefinition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultPluralityDefinition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:87:20: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | - Important: Do **not** modify the objects in this cache. The property should
86 | only be modified if needed when your app starts, to customize the cache. */
87 | public static var cache: NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>? = {
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
[18/47] Compiling XibLoc XibLoc.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | public static var oslog: OSLog? = .default
46 | #endif
47 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:56:20: warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | }()
55 |
56 | public static var defaultNumberFormatterForInts: NumberFormatter = {
| |- warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultNumberFormatterForInts' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultNumberFormatterForInts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | let f = NumberFormatter()
58 | f.numberStyle = .none
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:62:20: warning: static property 'defaultNumberFormatterForFloats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | }()
61 |
62 | public static var defaultNumberFormatterForFloats: NumberFormatter = {
| |- warning: static property 'defaultNumberFormatterForFloats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultNumberFormatterForFloats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultNumberFormatterForFloats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | let f = NumberFormatter()
64 | f.numberStyle = .decimal
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | public static var defaultEscapeToken: String? = "~"
| |- warning: static property 'defaultEscapeToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultEscapeToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultEscapeToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static var defaultPluralityDefinition = PluralityDefinition(matchingNothing: ())
70 |
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:69:20: warning: static property 'defaultPluralityDefinition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public static var defaultEscapeToken: String? = "~"
69 | public static var defaultPluralityDefinition = PluralityDefinition(matchingNothing: ())
| |- warning: static property 'defaultPluralityDefinition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultPluralityDefinition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultPluralityDefinition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:87:20: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | - Important: Do **not** modify the objects in this cache. The property should
86 | only be modified if needed when your app starts, to customize the cache. */
87 | public static var cache: NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>? = {
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
[19/47] Compiling XibLoc XibLocConfig.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | public static var oslog: OSLog? = .default
46 | #endif
47 | public static var logger: Logging.Logger? = {
| |- warning: static property 'logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:56:20: warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | }()
55 |
56 | public static var defaultNumberFormatterForInts: NumberFormatter = {
| |- warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultNumberFormatterForInts' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultNumberFormatterForInts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | let f = NumberFormatter()
58 | f.numberStyle = .none
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:62:20: warning: static property 'defaultNumberFormatterForFloats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 | }()
61 |
62 | public static var defaultNumberFormatterForFloats: NumberFormatter = {
| |- warning: static property 'defaultNumberFormatterForFloats' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultNumberFormatterForFloats' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultNumberFormatterForFloats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | let f = NumberFormatter()
64 | f.numberStyle = .decimal
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | }()
67 |
68 | public static var defaultEscapeToken: String? = "~"
| |- warning: static property 'defaultEscapeToken' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultEscapeToken' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultEscapeToken' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static var defaultPluralityDefinition = PluralityDefinition(matchingNothing: ())
70 |
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:69:20: warning: static property 'defaultPluralityDefinition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 | public static var defaultEscapeToken: String? = "~"
69 | public static var defaultPluralityDefinition = PluralityDefinition(matchingNothing: ())
| |- warning: static property 'defaultPluralityDefinition' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultPluralityDefinition' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultPluralityDefinition' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:87:20: warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
85 | - Important: Do **not** modify the objects in this cache. The property should
86 | only be modified if needed when your app starts, to customize the cache. */
87 | public static var cache: NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>? = {
| |- warning: static property 'cache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
[20/47] Compiling XibLoc PluralityDefinitionZone.swift
[21/47] Compiling XibLoc PluralityDefinitionZoneValue.swift
[22/47] Compiling XibLoc PluralityDefinitionZoneValueGlob.swift
[23/47] Compiling XibLoc PluralityDefinitionZoneValueIntervalOfFloats.swift
[24/47] Compiling XibLoc PluralityDefinitionZoneValueIntervalOfInts.swift
[25/47] Compiling XibLoc CacheLock.swift
/host/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:415:10: warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
413 |
414 | #if !USE_UTF16_OFFSETS
415 | #warning("I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.")
| `- warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
416 | /* With this version of the algorithm we play it safe and re-compute the ranges by searching for partial strings from the original string in the new string.
417 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[26/47] Compiling XibLoc ParsedXibLoc+InitCache.swift
/host/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:415:10: warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
413 |
414 | #if !USE_UTF16_OFFSETS
415 | #warning("I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.")
| `- warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
416 | /* With this version of the algorithm we play it safe and re-compute the ranges by searching for partial strings from the original string in the new string.
417 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[27/47] Compiling XibLoc XibLocParsingInfo.swift
/host/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:415:10: warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
413 |
414 | #if !USE_UTF16_OFFSETS
415 | #warning("I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.")
| `- warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
416 | /* With this version of the algorithm we play it safe and re-compute the ranges by searching for partial strings from the original string in the new string.
417 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[28/47] Compiling XibLoc ParsedXibLoc.swift
/host/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:415:10: warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
413 |
414 | #if !USE_UTF16_OFFSETS
415 | #warning("I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.")
| `- warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
416 | /* With this version of the algorithm we play it safe and re-compute the ranges by searching for partial strings from the original string in the new string.
417 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[29/47] Compiling XibLoc ParserHelper+AttributedString.swift
/host/spi-builder-workspace/Sources/XibLoc/Parser/ParsedXibLoc.swift:415:10: warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
413 |
414 | #if !USE_UTF16_OFFSETS
415 | #warning("I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.")
| `- warning: I’m pretty sure the adjustment can be done using another algo (basically the same as the one in remove(escapeToken...)). Note there might be other places where we could update the algo too.
416 | /* With this version of the algorithm we play it safe and re-compute the ranges by searching for partial strings from the original string in the new string.
417 | * This has a small performance impact on some ObjC strings, but in most of the cases it’s completely negligible. */
[30/47] Compiling XibLoc RandomAccessCollection+StableSort.swift
[31/47] Compiling XibLoc Range+Utils.swift
[32/47] Compiling XibLoc Scanner+LinuxCompat.swift
[33/47] Compiling XibLoc StringAttributesChangesDescription.swift
[34/47] Compiling XibLoc AttributedString+Utils.swift
[35/47] Compiling XibLoc Collection+Utils.swift
[36/47] Compiling XibLoc NSMutableAttributedString+Utils.swift
[37/47] Compiling XibLoc NumberFormatter+Utils.swift
[38/47] Compiling XibLoc Str2StrXibLocInfo.swift
[39/47] Compiling XibLoc CommonTokensGroup.swift
[40/47] Compiling XibLoc CommonTokensGroup_Linux.swift
[41/47] Compiling XibLoc TokensGroup.swift
[42/47] Compiling XibLoc XibLocResolvingInfo.swift
[43/47] Compiling XibLoc ParserHelper+NSMutableAttributedString.swift
[44/47] Compiling XibLoc ParserHelper+String.swift
[45/47] Compiling XibLoc ParserHelper.swift
[46/47] Compiling XibLoc PluralValue.swift
[47/47] Compiling XibLoc PluralityDefinition.swift
Build complete! (10.94s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "XibLoc",
"name" : "XibLoc",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "XibLoc",
"targets" : [
"XibLoc"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XibLocTests",
"module_type" : "SwiftTarget",
"name" : "XibLocTests",
"path" : "Tests/XibLocTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/XibLocTests/Helpers/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
}
],
"sources" : [
"AttrStrTests.swift",
"AttributedStringUtilsTests.swift",
"Helpers/PluralityDefinition+Utils.swift",
"Helpers/Utils.swift",
"Helpers/XibLoc4ObjCHelper.swift",
"PluralityTests.swift",
"XibLocResolvingInfoTests.swift",
"XibLocTestsSwiftAttrStr.swift",
"XibLocTestsSwiftNSAttrStr.swift",
"XibLocTestsSwiftStr.swift"
],
"target_dependencies" : [
"XibLoc"
],
"type" : "test"
},
{
"c99name" : "XibLoc",
"module_type" : "SwiftTarget",
"name" : "XibLoc",
"path" : "Sources/XibLoc",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"XibLoc"
],
"sources" : [
"Cache/CacheLock.swift",
"Cache/ParsedXibLoc+InitCache.swift",
"Cache/XibLocParsingInfo.swift",
"Parser/ParsedXibLoc.swift",
"Parser/ParserHelper+AttributedString.swift",
"Parser/ParserHelper+NSMutableAttributedString.swift",
"Parser/ParserHelper+String.swift",
"Parser/ParserHelper.swift",
"Plurality/PluralValue.swift",
"Plurality/PluralityDefinition.swift",
"Plurality/PluralityDefinitionZone.swift",
"Plurality/PluralityDefinitionZoneValue.swift",
"Plurality/PluralityDefinitionZoneValueGlob.swift",
"Plurality/PluralityDefinitionZoneValueIntervalOfFloats.swift",
"Plurality/PluralityDefinitionZoneValueIntervalOfInts.swift",
"Plurality/PluralityDefinitionZoneValueNumber.swift",
"Resolving Info/MultipleWordsTokens.swift",
"Resolving Info/OneWordTokens.swift",
"Resolving Info/Str2AttrStrXibLocInfo.swift",
"Resolving Info/Str2NSAttrStrXibLocInfo.swift",
"Resolving Info/Str2StrXibLocInfo.swift",
"Resolving Info/Tokens Group/CommonTokensGroup.swift",
"Resolving Info/Tokens Group/CommonTokensGroup_Linux.swift",
"Resolving Info/Tokens Group/TokensGroup.swift",
"Resolving Info/XibLocResolvingInfo.swift",
"Utilities/AttributedString+Utils.swift",
"Utilities/Collection+Utils.swift",
"Utilities/NSMutableAttributedString+Utils.swift",
"Utilities/NumberFormatter+Utils.swift",
"Utilities/RandomAccessCollection+StableSort.swift",
"Utilities/Range+Utils.swift",
"Utilities/Scanner+LinuxCompat.swift",
"Utilities/StringAttributesChangesDescription.swift",
"Utilities/XibLocFont.swift",
"Utilities/XibLocNumber.swift",
"XibLoc.swift",
"XibLocConfig.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.