Build Information
Successful build of SBObjectiveCWrapper with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
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/SwiftyBeaver/SBObjectiveCWrapper.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftyBeaver/SBObjectiveCWrapper
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4fcdab9 new 1.5.0 release
Submodule path 'lib/SwiftyBeaver': checked out 'ad66cc41c5d8acbd63d9dcdc9d3609f152e08ed1'
Submodule 'lib/SwiftyBeaver' (https://github.com/SwiftyBeaver/SwiftyBeaver.git) registered for path 'lib/SwiftyBeaver'
Cloning into '/Users/admin/builder/spi-builder-workspace/lib/SwiftyBeaver'...
Cloned https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git
Revision (git rev-parse @):
4fcdab9198d5ee513b082d59d7b24651b5ae0977
SUCCESS checkout https://github.com/SwiftyBeaver/SBObjectiveCWrapper.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/SwiftyBeaver/SBObjectiveCWrapper.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/14] Compiling SwiftyBeaver FilterValidator.swift
[5/14] Compiling SwiftyBeaver SBPlatformDestination.swift
[6/14] Compiling SwiftyBeaver Extensions.swift
[7/14] Compiling SwiftyBeaver FileDestination.swift
[8/14] Compiling SwiftyBeaver ConsoleDestination.swift
[9/14] Compiling SwiftyBeaver AES256CBC.swift
[10/14] Compiling SwiftyBeaver Base64.swift
[11/14] Compiling SwiftyBeaver BaseDestination.swift
[12/14] Compiling SwiftyBeaver Filter.swift
[13/14] Compiling SwiftyBeaver GoogleCloudDestination.swift
[14/14] Emitting module SwiftyBeaver
[15/15] Compiling SwiftyBeaver SwiftyBeaver.swift
[16/17] Compiling SBObjectiveCWrapper SBObjectiveCWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:30:16: warning: static property 'logClass' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | static var logClass: Loggable.Type = SwiftyBeaver.self
| |- warning: static property 'logClass' 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 'logClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logClass' 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
31 |
32 | @objc open class func logVerbose(_ message: String, filePath: String, function: String, line: Int) {
[17/17] Emitting module SBObjectiveCWrapper
/Users/admin/builder/spi-builder-workspace/Sources/SBObjectiveCWrapper.swift:30:16: warning: static property 'logClass' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | static var logClass: Loggable.Type = SwiftyBeaver.self
| |- warning: static property 'logClass' 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 'logClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'logClass' 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
31 |
32 | @objc open class func logVerbose(_ message: String, filePath: String, function: String, line: Int) {
Build complete! (27.47s)
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
[1/3836] Fetching swiftybeaver
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (1.37s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 1.9.6 (0.75s)
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 1.9.6
Build complete.
{
"dependencies" : [
{
"identity" : "swiftybeaver",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyBeaver/SwiftyBeaver.git"
}
],
"manifest_display_name" : "SBObjectiveCWrapper",
"name" : "SBObjectiveCWrapper",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SBObjectiveCWrapper",
"targets" : [
"SBObjectiveCWrapper"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SBObjectiveCWrapper",
"module_type" : "SwiftTarget",
"name" : "SBObjectiveCWrapper",
"path" : "Sources",
"product_dependencies" : [
"SwiftyBeaver"
],
"product_memberships" : [
"SBObjectiveCWrapper"
],
"sources" : [
"SBObjectiveCWrapper.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.