The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of FuturaLog, reference 0.6.0 (349c53), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 03:23:27 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kaqu/futuralog.git
Reference: 0.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kaqu/futuralog
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at 349c53d adding flat log and LogPackage optimization
Cloned https://github.com/kaqu/futuralog.git
Revision (git rev-parse @):
349c53dc57234a8f9bf2d26a895571fc0f010fa5
SUCCESS checkout https://github.com/kaqu/futuralog.git at 0.6.0
========================================
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": "futuralog",
      "name": "FuturaLog",
      "url": "https://github.com/kaqu/futuralog.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/futuralog",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kaqu/futuralog.git
[1/157] Fetching futuralog
Fetched https://github.com/kaqu/futuralog.git from cache (0.70s)
Creating working copy for https://github.com/kaqu/futuralog.git
Working copy of https://github.com/kaqu/futuralog.git resolved at 0.6.0 (349c53d)
warning: '.resolve-product-dependencies': dependency 'futuralog' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kaqu/futuralog.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/17] Emitting module FuturaLog
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:14:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum LogCategory : String, Codable {
   |             `- note: consider making enum 'LogCategory' conform to the 'Sendable' protocol
 4 |
 5 |     case crash
   :
12 |     case void // not present in all property since void is special type which is ignored by default
13 |
14 |     public static let all: [LogCategory] = [.crash, .special, .error, .warning, .debug, .verbose, .info]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Logger.swift:5:28: warning: static property 'recievers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | public final class Logger {
 4 |
 5 |     fileprivate static var recievers: Array<LogReceiver> = []
   |                            |- warning: static property 'recievers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: convert 'recievers' to a 'let' constant to make 'Sendable' shared state immutable
   |                            |- note: annotate 'recievers' 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
 6 |
 7 |     public static let sessionID: String = UUID().description
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Server/LogEnvironment.swift:22:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LogEnvironment' to 'Hashable' by implementing 'hash(into:)' instead
20 | extension LogEnvironment : Hashable {
21 |
22 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LogEnvironment' to 'Hashable' by implementing 'hash(into:)' instead
23 |         return "\(self.name)\(self.appVersion)\(self.platform ?? "N/A")\(self.osInfo ?? "N/A")\(self.info ?? "N/A")".hashValue
24 |     }
[4/18] Compiling FuturaLog FlatLog.swift
[5/18] Compiling FuturaLog LogEmitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:14:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum LogCategory : String, Codable {
   |             `- note: consider making enum 'LogCategory' conform to the 'Sendable' protocol
 4 |
 5 |     case crash
   :
12 |     case void // not present in all property since void is special type which is ignored by default
13 |
14 |     public static let all: [LogCategory] = [.crash, .special, .error, .warning, .debug, .verbose, .info]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogFilePrinter.swift:20:19: warning: capture of 'self' with non-sendable type 'LogFilePrinter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public final class LogFilePrinter : LogReceiver {
   |                    `- note: class 'LogFilePrinter' does not conform to the 'Sendable' protocol
 4 |
 5 |     public let allowedCategories: [LogCategory]
   :
18 |     public func recieve(_ log: Log) {
19 |         synchronizationQueue.async {
20 |             guard self.allowedCategories.contains(log.category) else {
   |                   `- warning: capture of 'self' with non-sendable type 'LogFilePrinter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                 return
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogFilePrinter.swift:20:51: warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |     public func recieve(_ log: Log) {
19 |         synchronizationQueue.async {
20 |             guard self.allowedCategories.contains(log.category) else {
   |                                                   `- warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                 return
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:17:15: note: consider making struct 'Log' conform to the 'Sendable' protocol
15 | }
16 |
17 | public struct Log : Codable {
   |               `- note: consider making struct 'Log' conform to the 'Sendable' protocol
18 |
19 |     public let category: LogCategory
[6/18] Compiling FuturaLog LogFilePrinter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:14:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum LogCategory : String, Codable {
   |             `- note: consider making enum 'LogCategory' conform to the 'Sendable' protocol
 4 |
 5 |     case crash
   :
12 |     case void // not present in all property since void is special type which is ignored by default
13 |
14 |     public static let all: [LogCategory] = [.crash, .special, .error, .warning, .debug, .verbose, .info]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogFilePrinter.swift:20:19: warning: capture of 'self' with non-sendable type 'LogFilePrinter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public final class LogFilePrinter : LogReceiver {
   |                    `- note: class 'LogFilePrinter' does not conform to the 'Sendable' protocol
 4 |
 5 |     public let allowedCategories: [LogCategory]
   :
18 |     public func recieve(_ log: Log) {
19 |         synchronizationQueue.async {
20 |             guard self.allowedCategories.contains(log.category) else {
   |                   `- warning: capture of 'self' with non-sendable type 'LogFilePrinter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                 return
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogFilePrinter.swift:20:51: warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |     public func recieve(_ log: Log) {
19 |         synchronizationQueue.async {
20 |             guard self.allowedCategories.contains(log.category) else {
   |                                                   `- warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                 return
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:17:15: note: consider making struct 'Log' conform to the 'Sendable' protocol
15 | }
16 |
17 | public struct Log : Codable {
   |               `- note: consider making struct 'Log' conform to the 'Sendable' protocol
18 |
19 |     public let category: LogCategory
[7/18] Compiling FuturaLog LogFileStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:14:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum LogCategory : String, Codable {
   |             `- note: consider making enum 'LogCategory' conform to the 'Sendable' protocol
 4 |
 5 |     case crash
   :
12 |     case void // not present in all property since void is special type which is ignored by default
13 |
14 |     public static let all: [LogCategory] = [.crash, .special, .error, .warning, .debug, .verbose, .info]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogFileStorage.swift:24:19: warning: capture of 'self' with non-sendable type 'LogFileStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 |
  3 | // TODO: add cycling storage, session separated and date separated modes
  4 | public final class LogFileStorage : LogReceiver {
    |                    `- note: class 'LogFileStorage' does not conform to the 'Sendable' protocol
  5 |
  6 |     fileprivate let synchronizationQueue = DispatchQueue(label: "futura.log.storage.file.syncQueue")
    :
 22 |     public func recieve(_ log: Log) {
 23 |         synchronizationQueue.async {
 24 |             guard self.allowedCategories.contains(log.category) else {
    |                   `- warning: capture of 'self' with non-sendable type 'LogFileStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 25 |                 return
 26 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogFileStorage.swift:24:51: warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 22 |     public func recieve(_ log: Log) {
 23 |         synchronizationQueue.async {
 24 |             guard self.allowedCategories.contains(log.category) else {
    |                                                   `- warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 25 |                 return
 26 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:17:15: note: consider making struct 'Log' conform to the 'Sendable' protocol
15 | }
16 |
17 | public struct Log : Codable {
   |               `- note: consider making struct 'Log' conform to the 'Sendable' protocol
18 |
19 |     public let category: LogCategory
[8/18] Compiling FuturaLog LogFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:14:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum LogCategory : String, Codable {
   |             `- note: consider making enum 'LogCategory' conform to the 'Sendable' protocol
 4 |
 5 |     case crash
   :
12 |     case void // not present in all property since void is special type which is ignored by default
13 |
14 |     public static let all: [LogCategory] = [.crash, .special, .error, .warning, .debug, .verbose, .info]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogFileStorage.swift:24:19: warning: capture of 'self' with non-sendable type 'LogFileStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  2 |
  3 | // TODO: add cycling storage, session separated and date separated modes
  4 | public final class LogFileStorage : LogReceiver {
    |                    `- note: class 'LogFileStorage' does not conform to the 'Sendable' protocol
  5 |
  6 |     fileprivate let synchronizationQueue = DispatchQueue(label: "futura.log.storage.file.syncQueue")
    :
 22 |     public func recieve(_ log: Log) {
 23 |         synchronizationQueue.async {
 24 |             guard self.allowedCategories.contains(log.category) else {
    |                   `- warning: capture of 'self' with non-sendable type 'LogFileStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 25 |                 return
 26 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogFileStorage.swift:24:51: warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 22 |     public func recieve(_ log: Log) {
 23 |         synchronizationQueue.async {
 24 |             guard self.allowedCategories.contains(log.category) else {
    |                                                   `- warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 25 |                 return
 26 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:17:15: note: consider making struct 'Log' conform to the 'Sendable' protocol
15 | }
16 |
17 | public struct Log : Codable {
   |               `- note: consider making struct 'Log' conform to the 'Sendable' protocol
18 |
19 |     public let category: LogCategory
[9/18] Compiling FuturaLog Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Logger.swift:5:28: warning: static property 'recievers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 3 | public final class Logger {
 4 |
 5 |     fileprivate static var recievers: Array<LogReceiver> = []
   |                            |- warning: static property 'recievers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: convert 'recievers' to a 'let' constant to make 'Sendable' shared state immutable
   |                            |- note: annotate 'recievers' 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
 6 |
 7 |     public static let sessionID: String = UUID().description
[10/18] Compiling FuturaLog LogEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Server/LogEnvironment.swift:22:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LogEnvironment' to 'Hashable' by implementing 'hash(into:)' instead
20 | extension LogEnvironment : Hashable {
21 |
22 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LogEnvironment' to 'Hashable' by implementing 'hash(into:)' instead
23 |         return "\(self.name)\(self.appVersion)\(self.platform ?? "N/A")\(self.osInfo ?? "N/A")\(self.info ?? "N/A")".hashValue
24 |     }
[11/18] Compiling FuturaLog LogReceiver.swift
[12/18] Compiling FuturaLog LogStorage.swift
[13/18] Compiling FuturaLog LogMemoryStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:14:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum LogCategory : String, Codable {
   |             `- note: consider making enum 'LogCategory' conform to the 'Sendable' protocol
 4 |
 5 |     case crash
   :
12 |     case void // not present in all property since void is special type which is ignored by default
13 |
14 |     public static let all: [LogCategory] = [.crash, .special, .error, .warning, .debug, .verbose, .info]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogMemoryStorage.swift:20:19: warning: capture of 'self' with non-sendable type 'LogMemoryStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public final class LogMemoryStorage : LogReceiver {
   |                    `- note: class 'LogMemoryStorage' does not conform to the 'Sendable' protocol
 4 |
 5 |     fileprivate let synchronizationQueue = DispatchQueue(label: "futura.log.storage.memory.syncQueue")
   :
18 |     public func recieve(_ log: Log) {
19 |         synchronizationQueue.async {
20 |             guard self.allowedCategories.contains(log.category) else {
   |                   `- warning: capture of 'self' with non-sendable type 'LogMemoryStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                 return
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogMemoryStorage.swift:20:51: warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |     public func recieve(_ log: Log) {
19 |         synchronizationQueue.async {
20 |             guard self.allowedCategories.contains(log.category) else {
   |                                                   `- warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                 return
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:17:15: note: consider making struct 'Log' conform to the 'Sendable' protocol
15 | }
16 |
17 | public struct Log : Codable {
   |               `- note: consider making struct 'Log' conform to the 'Sendable' protocol
18 |
19 |     public let category: LogCategory
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogPrinter.swift:19:19: warning: capture of 'self' with non-sendable type 'LogPrinter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public final class LogPrinter : LogReceiver {
   |                    `- note: class 'LogPrinter' does not conform to the 'Sendable' protocol
 4 |
 5 |     public let allowedCategories: [LogCategory]
   :
17 |     public func recieve(_ log: Log) {
18 |         synchronizationQueue.async {
19 |             guard self.allowedCategories.contains(log.category) else {
   |                   `- warning: capture of 'self' with non-sendable type 'LogPrinter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |                 return
21 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogPrinter.swift:19:51: warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 |     public func recieve(_ log: Log) {
18 |         synchronizationQueue.async {
19 |             guard self.allowedCategories.contains(log.category) else {
   |                                                   `- warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |                 return
21 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:17:15: note: consider making struct 'Log' conform to the 'Sendable' protocol
15 | }
16 |
17 | public struct Log : Codable {
   |               `- note: consider making struct 'Log' conform to the 'Sendable' protocol
18 |
19 |     public let category: LogCategory
[14/18] Compiling FuturaLog LogPrinter.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:14:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum LogCategory : String, Codable {
   |             `- note: consider making enum 'LogCategory' conform to the 'Sendable' protocol
 4 |
 5 |     case crash
   :
12 |     case void // not present in all property since void is special type which is ignored by default
13 |
14 |     public static let all: [LogCategory] = [.crash, .special, .error, .warning, .debug, .verbose, .info]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogMemoryStorage.swift:20:19: warning: capture of 'self' with non-sendable type 'LogMemoryStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public final class LogMemoryStorage : LogReceiver {
   |                    `- note: class 'LogMemoryStorage' does not conform to the 'Sendable' protocol
 4 |
 5 |     fileprivate let synchronizationQueue = DispatchQueue(label: "futura.log.storage.memory.syncQueue")
   :
18 |     public func recieve(_ log: Log) {
19 |         synchronizationQueue.async {
20 |             guard self.allowedCategories.contains(log.category) else {
   |                   `- warning: capture of 'self' with non-sendable type 'LogMemoryStorage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                 return
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogMemoryStorage.swift:20:51: warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 |     public func recieve(_ log: Log) {
19 |         synchronizationQueue.async {
20 |             guard self.allowedCategories.contains(log.category) else {
   |                                                   `- warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 |                 return
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:17:15: note: consider making struct 'Log' conform to the 'Sendable' protocol
15 | }
16 |
17 | public struct Log : Codable {
   |               `- note: consider making struct 'Log' conform to the 'Sendable' protocol
18 |
19 |     public let category: LogCategory
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogPrinter.swift:19:19: warning: capture of 'self' with non-sendable type 'LogPrinter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public final class LogPrinter : LogReceiver {
   |                    `- note: class 'LogPrinter' does not conform to the 'Sendable' protocol
 4 |
 5 |     public let allowedCategories: [LogCategory]
   :
17 |     public func recieve(_ log: Log) {
18 |         synchronizationQueue.async {
19 |             guard self.allowedCategories.contains(log.category) else {
   |                   `- warning: capture of 'self' with non-sendable type 'LogPrinter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |                 return
21 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/LogPrinter.swift:19:51: warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 |     public func recieve(_ log: Log) {
18 |         synchronizationQueue.async {
19 |             guard self.allowedCategories.contains(log.category) else {
   |                                                   `- warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |                 return
21 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:17:15: note: consider making struct 'Log' conform to the 'Sendable' protocol
15 | }
16 |
17 | public struct Log : Codable {
   |               `- note: consider making struct 'Log' conform to the 'Sendable' protocol
18 |
19 |     public let category: LogCategory
[15/18] Compiling FuturaLog CrashCatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:14:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum LogCategory : String, Codable {
   |             `- note: consider making enum 'LogCategory' conform to the 'Sendable' protocol
 4 |
 5 |     case crash
   :
12 |     case void // not present in all property since void is special type which is ignored by default
13 |
14 |     public static let all: [LogCategory] = [.crash, .special, .error, .warning, .debug, .verbose, .info]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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 | }
16 |
[16/18] Compiling FuturaLog Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:14:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum LogCategory : String, Codable {
   |             `- note: consider making enum 'LogCategory' conform to the 'Sendable' protocol
 4 |
 5 |     case crash
   :
12 |     case void // not present in all property since void is special type which is ignored by default
13 |
14 |     public static let all: [LogCategory] = [.crash, .special, .error, .warning, .debug, .verbose, .info]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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 | }
16 |
[17/18] Compiling FuturaLog LogPackage.swift
[18/18] Compiling FuturaLog LogServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:14:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public enum LogCategory : String, Codable {
   |             `- note: consider making enum 'LogCategory' conform to the 'Sendable' protocol
 4 |
 5 |     case crash
   :
12 |     case void // not present in all property since void is special type which is ignored by default
13 |
14 |     public static let all: [LogCategory] = [.crash, .special, .error, .warning, .debug, .verbose, .info]
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[LogCategory]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'all' 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 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Server/LogServer.swift:31:19: warning: capture of 'self' with non-sendable type 'LogServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public final class LogServer : LogReceiver {
   |                    `- note: class 'LogServer' does not conform to the 'Sendable' protocol
 4 |
 5 |     public let allowedCategories: [LogCategory] = LogCategory.all
   :
29 |     public func recieve(_ log: Log) {
30 |         synchronizationQueue.async {
31 |             guard self.allowedCategories.contains(log.category) else {
   |                   `- warning: capture of 'self' with non-sendable type 'LogServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |                 return
33 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Server/LogServer.swift:31:51: warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 |     public func recieve(_ log: Log) {
30 |         synchronizationQueue.async {
31 |             guard self.allowedCategories.contains(log.category) else {
   |                                                   `- warning: capture of 'log' with non-sendable type 'Log' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |                 return
33 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FuturaLog/Log.swift:17:15: note: consider making struct 'Log' conform to the 'Sendable' protocol
15 | }
16 |
17 | public struct Log : Codable {
   |               `- note: consider making struct 'Log' conform to the 'Sendable' protocol
18 |
19 |     public let category: LogCategory
Build complete! (15.93s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FuturaLog",
  "name" : "FuturaLog",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FuturaLog",
      "targets" : [
        "FuturaLog"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FuturaLogTests",
      "module_type" : "SwiftTarget",
      "name" : "FuturaLogTests",
      "path" : "Tests/FuturaLogTests",
      "sources" : [
        "FuturaLogTests.swift"
      ],
      "target_dependencies" : [
        "FuturaLog"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FuturaLog",
      "module_type" : "SwiftTarget",
      "name" : "FuturaLog",
      "path" : "Sources/FuturaLog",
      "product_memberships" : [
        "FuturaLog"
      ],
      "sources" : [
        "CrashCatcher.swift",
        "Log.swift",
        "LogEmitter.swift",
        "LogFilePrinter.swift",
        "LogFileStorage.swift",
        "LogFormatter.swift",
        "LogMemoryStorage.swift",
        "LogPrinter.swift",
        "LogReceiver.swift",
        "LogStorage.swift",
        "Logger.swift",
        "Server/FlatLog.swift",
        "Server/LogEnvironment.swift",
        "Server/LogPackage.swift",
        "Server/LogServer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.