Build Information
Successful build of BFKit, reference 6.0.1 (c8a6f1
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 09:00:13 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.60.2-13-gb0b1f23
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FabrizioBrancati/BFKit-Swift.git
Reference: 6.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FabrizioBrancati/BFKit-Swift
* tag 6.0.1 -> FETCH_HEAD
HEAD is now at c8a6f15 Fixing `swift_version` and bumping version to 6.0.1
Cloned https://github.com/FabrizioBrancati/BFKit-Swift.git
Revision (git rev-parse @):
c8a6f1584a6955387bd236581a127a55e8a4d6c1
SUCCESS checkout https://github.com/FabrizioBrancati/BFKit-Swift.git at 6.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "bfkit-swift",
"name": "BFKit",
"url": "https://github.com/FabrizioBrancati/BFKit-Swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BFKit-Swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/FabrizioBrancati/BFKit-Swift.git
[1/10228] Fetching bfkit-swift
Fetched https://github.com/FabrizioBrancati/BFKit-Swift.git from cache (1.74s)
Creating working copy for https://github.com/FabrizioBrancati/BFKit-Swift.git
Working copy of https://github.com/FabrizioBrancati/BFKit-Swift.git resolved at 6.0.1 (c8a6f15)
warning: '.resolve-product-dependencies': dependency 'bfkit-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/FabrizioBrancati/BFKit-Swift.git
https://github.com/FabrizioBrancati/BFKit-Swift.git
{
"dependencies" : [
],
"manifest_display_name" : "BFKit",
"name" : "BFKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "BFKit",
"targets" : [
"BFKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "BFKitTests",
"module_type" : "SwiftTarget",
"name" : "BFKitTests",
"path" : "Tests/BFKitTests",
"sources" : [
"Linux/BFKit/BFAppTests.swift",
"Linux/BFKit/BFDataStructuresTests.swift",
"Linux/BFKit/BFLogTests.swift",
"Linux/BFKit/BFPasswordTests.swift",
"Linux/Foundation/ArrayExtensionTests.swift",
"Linux/Foundation/CollectionExtensionTests.swift",
"Linux/Foundation/DataExtensionTests.swift",
"Linux/Foundation/DateExtensionTests.swift",
"Linux/Foundation/DictionaryExtensionTests.swift",
"Linux/Foundation/FileManagerExtensionTests.swift",
"Linux/Foundation/NSObjectExtensionTests.swift",
"Linux/Foundation/NumberExtensionTests.swift",
"Linux/Foundation/ProcessInfoExtensionTests.swift",
"Linux/Foundation/SetExtensionTests.swift",
"Linux/Foundation/StringExtensionTests.swift",
"Linux/Foundation/ThreadExtensionTests.swift"
],
"target_dependencies" : [
"BFKit"
],
"type" : "test"
},
{
"c99name" : "BFKit",
"module_type" : "SwiftTarget",
"name" : "BFKit",
"path" : "Sources/BFKit",
"product_memberships" : [
"BFKit"
],
"sources" : [
"Linux/BFKit/BFApp.swift",
"Linux/BFKit/BFDataStructures.swift",
"Linux/BFKit/BFKit.swift",
"Linux/BFKit/BFLog.swift",
"Linux/BFKit/BFPassword.swift",
"Linux/Foundation/Array+Extensions.swift",
"Linux/Foundation/Collection+Extensions.swift",
"Linux/Foundation/Data+Extensions.swift",
"Linux/Foundation/Date+Extensions.swift",
"Linux/Foundation/Dictionary+Extensions.swift",
"Linux/Foundation/FileManager+Extensions.swift",
"Linux/Foundation/NSObject+Extensions.swift",
"Linux/Foundation/Number+Extensions.swift",
"Linux/Foundation/ProcessInfo+Extensions.swift",
"Linux/Foundation/Set+Extensions.swift",
"Linux/Foundation/String+Extensions.swift",
"Linux/Foundation/Thread+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/19] Compiling BFKit Number+Extensions.swift
[4/19] Compiling BFKit ProcessInfo+Extensions.swift
[5/19] Compiling BFKit Date+Extensions.swift
[6/19] Compiling BFKit Dictionary+Extensions.swift
[7/19] Compiling BFKit Set+Extensions.swift
[8/19] Compiling BFKit FileManager+Extensions.swift
[9/19] Compiling BFKit NSObject+Extensions.swift
[10/19] Compiling BFKit String+Extensions.swift
[11/19] Compiling BFKit BFPassword.swift
[12/19] Compiling BFKit Array+Extensions.swift
[13/19] Compiling BFKit Collection+Extensions.swift
[14/19] Compiling BFKit Data+Extensions.swift
[15/20] Compiling BFKit Thread+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/Foundation/Thread+Extensions.swift:46:9: warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure
44 | public func runInBackground(_ block: @escaping () -> Void) {
45 | DispatchQueue.global().async {
46 | block()
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/Foundation/Thread+Extensions.swift:37:9: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
35 | public func runOnMainThread(_ block: @escaping () -> Void) {
36 | DispatchQueue.main.async {
37 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
38 | }
39 | }
[16/20] Compiling BFKit BFApp.swift
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:50:23: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | /// Use this var to set you DEBUG or not builds.
49 | /// More info on how to use it [here](http://stackoverflow.com/questions/26890537/disabling-nslog-for-production-in-swift-project/26891797#26891797).
50 | public static var isDebug = false
| |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | // MARK: - Functions
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:153:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// Return the App name.
153 | static var name: String = {
| |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | BFApp.stringFromInfoDictionary(forKey: "CFBundleDisplayName")
155 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:158:16: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 |
157 | /// Returns the App version.
158 | static var version: String = {
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | BFApp.stringFromInfoDictionary(forKey: "CFBundleShortVersionString")
160 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:163:16: warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 |
162 | /// Returns the App build.
163 | static var build: String = {
| |- warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'build' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'build' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | BFApp.stringFromInfoDictionary(forKey: "CFBundleVersion")
165 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:168:16: warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 | /// Returns the App executable.
168 | static var executable: String = {
| |- warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | BFApp.stringFromInfoDictionary(forKey: "CFBundleExecutable")
170 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:173:16: warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 | /// Returns the App bundle.
173 | static var bundle: String = {
| |- warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | BFApp.stringFromInfoDictionary(forKey: "CFBundleIdentifier")
175 | }()
[17/20] Compiling BFKit BFDataStructures.swift
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:50:23: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | /// Use this var to set you DEBUG or not builds.
49 | /// More info on how to use it [here](http://stackoverflow.com/questions/26890537/disabling-nslog-for-production-in-swift-project/26891797#26891797).
50 | public static var isDebug = false
| |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | // MARK: - Functions
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:153:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// Return the App name.
153 | static var name: String = {
| |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | BFApp.stringFromInfoDictionary(forKey: "CFBundleDisplayName")
155 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:158:16: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 |
157 | /// Returns the App version.
158 | static var version: String = {
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | BFApp.stringFromInfoDictionary(forKey: "CFBundleShortVersionString")
160 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:163:16: warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 |
162 | /// Returns the App build.
163 | static var build: String = {
| |- warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'build' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'build' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | BFApp.stringFromInfoDictionary(forKey: "CFBundleVersion")
165 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:168:16: warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 | /// Returns the App executable.
168 | static var executable: String = {
| |- warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | BFApp.stringFromInfoDictionary(forKey: "CFBundleExecutable")
170 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:173:16: warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 | /// Returns the App bundle.
173 | static var bundle: String = {
| |- warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | BFApp.stringFromInfoDictionary(forKey: "CFBundleIdentifier")
175 | }()
[18/20] Compiling BFKit BFKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:36:23: warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Activate or not BFLog.
36 | public static var active: Bool = false
| |- warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'active' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'active' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// The log string.
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:39:23: warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// The log string.
39 | public static var logged: String = ""
| |- warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logged' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// The detailed log string.
41 | public static var detailedLog: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:41:23: warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | public static var logged: String = ""
40 | /// The detailed log string.
41 | public static var detailedLog: String = ""
| |- warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'detailedLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'detailedLog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | // MARK: - Functions
[19/20] Compiling BFKit BFLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:36:23: warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Activate or not BFLog.
36 | public static var active: Bool = false
| |- warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'active' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'active' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// The log string.
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:39:23: warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// The log string.
39 | public static var logged: String = ""
| |- warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logged' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// The detailed log string.
41 | public static var detailedLog: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:41:23: warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | public static var logged: String = ""
40 | /// The detailed log string.
41 | public static var detailedLog: String = ""
| |- warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'detailedLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'detailedLog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | // MARK: - Functions
[20/20] Emitting module BFKit
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:50:23: warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | /// Use this var to set you DEBUG or not builds.
49 | /// More info on how to use it [here](http://stackoverflow.com/questions/26890537/disabling-nslog-for-production-in-swift-project/26891797#26891797).
50 | public static var isDebug = false
| |- warning: static property 'isDebug' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isDebug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isDebug' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | // MARK: - Functions
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:153:16: warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 |
152 | /// Return the App name.
153 | static var name: String = {
| |- warning: static property 'name' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | BFApp.stringFromInfoDictionary(forKey: "CFBundleDisplayName")
155 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:158:16: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
156 |
157 | /// Returns the App version.
158 | static var version: String = {
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'version' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | BFApp.stringFromInfoDictionary(forKey: "CFBundleShortVersionString")
160 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:163:16: warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
161 |
162 | /// Returns the App build.
163 | static var build: String = {
| |- warning: static property 'build' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'build' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'build' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | BFApp.stringFromInfoDictionary(forKey: "CFBundleVersion")
165 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:168:16: warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
166 |
167 | /// Returns the App executable.
168 | static var executable: String = {
| |- warning: static property 'executable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'executable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'executable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | BFApp.stringFromInfoDictionary(forKey: "CFBundleExecutable")
170 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFApp.swift:173:16: warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 | /// Returns the App bundle.
173 | static var bundle: String = {
| |- warning: static property 'bundle' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bundle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | BFApp.stringFromInfoDictionary(forKey: "CFBundleIdentifier")
175 | }()
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:36:23: warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Activate or not BFLog.
36 | public static var active: Bool = false
| |- warning: static property 'active' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'active' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'active' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// The log string.
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:39:23: warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// The log string.
39 | public static var logged: String = ""
| |- warning: static property 'logged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logged' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// The detailed log string.
41 | public static var detailedLog: String = ""
/Users/admin/builder/spi-builder-workspace/Sources/BFKit/Linux/BFKit/BFLog.swift:41:23: warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | public static var logged: String = ""
40 | /// The detailed log string.
41 | public static var detailedLog: String = ""
| |- warning: static property 'detailedLog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'detailedLog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'detailedLog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | // MARK: - Functions
Build complete! (7.11s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BFKit",
"name" : "BFKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "watchos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "BFKit",
"targets" : [
"BFKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "BFKitTests",
"module_type" : "SwiftTarget",
"name" : "BFKitTests",
"path" : "Tests/BFKitTests",
"sources" : [
"Linux/BFKit/BFAppTests.swift",
"Linux/BFKit/BFDataStructuresTests.swift",
"Linux/BFKit/BFLogTests.swift",
"Linux/BFKit/BFPasswordTests.swift",
"Linux/Foundation/ArrayExtensionTests.swift",
"Linux/Foundation/CollectionExtensionTests.swift",
"Linux/Foundation/DataExtensionTests.swift",
"Linux/Foundation/DateExtensionTests.swift",
"Linux/Foundation/DictionaryExtensionTests.swift",
"Linux/Foundation/FileManagerExtensionTests.swift",
"Linux/Foundation/NSObjectExtensionTests.swift",
"Linux/Foundation/NumberExtensionTests.swift",
"Linux/Foundation/ProcessInfoExtensionTests.swift",
"Linux/Foundation/SetExtensionTests.swift",
"Linux/Foundation/StringExtensionTests.swift",
"Linux/Foundation/ThreadExtensionTests.swift"
],
"target_dependencies" : [
"BFKit"
],
"type" : "test"
},
{
"c99name" : "BFKit",
"module_type" : "SwiftTarget",
"name" : "BFKit",
"path" : "Sources/BFKit",
"product_memberships" : [
"BFKit"
],
"sources" : [
"Linux/BFKit/BFApp.swift",
"Linux/BFKit/BFDataStructures.swift",
"Linux/BFKit/BFKit.swift",
"Linux/BFKit/BFLog.swift",
"Linux/BFKit/BFPassword.swift",
"Linux/Foundation/Array+Extensions.swift",
"Linux/Foundation/Collection+Extensions.swift",
"Linux/Foundation/Data+Extensions.swift",
"Linux/Foundation/Date+Extensions.swift",
"Linux/Foundation/Dictionary+Extensions.swift",
"Linux/Foundation/FileManager+Extensions.swift",
"Linux/Foundation/NSObject+Extensions.swift",
"Linux/Foundation/Number+Extensions.swift",
"Linux/Foundation/ProcessInfo+Extensions.swift",
"Linux/Foundation/Set+Extensions.swift",
"Linux/Foundation/String+Extensions.swift",
"Linux/Foundation/Thread+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.