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

Failed to build LogDog, reference master (ee6748), with Swift 6.1 for Linux on 27 Apr 2025 01:46:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

 4 |     private lazy var cache: [AnyHashable: T] = [:]
 5 |     private lazy var queue = DispatchQueue(label: "com.v2ambition.LogDog.AtomicLazy", attributes: .concurrent)
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:54:24: warning: static property 'lazy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 52 |     static func format(_ date: Date, using format: String) -> String {
 53 |         enum Static {
 54 |             static var lazy = AtomicLazy<DateFormatter>()
    |                        |- warning: static property 'lazy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'lazy' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'lazy' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |         }
 56 |
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                     `- error: cannot find '__dispatch_queue_get_label' in scope
152 |         return String(cString: label)
153 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[16/55] Compiling LogDog LogHelper.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:36:24: warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'AtomicLazy<ByteCountFormatter>' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |     static func format(_ data: Data, using style: ByteCountFormatter.CountStyle = .memory) -> String {
 35 |         enum Static {
 36 |             static let lazy = AtomicLazy<ByteCountFormatter>()
    |                        |- warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'AtomicLazy<ByteCountFormatter>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lazy' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |         }
 38 |
/host/spi-builder-workspace/Sources/LogDog/internal/Lazy.swift:3:13: note: generic class 'AtomicLazy' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | final class AtomicLazy<T> {
   |             `- note: generic class 'AtomicLazy' does not conform to the 'Sendable' protocol
 4 |     private lazy var cache: [AnyHashable: T] = [:]
 5 |     private lazy var queue = DispatchQueue(label: "com.v2ambition.LogDog.AtomicLazy", attributes: .concurrent)
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:54:24: warning: static property 'lazy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 52 |     static func format(_ date: Date, using format: String) -> String {
 53 |         enum Static {
 54 |             static var lazy = AtomicLazy<DateFormatter>()
    |                        |- warning: static property 'lazy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'lazy' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'lazy' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |         }
 56 |
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                     `- error: cannot find '__dispatch_queue_get_label' in scope
152 |         return String(cString: label)
153 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[17/55] Compiling LogDog LogParameters.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:36:24: warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'AtomicLazy<ByteCountFormatter>' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |     static func format(_ data: Data, using style: ByteCountFormatter.CountStyle = .memory) -> String {
 35 |         enum Static {
 36 |             static let lazy = AtomicLazy<ByteCountFormatter>()
    |                        |- warning: static property 'lazy' is not concurrency-safe because non-'Sendable' type 'AtomicLazy<ByteCountFormatter>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'lazy' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 37 |         }
 38 |
/host/spi-builder-workspace/Sources/LogDog/internal/Lazy.swift:3:13: note: generic class 'AtomicLazy' does not conform to the 'Sendable' protocol
 1 | import Foundation
 2 |
 3 | final class AtomicLazy<T> {
   |             `- note: generic class 'AtomicLazy' does not conform to the 'Sendable' protocol
 4 |     private lazy var cache: [AnyHashable: T] = [:]
 5 |     private lazy var queue = DispatchQueue(label: "com.v2ambition.LogDog.AtomicLazy", attributes: .concurrent)
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:54:24: warning: static property 'lazy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 52 |     static func format(_ date: Date, using format: String) -> String {
 53 |         enum Static {
 54 |             static var lazy = AtomicLazy<DateFormatter>()
    |                        |- warning: static property 'lazy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'lazy' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'lazy' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 55 |         }
 56 |
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                     `- error: cannot find '__dispatch_queue_get_label' in scope
152 |         return String(cString: label)
153 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[18/55] Compiling LogDog LogStringify.swift
/host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift:105:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | public extension LogStringify {
105 |     static var `default`: LogStringify = {
    |                |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         var stringify = LogStringify()
107 |         stringify.set(data)
/host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift:111:16: warning: static property 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |     }()
110 |
111 |     static var data: Stringify<Data> = {
    |                |- warning: static property 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'data' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |         LogHelper.format($0)
113 |     }
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
15 |         callback()
16 |     }
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:15:9: warning: capture of 'callback' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
15 |         callback()
   |         |- warning: capture of 'callback' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
16 |     }
17 | }
[19/55] Compiling LogDog LogStringifyCompatible.swift
/host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift:105:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | public extension LogStringify {
105 |     static var `default`: LogStringify = {
    |                |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         var stringify = LogStringify()
107 |         stringify.set(data)
/host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift:111:16: warning: static property 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |     }()
110 |
111 |     static var data: Stringify<Data> = {
    |                |- warning: static property 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'data' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |         LogHelper.format($0)
113 |     }
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
15 |         callback()
16 |     }
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:15:9: warning: capture of 'callback' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
15 |         callback()
   |         |- warning: capture of 'callback' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
16 |     }
17 | }
[20/55] Compiling LogDog Logger.MetadataValue+Any.swift
/host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift:105:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | public extension LogStringify {
105 |     static var `default`: LogStringify = {
    |                |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         var stringify = LogStringify()
107 |         stringify.set(data)
/host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift:111:16: warning: static property 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |     }()
110 |
111 |     static var data: Stringify<Data> = {
    |                |- warning: static property 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'data' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |         LogHelper.format($0)
113 |     }
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
15 |         callback()
16 |     }
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:15:9: warning: capture of 'callback' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
15 |         callback()
   |         |- warning: capture of 'callback' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
16 |     }
17 | }
[21/55] Compiling LogDog atExit.swift
/host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift:105:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | public extension LogStringify {
105 |     static var `default`: LogStringify = {
    |                |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         var stringify = LogStringify()
107 |         stringify.set(data)
/host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift:111:16: warning: static property 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |     }()
110 |
111 |     static var data: Stringify<Data> = {
    |                |- warning: static property 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'data' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |         LogHelper.format($0)
113 |     }
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
15 |         callback()
16 |     }
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:15:9: warning: capture of 'callback' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
15 |         callback()
   |         |- warning: capture of 'callback' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
16 |     }
17 | }
[22/55] Compiling LogDog LogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift:105:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
103 |
104 | public extension LogStringify {
105 |     static var `default`: LogStringify = {
    |                |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |         var stringify = LogStringify()
107 |         stringify.set(data)
/host/spi-builder-workspace/Sources/LogDog/Features/Stringify/LogStringify.swift:111:16: warning: static property 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |     }()
110 |
111 |     static var data: Stringify<Data> = {
    |                |- warning: static property 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'data' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |         LogHelper.format($0)
113 |     }
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
15 |         callback()
16 |     }
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:15:9: warning: capture of 'callback' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
15 |         callback()
   |         |- warning: capture of 'callback' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
16 |     }
17 | }
[23/55] Compiling LogDog LogRecord.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
33 |         addOperation(body)
   |                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
34 |     }
35 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:49:17: warning: capture of 'body' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
47 |
48 |             queue.addOperation {
49 |                 body()
   |                 |- warning: capture of 'body' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
50 |                 sema.signal()
51 |             }
[24/55] Compiling LogDog LogScheduler.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
33 |         addOperation(body)
   |                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
34 |     }
35 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:49:17: warning: capture of 'body' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
47 |
48 |             queue.addOperation {
49 |                 body()
   |                 |- warning: capture of 'body' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
50 |                 sema.signal()
51 |             }
[25/55] Compiling LogDog LogSink.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
33 |         addOperation(body)
   |                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
34 |     }
35 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:49:17: warning: capture of 'body' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
47 |
48 |             queue.addOperation {
49 |                 body()
   |                 |- warning: capture of 'body' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
50 |                 sema.signal()
51 |             }
[26/55] Compiling LogDog Logging+.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
33 |         addOperation(body)
   |                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
34 |     }
35 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:49:17: warning: capture of 'body' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
47 |
48 |             queue.addOperation {
49 |                 body()
   |                 |- warning: capture of 'body' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
50 |                 sema.signal()
51 |             }
[27/55] Compiling LogDog AnyLogSink.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
33 |         addOperation(body)
   |                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
34 |     }
35 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:49:17: warning: capture of 'body' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
47 |
48 |             queue.addOperation {
49 |                 body()
   |                 |- warning: capture of 'body' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
50 |                 sema.signal()
51 |             }
[28/55] Compiling LogDog Suffix.swift
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:80:16: warning: static property 'appBuild' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 78 |     // MARK: App
 79 |
 80 |     static let appBuild = LogHook {
    |                |- warning: static property 'appBuild' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appBuild' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |         $0.parameters["appBuild"] = LogHelper.appBuild
 82 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:84:16: warning: static property 'appName' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 82 |     }
 83 |
 84 |     static let appName = LogHook {
    |                |- warning: static property 'appName' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |         $0.parameters["appName"] = LogHelper.appName
 86 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:88:16: warning: static property 'appVersion' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 86 |     }
 87 |
 88 |     static let appVersion = LogHook {
    |                |- warning: static property 'appVersion' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appVersion' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |         $0.parameters["appVersion"] = LogHelper.appVersion
 90 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:94:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 92 |     // MARK: Data
 93 |
 94 |     static let date = LogHook {
    |                |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |         $0.parameters["date"] = Date()
 96 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:100:16: warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 98 |     // MARK: Thread
 99 |
100 |     static let thread = LogHook {
    |                |- warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         $0.parameters["thread"] = LogHelper.thread
102 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/LogSinks.swift:9:16: warning: static property 'firstly' is not concurrency-safe because non-'Sendable' type 'LogSinks.Firstly' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public extension LogSinks {
 4 |     struct Firstly: LogSink {
   |            `- note: consider making struct 'Firstly' conform to the 'Sendable' protocol
 5 |         public typealias Input = Void
 6 |         public typealias Output = Void
 7 |     }
 8 |
 9 |     static let firstly = Firstly()
   |                |- warning: static property 'firstly' is not concurrency-safe because non-'Sendable' type 'LogSinks.Firstly' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'firstly' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:20:16: warning: stored property 'dynamicMetadata' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '[String : () -> Logger.MetadataValue]'; this is an error in the Swift 6 language mode
18 |
19 |     /// dynamic metadata values override metadata values.
20 |     public var dynamicMetadata: [String: () -> Logger.MetadataValue] = [:]
   |                |- warning: stored property 'dynamicMetadata' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '[String : () -> Logger.MetadataValue]'; this is an error in the Swift 6 language mode
   |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |
22 |     public let label: String
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:24:16: warning: stored property 'sink' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Sink'; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |                               `- note: consider making generic parameter 'Sink' conform to the 'Sendable' protocol
15 |     public var logLevel: Logger.Level = .trace
16 |
   :
22 |     public let label: String
23 |
24 |     public let sink: Sink
   |                `- warning: stored property 'sink' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Sink'; this is an error in the Swift 6 language mode
25 |     public let appender: Appender
26 |
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:25:16: warning: stored property 'appender' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Appender'; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |                                     `- note: consider making generic parameter 'Appender' conform to the 'Sendable' protocol
15 |     public var logLevel: Logger.Level = .trace
16 |
   :
23 |
24 |     public let sink: Sink
25 |     public let appender: Appender
   |                `- warning: stored property 'appender' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Appender'; this is an error in the Swift 6 language mode
26 |
27 |     private let errorHandler: ((Error) -> Void)?
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:27:17: warning: stored property 'errorHandler' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '((any Error) -> Void)?'; this is an error in the Swift 6 language mode
25 |     public let appender: Appender
26 |
27 |     private let errorHandler: ((Error) -> Void)?
   |                 |- warning: stored property 'errorHandler' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '((any Error) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
28 |
29 |     public init(label: String,
[29/55] Compiling LogDog Hook.swift
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:80:16: warning: static property 'appBuild' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 78 |     // MARK: App
 79 |
 80 |     static let appBuild = LogHook {
    |                |- warning: static property 'appBuild' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appBuild' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |         $0.parameters["appBuild"] = LogHelper.appBuild
 82 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:84:16: warning: static property 'appName' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 82 |     }
 83 |
 84 |     static let appName = LogHook {
    |                |- warning: static property 'appName' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |         $0.parameters["appName"] = LogHelper.appName
 86 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:88:16: warning: static property 'appVersion' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 86 |     }
 87 |
 88 |     static let appVersion = LogHook {
    |                |- warning: static property 'appVersion' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appVersion' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |         $0.parameters["appVersion"] = LogHelper.appVersion
 90 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:94:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 92 |     // MARK: Data
 93 |
 94 |     static let date = LogHook {
    |                |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |         $0.parameters["date"] = Date()
 96 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:100:16: warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 98 |     // MARK: Thread
 99 |
100 |     static let thread = LogHook {
    |                |- warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         $0.parameters["thread"] = LogHelper.thread
102 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/LogSinks.swift:9:16: warning: static property 'firstly' is not concurrency-safe because non-'Sendable' type 'LogSinks.Firstly' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public extension LogSinks {
 4 |     struct Firstly: LogSink {
   |            `- note: consider making struct 'Firstly' conform to the 'Sendable' protocol
 5 |         public typealias Input = Void
 6 |         public typealias Output = Void
 7 |     }
 8 |
 9 |     static let firstly = Firstly()
   |                |- warning: static property 'firstly' is not concurrency-safe because non-'Sendable' type 'LogSinks.Firstly' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'firstly' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:20:16: warning: stored property 'dynamicMetadata' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '[String : () -> Logger.MetadataValue]'; this is an error in the Swift 6 language mode
18 |
19 |     /// dynamic metadata values override metadata values.
20 |     public var dynamicMetadata: [String: () -> Logger.MetadataValue] = [:]
   |                |- warning: stored property 'dynamicMetadata' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '[String : () -> Logger.MetadataValue]'; this is an error in the Swift 6 language mode
   |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |
22 |     public let label: String
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:24:16: warning: stored property 'sink' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Sink'; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |                               `- note: consider making generic parameter 'Sink' conform to the 'Sendable' protocol
15 |     public var logLevel: Logger.Level = .trace
16 |
   :
22 |     public let label: String
23 |
24 |     public let sink: Sink
   |                `- warning: stored property 'sink' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Sink'; this is an error in the Swift 6 language mode
25 |     public let appender: Appender
26 |
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:25:16: warning: stored property 'appender' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Appender'; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |                                     `- note: consider making generic parameter 'Appender' conform to the 'Sendable' protocol
15 |     public var logLevel: Logger.Level = .trace
16 |
   :
23 |
24 |     public let sink: Sink
25 |     public let appender: Appender
   |                `- warning: stored property 'appender' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Appender'; this is an error in the Swift 6 language mode
26 |
27 |     private let errorHandler: ((Error) -> Void)?
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:27:17: warning: stored property 'errorHandler' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '((any Error) -> Void)?'; this is an error in the Swift 6 language mode
25 |     public let appender: Appender
26 |
27 |     private let errorHandler: ((Error) -> Void)?
   |                 |- warning: stored property 'errorHandler' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '((any Error) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
28 |
29 |     public init(label: String,
[30/55] Compiling LogDog LogSinks.swift
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:80:16: warning: static property 'appBuild' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 78 |     // MARK: App
 79 |
 80 |     static let appBuild = LogHook {
    |                |- warning: static property 'appBuild' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appBuild' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |         $0.parameters["appBuild"] = LogHelper.appBuild
 82 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:84:16: warning: static property 'appName' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 82 |     }
 83 |
 84 |     static let appName = LogHook {
    |                |- warning: static property 'appName' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |         $0.parameters["appName"] = LogHelper.appName
 86 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:88:16: warning: static property 'appVersion' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 86 |     }
 87 |
 88 |     static let appVersion = LogHook {
    |                |- warning: static property 'appVersion' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appVersion' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |         $0.parameters["appVersion"] = LogHelper.appVersion
 90 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:94:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 92 |     // MARK: Data
 93 |
 94 |     static let date = LogHook {
    |                |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |         $0.parameters["date"] = Date()
 96 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:100:16: warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 98 |     // MARK: Thread
 99 |
100 |     static let thread = LogHook {
    |                |- warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         $0.parameters["thread"] = LogHelper.thread
102 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/LogSinks.swift:9:16: warning: static property 'firstly' is not concurrency-safe because non-'Sendable' type 'LogSinks.Firstly' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public extension LogSinks {
 4 |     struct Firstly: LogSink {
   |            `- note: consider making struct 'Firstly' conform to the 'Sendable' protocol
 5 |         public typealias Input = Void
 6 |         public typealias Output = Void
 7 |     }
 8 |
 9 |     static let firstly = Firstly()
   |                |- warning: static property 'firstly' is not concurrency-safe because non-'Sendable' type 'LogSinks.Firstly' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'firstly' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:20:16: warning: stored property 'dynamicMetadata' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '[String : () -> Logger.MetadataValue]'; this is an error in the Swift 6 language mode
