Build Information
Successful build of XibLoc with Swift 6.0 for Linux.
Swift 6 data race errors: 7
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.40.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.0
Building package at path: $workDir
https://github.com/happn-app/XibLoc.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
Fetching https://github.com/apple/swift-log.git
[1/3361] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.31s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.42s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.4
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling Logging LogHandler.swift
[5/7] Emitting module Logging
[6/7] Compiling Logging Locks.swift
[7/7] Compiling Logging Logging.swift
[9/42] Emitting module XibLoc
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:22:13: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| `- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
1 | open class NSLock : NSObject, NSLocking {
| `- note: class 'NSLock' does not conform to the 'Sendable' protocol
2 | override public init()
3 | deinit
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
14 | limitations under the License. */
15 |
16 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
17 |
18 |
:
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| |- note: annotate 'lock' 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
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultEscapeToken' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultPluralityDefinition' 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
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:56:20: warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultNumberFormatterForInts' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultNumberFormatterForFloats' 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
63 | let f = NumberFormatter()
64 | f.numberStyle = .decimal
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
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:87:20: warning: static property 'cache' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'cache' 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
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
[10/42] Compiling XibLoc CacheLock.swift
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:22:13: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| `- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
1 | open class NSLock : NSObject, NSLocking {
| `- note: class 'NSLock' does not conform to the 'Sendable' protocol
2 | override public init()
3 | deinit
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
14 | limitations under the License. */
15 |
16 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
17 |
18 |
:
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| |- note: annotate 'lock' 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
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:87:20: warning: static property 'cache' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'cache' 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
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
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/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. */
[11/42] Compiling XibLoc ParsedXibLoc+InitCache.swift
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:22:13: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| `- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
1 | open class NSLock : NSObject, NSLocking {
| `- note: class 'NSLock' does not conform to the 'Sendable' protocol
2 | override public init()
3 | deinit
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
14 | limitations under the License. */
15 |
16 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
17 |
18 |
:
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| |- note: annotate 'lock' 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
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:87:20: warning: static property 'cache' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'cache' 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
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
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/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. */
[12/42] Compiling XibLoc XibLocParsingInfo.swift
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:22:13: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| `- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
1 | open class NSLock : NSObject, NSLocking {
| `- note: class 'NSLock' does not conform to the 'Sendable' protocol
2 | override public init()
3 | deinit
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
14 | limitations under the License. */
15 |
16 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
17 |
18 |
:
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| |- note: annotate 'lock' 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
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:87:20: warning: static property 'cache' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'cache' 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
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
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/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. */
[13/42] Compiling XibLoc ParsedXibLoc.swift
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:22:13: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| `- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
1 | open class NSLock : NSObject, NSLocking {
| `- note: class 'NSLock' does not conform to the 'Sendable' protocol
2 | override public init()
3 | deinit
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
14 | limitations under the License. */
15 |
16 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
17 |
18 |
:
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| |- note: annotate 'lock' 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
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:87:20: warning: static property 'cache' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'cache' 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
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
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/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. */
[14/42] Compiling XibLoc ParserHelper+AttributedString.swift
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:22:13: warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| `- warning: static property 'lock' is not concurrency-safe because non-'Sendable' type 'NSLock' may have shared mutable state; this is an error in the Swift 6 language mode
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
Foundation.NSLock:1:12: note: class 'NSLock' does not conform to the 'Sendable' protocol
1 | open class NSLock : NSObject, NSLocking {
| `- note: class 'NSLock' does not conform to the 'Sendable' protocol
2 | override public init()
3 | deinit
/host/spi-builder-workspace/Sources/XibLoc/Cache/CacheLock.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
14 | limitations under the License. */
15 |
16 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
17 |
18 |
:
20 | struct CacheLock {
21 |
22 | static let lock: NSLock = {
| |- note: annotate 'lock' 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
23 | let l = NSLock()
24 | l.name = "com.happn.XibLoc.cache-lock"
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:87:20: warning: static property 'cache' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'cache' 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
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
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/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. */
[15/46] Compiling XibLoc XibLocFont.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:56:20: warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultNumberFormatterForInts' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultNumberFormatterForFloats' 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
63 | let f = NumberFormatter()
64 | f.numberStyle = .decimal
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
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:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultEscapeToken' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultPluralityDefinition' 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
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 non-isolated 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 non-isolated 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: annotate 'cache' 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
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
[16/46] Compiling XibLoc XibLocNumber.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:56:20: warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultNumberFormatterForInts' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultNumberFormatterForFloats' 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
63 | let f = NumberFormatter()
64 | f.numberStyle = .decimal
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
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:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultEscapeToken' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultPluralityDefinition' 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
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 non-isolated 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 non-isolated 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: annotate 'cache' 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
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
[17/46] Compiling XibLoc XibLoc.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:56:20: warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultNumberFormatterForInts' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultNumberFormatterForFloats' 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
63 | let f = NumberFormatter()
64 | f.numberStyle = .decimal
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
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:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultEscapeToken' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultPluralityDefinition' 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
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 non-isolated 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 non-isolated 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: annotate 'cache' 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
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
[18/46] Compiling XibLoc XibLocConfig.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:56:20: warning: static property 'defaultNumberFormatterForInts' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultNumberFormatterForInts' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultNumberFormatterForFloats' 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
63 | let f = NumberFormatter()
64 | f.numberStyle = .decimal
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
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:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultEscapeToken' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultPluralityDefinition' 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
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 non-isolated 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 non-isolated 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: annotate 'cache' 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
88 | let c = NSCache<ErasedParsedXibLocInitInfoWrapper, ParsedXibLocWrapper>()
89 | c.countLimit = 1500
[19/46] Compiling XibLoc PluralityDefinitionZone.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[20/46] Compiling XibLoc PluralityDefinitionZoneValue.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[21/46] Compiling XibLoc PluralityDefinitionZoneValueGlob.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[22/46] Compiling XibLoc PluralityDefinitionZoneValueIntervalOfFloats.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[23/46] Compiling XibLoc PluralityDefinitionZoneValueIntervalOfInts.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[24/46] Compiling XibLoc AttributedString+Utils.swift
[25/46] Compiling XibLoc Collection+Utils.swift
[26/46] Compiling XibLoc NSMutableAttributedString+Utils.swift
[27/46] Compiling XibLoc NumberFormatter+Utils.swift
[28/46] Compiling XibLoc PluralityDefinitionZoneValueNumber.swift
[29/46] Compiling XibLoc MultipleWordsTokens.swift
[30/46] Compiling XibLoc OneWordTokens.swift
[31/46] Compiling XibLoc Str2AttrStrXibLocInfo.swift
[32/46] Compiling XibLoc Str2NSAttrStrXibLocInfo.swift
[33/46] Compiling XibLoc Str2StrXibLocInfo.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultEscapeToken' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultPluralityDefinition' 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
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[34/46] Compiling XibLoc CommonTokensGroup.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultEscapeToken' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultPluralityDefinition' 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
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[35/46] Compiling XibLoc CommonTokensGroup_Linux.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultEscapeToken' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultPluralityDefinition' 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
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[36/46] Compiling XibLoc TokensGroup.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultEscapeToken' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultPluralityDefinition' 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
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[37/46] Compiling XibLoc XibLocResolvingInfo.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:68:20: warning: static property 'defaultEscapeToken' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'defaultEscapeToken' 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
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 non-isolated 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 non-isolated 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: annotate 'defaultPluralityDefinition' 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
70 |
71 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[38/46] Compiling XibLoc RandomAccessCollection+StableSort.swift
[39/46] Compiling XibLoc Range+Utils.swift
[40/46] Compiling XibLoc Scanner+LinuxCompat.swift
[41/46] Compiling XibLoc StringAttributesChangesDescription.swift
[42/46] Compiling XibLoc ParserHelper+NSMutableAttributedString.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[43/46] Compiling XibLoc ParserHelper+String.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[44/46] Compiling XibLoc ParserHelper.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[45/46] Compiling XibLoc PluralValue.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
[46/46] Compiling XibLoc PluralityDefinition.swift
/host/spi-builder-workspace/Sources/XibLoc/XibLocConfig.swift:47:20: warning: static property 'logger' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'logger' 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
48 | #if canImport(os)
49 | if #available(macOS 10.12, tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
Build complete! (12.29s)
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"
}
Done.