Build Information
Successful build of Radon with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/e-sites/Radon.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/e-sites/Radon
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b89b013 Option to hide the date in the header of the generated swift files
Cloned https://github.com/e-sites/Radon.git
Revision (git rev-parse @):
b89b0138fa1a3ff68e274579e40c0d659c7a54d9
SUCCESS checkout https://github.com/e-sites/Radon.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/e-sites/Radon.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[4/9] Write radon-entitlement.plist
[5/9] Write swift-version-6F35C1178C84523A.txt
[7/29] Compiling CommandLineKit StringExtensions.swift
[8/29] Compiling CommandLineKit Option.swift
[9/29] Emitting module CommandLineKit
[10/29] Compiling CommandLineKit CommandLine.swift
[11/29] Compiling Cryptor Updatable.swift
[12/30] Compiling Francium File.swift
[13/30] Compiling Francium IOObject.swift
[14/30] Compiling Francium Dir.swift
[15/30] Compiling Cryptor StreamCryptor.swift
[16/30] Emitting module Francium
[17/30] Compiling Francium Error.swift
[18/30] Compiling Cryptor SSLPointerTricks.swift
[19/30] Compiling Cryptor KeyDerivation.swift
[20/30] Compiling Cryptor Digest.swift
[21/30] Compiling Cryptor HMAC.swift
[22/30] Compiling Cryptor Crypto.swift
[23/30] Compiling Cryptor Cryptor.swift
[24/30] Compiling Cryptor Random.swift
[25/30] Compiling Cryptor Status.swift
[26/30] Emitting module Cryptor
[27/30] Compiling Cryptor Utilities.swift
[28/43] Compiling Radon Radon.swift
/Users/admin/builder/spi-builder-workspace/Sources/Radon.swift:21:16: warning: static property 'version' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | class Radon {
21 | static var version: String = "2.3.1"
| |- warning: static property 'version' 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 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'version' 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
22 |
23 | static var fileName = "Radon"
/Users/admin/builder/spi-builder-workspace/Sources/Radon.swift:23:16: warning: static property 'fileName' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var version: String = "2.3.1"
22 |
23 | static var fileName = "Radon"
| |- warning: static property 'fileName' 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 'fileName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileName' 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
24 | private let _config: Config
25 |
[29/43] Compiling Radon Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Logger.swift:13:16: warning: static property 'shouldPrint' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | class Logger {
12 |
13 | static var shouldPrint = true
| |- warning: static property 'shouldPrint' 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 'shouldPrint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shouldPrint' 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
14 | static var showTime = true
15 | static var logLines: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Logger.swift:14:16: warning: static property 'showTime' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | static var shouldPrint = true
14 | static var showTime = true
| |- warning: static property 'showTime' 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 'showTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'showTime' 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
15 | static var logLines: [String] = []
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Logger.swift:15:16: warning: static property 'logLines' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static var shouldPrint = true
14 | static var showTime = true
15 | static var logLines: [String] = []
| |- warning: static property 'logLines' 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 'logLines' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logLines' 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
16 |
17 | fileprivate static var _dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Logger.swift:17:28: warning: static property '_dateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var logLines: [String] = []
16 |
17 | fileprivate static var _dateFormatter: DateFormatter = {
| |- warning: static property '_dateFormatter' 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 '_dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_dateFormatter' 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
18 | let dateFormatter = DateFormatter()
19 | dateFormatter.timeStyle = .medium
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Logger.swift:23:28: warning: static property '_dateFormatterFile' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | }()
22 |
23 | fileprivate static var _dateFormatterFile: DateFormatter = {
| |- warning: static property '_dateFormatterFile' 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 '_dateFormatterFile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_dateFormatterFile' 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
24 | let dateFormatter = DateFormatter()
25 | dateFormatter.dateStyle = .short
[30/43] Compiling Radon Folder.swift
[31/43] Compiling Radon ObjStruct.swift
[32/43] Compiling Radon FolderWatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Watcher/FolderWatcher.swift:50:17: warning: capture of 'self' with non-sendable type 'FolderWatcher' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import Francium
10 |
11 | class FolderWatcher {
| `- note: class 'FolderWatcher' does not conform to the 'Sendable' protocol
12 | private let folderFile: File
13 | private(set) var isWatching = false
:
48 | private func _scan() {
49 | dispatchQueue.async {
50 | if !self.isWatching {
| `- warning: capture of 'self' with non-sendable type 'FolderWatcher' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | return
52 | }
[33/44] Compiling Radon main.swift
[34/44] Compiling Radon ColorsGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Radon.swift:23:16: warning: static property 'fileName' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var version: String = "2.3.1"
22 |
23 | static var fileName = "Radon"
| |- warning: static property 'fileName' 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 'fileName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileName' 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
24 | private let _config: Config
25 |
[35/44] Compiling Radon GeneralGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Radon.swift:23:16: warning: static property 'fileName' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var version: String = "2.3.1"
22 |
23 | static var fileName = "Radon"
| |- warning: static property 'fileName' 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 'fileName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileName' 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
24 | private let _config: Config
25 |
[36/44] Compiling Radon Sequence.swift
[37/44] Compiling Radon String.swift
[38/44] Emitting module Radon
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Logger.swift:13:16: warning: static property 'shouldPrint' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | class Logger {
12 |
13 | static var shouldPrint = true
| |- warning: static property 'shouldPrint' 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 'shouldPrint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shouldPrint' 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
14 | static var showTime = true
15 | static var logLines: [String] = []
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Logger.swift:14:16: warning: static property 'showTime' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | static var shouldPrint = true
14 | static var showTime = true
| |- warning: static property 'showTime' 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 'showTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'showTime' 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
15 | static var logLines: [String] = []
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Logger.swift:15:16: warning: static property 'logLines' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | static var shouldPrint = true
14 | static var showTime = true
15 | static var logLines: [String] = []
| |- warning: static property 'logLines' 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 'logLines' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logLines' 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
16 |
17 | fileprivate static var _dateFormatter: DateFormatter = {
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Logger.swift:17:28: warning: static property '_dateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | static var logLines: [String] = []
16 |
17 | fileprivate static var _dateFormatter: DateFormatter = {
| |- warning: static property '_dateFormatter' 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 '_dateFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_dateFormatter' 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
18 | let dateFormatter = DateFormatter()
19 | dateFormatter.timeStyle = .medium
/Users/admin/builder/spi-builder-workspace/Sources/Helpers/Logger.swift:23:28: warning: static property '_dateFormatterFile' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | }()
22 |
23 | fileprivate static var _dateFormatterFile: DateFormatter = {
| |- warning: static property '_dateFormatterFile' 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 '_dateFormatterFile' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_dateFormatterFile' 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
24 | let dateFormatter = DateFormatter()
25 | dateFormatter.dateStyle = .short
/Users/admin/builder/spi-builder-workspace/Sources/Radon.swift:21:16: warning: static property 'version' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | class Radon {
21 | static var version: String = "2.3.1"
| |- warning: static property 'version' 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 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'version' 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
22 |
23 | static var fileName = "Radon"
/Users/admin/builder/spi-builder-workspace/Sources/Radon.swift:23:16: warning: static property 'fileName' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var version: String = "2.3.1"
22 |
23 | static var fileName = "Radon"
| |- warning: static property 'fileName' 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 'fileName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileName' 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
24 | private let _config: Config
25 |
[39/44] Compiling Radon LocalizeGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Radon.swift:23:16: warning: static property 'fileName' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var version: String = "2.3.1"
22 |
23 | static var fileName = "Radon"
| |- warning: static property 'fileName' 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 'fileName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileName' 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
24 | private let _config: Config
25 |
[40/44] Compiling Radon Generator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Radon.swift:23:16: warning: static property 'fileName' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var version: String = "2.3.1"
22 |
23 | static var fileName = "Radon"
| |- warning: static property 'fileName' 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 'fileName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileName' 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
24 | private let _config: Config
25 |
[41/44] Compiling Radon ImageGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Radon.swift:23:16: warning: static property 'fileName' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var version: String = "2.3.1"
22 |
23 | static var fileName = "Radon"
| |- warning: static property 'fileName' 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 'fileName' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fileName' 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
24 | private let _config: Config
25 |
[41/44] Write Objects.LinkFileList
[42/44] Linking radon
[43/44] Applying radon
Build complete! (42.90s)
Fetching https://github.com/basvankuijck/CommandLine.git
[1/846] Fetching commandline
Fetched https://github.com/basvankuijck/CommandLine.git from cache (1.02s)
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/e-sites/Francium.git
[1/118] Fetching francium
[119/1770] Fetching francium, bluecryptor
Fetched https://github.com/e-sites/Francium.git from cache (1.04s)
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (1.04s)
Computing version for https://github.com/e-sites/Francium.git
Computed https://github.com/e-sites/Francium.git at 1.0.2 (2.63s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.23 (2.33s)
Creating working copy for https://github.com/e-sites/Francium.git
Working copy of https://github.com/e-sites/Francium.git resolved at 1.0.2
Creating working copy for https://github.com/basvankuijck/CommandLine.git
Working copy of https://github.com/basvankuijck/CommandLine.git resolved at master (b83f09a)
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.23
Build complete.
{
"dependencies" : [
{
"identity" : "commandline",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/basvankuijck/CommandLine.git"
},
{
"identity" : "bluecryptor",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/IBM-Swift/BlueCryptor.git"
},
{
"identity" : "francium",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/e-sites/Francium.git"
}
],
"manifest_display_name" : "Radon",
"name" : "Radon",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "radon",
"targets" : [
"Radon"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Radon",
"module_type" : "SwiftTarget",
"name" : "Radon",
"path" : ".",
"product_dependencies" : [
"CommandLineKit",
"Cryptor",
"Francium"
],
"product_memberships" : [
"radon"
],
"sources" : [
"Sources/Extensions/Sequence.swift",
"Sources/Extensions/String.swift",
"Sources/Generators/ColorsGenerator.swift",
"Sources/Generators/GeneralGenerator.swift",
"Sources/Generators/Generator.swift",
"Sources/Generators/ImageGenerator.swift",
"Sources/Generators/LocalizeGenerator.swift",
"Sources/Helpers/Folder.swift",
"Sources/Helpers/Logger.swift",
"Sources/Helpers/ObjStruct.swift",
"Sources/Radon.swift",
"Sources/Watcher/FolderWatcher.swift",
"Sources/main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
Done.