18 |
19 |     /// dynamic metadata values override metadata values.
20 |     public var dynamicMetadata: [String: () -> Logger.MetadataValue] = [:]
   |                |- warning: stored property 'dynamicMetadata' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '[String : () -> Logger.MetadataValue]'; this is an error in the Swift 6 language mode
   |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |
22 |     public let label: String
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:24:16: warning: stored property 'sink' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Sink'; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |                               `- note: consider making generic parameter 'Sink' conform to the 'Sendable' protocol
15 |     public var logLevel: Logger.Level = .trace
16 |
   :
22 |     public let label: String
23 |
24 |     public let sink: Sink
   |                `- warning: stored property 'sink' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Sink'; this is an error in the Swift 6 language mode
25 |     public let appender: Appender
26 |
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:25:16: warning: stored property 'appender' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Appender'; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |                                     `- note: consider making generic parameter 'Appender' conform to the 'Sendable' protocol
15 |     public var logLevel: Logger.Level = .trace
16 |
   :
23 |
24 |     public let sink: Sink
25 |     public let appender: Appender
   |                `- warning: stored property 'appender' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Appender'; this is an error in the Swift 6 language mode
26 |
27 |     private let errorHandler: ((Error) -> Void)?
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:27:17: warning: stored property 'errorHandler' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '((any Error) -> Void)?'; this is an error in the Swift 6 language mode
25 |     public let appender: Appender
26 |
27 |     private let errorHandler: ((Error) -> Void)?
   |                 |- warning: stored property 'errorHandler' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '((any Error) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
28 |
29 |     public init(label: String,
[31/55] Compiling LogDog SinkOn.swift
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:80:16: warning: static property 'appBuild' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 78 |     // MARK: App
 79 |
 80 |     static let appBuild = LogHook {
    |                |- warning: static property 'appBuild' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appBuild' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |         $0.parameters["appBuild"] = LogHelper.appBuild
 82 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:84:16: warning: static property 'appName' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 82 |     }
 83 |
 84 |     static let appName = LogHook {
    |                |- warning: static property 'appName' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |         $0.parameters["appName"] = LogHelper.appName
 86 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:88:16: warning: static property 'appVersion' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 86 |     }
 87 |
 88 |     static let appVersion = LogHook {
    |                |- warning: static property 'appVersion' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appVersion' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |         $0.parameters["appVersion"] = LogHelper.appVersion
 90 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:94:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 92 |     // MARK: Data
 93 |
 94 |     static let date = LogHook {
    |                |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |         $0.parameters["date"] = Date()
 96 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:100:16: warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 98 |     // MARK: Thread
 99 |
100 |     static let thread = LogHook {
    |                |- warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         $0.parameters["thread"] = LogHelper.thread
102 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/LogSinks.swift:9:16: warning: static property 'firstly' is not concurrency-safe because non-'Sendable' type 'LogSinks.Firstly' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public extension LogSinks {
 4 |     struct Firstly: LogSink {
   |            `- note: consider making struct 'Firstly' conform to the 'Sendable' protocol
 5 |         public typealias Input = Void
 6 |         public typealias Output = Void
 7 |     }
 8 |
 9 |     static let firstly = Firstly()
   |                |- warning: static property 'firstly' is not concurrency-safe because non-'Sendable' type 'LogSinks.Firstly' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'firstly' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:20:16: warning: stored property 'dynamicMetadata' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '[String : () -> Logger.MetadataValue]'; this is an error in the Swift 6 language mode
