Build Information
Successful build of Skribent 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/merkle-open/swift-skribent.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/merkle-open/swift-skribent
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e70f014 Pump version
Cloned https://github.com/merkle-open/swift-skribent.git
Revision (git rev-parse @):
e70f0144dc00b1301eb1267790c9478e672e8302
SUCCESS checkout https://github.com/merkle-open/swift-skribent.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/merkle-open/swift-skribent.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/7] Write sources
[2/7] Write Example-entitlement.plist
[3/7] Write swift-version-6F35C1178C84523A.txt
[5/15] Compiling Skribent LogLevel.swift
[6/15] Compiling Skribent Plugin.swift
[7/15] Compiling Skribent String+lastPathComponent.swift
[8/15] Compiling Skribent Skribent+StaticProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Skribent/Skribent.swift:7:36: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
5 | private var plugins = [Plugin]()
6 | private var ignoredTags = Set<Tag>()
7 | private(set) public static var shared = Skribent()
| |- warning: static property 'shared' 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 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
8 | var productionMode = false
9 |
[9/15] Compiling Skribent Tag.swift
[10/15] Compiling Skribent Skribent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Skribent/Skribent.swift:7:36: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
5 | private var plugins = [Plugin]()
6 | private var ignoredTags = Set<Tag>()
7 | private(set) public static var shared = Skribent()
| |- warning: static property 'shared' 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 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
8 | var productionMode = false
9 |
[11/15] Compiling Skribent Loggable.swift
[12/15] Emitting module Skribent
/Users/admin/builder/spi-builder-workspace/Sources/Skribent/Skribent.swift:7:36: warning: static property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
5 | private var plugins = [Plugin]()
6 | private var ignoredTags = Set<Tag>()
7 | private(set) public static var shared = Skribent()
| |- warning: static property 'shared' 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 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
8 | var productionMode = false
9 |
[13/17] Compiling Example main.swift
[14/17] Emitting module Example
[14/17] Write Objects.LinkFileList
[15/17] Linking Example
[16/17] Applying Example
Build complete! (23.90s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Skribent",
"name" : "Skribent",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Skribent",
"targets" : [
"Skribent"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SkribentTests",
"module_type" : "SwiftTarget",
"name" : "SkribentTests",
"path" : "Tests/SkribentTests",
"sources" : [
"SkribentTests.swift"
],
"target_dependencies" : [
"Skribent"
],
"type" : "test"
},
{
"c99name" : "Skribent",
"module_type" : "SwiftTarget",
"name" : "Skribent",
"path" : "Sources/Skribent",
"product_memberships" : [
"Skribent",
"Example"
],
"sources" : [
"Extensions/Skribent+StaticProxy.swift",
"Extensions/String+lastPathComponent.swift",
"LogLevel.swift",
"Loggable.swift",
"Plugin.swift",
"Skribent.swift",
"Tag.swift"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_memberships" : [
"Example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Skribent"
],
"type" : "executable"
}
],
"tools_version" : "4.2"
}
Done.