Build Information
Successful build of SimpleLogger, reference main (b98e06), with Swift 6.1 for macOS (SPM) on 4 Mar 2026 09:49:30 UTC.
Swift 6 data race errors: 3
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kixking/SimpleLogger.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kixking/SimpleLogger
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b98e060 Merge pull request #5 from kixking/feature/add-fault-trace-logging
Cloned https://github.com/kixking/SimpleLogger.git
Revision (git rev-parse @):
b98e06058ede3f1987dcc41677ed8b0cbaf496ee
SUCCESS checkout https://github.com/kixking/SimpleLogger.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/kixking/SimpleLogger.git
https://github.com/kixking/SimpleLogger.git
{
"dependencies" : [
],
"manifest_display_name" : "SimpleLogger",
"name" : "SimpleLogger",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SimpleLogger",
"targets" : [
"SimpleLogger"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SimpleLoggerTests",
"module_type" : "SwiftTarget",
"name" : "SimpleLoggerTests",
"path" : "Tests/SimpleLoggerTests",
"sources" : [
"SimpleLoggerTests.swift"
],
"target_dependencies" : [
"SimpleLogger"
],
"type" : "test"
},
{
"c99name" : "SimpleLogger",
"module_type" : "SwiftTarget",
"name" : "SimpleLogger",
"path" : "Sources/SimpleLogger",
"product_memberships" : [
"SimpleLogger"
],
"sources" : [
"Log.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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/4] Compiling SimpleLogger Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleLogger/Log.swift:9:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public final class Log {
8 |
9 | private static var subsystem = Bundle.main.bundleIdentifier ?? "App"
| |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | private static var category = "General"
11 | private static let lock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleLogger/Log.swift:10:24: warning: static property 'category' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | private static var subsystem = Bundle.main.bundleIdentifier ?? "App"
10 | private static var category = "General"
| |- warning: static property 'category' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'category' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'category' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let lock = NSLock()
12 | private static var _logger: Logger?
/Users/admin/builder/spi-builder-workspace/Sources/SimpleLogger/Log.swift:12:24: warning: static property '_logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | private static var category = "General"
11 | private static let lock = NSLock()
12 | private static var _logger: Logger?
| |- warning: static property '_logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static var logger: Logger {
[4/4] Emitting module SimpleLogger
/Users/admin/builder/spi-builder-workspace/Sources/SimpleLogger/Log.swift:9:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | public final class Log {
8 |
9 | private static var subsystem = Bundle.main.bundleIdentifier ?? "App"
| |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | private static var category = "General"
11 | private static let lock = NSLock()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleLogger/Log.swift:10:24: warning: static property 'category' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | private static var subsystem = Bundle.main.bundleIdentifier ?? "App"
10 | private static var category = "General"
| |- warning: static property 'category' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'category' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'category' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let lock = NSLock()
12 | private static var _logger: Logger?
/Users/admin/builder/spi-builder-workspace/Sources/SimpleLogger/Log.swift:12:24: warning: static property '_logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | private static var category = "General"
11 | private static let lock = NSLock()
12 | private static var _logger: Logger?
| |- warning: static property '_logger' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_logger' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_logger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private static var logger: Logger {
Build complete! (4.72s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SimpleLogger",
"name" : "SimpleLogger",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SimpleLogger",
"targets" : [
"SimpleLogger"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SimpleLoggerTests",
"module_type" : "SwiftTarget",
"name" : "SimpleLoggerTests",
"path" : "Tests/SimpleLoggerTests",
"sources" : [
"SimpleLoggerTests.swift"
],
"target_dependencies" : [
"SimpleLogger"
],
"type" : "test"
},
{
"c99name" : "SimpleLogger",
"module_type" : "SwiftTarget",
"name" : "SimpleLogger",
"path" : "Sources/SimpleLogger",
"product_memberships" : [
"SimpleLogger"
],
"sources" : [
"Log.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.