18 |
19 |     /// dynamic metadata values override metadata values.
20 |     public var dynamicMetadata: [String: () -> Logger.MetadataValue] = [:]
   |                |- warning: stored property 'dynamicMetadata' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '[String : () -> Logger.MetadataValue]'; this is an error in the Swift 6 language mode
   |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |
22 |     public let label: String
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:24:16: warning: stored property 'sink' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Sink'; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |                               `- note: consider making generic parameter 'Sink' conform to the 'Sendable' protocol
15 |     public var logLevel: Logger.Level = .trace
16 |
   :
22 |     public let label: String
23 |
24 |     public let sink: Sink
   |                `- warning: stored property 'sink' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Sink'; this is an error in the Swift 6 language mode
25 |     public let appender: Appender
26 |
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:25:16: warning: stored property 'appender' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Appender'; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |                                     `- note: consider making generic parameter 'Appender' conform to the 'Sendable' protocol
15 |     public var logLevel: Logger.Level = .trace
16 |
   :
23 |
24 |     public let sink: Sink
25 |     public let appender: Appender
   |                `- warning: stored property 'appender' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Appender'; this is an error in the Swift 6 language mode
26 |
27 |     private let errorHandler: ((Error) -> Void)?
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:27:17: warning: stored property 'errorHandler' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '((any Error) -> Void)?'; this is an error in the Swift 6 language mode
25 |     public let appender: Appender
26 |
27 |     private let errorHandler: ((Error) -> Void)?
   |                 |- warning: stored property 'errorHandler' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '((any Error) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
28 |
29 |     public init(label: String,
[32/55] Compiling LogDog SugarLogHandler.swift
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:80:16: warning: static property 'appBuild' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 78 |     // MARK: App
 79 |
 80 |     static let appBuild = LogHook {
    |                |- warning: static property 'appBuild' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appBuild' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |         $0.parameters["appBuild"] = LogHelper.appBuild
 82 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:84:16: warning: static property 'appName' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 82 |     }
 83 |
 84 |     static let appName = LogHook {
    |                |- warning: static property 'appName' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 85 |         $0.parameters["appName"] = LogHelper.appName
 86 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:88:16: warning: static property 'appVersion' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 86 |     }
 87 |
 88 |     static let appVersion = LogHook {
    |                |- warning: static property 'appVersion' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'appVersion' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |         $0.parameters["appVersion"] = LogHelper.appVersion
 90 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:94:16: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 92 |     // MARK: Data
 93 |
 94 |     static let date = LogHook {
    |                |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |         $0.parameters["date"] = Date()
 96 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/Hooks/Hook.swift:100:16: warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
 47 | // MARK: LogHook
 48 |
 49 | public struct LogHook {
    |               `- note: consider making struct 'LogHook' conform to the 'Sendable' protocol
 50 |     private let body: (inout LogEntry) -> Void
 51 |
    :
 98 |     // MARK: Thread
 99 |
