Build Information
Successful build of SwiftSpellbook, reference main (1f0a30
), with Swift 6.1 for macOS (SPM) on 7 Aug 2025 08:55:16 UTC.
Swift 6 data race errors: 95
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
220 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
221 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
222 | try withLock { try body() }
| |- warning: capture of 'body' with non-sendable type '() throws -> R' 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'
223 | }
224 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:238:41: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
235 | }
236 |
237 | func withAsyncWriteLock(_ body: @escaping () -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
238 | async(flags: .barrier, execute: body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
239 | }
240 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:33:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
31 | completion: @escaping (Result<R, Error>) -> Void
32 | ) where Success == Void, Failure == Never {
33 | Task<Void, Never> {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
34 | let result: Result<R, Error>
35 | do {
:
38 | result = .failure(error)
39 | }
40 | queue.async { completion(result) }
| `- note: closure captures 'completion' which is accessible to code in the current task
41 | }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:49:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
47 | completion: @escaping (R) -> Void
48 | ) where Success == Void, Failure == Never {
49 | Task<Void, Never> {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
50 | let result = await body()
51 | queue.async { completion(result) }
| `- note: closure captures 'completion' which is accessible to code in the current task
52 | }
53 | }
[51/69] Compiling SpellbookFoundation _ValueUpdateWrapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/BlockingQueue.swift:25:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let log = SpellbookLogger.internal(category: "BlockingQueue")
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Queue that blocks thread execution waiting new elements.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/ConcurrentBlockOperation.swift:35:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
33 | public init(block: @escaping (_ isCancelled: ValueView<Bool>) async -> Void) {
34 | self.block = { isCancelled, completion in
35 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
36 | await block(isCancelled)
| `- note: closure captures 'block' which is accessible to code in the current task
37 | completion()
38 | }
[52/69] Compiling SpellbookFoundation DeviceInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/BlockingQueue.swift:25:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let log = SpellbookLogger.internal(category: "BlockingQueue")
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Queue that blocks thread execution waiting new elements.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/ConcurrentBlockOperation.swift:35:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
33 | public init(block: @escaping (_ isCancelled: ValueView<Bool>) async -> Void) {
34 | self.block = { isCancelled, completion in
35 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
36 | await block(isCancelled)
| `- note: closure captures 'block' which is accessible to code in the current task
37 | completion()
38 | }
[53/69] Compiling SpellbookFoundation Extensions - ProcessInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/BlockingQueue.swift:25:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let log = SpellbookLogger.internal(category: "BlockingQueue")
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Queue that blocks thread execution waiting new elements.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/ConcurrentBlockOperation.swift:35:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
33 | public init(block: @escaping (_ isCancelled: ValueView<Bool>) async -> Void) {
34 | self.block = { isCancelled, completion in
35 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
36 | await block(isCancelled)
| `- note: closure captures 'block' which is accessible to code in the current task
37 | completion()
38 | }
[54/69] Compiling SpellbookFoundation Atomic.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/BlockingQueue.swift:25:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let log = SpellbookLogger.internal(category: "BlockingQueue")
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Queue that blocks thread execution waiting new elements.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/ConcurrentBlockOperation.swift:35:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
33 | public init(block: @escaping (_ isCancelled: ValueView<Bool>) async -> Void) {
34 | self.block = { isCancelled, completion in
35 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
36 | await block(isCancelled)
| `- note: closure captures 'block' which is accessible to code in the current task
37 | completion()
38 | }
[55/69] Compiling SpellbookFoundation BlockingQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/BlockingQueue.swift:25:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let log = SpellbookLogger.internal(category: "BlockingQueue")
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Queue that blocks thread execution waiting new elements.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/ConcurrentBlockOperation.swift:35:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
33 | public init(block: @escaping (_ isCancelled: ValueView<Bool>) async -> Void) {
34 | self.block = { isCancelled, completion in
35 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
36 | await block(isCancelled)
| `- note: closure captures 'block' which is accessible to code in the current task
37 | completion()
38 | }
[56/69] Compiling SpellbookFoundation ConcurrentBlockOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/BlockingQueue.swift:25:13: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let log = SpellbookLogger.internal(category: "BlockingQueue")
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'log' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Queue that blocks thread execution waiting new elements.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/ConcurrentBlockOperation.swift:35:27: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
33 | public init(block: @escaping (_ isCancelled: ValueView<Bool>) async -> Void) {
34 | self.block = { isCancelled, completion in
35 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
36 | await block(isCancelled)
| `- note: closure captures 'block' which is accessible to code in the current task
37 | completion()
38 | }
[57/69] Compiling SpellbookFoundation Extensions - Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/Extensions - Codable.swift:25:13: warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let codableLogger = SpellbookLogger.internal(category: "Codable")
| |- warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'codableLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:59:23: warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
| |- warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:60:23: warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
| |- warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:61:23: warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
:
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
| |- warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:68:23: warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
| |- warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:69:23: warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
| |- warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:70:23: warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
:
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
| |- warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:314:23: 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
312 | }
313 |
314 | public static var `default` = SpellbookLogger(name: "default")
| |- 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
315 |
316 | public var source = SpellbookLogSource.default()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:355:23: warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
353 | extension SpellbookLogger {
354 | /// Subsystem name used by default.
355 | public static var internalSubsystem = "Spellbook"
| |- warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internalSubsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | internal static func `internal`(category: String) -> SpellbookLog {
[58/69] Compiling SpellbookFoundation Extensions - Collections.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/Extensions - Codable.swift:25:13: warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let codableLogger = SpellbookLogger.internal(category: "Codable")
| |- warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'codableLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:59:23: warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
| |- warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:60:23: warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
| |- warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:61:23: warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
:
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
| |- warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:68:23: warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
| |- warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:69:23: warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
| |- warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:70:23: warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
:
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
| |- warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:314:23: 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
312 | }
313 |
314 | public static var `default` = SpellbookLogger(name: "default")
| |- 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
315 |
316 | public var source = SpellbookLogSource.default()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:355:23: warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
353 | extension SpellbookLogger {
354 | /// Subsystem name used by default.
355 | public static var internalSubsystem = "Spellbook"
| |- warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internalSubsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | internal static func `internal`(category: String) -> SpellbookLog {
[59/69] Compiling SpellbookFoundation Extensions - Comparable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/Extensions - Codable.swift:25:13: warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let codableLogger = SpellbookLogger.internal(category: "Codable")
| |- warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'codableLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:59:23: warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
| |- warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:60:23: warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
| |- warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:61:23: warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
:
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
| |- warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:68:23: warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
| |- warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:69:23: warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
| |- warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:70:23: warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
:
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
| |- warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:314:23: 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
312 | }
313 |
314 | public static var `default` = SpellbookLogger(name: "default")
| |- 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
315 |
316 | public var source = SpellbookLogSource.default()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:355:23: warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
353 | extension SpellbookLogger {
354 | /// Subsystem name used by default.
355 | public static var internalSubsystem = "Spellbook"
| |- warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internalSubsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | internal static func `internal`(category: String) -> SpellbookLog {
[60/69] Compiling SpellbookFoundation Extensions - Formatters.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/Extensions - Codable.swift:25:13: warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let codableLogger = SpellbookLogger.internal(category: "Codable")
| |- warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'codableLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:59:23: warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
| |- warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:60:23: warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
| |- warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:61:23: warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
:
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
| |- warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:68:23: warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
| |- warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:69:23: warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
| |- warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:70:23: warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
:
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
| |- warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:314:23: 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
312 | }
313 |
314 | public static var `default` = SpellbookLogger(name: "default")
| |- 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
315 |
316 | public var source = SpellbookLogSource.default()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:355:23: warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
353 | extension SpellbookLogger {
354 | /// Subsystem name used by default.
355 | public static var internalSubsystem = "Spellbook"
| |- warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internalSubsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | internal static func `internal`(category: String) -> SpellbookLog {
[61/69] Compiling SpellbookFoundation Extensions - StandardTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/Extensions - Codable.swift:25:13: warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let codableLogger = SpellbookLogger.internal(category: "Codable")
| |- warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'codableLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:59:23: warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
| |- warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:60:23: warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
| |- warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:61:23: warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
:
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
| |- warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:68:23: warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
| |- warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:69:23: warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
| |- warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:70:23: warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
:
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
| |- warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:314:23: 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
312 | }
313 |
314 | public static var `default` = SpellbookLogger(name: "default")
| |- 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
315 |
316 | public var source = SpellbookLogSource.default()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:355:23: warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
353 | extension SpellbookLogger {
354 | /// Subsystem name used by default.
355 | public static var internalSubsystem = "Spellbook"
| |- warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internalSubsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | internal static func `internal`(category: String) -> SpellbookLog {
[62/69] Compiling SpellbookFoundation SBUnit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/Extensions - Codable.swift:25:13: warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let codableLogger = SpellbookLogger.internal(category: "Codable")
| |- warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'codableLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:59:23: warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
| |- warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:60:23: warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
| |- warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:61:23: warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
:
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
| |- warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:68:23: warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
| |- warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:69:23: warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
| |- warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:70:23: warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
:
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
| |- warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:314:23: 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
312 | }
313 |
314 | public static var `default` = SpellbookLogger(name: "default")
| |- 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
315 |
316 | public var source = SpellbookLogSource.default()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:355:23: warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
353 | extension SpellbookLogger {
354 | /// Subsystem name used by default.
355 | public static var internalSubsystem = "Spellbook"
| |- warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internalSubsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | internal static func `internal`(category: String) -> SpellbookLog {
[63/69] Compiling SpellbookFoundation SpellbookLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/Extensions - Codable.swift:25:13: warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | private let codableLogger = SpellbookLogger.internal(category: "Codable")
| |- warning: let 'codableLogger' is not concurrency-safe because non-'Sendable' type 'any SpellbookLog' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'codableLogger' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:26:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
24 | import os
25 |
26 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
27 | func _custom(
28 | level: SpellbookLogLevel,
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:59:23: warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
| |- warning: static property 'kilobyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kilobyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:60:23: warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
58 |
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
| |- warning: static property 'megabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'megabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:61:23: warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
53 | }
54 |
55 | public struct SBUnitInformationStorage: SBUnit {
| `- note: consider making struct 'SBUnitInformationStorage' conform to the 'Sendable' protocol
56 | public var rawValue: Int
57 | public init(rawValue: Int) { self.rawValue = rawValue }
:
59 | public static let kilobyte = Self(rawValue: 1024)
60 | public static let megabyte = Self(rawValue: 1024 * kilobyte.rawValue)
61 | public static let gigabyte = Self(rawValue: 1024 * megabyte.rawValue)
| |- warning: static property 'gigabyte' is not concurrency-safe because non-'Sendable' type 'SBUnitInformationStorage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gigabyte' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:68:23: warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
| |- warning: static property 'minute' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:69:23: warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
67 |
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
| |- warning: static property 'hour' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SBUnit.swift:70:23: warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | public struct SBUnitTime: SBUnit {
| `- note: consider making struct 'SBUnitTime' conform to the 'Sendable' protocol
65 | public var rawValue: TimeInterval
66 | public init(rawValue: TimeInterval) { self.rawValue = rawValue }
:
68 | public static let minute = Self(rawValue: 60)
69 | public static let hour = Self(rawValue: 60 * minute.rawValue)
70 | public static let day = Self(rawValue: 24 * hour.rawValue)
| |- warning: static property 'day' is not concurrency-safe because non-'Sendable' type 'SBUnitTime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:314:23: 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
312 | }
313 |
314 | public static var `default` = SpellbookLogger(name: "default")
| |- 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
315 |
316 | public var source = SpellbookLogSource.default()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:355:23: warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
353 | extension SpellbookLogger {
354 | /// Subsystem name used by default.
355 | public static var internalSubsystem = "Spellbook"
| |- warning: static property 'internalSubsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalSubsystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'internalSubsystem' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 |
357 | internal static func `internal`(category: String) -> SpellbookLog {
[64/69] Compiling SpellbookFoundation Extensions - FileManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:60:27: warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
58 |
59 | /// URL is included into results.
60 | public static let proceed = Self(current: true, children: true)
| |- warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'proceed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /// URL is excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:63:27: warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
61 |
62 | /// URL is excluded from results.
63 | public static let skip = Self(current: false, children: true)
| |- warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// URL and all descendants are excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:66:27: warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
64 |
65 | /// URL and all descendants are excluded from results.
66 | public static let skipRecursive = Self(current: false, children: false)
| |- warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipRecursive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileStore.swift:50:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
25 | /// Wraps common file operations file reading and writing.
26 | /// Provides ability to change underlying implementation to mock dealing with real file system.
27 | public struct FileStore<T> {
| `- note: consider making generic struct 'FileStore' conform to the 'Sendable' protocol
28 | private let read: (URL, T?) throws -> T
29 | private let write: (T, URL, Bool) throws -> Void
:
48 | extension FileStore where T == Data {
49 | @available(*, deprecated, renamed: "standard(writingOptions:)")
50 | public static let standard: FileStore = .standard()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public static func standard(writingOptions: Data.WritingOptions = .atomic) -> FileStore {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/TemporaryDirectory.swift:63:23: warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A convenient interface to deal with temporary directories.
26 | public struct TemporaryDirectory {
| `- note: consider making struct 'TemporaryDirectory' conform to the 'Sendable' protocol
27 | public let location: URL
28 |
:
61 | extension TemporaryDirectory {
62 | /// Temporarty directory named as the main app bundle inside current user temporary directory.
63 | public static let bundle = TemporaryDirectory(
| |- warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | name: Bundle.main.bundleIdentifier ?? Bundle.main.bundlePath.lastPathComponent
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:95:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
93 | }
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:96:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
98 |
[65/69] Compiling SpellbookFoundation FileEnumerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:60:27: warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
58 |
59 | /// URL is included into results.
60 | public static let proceed = Self(current: true, children: true)
| |- warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'proceed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /// URL is excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:63:27: warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
61 |
62 | /// URL is excluded from results.
63 | public static let skip = Self(current: false, children: true)
| |- warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// URL and all descendants are excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:66:27: warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
64 |
65 | /// URL and all descendants are excluded from results.
66 | public static let skipRecursive = Self(current: false, children: false)
| |- warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipRecursive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileStore.swift:50:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
25 | /// Wraps common file operations file reading and writing.
26 | /// Provides ability to change underlying implementation to mock dealing with real file system.
27 | public struct FileStore<T> {
| `- note: consider making generic struct 'FileStore' conform to the 'Sendable' protocol
28 | private let read: (URL, T?) throws -> T
29 | private let write: (T, URL, Bool) throws -> Void
:
48 | extension FileStore where T == Data {
49 | @available(*, deprecated, renamed: "standard(writingOptions:)")
50 | public static let standard: FileStore = .standard()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public static func standard(writingOptions: Data.WritingOptions = .atomic) -> FileStore {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/TemporaryDirectory.swift:63:23: warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A convenient interface to deal with temporary directories.
26 | public struct TemporaryDirectory {
| `- note: consider making struct 'TemporaryDirectory' conform to the 'Sendable' protocol
27 | public let location: URL
28 |
:
61 | extension TemporaryDirectory {
62 | /// Temporarty directory named as the main app bundle inside current user temporary directory.
63 | public static let bundle = TemporaryDirectory(
| |- warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | name: Bundle.main.bundleIdentifier ?? Bundle.main.bundlePath.lastPathComponent
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:95:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
93 | }
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:96:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
98 |
[66/69] Compiling SpellbookFoundation FileStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:60:27: warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
58 |
59 | /// URL is included into results.
60 | public static let proceed = Self(current: true, children: true)
| |- warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'proceed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /// URL is excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:63:27: warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
61 |
62 | /// URL is excluded from results.
63 | public static let skip = Self(current: false, children: true)
| |- warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// URL and all descendants are excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:66:27: warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
64 |
65 | /// URL and all descendants are excluded from results.
66 | public static let skipRecursive = Self(current: false, children: false)
| |- warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipRecursive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileStore.swift:50:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
25 | /// Wraps common file operations file reading and writing.
26 | /// Provides ability to change underlying implementation to mock dealing with real file system.
27 | public struct FileStore<T> {
| `- note: consider making generic struct 'FileStore' conform to the 'Sendable' protocol
28 | private let read: (URL, T?) throws -> T
29 | private let write: (T, URL, Bool) throws -> Void
:
48 | extension FileStore where T == Data {
49 | @available(*, deprecated, renamed: "standard(writingOptions:)")
50 | public static let standard: FileStore = .standard()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public static func standard(writingOptions: Data.WritingOptions = .atomic) -> FileStore {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/TemporaryDirectory.swift:63:23: warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A convenient interface to deal with temporary directories.
26 | public struct TemporaryDirectory {
| `- note: consider making struct 'TemporaryDirectory' conform to the 'Sendable' protocol
27 | public let location: URL
28 |
:
61 | extension TemporaryDirectory {
62 | /// Temporarty directory named as the main app bundle inside current user temporary directory.
63 | public static let bundle = TemporaryDirectory(
| |- warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | name: Bundle.main.bundleIdentifier ?? Bundle.main.bundlePath.lastPathComponent
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:95:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
93 | }
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:96:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
98 |
[67/69] Compiling SpellbookFoundation TemporaryDirectory.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:60:27: warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
58 |
59 | /// URL is included into results.
60 | public static let proceed = Self(current: true, children: true)
| |- warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'proceed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /// URL is excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:63:27: warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
61 |
62 | /// URL is excluded from results.
63 | public static let skip = Self(current: false, children: true)
| |- warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// URL and all descendants are excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:66:27: warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
64 |
65 | /// URL and all descendants are excluded from results.
66 | public static let skipRecursive = Self(current: false, children: false)
| |- warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipRecursive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileStore.swift:50:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
25 | /// Wraps common file operations file reading and writing.
26 | /// Provides ability to change underlying implementation to mock dealing with real file system.
27 | public struct FileStore<T> {
| `- note: consider making generic struct 'FileStore' conform to the 'Sendable' protocol
28 | private let read: (URL, T?) throws -> T
29 | private let write: (T, URL, Bool) throws -> Void
:
48 | extension FileStore where T == Data {
49 | @available(*, deprecated, renamed: "standard(writingOptions:)")
50 | public static let standard: FileStore = .standard()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public static func standard(writingOptions: Data.WritingOptions = .atomic) -> FileStore {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/TemporaryDirectory.swift:63:23: warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A convenient interface to deal with temporary directories.
26 | public struct TemporaryDirectory {
| `- note: consider making struct 'TemporaryDirectory' conform to the 'Sendable' protocol
27 | public let location: URL
28 |
:
61 | extension TemporaryDirectory {
62 | /// Temporarty directory named as the main app bundle inside current user temporary directory.
63 | public static let bundle = TemporaryDirectory(
| |- warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | name: Bundle.main.bundleIdentifier ?? Bundle.main.bundlePath.lastPathComponent
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:95:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
93 | }
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:96:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
98 |
[68/69] Compiling SpellbookFoundation Extensions - CoreGraphics.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:60:27: warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
58 |
59 | /// URL is included into results.
60 | public static let proceed = Self(current: true, children: true)
| |- warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'proceed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /// URL is excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:63:27: warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
61 |
62 | /// URL is excluded from results.
63 | public static let skip = Self(current: false, children: true)
| |- warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// URL and all descendants are excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:66:27: warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
64 |
65 | /// URL and all descendants are excluded from results.
66 | public static let skipRecursive = Self(current: false, children: false)
| |- warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipRecursive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileStore.swift:50:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
25 | /// Wraps common file operations file reading and writing.
26 | /// Provides ability to change underlying implementation to mock dealing with real file system.
27 | public struct FileStore<T> {
| `- note: consider making generic struct 'FileStore' conform to the 'Sendable' protocol
28 | private let read: (URL, T?) throws -> T
29 | private let write: (T, URL, Bool) throws -> Void
:
48 | extension FileStore where T == Data {
49 | @available(*, deprecated, renamed: "standard(writingOptions:)")
50 | public static let standard: FileStore = .standard()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public static func standard(writingOptions: Data.WritingOptions = .atomic) -> FileStore {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/TemporaryDirectory.swift:63:23: warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A convenient interface to deal with temporary directories.
26 | public struct TemporaryDirectory {
| `- note: consider making struct 'TemporaryDirectory' conform to the 'Sendable' protocol
27 | public let location: URL
28 |
:
61 | extension TemporaryDirectory {
62 | /// Temporarty directory named as the main app bundle inside current user temporary directory.
63 | public static let bundle = TemporaryDirectory(
| |- warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | name: Bundle.main.bundleIdentifier ?? Bundle.main.bundlePath.lastPathComponent
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:95:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
93 | }
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:96:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
98 |
[69/69] Compiling SpellbookFoundation RGBColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:60:27: warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
58 |
59 | /// URL is included into results.
60 | public static let proceed = Self(current: true, children: true)
| |- warning: static property 'proceed' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'proceed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /// URL is excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:63:27: warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
61 |
62 | /// URL is excluded from results.
63 | public static let skip = Self(current: false, children: true)
| |- warning: static property 'skip' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// URL and all descendants are excluded from results.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileEnumerator.swift:66:27: warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension FileEnumerator {
50 | public struct FilterVerdict {
| `- note: consider making struct 'FilterVerdict' conform to the 'Sendable' protocol
51 | public var current: Bool
52 | public var children: Bool
:
64 |
65 | /// URL and all descendants are excluded from results.
66 | public static let skipRecursive = Self(current: false, children: false)
| |- warning: static property 'skipRecursive' is not concurrency-safe because non-'Sendable' type 'FileEnumerator.FilterVerdict' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'skipRecursive' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/FileStore.swift:50:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
25 | /// Wraps common file operations file reading and writing.
26 | /// Provides ability to change underlying implementation to mock dealing with real file system.
27 | public struct FileStore<T> {
| `- note: consider making generic struct 'FileStore' conform to the 'Sendable' protocol
28 | private let read: (URL, T?) throws -> T
29 | private let write: (T, URL, Bool) throws -> Void
:
48 | extension FileStore where T == Data {
49 | @available(*, deprecated, renamed: "standard(writingOptions:)")
50 | public static let standard: FileStore = .standard()
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'FileStore<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | public static func standard(writingOptions: Data.WritingOptions = .atomic) -> FileStore {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Filesystem & Bundle/TemporaryDirectory.swift:63:23: warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// A convenient interface to deal with temporary directories.
26 | public struct TemporaryDirectory {
| `- note: consider making struct 'TemporaryDirectory' conform to the 'Sendable' protocol
27 | public let location: URL
28 |
:
61 | extension TemporaryDirectory {
62 | /// Temporarty directory named as the main app bundle inside current user temporary directory.
63 | public static let bundle = TemporaryDirectory(
| |- warning: static property 'bundle' is not concurrency-safe because non-'Sendable' type 'TemporaryDirectory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bundle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | name: Bundle.main.bundleIdentifier ?? Bundle.main.bundlePath.lastPathComponent
65 | )
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:95:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
93 | }
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'white' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/GUI/RGBColor.swift:96:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
10 | #if canImport(CoreGraphics)
11 |
12 | public struct RGBColor: Hashable, Codable, ValueBuilder {
| `- note: consider making struct 'RGBColor' conform to the 'Sendable' protocol
13 | public var red: CGFloat
14 | public var green: CGFloat
:
94 |
95 | public static let white = RGBColor(red: 1, green: 1, blue: 1)
96 | public static let black = RGBColor(red: 0, green: 0, blue: 0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'RGBColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'black' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static func gray(_ value: CGFloat) -> RGBColor { .init(red: value, green: value, blue: value) }
98 |
[70/84] Compiling SpellbookBinaryParsing BinaryWriterOutput.swift
[71/84] Compiling SpellbookBinaryParsing BinaryWriter.swift
[72/84] Compiling SpellbookBinaryParsing BinaryParsingError.swift
[73/84] Emitting module SpellbookBinaryParsing
[74/84] Compiling SpellbookBinaryParsing BinaryReader.swift
[75/84] Compiling SpellbookBinaryParsing BinaryReaderInput.swift
[76/84] Emitting module SpellbookHTTP
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:33:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
31 |
32 | extension HTTPMethod {
33 | public static let get = Self(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let post = Self(rawValue: "POST")
35 | public static let patch = Self(rawValue: "PATCH")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:34:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
32 | extension HTTPMethod {
33 | public static let get = Self(rawValue: "GET")
34 | public static let post = Self(rawValue: "POST")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let patch = Self(rawValue: "PATCH")
36 | public static let delete = Self(rawValue: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:35:23: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
33 | public static let get = Self(rawValue: "GET")
34 | public static let post = Self(rawValue: "POST")
35 | public static let patch = Self(rawValue: "PATCH")
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let delete = Self(rawValue: "DELETE")
37 | public static let put = Self(rawValue: "PUT")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:36:23: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
34 | public static let post = Self(rawValue: "POST")
35 | public static let patch = Self(rawValue: "PATCH")
36 | public static let delete = Self(rawValue: "DELETE")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let put = Self(rawValue: "PUT")
38 | public static let options = Self(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:37:23: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
35 | public static let patch = Self(rawValue: "PATCH")
36 | public static let delete = Self(rawValue: "DELETE")
37 | public static let put = Self(rawValue: "PUT")
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let options = Self(rawValue: "OPTIONS")
39 | public static let head = Self(rawValue: "HEAD")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:38:23: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
36 | public static let delete = Self(rawValue: "DELETE")
37 | public static let put = Self(rawValue: "PUT")
38 | public static let options = Self(rawValue: "OPTIONS")
| |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let head = Self(rawValue: "HEAD")
40 | public static let trace = Self(rawValue: "TRACE")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:39:23: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
37 | public static let put = Self(rawValue: "PUT")
38 | public static let options = Self(rawValue: "OPTIONS")
39 | public static let head = Self(rawValue: "HEAD")
| |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | public static let trace = Self(rawValue: "TRACE")
41 | public static let connect = Self(rawValue: "CONNECT")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:40:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
38 | public static let options = Self(rawValue: "OPTIONS")
39 | public static let head = Self(rawValue: "HEAD")
40 | public static let trace = Self(rawValue: "TRACE")
| |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public static let connect = Self(rawValue: "CONNECT")
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:41:23: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
39 | public static let head = Self(rawValue: "HEAD")
40 | public static let trace = Self(rawValue: "TRACE")
41 | public static let connect = Self(rawValue: "CONNECT")
| |- warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'connect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:57:23: warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public struct HTTPHeader: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
51 | public var rawValue: String
52 | public init(rawValue: String) { self.rawValue = rawValue }
:
55 |
56 | extension HTTPHeader {
57 | public static let userAgent = HTTPHeader(rawValue: "user-agent")
| |- warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'userAgent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let authorization = HTTPHeader(rawValue: "authorization")
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:58:23: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public struct HTTPHeader: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
51 | public var rawValue: String
52 | public init(rawValue: String) { self.rawValue = rawValue }
:
56 | extension HTTPHeader {
57 | public static let userAgent = HTTPHeader(rawValue: "user-agent")
58 | public static let authorization = HTTPHeader(rawValue: "authorization")
| |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'authorization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:85:23: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct HTTPAuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPAuthorizationType' conform to the 'Sendable' protocol
66 | public var rawValue: String
67 | public init(rawValue: String) { self.rawValue = rawValue }
:
83 |
84 | extension HTTPAuthorizationType {
85 | public static let basic = HTTPAuthorizationType(rawValue: "Basic")
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let bearer = HTTPAuthorizationType(rawValue: "Bearer")
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:86:23: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct HTTPAuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPAuthorizationType' conform to the 'Sendable' protocol
66 | public var rawValue: String
67 | public init(rawValue: String) { self.rawValue = rawValue }
:
84 | extension HTTPAuthorizationType {
85 | public static let basic = HTTPAuthorizationType(rawValue: "Basic")
86 | public static let bearer = HTTPAuthorizationType(rawValue: "Bearer")
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | }
88 |
[77/84] Compiling SpellbookHTTP HTTPRequest.swift
[78/84] Compiling SpellbookHTTP HTTPResult.swift
[79/84] Compiling SpellbookHTTP HTTPTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:33:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
31 |
32 | extension HTTPMethod {
33 | public static let get = Self(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let post = Self(rawValue: "POST")
35 | public static let patch = Self(rawValue: "PATCH")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:34:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
32 | extension HTTPMethod {
33 | public static let get = Self(rawValue: "GET")
34 | public static let post = Self(rawValue: "POST")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let patch = Self(rawValue: "PATCH")
36 | public static let delete = Self(rawValue: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:35:23: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
33 | public static let get = Self(rawValue: "GET")
34 | public static let post = Self(rawValue: "POST")
35 | public static let patch = Self(rawValue: "PATCH")
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let delete = Self(rawValue: "DELETE")
37 | public static let put = Self(rawValue: "PUT")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:36:23: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
34 | public static let post = Self(rawValue: "POST")
35 | public static let patch = Self(rawValue: "PATCH")
36 | public static let delete = Self(rawValue: "DELETE")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let put = Self(rawValue: "PUT")
38 | public static let options = Self(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:37:23: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
35 | public static let patch = Self(rawValue: "PATCH")
36 | public static let delete = Self(rawValue: "DELETE")
37 | public static let put = Self(rawValue: "PUT")
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let options = Self(rawValue: "OPTIONS")
39 | public static let head = Self(rawValue: "HEAD")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:38:23: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
36 | public static let delete = Self(rawValue: "DELETE")
37 | public static let put = Self(rawValue: "PUT")
38 | public static let options = Self(rawValue: "OPTIONS")
| |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let head = Self(rawValue: "HEAD")
40 | public static let trace = Self(rawValue: "TRACE")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:39:23: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
37 | public static let put = Self(rawValue: "PUT")
38 | public static let options = Self(rawValue: "OPTIONS")
39 | public static let head = Self(rawValue: "HEAD")
| |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | public static let trace = Self(rawValue: "TRACE")
41 | public static let connect = Self(rawValue: "CONNECT")
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:40:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
38 | public static let options = Self(rawValue: "OPTIONS")
39 | public static let head = Self(rawValue: "HEAD")
40 | public static let trace = Self(rawValue: "TRACE")
| |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public static let connect = Self(rawValue: "CONNECT")
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:41:23: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
28 | public var rawValue: String
29 | public init(rawValue: String) { self.rawValue = rawValue }
:
39 | public static let head = Self(rawValue: "HEAD")
40 | public static let trace = Self(rawValue: "TRACE")
41 | public static let connect = Self(rawValue: "CONNECT")
| |- warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'connect' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:57:23: warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public struct HTTPHeader: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
51 | public var rawValue: String
52 | public init(rawValue: String) { self.rawValue = rawValue }
:
55 |
56 | extension HTTPHeader {
57 | public static let userAgent = HTTPHeader(rawValue: "user-agent")
| |- warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'userAgent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let authorization = HTTPHeader(rawValue: "authorization")
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:58:23: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
48 | }
49 |
50 | public struct HTTPHeader: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
51 | public var rawValue: String
52 | public init(rawValue: String) { self.rawValue = rawValue }
:
56 | extension HTTPHeader {
57 | public static let userAgent = HTTPHeader(rawValue: "user-agent")
58 | public static let authorization = HTTPHeader(rawValue: "authorization")
| |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'authorization' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:85:23: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct HTTPAuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPAuthorizationType' conform to the 'Sendable' protocol
66 | public var rawValue: String
67 | public init(rawValue: String) { self.rawValue = rawValue }
:
83 |
84 | extension HTTPAuthorizationType {
85 | public static let basic = HTTPAuthorizationType(rawValue: "Basic")
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'HTTPAuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | public static let bearer = HTTPAuthorizationType(rawValue: "Bearer")
87 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPTypes.swift:86:23: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public struct HTTPAuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPAuthorizationType' conform to the 'Sendable' protocol
66 | public var rawValue: String
67 | public init(rawValue: String) { self.rawValue = rawValue }
:
84 | extension HTTPAuthorizationType {
85 | public static let basic = HTTPAuthorizationType(rawValue: "Basic")
86 | public static let bearer = HTTPAuthorizationType(rawValue: "Bearer")
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'HTTPAuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | }
88 |
[80/84] Compiling SpellbookHTTP HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPClient.swift:80:17: warning: capture of 'completion' with non-sendable type '(Result<HTTPResult<Data>, any Error>) -> Void' in a '@Sendable' closure
78 | session.dataTask(with: urlRequest) { data, response, error in
79 | if let error {
80 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<HTTPResult<Data>, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
81 | return
82 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPClient.swift:38:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
36 | public func data(for request: () throws -> URLRequest, completion: @escaping (Result<HTTPResult<Data>, any Error>) -> Void) {
37 | let request = Result(catching: request)
38 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
39 | do {
40 | let result = try await data(for: request.get, delegate: nil)
| `- note: closure captures non-Sendable 'self'
41 | completion(.success(result))
| `- note: closure captures non-Sendable 'completion'
42 | } catch {
43 | completion(.failure(error))
[81/84] Compiling SpellbookTestUtils Testing.swift
[82/84] Compiling SpellbookTestUtils TestError.swift
[83/84] Emitting module SpellbookTestUtils
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:38:23: warning: static property 'waitRate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static var waitRate = 100.0
37 | #else
38 | public static var waitRate = 1.0
| |- warning: static property 'waitRate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'waitRate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'waitRate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | #endif
40 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:41:23: warning: static property 'waitTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | #endif
40 |
41 | public static var waitTimeout: TimeInterval = 0.5
| |- warning: static property 'waitTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'waitTimeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'waitTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | public static var testBundle: Bundle {
[84/84] Compiling SpellbookTestUtils Extensions - XCTestCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:38:23: warning: static property 'waitRate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static var waitRate = 100.0
37 | #else
38 | public static var waitRate = 1.0
| |- warning: static property 'waitRate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'waitRate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'waitRate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | #endif
40 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:41:23: warning: static property 'waitTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | #endif
40 |
41 | public static var waitTimeout: TimeInterval = 0.5
| |- warning: static property 'waitTimeout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'waitTimeout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'waitTimeout' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | public static var testBundle: Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:67:9: warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 |
64 | @discardableResult
65 | public func waitForExpectations(timeout: TimeInterval = XCTestCase.waitTimeout, ignoreWaitRate: Bool) -> Error? {
| `- note: add '@MainActor' to make instance method 'waitForExpectations(timeout:ignoreWaitRate:)' part of global actor 'MainActor'
66 | var error: Error?
67 | waitForExpectations(timeout: timeout * Self.waitRate) {
| `- warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 | error = $0
69 | }
XCTest.XCTestCase.waitForExpectations:2:22: note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
1 | class XCTestCase {
2 | @MainActor open func waitForExpectations(timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)}
| `- note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:68:13: warning: mutation of captured var 'error' in concurrently-executing code
66 | var error: Error?
67 | waitForExpectations(timeout: timeout * Self.waitRate) {
68 | error = $0
| `- warning: mutation of captured var 'error' in concurrently-executing code
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:67:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
65 | public func waitForExpectations(timeout: TimeInterval = XCTestCase.waitTimeout, ignoreWaitRate: Bool) -> Error? {
66 | var error: Error?
67 | waitForExpectations(timeout: timeout * Self.waitRate) {
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' risks causing data races between main actor-isolated and task-isolated uses
68 | error = $0
69 | }
Build complete! (15.07s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftSpellbook",
"name" : "SwiftSpellbook",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SpellbookFoundation",
"targets" : [
"SpellbookFoundation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookHTTP",
"targets" : [
"SpellbookHTTP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookBinaryParsing",
"targets" : [
"SpellbookBinaryParsing"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpellbookTestUtils",
"targets" : [
"SpellbookTestUtils"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_SpellbookFoundationObjC",
"module_type" : "ClangTarget",
"name" : "_SpellbookFoundationObjC",
"path" : "Sources/SpellbookFoundationObjC",
"product_memberships" : [
"SpellbookFoundation",
"SpellbookHTTP",
"SpellbookBinaryParsing",
"SpellbookTestUtils"
],
"sources" : [
"SpellbookObjC.mm"
],
"type" : "library"
},
{
"c99name" : "SpellbookTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookTests",
"path" : "Tests/SpellbookTests",
"sources" : [
"BinaryParsing/BinaryParsingTests.swift",
"Common/BlockingQueueTests.swift",
"Common/CancellationTokenTests.swift",
"Common/CollectionDiffTests.swift",
"Common/ObjectBuilderTests.swift",
"Common/OtherCommonTests.swift",
"Common/SBLogTests.swift",
"Common/SBUnitTests.swift",
"Common/UtilsTests.swift",
"Common/WildcardExpressionTests.swift",
"DictionaryParsing/DictionaryParsingTests.swift",
"Errors/CommonErrorTests.swift",
"Errors/ErrorExtensionsTests.swift",
"Errors/NSErrorTests.swift",
"Extensions Tests/CodableTests.swift",
"Extensions Tests/CollectionsTests.swift",
"Extensions Tests/StandardTypesTests.swift",
"Filesystem & Bundle/FileEnumeratorTests.swift",
"Filesystem & Bundle/FileManagerTests.swift",
"Filesystem & Bundle/FileStoreTests.swift",
"Filesystem & Bundle/TemporaryDirectoryTests.swift",
"GUITests/GUITests.swift",
"LowLevel/AuditTokenTests.swift",
"LowLevel/MachTests.swift",
"LowLevel/UnsafeTests.swift",
"Observing/EventAskTests.swift",
"Observing/EventNotifyTests.swift",
"Observing/ObservableTests.swift",
"Observing/ValueObservingTests.swift",
"Observing/ValueStoreTests.swift",
"Other/ObjCTests.swift",
"Threading & Concurrency/ConcurrentBlockOperationTests.swift",
"Threading & Concurrency/DispatchQueueExtensionsTests.swift",
"Threading & Concurrency/SynchronousExecutorTests.swift",
"Types & PropertyWrappers/PropertyWrapperTests.swift",
"Types & PropertyWrappers/RefreshableTests.swift",
"Types & PropertyWrappers/ResourceTests.swift",
"Types & PropertyWrappers/TypesTests.swift"
],
"target_dependencies" : [
"SpellbookFoundation",
"SpellbookBinaryParsing",
"SpellbookTestUtils"
],
"type" : "test"
},
{
"c99name" : "SpellbookTestUtilsTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookTestUtilsTests",
"path" : "Tests/SpellbookTestUtilsTests",
"sources" : [
"TestingTests.swift"
],
"target_dependencies" : [
"SpellbookFoundation",
"SpellbookTestUtils"
],
"type" : "test"
},
{
"c99name" : "SpellbookTestUtils",
"module_type" : "SwiftTarget",
"name" : "SpellbookTestUtils",
"path" : "Sources/SpellbookTestUtils",
"product_memberships" : [
"SpellbookTestUtils"
],
"sources" : [
"Extensions - XCTestCase.swift",
"TestError.swift",
"Testing.swift"
],
"target_dependencies" : [
"SpellbookFoundation"
],
"type" : "library"
},
{
"c99name" : "SpellbookHTTP",
"module_type" : "SwiftTarget",
"name" : "SpellbookHTTP",
"path" : "Sources/SpellbookHTTP",
"product_memberships" : [
"SpellbookHTTP"
],
"sources" : [
"HTTPClient.swift",
"HTTPRequest.swift",
"HTTPResult.swift",
"HTTPTypes.swift"
],
"target_dependencies" : [
"SpellbookFoundation"
],
"type" : "library"
},
{
"c99name" : "SpellbookFoundation",
"module_type" : "SwiftTarget",
"name" : "SpellbookFoundation",
"path" : "Sources/SpellbookFoundation",
"product_memberships" : [
"SpellbookFoundation",
"SpellbookHTTP",
"SpellbookBinaryParsing",
"SpellbookTestUtils"
],
"sources" : [
"Combine/Extensions - Combine.swift",
"Combine/Proxies - Combine.swift",
"Common/Benchmark.swift",
"Common/CancellationToken.swift",
"Common/CollectionDiff.swift",
"Common/Environment.swift",
"Common/Exceptions.swift",
"Common/Extensions - Codable.swift",
"Common/Extensions - Collections.swift",
"Common/Extensions - Comparable.swift",
"Common/Extensions - Formatters.swift",
"Common/Extensions - StandardTypes.swift",
"Common/SBUnit.swift",
"Common/SpellbookLog.swift",
"Common/Utils.swift",
"Common/ValueBuilder.swift",
"Common/WildcardExpression.swift",
"DictionaryParsing/DictionaryCodingKey.swift",
"DictionaryParsing/DictionaryReader.swift",
"DictionaryParsing/DictionaryWriter.swift",
"Errors/CommonError.swift",
"Errors/CustomErrorUpdating.swift",
"Errors/Extensions - Error.swift",
"Errors/Extensions - NSError.swift",
"Errors/IOKitError.swift",
"Filesystem & Bundle/Extensions - Bundle.swift",
"Filesystem & Bundle/Extensions - FileManager.swift",
"Filesystem & Bundle/FileEnumerator.swift",
"Filesystem & Bundle/FileStore.swift",
"Filesystem & Bundle/TemporaryDirectory.swift",
"GUI/Extensions - CoreGraphics.swift",
"GUI/RGBColor.swift",
"Internal.swift",
"Low Level/AuditToken.swift",
"Low Level/BridgedCEnum.swift",
"Low Level/MachTime.swift",
"Low Level/POD+Swift.swift",
"Low Level/Unsafe.swift",
"Private/_ValueUpdateWrapping.swift",
"System & Hardware/DeviceInfo.swift",
"System & Hardware/Extensions - ProcessInfo.swift",
"Threading & Concurrency/Atomic.swift",
"Threading & Concurrency/BlockingQueue.swift",
"Threading & Concurrency/ConcurrentBlockOperation.swift",
"Threading & Concurrency/Extensions - DispatchQueue.swift",
"Threading & Concurrency/Extensions - Locks.swift",
"Threading & Concurrency/Extensions - Task.swift",
"Threading & Concurrency/PosixLocks.swift",
"Threading & Concurrency/Synchronized.swift",
"Threading & Concurrency/SynchronizedObjC.swift",
"Threading & Concurrency/SynchronousExecutor.swift",
"Types & PropertyWrappers/Boxing.swift",
"Types & PropertyWrappers/Closure.swift",
"Types & PropertyWrappers/Refreshable.swift",
"Types & PropertyWrappers/Resource (RAII).swift",
"Types & PropertyWrappers/Types.swift",
"ValueObserving/EventAsk.swift",
"ValueObserving/EventNotify.swift",
"ValueObserving/ValueObservable.swift",
"ValueObserving/ValueObserving.swift",
"ValueObserving/ValueStore.swift",
"ValueObserving/ValueView.swift"
],
"target_dependencies" : [
"_SpellbookFoundationObjC"
],
"type" : "library"
},
{
"c99name" : "SpellbookBinaryParsing",
"module_type" : "SwiftTarget",
"name" : "SpellbookBinaryParsing",
"path" : "Sources/SpellbookBinaryParsing",
"product_memberships" : [
"SpellbookBinaryParsing"
],
"sources" : [
"BinaryParsingError.swift",
"BinaryReader.swift",
"BinaryReaderInput.swift",
"BinaryWriter.swift",
"BinaryWriterOutput.swift"
],
"target_dependencies" : [
"SpellbookFoundation"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.