100 |     static let thread = LogHook {
    |                |- warning: static property 'thread' is not concurrency-safe because non-'Sendable' type 'LogHook' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'thread' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         $0.parameters["thread"] = LogHelper.thread
102 |     }
/host/spi-builder-workspace/Sources/LogDog/Sinks/LogSinks.swift:9:16: warning: static property 'firstly' is not concurrency-safe because non-'Sendable' type 'LogSinks.Firstly' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | public extension LogSinks {
 4 |     struct Firstly: LogSink {
   |            `- note: consider making struct 'Firstly' conform to the 'Sendable' protocol
 5 |         public typealias Input = Void
 6 |         public typealias Output = Void
 7 |     }
 8 |
 9 |     static let firstly = Firstly()
   |                |- warning: static property 'firstly' is not concurrency-safe because non-'Sendable' type 'LogSinks.Firstly' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'firstly' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:20:16: warning: stored property 'dynamicMetadata' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '[String : () -> Logger.MetadataValue]'; this is an error in the Swift 6 language mode
18 |
19 |     /// dynamic metadata values override metadata values.
20 |     public var dynamicMetadata: [String: () -> Logger.MetadataValue] = [:]
   |                |- warning: stored property 'dynamicMetadata' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '[String : () -> Logger.MetadataValue]'; this is an error in the Swift 6 language mode
   |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 |
22 |     public let label: String
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:24:16: warning: stored property 'sink' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Sink'; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |                               `- note: consider making generic parameter 'Sink' conform to the 'Sendable' protocol
15 |     public var logLevel: Logger.Level = .trace
16 |
   :
22 |     public let label: String
23 |
24 |     public let sink: Sink
   |                `- warning: stored property 'sink' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Sink'; this is an error in the Swift 6 language mode
25 |     public let appender: Appender
26 |
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:25:16: warning: stored property 'appender' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Appender'; this is an error in the Swift 6 language mode
12 | }
13 |
14 | public struct SugarLogHandler<Sink, Appender>: LogHandler where Sink: LogSink, Appender: LogAppender, Sink.Input == Void, Sink.Output == Appender.Output {
   |                                     `- note: consider making generic parameter 'Appender' conform to the 'Sendable' protocol
15 |     public var logLevel: Logger.Level = .trace
16 |
   :
23 |
24 |     public let sink: Sink
25 |     public let appender: Appender
   |                `- warning: stored property 'appender' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type 'Appender'; this is an error in the Swift 6 language mode
26 |
27 |     private let errorHandler: ((Error) -> Void)?
/host/spi-builder-workspace/Sources/LogDog/SugarLogHandler.swift:27:17: warning: stored property 'errorHandler' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '((any Error) -> Void)?'; this is an error in the Swift 6 language mode
25 |     public let appender: Appender
26 |
27 |     private let errorHandler: ((Error) -> Void)?
   |                 |- warning: stored property 'errorHandler' of 'Sendable'-conforming generic struct 'SugarLogHandler' has non-sendable type '((any Error) -> Void)?'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
28 |
29 |     public init(label: String,
[33/55] Compiling LogDog AnyLogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:47:29: warning: capture of 'appender' with non-sendable type 'AnyLogAppender<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 |                 queue.async(group: group) {
46 |                     do {
47 |                         try appender.append(record)
   |                             `- warning: capture of 'appender' with non-sendable type 'AnyLogAppender<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
/host/spi-builder-workspace/Sources/LogDog/Appenders/AnyLogAppender.swift:2:15: note: consider making generic struct 'AnyLogAppender' conform to the 'Sendable' protocol
 1 | /// A type-erased appender.
 2 | public struct AnyLogAppender<Output>: LogAppender {
   |               `- note: consider making generic struct 'AnyLogAppender' conform to the 'Sendable' protocol
 3 |     private let appender: AbstractAppender<Output>
 4 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:47:45: warning: capture of 'record' with non-sendable type 'LogRecord<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 |                 queue.async(group: group) {
46 |                     do {
47 |                         try appender.append(record)
   |                                             `- warning: capture of 'record' with non-sendable type 'LogRecord<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
/host/spi-builder-workspace/Sources/LogDog/LogRecord.swift:1:15: note: consider making generic struct 'LogRecord' conform to the 'Sendable' protocol
 1 | public struct LogRecord<Output> {
   |               `- note: consider making generic struct 'LogRecord' conform to the 'Sendable' protocol
 2 |     public let entry: LogEntry
 3 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
51 |                     }
52 |                 }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:27:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `TextLogAppender.stdout`, output to `stdout`.
13 | /// - `TextLogAppender.stderr`, output to `stderr`.
14 | public struct TextLogAppender: LogAppender {
   |               `- note: consider making struct 'TextLogAppender' conform to the 'Sendable' protocol
15 |     public let stream: TextOutputStream
16 |
   :
25 |     }
26 |
27 |     public static let stdout = TextLogAppender(StdOutputStream.out)
   |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let stderr = TextLogAppender(StdOutputStream.err)
29 | }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:28:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `TextLogAppender.stdout`, output to `stdout`.
13 | /// - `TextLogAppender.stderr`, output to `stderr`.
14 | public struct TextLogAppender: LogAppender {
   |               `- note: consider making struct 'TextLogAppender' conform to the 'Sendable' protocol
15 |     public let stream: TextOutputStream
16 |
   :
26 |
27 |     public static let stdout = TextLogAppender(StdOutputStream.out)
28 |     public static let stderr = TextLogAppender(StdOutputStream.err)
   |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'stderr' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:40:17: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
38 |     private let stdout = MSVCRT.stdout
39 | #else
40 |     private let stderr = Glibc.stderr!
   |                 |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                 |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
   |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |     private let stdout = Glibc.stdout!
42 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:40:32: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 |     private let stdout = MSVCRT.stdout
39 | #else
40 |     private let stderr = Glibc.stderr!
   |                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 |     private let stdout = Glibc.stdout!
42 | #endif
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:41:17: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
39 | #else
40 |     private let stderr = Glibc.stderr!
41 |     private let stdout = Glibc.stdout!
   |                 |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                 |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
   |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | #endif
43 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:41:32: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | #else
40 |     private let stderr = Glibc.stderr!
41 |     private let stdout = Glibc.stdout!
   |                                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:67:16: warning: static property 'out' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
44 | private struct StdOutputStream: TextOutputStream {
   |                `- note: consider making struct 'StdOutputStream' conform to the 'Sendable' protocol
45 |     private let file: UnsafeMutablePointer<FILE>
46 |
   :
65 |     }
66 |
67 |     static let out = StdOutputStream(file: stdout)
   |                |- warning: static property 'out' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'out' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |     static let err = StdOutputStream(file: stderr)
69 | }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:68:16: warning: static property 'err' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
44 | private struct StdOutputStream: TextOutputStream {
   |                `- note: consider making struct 'StdOutputStream' conform to the 'Sendable' protocol
45 |     private let file: UnsafeMutablePointer<FILE>
46 |
   :
66 |
67 |     static let out = StdOutputStream(file: stdout)
68 |     static let err = StdOutputStream(file: stderr)
   |                |- warning: static property 'err' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'err' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | }
70 |
[34/55] Compiling LogDog MemoryLogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:47:29: warning: capture of 'appender' with non-sendable type 'AnyLogAppender<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 |                 queue.async(group: group) {
46 |                     do {
47 |                         try appender.append(record)
   |                             `- warning: capture of 'appender' with non-sendable type 'AnyLogAppender<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
/host/spi-builder-workspace/Sources/LogDog/Appenders/AnyLogAppender.swift:2:15: note: consider making generic struct 'AnyLogAppender' conform to the 'Sendable' protocol
 1 | /// A type-erased appender.
 2 | public struct AnyLogAppender<Output>: LogAppender {
   |               `- note: consider making generic struct 'AnyLogAppender' conform to the 'Sendable' protocol
 3 |     private let appender: AbstractAppender<Output>
 4 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:47:45: warning: capture of 'record' with non-sendable type 'LogRecord<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 |                 queue.async(group: group) {
46 |                     do {
47 |                         try appender.append(record)
   |                                             `- warning: capture of 'record' with non-sendable type 'LogRecord<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
/host/spi-builder-workspace/Sources/LogDog/LogRecord.swift:1:15: note: consider making generic struct 'LogRecord' conform to the 'Sendable' protocol
 1 | public struct LogRecord<Output> {
   |               `- note: consider making generic struct 'LogRecord' conform to the 'Sendable' protocol
 2 |     public let entry: LogEntry
 3 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
51 |                     }
52 |                 }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:27:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `TextLogAppender.stdout`, output to `stdout`.
13 | /// - `TextLogAppender.stderr`, output to `stderr`.
14 | public struct TextLogAppender: LogAppender {
   |               `- note: consider making struct 'TextLogAppender' conform to the 'Sendable' protocol
15 |     public let stream: TextOutputStream
16 |
   :
25 |     }
26 |
27 |     public static let stdout = TextLogAppender(StdOutputStream.out)
   |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let stderr = TextLogAppender(StdOutputStream.err)
29 | }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:28:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `TextLogAppender.stdout`, output to `stdout`.
13 | /// - `TextLogAppender.stderr`, output to `stderr`.
14 | public struct TextLogAppender: LogAppender {
   |               `- note: consider making struct 'TextLogAppender' conform to the 'Sendable' protocol
15 |     public let stream: TextOutputStream
16 |
   :
26 |
27 |     public static let stdout = TextLogAppender(StdOutputStream.out)
28 |     public static let stderr = TextLogAppender(StdOutputStream.err)
   |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'stderr' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:40:17: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
38 |     private let stdout = MSVCRT.stdout
39 | #else
40 |     private let stderr = Glibc.stderr!
   |                 |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                 |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
   |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |     private let stdout = Glibc.stdout!
42 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:40:32: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 |     private let stdout = MSVCRT.stdout
39 | #else
40 |     private let stderr = Glibc.stderr!
   |                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 |     private let stdout = Glibc.stdout!
42 | #endif
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:41:17: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
39 | #else
40 |     private let stderr = Glibc.stderr!
41 |     private let stdout = Glibc.stdout!
   |                 |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                 |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
   |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | #endif
43 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:41:32: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | #else
40 |     private let stderr = Glibc.stderr!
41 |     private let stdout = Glibc.stdout!
   |                                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:67:16: warning: static property 'out' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
44 | private struct StdOutputStream: TextOutputStream {
   |                `- note: consider making struct 'StdOutputStream' conform to the 'Sendable' protocol
45 |     private let file: UnsafeMutablePointer<FILE>
46 |
   :
65 |     }
66 |
67 |     static let out = StdOutputStream(file: stdout)
   |                |- warning: static property 'out' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'out' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |     static let err = StdOutputStream(file: stderr)
69 | }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:68:16: warning: static property 'err' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
44 | private struct StdOutputStream: TextOutputStream {
   |                `- note: consider making struct 'StdOutputStream' conform to the 'Sendable' protocol
45 |     private let file: UnsafeMutablePointer<FILE>
46 |
   :
66 |
67 |     static let out = StdOutputStream(file: stdout)
68 |     static let err = StdOutputStream(file: stderr)
   |                |- warning: static property 'err' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'err' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | }
70 |
[35/55] Compiling LogDog MultiplexLogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:47:29: warning: capture of 'appender' with non-sendable type 'AnyLogAppender<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 |                 queue.async(group: group) {
46 |                     do {
47 |                         try appender.append(record)
   |                             `- warning: capture of 'appender' with non-sendable type 'AnyLogAppender<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
/host/spi-builder-workspace/Sources/LogDog/Appenders/AnyLogAppender.swift:2:15: note: consider making generic struct 'AnyLogAppender' conform to the 'Sendable' protocol
 1 | /// A type-erased appender.
 2 | public struct AnyLogAppender<Output>: LogAppender {
   |               `- note: consider making generic struct 'AnyLogAppender' conform to the 'Sendable' protocol
 3 |     private let appender: AbstractAppender<Output>
 4 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:47:45: warning: capture of 'record' with non-sendable type 'LogRecord<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 |                 queue.async(group: group) {
46 |                     do {
47 |                         try appender.append(record)
   |                                             `- warning: capture of 'record' with non-sendable type 'LogRecord<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
/host/spi-builder-workspace/Sources/LogDog/LogRecord.swift:1:15: note: consider making generic struct 'LogRecord' conform to the 'Sendable' protocol
 1 | public struct LogRecord<Output> {
   |               `- note: consider making generic struct 'LogRecord' conform to the 'Sendable' protocol
 2 |     public let entry: LogEntry
 3 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
51 |                     }
52 |                 }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:27:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `TextLogAppender.stdout`, output to `stdout`.
13 | /// - `TextLogAppender.stderr`, output to `stderr`.
14 | public struct TextLogAppender: LogAppender {
   |               `- note: consider making struct 'TextLogAppender' conform to the 'Sendable' protocol
15 |     public let stream: TextOutputStream
16 |
   :
25 |     }
26 |
27 |     public static let stdout = TextLogAppender(StdOutputStream.out)
   |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let stderr = TextLogAppender(StdOutputStream.err)
29 | }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:28:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `TextLogAppender.stdout`, output to `stdout`.
13 | /// - `TextLogAppender.stderr`, output to `stderr`.
14 | public struct TextLogAppender: LogAppender {
   |               `- note: consider making struct 'TextLogAppender' conform to the 'Sendable' protocol
15 |     public let stream: TextOutputStream
16 |
   :
26 |
27 |     public static let stdout = TextLogAppender(StdOutputStream.out)
28 |     public static let stderr = TextLogAppender(StdOutputStream.err)
   |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'stderr' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:40:17: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
38 |     private let stdout = MSVCRT.stdout
39 | #else
40 |     private let stderr = Glibc.stderr!
   |                 |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                 |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
   |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |     private let stdout = Glibc.stdout!
42 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:40:32: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 |     private let stdout = MSVCRT.stdout
39 | #else
40 |     private let stderr = Glibc.stderr!
   |                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 |     private let stdout = Glibc.stdout!
42 | #endif
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:41:17: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
39 | #else
40 |     private let stderr = Glibc.stderr!
41 |     private let stdout = Glibc.stdout!
   |                 |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                 |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
   |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | #endif
43 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:41:32: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | #else
40 |     private let stderr = Glibc.stderr!
41 |     private let stdout = Glibc.stdout!
   |                                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:67:16: warning: static property 'out' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
44 | private struct StdOutputStream: TextOutputStream {
   |                `- note: consider making struct 'StdOutputStream' conform to the 'Sendable' protocol
45 |     private let file: UnsafeMutablePointer<FILE>
46 |
   :
65 |     }
66 |
67 |     static let out = StdOutputStream(file: stdout)
   |                |- warning: static property 'out' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'out' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |     static let err = StdOutputStream(file: stderr)
69 | }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:68:16: warning: static property 'err' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
44 | private struct StdOutputStream: TextOutputStream {
   |                `- note: consider making struct 'StdOutputStream' conform to the 'Sendable' protocol
45 |     private let file: UnsafeMutablePointer<FILE>
46 |
   :
66 |
67 |     static let out = StdOutputStream(file: stdout)
68 |     static let err = StdOutputStream(file: stderr)
   |                |- warning: static property 'err' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'err' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | }
70 |
[36/55] Compiling LogDog OSLogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:47:29: warning: capture of 'appender' with non-sendable type 'AnyLogAppender<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 |                 queue.async(group: group) {
46 |                     do {
47 |                         try appender.append(record)
   |                             `- warning: capture of 'appender' with non-sendable type 'AnyLogAppender<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
/host/spi-builder-workspace/Sources/LogDog/Appenders/AnyLogAppender.swift:2:15: note: consider making generic struct 'AnyLogAppender' conform to the 'Sendable' protocol
 1 | /// A type-erased appender.
 2 | public struct AnyLogAppender<Output>: LogAppender {
   |               `- note: consider making generic struct 'AnyLogAppender' conform to the 'Sendable' protocol
 3 |     private let appender: AbstractAppender<Output>
 4 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:47:45: warning: capture of 'record' with non-sendable type 'LogRecord<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 |                 queue.async(group: group) {
46 |                     do {
47 |                         try appender.append(record)
   |                                             `- warning: capture of 'record' with non-sendable type 'LogRecord<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
/host/spi-builder-workspace/Sources/LogDog/LogRecord.swift:1:15: note: consider making generic struct 'LogRecord' conform to the 'Sendable' protocol
 1 | public struct LogRecord<Output> {
   |               `- note: consider making generic struct 'LogRecord' conform to the 'Sendable' protocol
 2 |     public let entry: LogEntry
 3 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
51 |                     }
52 |                 }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:27:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `TextLogAppender.stdout`, output to `stdout`.
13 | /// - `TextLogAppender.stderr`, output to `stderr`.
14 | public struct TextLogAppender: LogAppender {
   |               `- note: consider making struct 'TextLogAppender' conform to the 'Sendable' protocol
15 |     public let stream: TextOutputStream
16 |
   :
25 |     }
26 |
27 |     public static let stdout = TextLogAppender(StdOutputStream.out)
   |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let stderr = TextLogAppender(StdOutputStream.err)
29 | }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:28:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `TextLogAppender.stdout`, output to `stdout`.
13 | /// - `TextLogAppender.stderr`, output to `stderr`.
14 | public struct TextLogAppender: LogAppender {
   |               `- note: consider making struct 'TextLogAppender' conform to the 'Sendable' protocol
15 |     public let stream: TextOutputStream
16 |
   :
26 |
27 |     public static let stdout = TextLogAppender(StdOutputStream.out)
28 |     public static let stderr = TextLogAppender(StdOutputStream.err)
   |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'stderr' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:40:17: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
38 |     private let stdout = MSVCRT.stdout
39 | #else
40 |     private let stderr = Glibc.stderr!
   |                 |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                 |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
   |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |     private let stdout = Glibc.stdout!
42 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:40:32: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 |     private let stdout = MSVCRT.stdout
39 | #else
40 |     private let stderr = Glibc.stderr!
   |                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 |     private let stdout = Glibc.stdout!
42 | #endif
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:41:17: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
39 | #else
40 |     private let stderr = Glibc.stderr!
41 |     private let stdout = Glibc.stdout!
   |                 |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                 |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
   |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | #endif
43 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:41:32: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | #else
40 |     private let stderr = Glibc.stderr!
41 |     private let stdout = Glibc.stdout!
   |                                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:67:16: warning: static property 'out' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
44 | private struct StdOutputStream: TextOutputStream {
   |                `- note: consider making struct 'StdOutputStream' conform to the 'Sendable' protocol
45 |     private let file: UnsafeMutablePointer<FILE>
46 |
   :
65 |     }
66 |
67 |     static let out = StdOutputStream(file: stdout)
   |                |- warning: static property 'out' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'out' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |     static let err = StdOutputStream(file: stderr)
69 | }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:68:16: warning: static property 'err' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
44 | private struct StdOutputStream: TextOutputStream {
   |                `- note: consider making struct 'StdOutputStream' conform to the 'Sendable' protocol
45 |     private let file: UnsafeMutablePointer<FILE>
46 |
   :
66 |
67 |     static let out = StdOutputStream(file: stdout)
68 |     static let err = StdOutputStream(file: stderr)
   |                |- warning: static property 'err' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'err' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | }
70 |
[37/55] Compiling LogDog TextLogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:47:29: warning: capture of 'appender' with non-sendable type 'AnyLogAppender<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 |                 queue.async(group: group) {
46 |                     do {
47 |                         try appender.append(record)
   |                             `- warning: capture of 'appender' with non-sendable type 'AnyLogAppender<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
/host/spi-builder-workspace/Sources/LogDog/Appenders/AnyLogAppender.swift:2:15: note: consider making generic struct 'AnyLogAppender' conform to the 'Sendable' protocol
 1 | /// A type-erased appender.
 2 | public struct AnyLogAppender<Output>: LogAppender {
   |               `- note: consider making generic struct 'AnyLogAppender' conform to the 'Sendable' protocol
 3 |     private let appender: AbstractAppender<Output>
 4 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:47:45: warning: capture of 'record' with non-sendable type 'LogRecord<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 |                 queue.async(group: group) {
46 |                     do {
47 |                         try appender.append(record)
   |                                             `- warning: capture of 'record' with non-sendable type 'LogRecord<Output>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
/host/spi-builder-workspace/Sources/LogDog/LogRecord.swift:1:15: note: consider making generic struct 'LogRecord' conform to the 'Sendable' protocol
 1 | public struct LogRecord<Output> {
   |               `- note: consider making generic struct 'LogRecord' conform to the 'Sendable' protocol
 2 |     public let entry: LogEntry
 3 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
51 |                     }
52 |                 }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:27:23: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `TextLogAppender.stdout`, output to `stdout`.
13 | /// - `TextLogAppender.stderr`, output to `stderr`.
14 | public struct TextLogAppender: LogAppender {
   |               `- note: consider making struct 'TextLogAppender' conform to the 'Sendable' protocol
15 |     public let stream: TextOutputStream
16 |
   :
25 |     }
26 |
27 |     public static let stdout = TextLogAppender(StdOutputStream.out)
   |                       |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'stdout' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let stderr = TextLogAppender(StdOutputStream.err)
29 | }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:28:23: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `TextLogAppender.stdout`, output to `stdout`.
13 | /// - `TextLogAppender.stderr`, output to `stderr`.
14 | public struct TextLogAppender: LogAppender {
   |               `- note: consider making struct 'TextLogAppender' conform to the 'Sendable' protocol
15 |     public let stream: TextOutputStream
16 |
   :
26 |
27 |     public static let stdout = TextLogAppender(StdOutputStream.out)
28 |     public static let stderr = TextLogAppender(StdOutputStream.err)
   |                       |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'TextLogAppender' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'stderr' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 |
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:40:17: warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
38 |     private let stdout = MSVCRT.stdout
39 | #else
40 |     private let stderr = Glibc.stderr!
   |                 |- warning: let 'stderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                 |- note: add '@MainActor' to make let 'stderr' part of global actor 'MainActor'
   |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |     private let stdout = Glibc.stdout!
42 | #endif
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:40:32: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 |     private let stdout = MSVCRT.stdout
39 | #else
40 |     private let stderr = Glibc.stderr!
   |                                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 |     private let stdout = Glibc.stdout!
42 | #endif
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:41:17: warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
39 | #else
40 |     private let stderr = Glibc.stderr!
41 |     private let stdout = Glibc.stdout!
   |                 |- warning: let 'stdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
   |                 |- note: add '@MainActor' to make let 'stdout' part of global actor 'MainActor'
   |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | #endif
43 |
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:41:32: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | #else
40 |     private let stderr = Glibc.stderr!
41 |     private let stdout = Glibc.stdout!
   |                                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:67:16: warning: static property 'out' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
44 | private struct StdOutputStream: TextOutputStream {
   |                `- note: consider making struct 'StdOutputStream' conform to the 'Sendable' protocol
45 |     private let file: UnsafeMutablePointer<FILE>
46 |
   :
65 |     }
66 |
67 |     static let out = StdOutputStream(file: stdout)
   |                |- warning: static property 'out' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'out' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |     static let err = StdOutputStream(file: stderr)
69 | }
/host/spi-builder-workspace/Sources/LogDog/Appenders/TextLogAppender.swift:68:16: warning: static property 'err' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
42 | #endif
43 |
44 | private struct StdOutputStream: TextOutputStream {
   |                `- note: consider making struct 'StdOutputStream' conform to the 'Sendable' protocol
45 |     private let file: UnsafeMutablePointer<FILE>
46 |
   :
66 |
67 |     static let out = StdOutputStream(file: stdout)
68 |     static let err = StdOutputStream(file: stderr)
   |                |- warning: static property 'err' is not concurrency-safe because non-'Sendable' type 'StdOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'err' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | }
70 |
[38/55] Compiling LogDog export.swift
[39/55] Compiling LogDog AnyEncodable.swift
[40/55] Compiling LogDog Lazy.swift
[41/55] Compiling LogDog unwrap.swift
[42/55] Compiling LogDog Concat.swift
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:60:16: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 58 |
 59 | public extension LogSinks.BuiltIn {
 60 |     static let short = LogSinks.BuiltIn(style: .short)
    |                |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'short' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:62:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 60 |     static let short = LogSinks.BuiltIn(style: .short)
 61 |
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
    |                |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |     static let long = LogSinks.BuiltIn(style: .long)
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:64:16: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
 63 |
 64 |     static let long = LogSinks.BuiltIn(style: .long)
    |                |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'long' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 | }
 66 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:70:24: warning: static property 'underlyingShort' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | extension LogSinks.BuiltIn {
 70 |     private static let underlyingShort: AnyLogSink<Void, String> = .init { record, next in
    |                        |- warning: static property 'underlyingShort' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'underlyingShort' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |         record.sink(next: next) { (record) -> String? in
 72 |             let level = record.entry.level.initial
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:87:24: warning: static property 'underlyingMedium' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |     }
 86 |
 87 |     private static let underlyingMedium: AnyLogSink<Void, String> = .init {
    |                        |- warning: static property 'underlyingMedium' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'underlyingMedium' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |         $0.parameters[Medium.self] = .init()
 89 |     } sink: { record, next in
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:146:16: warning: static property 'underlyingLong' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
144 |     }
145 |
146 |     static let underlyingLong: AnyLogSink<Void, String> = .init {
    |                |- warning: static property 'underlyingLong' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'underlyingLong' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         $0.parameters[Long.self] = .init()
148 |     } sink: { record, next in
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
[43/55] Compiling LogDog Debug.swift
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:60:16: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 58 |
 59 | public extension LogSinks.BuiltIn {
 60 |     static let short = LogSinks.BuiltIn(style: .short)
    |                |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'short' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:62:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 60 |     static let short = LogSinks.BuiltIn(style: .short)
 61 |
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
    |                |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |     static let long = LogSinks.BuiltIn(style: .long)
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:64:16: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
 63 |
 64 |     static let long = LogSinks.BuiltIn(style: .long)
    |                |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'long' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 | }
 66 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:70:24: warning: static property 'underlyingShort' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | extension LogSinks.BuiltIn {
 70 |     private static let underlyingShort: AnyLogSink<Void, String> = .init { record, next in
    |                        |- warning: static property 'underlyingShort' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'underlyingShort' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |         record.sink(next: next) { (record) -> String? in
 72 |             let level = record.entry.level.initial
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:87:24: warning: static property 'underlyingMedium' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |     }
 86 |
 87 |     private static let underlyingMedium: AnyLogSink<Void, String> = .init {
    |                        |- warning: static property 'underlyingMedium' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'underlyingMedium' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |         $0.parameters[Medium.self] = .init()
 89 |     } sink: { record, next in
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:146:16: warning: static property 'underlyingLong' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
144 |     }
145 |
146 |     static let underlyingLong: AnyLogSink<Void, String> = .init {
    |                |- warning: static property 'underlyingLong' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'underlyingLong' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         $0.parameters[Long.self] = .init()
148 |     } sink: { record, next in
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
[44/55] Compiling LogDog Filter.swift
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:60:16: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 58 |
 59 | public extension LogSinks.BuiltIn {
 60 |     static let short = LogSinks.BuiltIn(style: .short)
    |                |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'short' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:62:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 60 |     static let short = LogSinks.BuiltIn(style: .short)
 61 |
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
    |                |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |     static let long = LogSinks.BuiltIn(style: .long)
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:64:16: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
 63 |
 64 |     static let long = LogSinks.BuiltIn(style: .long)
    |                |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'long' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 | }
 66 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:70:24: warning: static property 'underlyingShort' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | extension LogSinks.BuiltIn {
 70 |     private static let underlyingShort: AnyLogSink<Void, String> = .init { record, next in
    |                        |- warning: static property 'underlyingShort' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'underlyingShort' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |         record.sink(next: next) { (record) -> String? in
 72 |             let level = record.entry.level.initial
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:87:24: warning: static property 'underlyingMedium' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |     }
 86 |
 87 |     private static let underlyingMedium: AnyLogSink<Void, String> = .init {
    |                        |- warning: static property 'underlyingMedium' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'underlyingMedium' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |         $0.parameters[Medium.self] = .init()
 89 |     } sink: { record, next in
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:146:16: warning: static property 'underlyingLong' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
144 |     }
145 |
146 |     static let underlyingLong: AnyLogSink<Void, String> = .init {
    |                |- warning: static property 'underlyingLong' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'underlyingLong' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         $0.parameters[Long.self] = .init()
148 |     } sink: { record, next in
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
[45/55] Compiling LogDog Match.swift
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:60:16: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 58 |
 59 | public extension LogSinks.BuiltIn {
 60 |     static let short = LogSinks.BuiltIn(style: .short)
    |                |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'short' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:62:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 60 |     static let short = LogSinks.BuiltIn(style: .short)
 61 |
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
    |                |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |     static let long = LogSinks.BuiltIn(style: .long)
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:64:16: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
 63 |
 64 |     static let long = LogSinks.BuiltIn(style: .long)
    |                |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'long' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 | }
 66 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:70:24: warning: static property 'underlyingShort' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | extension LogSinks.BuiltIn {
 70 |     private static let underlyingShort: AnyLogSink<Void, String> = .init { record, next in
    |                        |- warning: static property 'underlyingShort' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'underlyingShort' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |         record.sink(next: next) { (record) -> String? in
 72 |             let level = record.entry.level.initial
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:87:24: warning: static property 'underlyingMedium' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |     }
 86 |
 87 |     private static let underlyingMedium: AnyLogSink<Void, String> = .init {
    |                        |- warning: static property 'underlyingMedium' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'underlyingMedium' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |         $0.parameters[Medium.self] = .init()
 89 |     } sink: { record, next in
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:146:16: warning: static property 'underlyingLong' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
144 |     }
145 |
146 |     static let underlyingLong: AnyLogSink<Void, String> = .init {
    |                |- warning: static property 'underlyingLong' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'underlyingLong' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         $0.parameters[Long.self] = .init()
148 |     } sink: { record, next in
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
[46/55] Compiling LogDog BuiltIn.swift
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:60:16: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 58 |
 59 | public extension LogSinks.BuiltIn {
 60 |     static let short = LogSinks.BuiltIn(style: .short)
    |                |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'short' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:62:16: warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 60 |     static let short = LogSinks.BuiltIn(style: .short)
 61 |
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
    |                |- warning: static property 'medium' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'medium' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |     static let long = LogSinks.BuiltIn(style: .long)
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:64:16: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | public extension LogSinks {
  4 |     struct BuiltIn: LogSink {
    |            `- note: consider making struct 'BuiltIn' conform to the 'Sendable' protocol
  5 |         public typealias Input = Void
  6 |         public typealias Output = String
    :
 62 |     static let medium = LogSinks.BuiltIn(style: .medium)
 63 |
 64 |     static let long = LogSinks.BuiltIn(style: .long)
    |                |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'LogSinks.BuiltIn' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'long' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 | }
 66 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:70:24: warning: static property 'underlyingShort' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 68 |
 69 | extension LogSinks.BuiltIn {
 70 |     private static let underlyingShort: AnyLogSink<Void, String> = .init { record, next in
    |                        |- warning: static property 'underlyingShort' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'underlyingShort' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |         record.sink(next: next) { (record) -> String? in
 72 |             let level = record.entry.level.initial
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:87:24: warning: static property 'underlyingMedium' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
 85 |     }
 86 |
 87 |     private static let underlyingMedium: AnyLogSink<Void, String> = .init {
    |                        |- warning: static property 'underlyingMedium' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: add '@MainActor' to make static property 'underlyingMedium' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 88 |         $0.parameters[Medium.self] = .init()
 89 |     } sink: { record, next in
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
/host/spi-builder-workspace/Sources/LogDog/Sinks/Formatters/BuiltIn.swift:146:16: warning: static property 'underlyingLong' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
144 |     }
145 |
146 |     static let underlyingLong: AnyLogSink<Void, String> = .init {
    |                |- warning: static property 'underlyingLong' is not concurrency-safe because non-'Sendable' type 'AnyLogSink<Void, String>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'underlyingLong' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         $0.parameters[Long.self] = .init()
148 |     } sink: { record, next in
/host/spi-builder-workspace/Sources/LogDog/Sinks/AnyLogSink.swift:7:15: note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 5 | }
 6 |
 7 | public struct AnyLogSink<Input, Output>: LogSink {
   |               `- note: consider making generic struct 'AnyLogSink' conform to the 'Sendable' protocol
 8 |     private let sink: AbstractSink<Input, Output>
 9 |
[47/55] Compiling LogDog Compress.swift
[48/55] Compiling LogDog Crypto.swift
[49/55] Compiling LogDog Encode.swift
[50/55] Compiling LogDog Format.swift
[51/55] Compiling LogDog Prefix.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/11] Compiling Logging MetadataProvider.swift
[3/11] Emitting module Logging
[4/11] Compiling Logging LogHandler.swift
[5/11] Compiling Logging Locks.swift
[6/11] Compiling Logging Logging.swift
[7/12] Wrapping AST for Logging for debugging
[9/48] Compiling LogDog Compress.swift
[10/48] Compiling LogDog Crypto.swift
[11/48] Compiling LogDog Encode.swift
[12/48] Compiling LogDog Format.swift
[13/48] Compiling LogDog Prefix.swift
[14/52] Compiling LogDog AnyLogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
51 |                     }
52 |                 }
[15/52] Compiling LogDog MemoryLogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
51 |                     }
52 |                 }
[16/52] Compiling LogDog MultiplexLogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
51 |                     }
52 |                 }
[17/52] Compiling LogDog OSLogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
51 |                     }
52 |                 }
[18/52] Compiling LogDog TextLogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:49:25: warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
47 |                         try appender.append(record)
48 |                     } catch {
49 |                         errors[i] = error
   |                         `- warning: mutation of captured var 'errors' in concurrently-executing code; this is an error in the Swift 6 language mode
50 |                         hasError = true
51 |                     }
/host/spi-builder-workspace/Sources/LogDog/Appenders/MultiplexLogAppender.swift:50:25: warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |                     } catch {
49 |                         errors[i] = error
50 |                         hasError = true
   |                         `- warning: mutation of captured var 'hasError' in concurrently-executing code; this is an error in the Swift 6 language mode
51 |                     }
52 |                 }
[19/52] Compiling LogDog export.swift
[20/52] Compiling LogDog AnyEncodable.swift
[21/52] Compiling LogDog Lazy.swift
[22/52] Compiling LogDog unwrap.swift
[23/52] Emitting module LogDog
[24/52] Compiling LogDog Suffix.swift
[25/52] Compiling LogDog Hook.swift
[26/52] Compiling LogDog LogSinks.swift
[27/52] Compiling LogDog SinkOn.swift
[28/52] Compiling LogDog SugarLogHandler.swift
[29/52] Compiling LogDog LogStringify.swift
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
15 |         callback()
16 |     }
[30/52] Compiling LogDog LogStringifyCompatible.swift
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
15 |         callback()
16 |     }
[31/52] Compiling LogDog Logger.MetadataValue+Any.swift
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
15 |         callback()
16 |     }
[32/52] Compiling LogDog atExit.swift
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
15 |         callback()
16 |     }
[33/52] Compiling LogDog LogAppender.swift
/host/spi-builder-workspace/Sources/LogDog/Features/atExit.swift:14:32: warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
12 |
13 | func atExit(_ callback: @escaping () -> Void) {
14 |     NotificationCenter.default.addObserver(forName: atExit, object: nil, queue: nil) { _ in
   |                                `- warning: result of call to 'addObserver(forName:object:queue:using:)' is unused
15 |         callback()
16 |     }
[34/52] Compiling LogDog Concat.swift
[35/52] Compiling LogDog Debug.swift
[36/52] Compiling LogDog Filter.swift
[37/52] Compiling LogDog Match.swift
[38/52] Compiling LogDog BuiltIn.swift
[39/52] Compiling LogDog LogRecord.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
33 |         addOperation(body)
   |                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
34 |     }
35 | }
[40/52] Compiling LogDog LogScheduler.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
33 |         addOperation(body)
   |                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
34 |     }
35 | }
[41/52] Compiling LogDog LogSink.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
33 |         addOperation(body)
   |                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
34 |     }
35 | }
[42/52] Compiling LogDog Logging+.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
33 |         addOperation(body)
   |                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
34 |     }
35 | }
[43/52] Compiling LogDog AnyLogSink.swift
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:9:24: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 6 |
 7 | extension DispatchQueue: LogScheduler {
 8 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
 9 |         async(execute: body)
   |                        `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
10 |     }
11 | }
/host/spi-builder-workspace/Sources/LogDog/LogScheduler.swift:33:22: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
30 |
31 | extension OperationQueue: LogScheduler {
32 |     public func schedule(_ body: @escaping () -> Void) {
   |                            `- note: parameter 'body' is implicitly non-sendable
33 |         addOperation(body)
   |                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
34 |     }
35 | }
[44/52] Compiling LogDog LogEncoder.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                     `- error: cannot find '__dispatch_queue_get_label' in scope
152 |         return String(cString: label)
153 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[45/52] Compiling LogDog LogEntry.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                     `- error: cannot find '__dispatch_queue_get_label' in scope
152 |         return String(cString: label)
153 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[46/52] Compiling LogDog LogError.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                     `- error: cannot find '__dispatch_queue_get_label' in scope
152 |         return String(cString: label)
153 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[47/52] Compiling LogDog LogHelper.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                     `- error: cannot find '__dispatch_queue_get_label' in scope
152 |         return String(cString: label)
153 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
[48/52] Compiling LogDog LogParameters.swift
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:21: error: cannot find '__dispatch_queue_get_label' in scope
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                     `- error: cannot find '__dispatch_queue_get_label' in scope
152 |         return String(cString: label)
153 |     }
/host/spi-builder-workspace/Sources/LogDog/LogHelper.swift:151:48: error: 'nil' requires a contextual type
149 | public extension LogHelper {
150 |     static var currentDispatchQueueLabel: String {
151 |         let label = __dispatch_queue_get_label(nil)
    |                                                `- error: 'nil' requires a contextual type
152 |         return String(cString: label)
153 |     }
BUILD FAILURE 6.1 linux