Build Information
Successful build of SwiftSpellbook, reference main (149698
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 17:40:07 UTC.
Swift 6 data race errors: 83
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- warning: static property 'notAttached' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notAttached' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | /// no DMA channels left.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:140:27: warning: static property 'noChannels' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
138 |
139 | /// no DMA channels left.
140 | public static let noChannels = Self(rawValue: kIOReturnNoChannels)
| |- warning: static property 'noChannels' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChannels' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | /// no space for data.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:143:27: warning: static property 'noSpace' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
141 |
142 | /// no space for data.
143 | public static let noSpace = Self(rawValue: kIOReturnNoSpace)
| |- warning: static property 'noSpace' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noSpace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | /// port already exists.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:146:27: warning: static property 'portExists' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
144 |
145 | /// port already exists.
146 | public static let portExists = Self(rawValue: kIOReturnPortExists)
| |- warning: static property 'portExists' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'portExists' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | /// can't wire down physical memory.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:149:27: warning: static property 'cannotWire' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
147 |
148 | /// can't wire down physical memory.
149 | public static let cannotWire = Self(rawValue: kIOReturnCannotWire)
| |- warning: static property 'cannotWire' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cannotWire' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 |
151 | /// no interrupt attached.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:152:27: warning: static property 'noInterrupt' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
150 |
151 | /// no interrupt attached.
152 | public static let noInterrupt = Self(rawValue: kIOReturnNoInterrupt)
| |- warning: static property 'noInterrupt' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noInterrupt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | /// no DMA frames enqueued.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:155:27: warning: static property 'noFrames' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
153 |
154 | /// no DMA frames enqueued.
155 | public static let noFrames = Self(rawValue: kIOReturnNoFrames)
| |- warning: static property 'noFrames' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noFrames' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 |
157 | /// oversized msg received on interrupt port.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:158:27: warning: static property 'messageTooLarge' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
156 |
157 | /// oversized msg received on interrupt port.
158 | public static let messageTooLarge = Self(rawValue: kIOReturnMessageTooLarge)
| |- warning: static property 'messageTooLarge' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'messageTooLarge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 | /// not permitted.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:161:27: warning: static property 'notPermitted' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
159 |
160 | /// not permitted.
161 | public static let notPermitted = Self(rawValue: kIOReturnNotPermitted)
| |- warning: static property 'notPermitted' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 |
163 | /// no power to device.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:164:27: warning: static property 'noPower' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
162 |
163 | /// no power to device.
164 | public static let noPower = Self(rawValue: kIOReturnNoPower)
| |- warning: static property 'noPower' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noPower' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | /// media not present.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:167:27: warning: static property 'noMedia' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
165 |
166 | /// media not present.
167 | public static let noMedia = Self(rawValue: kIOReturnNoMedia)
| |- warning: static property 'noMedia' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noMedia' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 | /// media not formatted.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:170:27: warning: static property 'unformattedMedia' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
168 |
169 | /// media not formatted.
170 | public static let unformattedMedia = Self(rawValue: kIOReturnUnformattedMedia)
| |- warning: static property 'unformattedMedia' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unformattedMedia' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |
172 | /// no such mode.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:173:27: warning: static property 'unsupportedMode' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
171 |
172 | /// no such mode.
173 | public static let unsupportedMode = Self(rawValue: kIOReturnUnsupportedMode)
| |- warning: static property 'unsupportedMode' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsupportedMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | /// data underrun.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:176:27: warning: static property 'underrun' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
174 |
175 | /// data underrun.
176 | public static let underrun = Self(rawValue: kIOReturnUnderrun)
| |- warning: static property 'underrun' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underrun' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
177 |
178 | /// data overrun.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:179:27: warning: static property 'overrun' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
177 |
178 | /// data overrun.
179 | public static let overrun = Self(rawValue: kIOReturnOverrun)
| |- warning: static property 'overrun' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'overrun' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | /// the device is not working properly!.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:182:27: warning: static property 'deviceError' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
180 |
181 | /// the device is not working properly!.
182 | public static let deviceError = Self(rawValue: kIOReturnDeviceError)
| |- warning: static property 'deviceError' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deviceError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 |
184 | /// a completion routine is required.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:185:27: warning: static property 'noCompletion' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
183 |
184 | /// a completion routine is required.
185 | public static let noCompletion = Self(rawValue: kIOReturnNoCompletion)
| |- warning: static property 'noCompletion' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noCompletion' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |
187 | /// operation aborted.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:188:27: warning: static property 'aborted' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
186 |
187 | /// operation aborted.
188 | public static let aborted = Self(rawValue: kIOReturnAborted)
| |- warning: static property 'aborted' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aborted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// bus bandwidth would be exceeded.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:191:27: warning: static property 'noBandwidth' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
189 |
190 | /// bus bandwidth would be exceeded.
191 | public static let noBandwidth = Self(rawValue: kIOReturnNoBandwidth)
| |- warning: static property 'noBandwidth' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noBandwidth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 |
193 | /// device not responding.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:194:27: warning: static property 'notResponding' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
192 |
193 | /// device not responding.
194 | public static let notResponding = Self(rawValue: kIOReturnNotResponding)
| |- warning: static property 'notResponding' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notResponding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// isochronous I/O request for distant past!.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:197:27: warning: static property 'isoTooOld' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
195 |
196 | /// isochronous I/O request for distant past!.
197 | public static let isoTooOld = Self(rawValue: kIOReturnIsoTooOld)
| |- warning: static property 'isoTooOld' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isoTooOld' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// isochronous I/O request for distant future.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:200:27: warning: static property 'isoTooNew' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
198 |
199 | /// isochronous I/O request for distant future.
200 | public static let isoTooNew = Self(rawValue: kIOReturnIsoTooNew)
| |- warning: static property 'isoTooNew' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'isoTooNew' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 | /// data was not found.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:203:27: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
201 |
202 | /// data was not found.
203 | public static let notFound = Self(rawValue: kIOReturnNotFound)
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 | /// should never be seen.
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Errors/IOKitError.swift:206:27: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
43 | extension IOKitError {
44 | /// IOReturn.h error codes
45 | public struct Code: RawRepresentable, Hashable {
| `- note: consider making struct 'Code' conform to the 'Sendable' protocol
46 | public var rawValue: IOReturn
47 | public init(rawValue: IOReturn) { self.rawValue = rawValue }
:
204 |
205 | /// should never be seen.
206 | public static let invalid = Self(rawValue: kIOReturnInvalid)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'IOKitError.Code' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | }
208 | }
[38/66] Compiling SpellbookFoundation Extensions - Locks.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:13: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
205 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
208 | try withLock { try body() }
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:28: warning: capture of 'body' with non-sendable type '() throws -> R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
208 | 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'
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:224:41: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
221 | }
222 |
223 | func withAsyncWriteLock(_ body: @escaping () -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
224 | async(flags: .barrier, execute: body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:31: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
29 | completion: @escaping (Result<R, Error>) -> Void
30 | ) where Success == Void, Failure == Never {
31 | 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
32 | do {
33 | let result = try await body()
34 | completion(.success(result))
| `- note: closure captures 'completion' which is accessible to code in the current task
35 | } catch {
36 | completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:45: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
43 | completion: @escaping (R) -> Void
44 | ) where Success == Void, Failure == Never {
45 | 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
46 | completion(await body())
| `- note: closure captures 'completion' which is accessible to code in the current task
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:54: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
52 | completion: @escaping (Error?) -> Void
53 | ) where Success == Void, Failure == Never {
54 | 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
55 | do {
56 | try await body()
57 | completion(nil)
| `- note: closure captures 'completion' which is accessible to code in the current task
58 | } catch {
59 | completion(error)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:73:18: 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
71 | public func sync<R>(_ action: @escaping () async throws -> R) throws -> R {
72 | try sync { completion in
73 | 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
74 | do {
75 | let success = try await action()
| `- note: closure captures 'action' which is accessible to code in the current task
76 | completion(.success(success))
77 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:113:18: 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
111 | public static func sync<R>(_ action: @escaping () async -> R) -> R {
112 | sync { completion in
113 | 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
114 | let result = await action()
| `- note: closure captures 'action' which is accessible to code in the current task
115 | completion(result)
116 | }
[39/66] Compiling SpellbookFoundation Extensions - Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:13: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
205 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
208 | try withLock { try body() }
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:28: warning: capture of 'body' with non-sendable type '() throws -> R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
208 | 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'
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:224:41: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
221 | }
222 |
223 | func withAsyncWriteLock(_ body: @escaping () -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
224 | async(flags: .barrier, execute: body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:31: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
29 | completion: @escaping (Result<R, Error>) -> Void
30 | ) where Success == Void, Failure == Never {
31 | 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
32 | do {
33 | let result = try await body()
34 | completion(.success(result))
| `- note: closure captures 'completion' which is accessible to code in the current task
35 | } catch {
36 | completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:45: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
43 | completion: @escaping (R) -> Void
44 | ) where Success == Void, Failure == Never {
45 | 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
46 | completion(await body())
| `- note: closure captures 'completion' which is accessible to code in the current task
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:54: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
52 | completion: @escaping (Error?) -> Void
53 | ) where Success == Void, Failure == Never {
54 | 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
55 | do {
56 | try await body()
57 | completion(nil)
| `- note: closure captures 'completion' which is accessible to code in the current task
58 | } catch {
59 | completion(error)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:73:18: 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
71 | public func sync<R>(_ action: @escaping () async throws -> R) throws -> R {
72 | try sync { completion in
73 | 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
74 | do {
75 | let success = try await action()
| `- note: closure captures 'action' which is accessible to code in the current task
76 | completion(.success(success))
77 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:113:18: 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
111 | public static func sync<R>(_ action: @escaping () async -> R) -> R {
112 | sync { completion in
113 | 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
114 | let result = await action()
| `- note: closure captures 'action' which is accessible to code in the current task
115 | completion(result)
116 | }
[40/66] Compiling SpellbookFoundation PosixLocks.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:13: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
205 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
208 | try withLock { try body() }
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:28: warning: capture of 'body' with non-sendable type '() throws -> R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
208 | 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'
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:224:41: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
221 | }
222 |
223 | func withAsyncWriteLock(_ body: @escaping () -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
224 | async(flags: .barrier, execute: body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:31: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
29 | completion: @escaping (Result<R, Error>) -> Void
30 | ) where Success == Void, Failure == Never {
31 | 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
32 | do {
33 | let result = try await body()
34 | completion(.success(result))
| `- note: closure captures 'completion' which is accessible to code in the current task
35 | } catch {
36 | completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:45: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
43 | completion: @escaping (R) -> Void
44 | ) where Success == Void, Failure == Never {
45 | 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
46 | completion(await body())
| `- note: closure captures 'completion' which is accessible to code in the current task
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:54: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
52 | completion: @escaping (Error?) -> Void
53 | ) where Success == Void, Failure == Never {
54 | 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
55 | do {
56 | try await body()
57 | completion(nil)
| `- note: closure captures 'completion' which is accessible to code in the current task
58 | } catch {
59 | completion(error)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:73:18: 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
71 | public func sync<R>(_ action: @escaping () async throws -> R) throws -> R {
72 | try sync { completion in
73 | 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
74 | do {
75 | let success = try await action()
| `- note: closure captures 'action' which is accessible to code in the current task
76 | completion(.success(success))
77 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:113:18: 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
111 | public static func sync<R>(_ action: @escaping () async -> R) -> R {
112 | sync { completion in
113 | 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
114 | let result = await action()
| `- note: closure captures 'action' which is accessible to code in the current task
115 | completion(result)
116 | }
[41/66] Compiling SpellbookFoundation Synchronized.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:13: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
205 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
208 | try withLock { try body() }
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:28: warning: capture of 'body' with non-sendable type '() throws -> R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
208 | 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'
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:224:41: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
221 | }
222 |
223 | func withAsyncWriteLock(_ body: @escaping () -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
224 | async(flags: .barrier, execute: body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:31: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
29 | completion: @escaping (Result<R, Error>) -> Void
30 | ) where Success == Void, Failure == Never {
31 | 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
32 | do {
33 | let result = try await body()
34 | completion(.success(result))
| `- note: closure captures 'completion' which is accessible to code in the current task
35 | } catch {
36 | completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:45: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
43 | completion: @escaping (R) -> Void
44 | ) where Success == Void, Failure == Never {
45 | 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
46 | completion(await body())
| `- note: closure captures 'completion' which is accessible to code in the current task
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:54: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
52 | completion: @escaping (Error?) -> Void
53 | ) where Success == Void, Failure == Never {
54 | 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
55 | do {
56 | try await body()
57 | completion(nil)
| `- note: closure captures 'completion' which is accessible to code in the current task
58 | } catch {
59 | completion(error)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:73:18: 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
71 | public func sync<R>(_ action: @escaping () async throws -> R) throws -> R {
72 | try sync { completion in
73 | 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
74 | do {
75 | let success = try await action()
| `- note: closure captures 'action' which is accessible to code in the current task
76 | completion(.success(success))
77 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:113:18: 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
111 | public static func sync<R>(_ action: @escaping () async -> R) -> R {
112 | sync { completion in
113 | 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
114 | let result = await action()
| `- note: closure captures 'action' which is accessible to code in the current task
115 | completion(result)
116 | }
[42/66] Compiling SpellbookFoundation SynchronizedObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:13: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
205 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
208 | try withLock { try body() }
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:28: warning: capture of 'body' with non-sendable type '() throws -> R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
208 | 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'
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:224:41: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
221 | }
222 |
223 | func withAsyncWriteLock(_ body: @escaping () -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
224 | async(flags: .barrier, execute: body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:31: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
29 | completion: @escaping (Result<R, Error>) -> Void
30 | ) where Success == Void, Failure == Never {
31 | 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
32 | do {
33 | let result = try await body()
34 | completion(.success(result))
| `- note: closure captures 'completion' which is accessible to code in the current task
35 | } catch {
36 | completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:45: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
43 | completion: @escaping (R) -> Void
44 | ) where Success == Void, Failure == Never {
45 | 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
46 | completion(await body())
| `- note: closure captures 'completion' which is accessible to code in the current task
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:54: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
52 | completion: @escaping (Error?) -> Void
53 | ) where Success == Void, Failure == Never {
54 | 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
55 | do {
56 | try await body()
57 | completion(nil)
| `- note: closure captures 'completion' which is accessible to code in the current task
58 | } catch {
59 | completion(error)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:73:18: 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
71 | public func sync<R>(_ action: @escaping () async throws -> R) throws -> R {
72 | try sync { completion in
73 | 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
74 | do {
75 | let success = try await action()
| `- note: closure captures 'action' which is accessible to code in the current task
76 | completion(.success(success))
77 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:113:18: 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
111 | public static func sync<R>(_ action: @escaping () async -> R) -> R {
112 | sync { completion in
113 | 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
114 | let result = await action()
| `- note: closure captures 'action' which is accessible to code in the current task
115 | completion(result)
116 | }
[43/66] Compiling SpellbookFoundation SynchronousExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:13: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
205 | @available(macOS 13.0, iOS 16.0, tvOS 16.0, watchOS 9.0, *)
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
208 | try withLock { try body() }
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:208:28: warning: capture of 'body' with non-sendable type '() throws -> R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 | extension OSAllocatedUnfairLock: SynchronizedLocking where State == Void {
207 | func withWriteLock<R>(_ body: () throws -> R) rethrows -> R {
208 | 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'
209 | }
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:224:41: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
221 | }
222 |
223 | func withAsyncWriteLock(_ body: @escaping () -> Void) {
| `- note: parameter 'body' is implicitly non-sendable
224 | async(flags: .barrier, execute: body)
| `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
225 | }
226 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:31: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
29 | completion: @escaping (Result<R, Error>) -> Void
30 | ) where Success == Void, Failure == Never {
31 | 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
32 | do {
33 | let result = try await body()
34 | completion(.success(result))
| `- note: closure captures 'completion' which is accessible to code in the current task
35 | } catch {
36 | completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:45: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
43 | completion: @escaping (R) -> Void
44 | ) where Success == Void, Failure == Never {
45 | 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
46 | completion(await body())
| `- note: closure captures 'completion' which is accessible to code in the current task
47 | }
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Extensions - Task.swift:54: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
52 | completion: @escaping (Error?) -> Void
53 | ) where Success == Void, Failure == Never {
54 | 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
55 | do {
56 | try await body()
57 | completion(nil)
| `- note: closure captures 'completion' which is accessible to code in the current task
58 | } catch {
59 | completion(error)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:73:18: 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
71 | public func sync<R>(_ action: @escaping () async throws -> R) throws -> R {
72 | try sync { completion in
73 | 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
74 | do {
75 | let success = try await action()
| `- note: closure captures 'action' which is accessible to code in the current task
76 | completion(.success(success))
77 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/SynchronousExecutor.swift:113:18: 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
111 | public static func sync<R>(_ action: @escaping () async -> R) -> R {
112 | sync { completion in
113 | 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
114 | let result = await action()
| `- note: closure captures 'action' which is accessible to code in the current task
115 | completion(result)
116 | }
[44/66] Compiling SpellbookFoundation Internal.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Internal.swift:29:47: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
25 | extension Optional where Wrapped == DispatchQueue {
26 | @inline(__always)
27 | package func async(flags: DispatchWorkItemFlags = [], execute work: @escaping () -> Void) {
| `- note: parameter 'work' is implicitly non-sendable
28 | if let self {
29 | self.async(flags: flags, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
30 | } else {
31 | work()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:31:33: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | /// Returns current task audit token.
30 | public static func current() throws -> audit_token_t {
31 | try audit_token_t(task: mach_task_self_)
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:36:65: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | /// Returns task for pid.
35 | public init(pid: pid_t) throws {
36 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | try self.init(task: taskName)
38 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[45/66] Compiling SpellbookFoundation AuditToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Internal.swift:29:47: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
25 | extension Optional where Wrapped == DispatchQueue {
26 | @inline(__always)
27 | package func async(flags: DispatchWorkItemFlags = [], execute work: @escaping () -> Void) {
| `- note: parameter 'work' is implicitly non-sendable
28 | if let self {
29 | self.async(flags: flags, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
30 | } else {
31 | work()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:31:33: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | /// Returns current task audit token.
30 | public static func current() throws -> audit_token_t {
31 | try audit_token_t(task: mach_task_self_)
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:36:65: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | /// Returns task for pid.
35 | public init(pid: pid_t) throws {
36 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | try self.init(task: taskName)
38 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[46/66] Compiling SpellbookFoundation BridgedCEnum.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Internal.swift:29:47: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
25 | extension Optional where Wrapped == DispatchQueue {
26 | @inline(__always)
27 | package func async(flags: DispatchWorkItemFlags = [], execute work: @escaping () -> Void) {
| `- note: parameter 'work' is implicitly non-sendable
28 | if let self {
29 | self.async(flags: flags, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
30 | } else {
31 | work()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:31:33: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | /// Returns current task audit token.
30 | public static func current() throws -> audit_token_t {
31 | try audit_token_t(task: mach_task_self_)
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:36:65: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | /// Returns task for pid.
35 | public init(pid: pid_t) throws {
36 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | try self.init(task: taskName)
38 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[47/66] Compiling SpellbookFoundation MachTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Internal.swift:29:47: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
25 | extension Optional where Wrapped == DispatchQueue {
26 | @inline(__always)
27 | package func async(flags: DispatchWorkItemFlags = [], execute work: @escaping () -> Void) {
| `- note: parameter 'work' is implicitly non-sendable
28 | if let self {
29 | self.async(flags: flags, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
30 | } else {
31 | work()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:31:33: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | /// Returns current task audit token.
30 | public static func current() throws -> audit_token_t {
31 | try audit_token_t(task: mach_task_self_)
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:36:65: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | /// Returns task for pid.
35 | public init(pid: pid_t) throws {
36 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | try self.init(task: taskName)
38 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[48/66] Compiling SpellbookFoundation POD+Swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Internal.swift:29:47: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
25 | extension Optional where Wrapped == DispatchQueue {
26 | @inline(__always)
27 | package func async(flags: DispatchWorkItemFlags = [], execute work: @escaping () -> Void) {
| `- note: parameter 'work' is implicitly non-sendable
28 | if let self {
29 | self.async(flags: flags, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
30 | } else {
31 | work()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:31:33: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | /// Returns current task audit token.
30 | public static func current() throws -> audit_token_t {
31 | try audit_token_t(task: mach_task_self_)
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:36:65: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | /// Returns task for pid.
35 | public init(pid: pid_t) throws {
36 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | try self.init(task: taskName)
38 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[49/66] Compiling SpellbookFoundation Unsafe.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Internal.swift:29:47: warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
25 | extension Optional where Wrapped == DispatchQueue {
26 | @inline(__always)
27 | package func async(flags: DispatchWorkItemFlags = [], execute work: @escaping () -> Void) {
| `- note: parameter 'work' is implicitly non-sendable
28 | if let self {
29 | self.async(flags: flags, execute: work)
| `- warning: passing non-sendable parameter 'work' to function expecting a @Sendable closure
30 | } else {
31 | work()
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:31:33: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | /// Returns current task audit token.
30 | public static func current() throws -> audit_token_t {
31 | try audit_token_t(task: mach_task_self_)
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:36:65: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 | /// Returns task for pid.
35 | public init(pid: pid_t) throws {
36 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 | try self.init(task: taskName)
38 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[50/66] 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: annotate 'codableLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | 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: annotate 'kilobyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'megabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'gigabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'minute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'hour' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'day' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
[51/66] 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: annotate 'codableLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | 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: annotate 'kilobyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'megabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'gigabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'minute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'hour' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'day' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
[52/66] 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: annotate 'codableLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | 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: annotate 'kilobyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'megabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'gigabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'minute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'hour' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'day' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
[53/66] 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: annotate 'codableLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | 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: annotate 'kilobyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'megabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'gigabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'minute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'hour' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'day' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
[54/66] 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: annotate 'codableLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | 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: annotate 'kilobyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'megabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'gigabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'minute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'hour' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'day' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
[55/66] 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: annotate 'codableLogger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | extension Encodable {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/SpellbookLog.swift:25:17: note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
23 | import Foundation
24 |
25 | public protocol SpellbookLog {
| `- note: protocol 'SpellbookLog' does not conform to the 'Sendable' protocol
26 | func _custom(
27 | 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: annotate 'kilobyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'megabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'gigabyte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'minute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'hour' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'day' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | }
72 |
[56/66] Compiling SpellbookFoundation Extensions - Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:50:30: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
48 | public func cancel() {
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:51:68: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:59:50: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
57 | $0.append(token)
58 | } else {
59 | token.queue.async(execute: token.cancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
60 | }
61 | }
[57/66] Compiling SpellbookFoundation Proxies - Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:50:30: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
48 | public func cancel() {
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:51:68: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:59:50: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
57 | $0.append(token)
58 | } else {
59 | token.queue.async(execute: token.cancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
60 | }
61 | }
[58/66] Compiling SpellbookFoundation Benchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:50:30: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
48 | public func cancel() {
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:51:68: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:59:50: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
57 | $0.append(token)
58 | } else {
59 | token.queue.async(execute: token.cancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
60 | }
61 | }
[59/66] Compiling SpellbookFoundation CancellationToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:50:30: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
48 | public func cancel() {
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:51:68: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:59:50: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
57 | $0.append(token)
58 | } else {
59 | token.queue.async(execute: token.cancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
60 | }
61 | }
[60/66] Compiling SpellbookFoundation Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:50:30: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
48 | public func cancel() {
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:51:68: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:59:50: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
57 | $0.append(token)
58 | } else {
59 | token.queue.async(execute: token.cancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
60 | }
61 | }
[61/66] Compiling SpellbookFoundation Exceptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:50:30: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
48 | public func cancel() {
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:51:68: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
49 | guard !$cancelled.exchange(true) else { return }
50 | queue.async(execute: onCancel)
51 | children.exchange([]).forEach { $0.queue.async(execute: $0.cancel) }
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Common/CancellationToken.swift:59:50: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
57 | $0.append(token)
58 | } else {
59 | token.queue.async(execute: token.cancel)
| `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
60 | }
61 | }
[62/66] Compiling SpellbookFoundation EventNotify.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:33: warning: capture of 'action' with non-sendable type '(T, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| |- warning: capture of 'action' with non-sendable type '(T, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:40: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | public final class EventNotify<T>: ValueObserving {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | private typealias Handler = (T, Any?) -> Void
27 |
:
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| `- warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:47: warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| `- warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:31: warning: capture of 'receiveValue' with non-sendable type '(Self.Value, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| |- warning: capture of 'receiveValue' with non-sendable type '(Self.Value, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:44: warning: capture of 'value' with non-sendable type 'Self.Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| `- warning: capture of 'value' with non-sendable type 'Self.Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:51: warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| `- warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 | }
77 | }
[63/66] Compiling SpellbookFoundation ValueObservable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:33: warning: capture of 'action' with non-sendable type '(T, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| |- warning: capture of 'action' with non-sendable type '(T, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:40: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | public final class EventNotify<T>: ValueObserving {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | private typealias Handler = (T, Any?) -> Void
27 |
:
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| `- warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:47: warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| `- warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:31: warning: capture of 'receiveValue' with non-sendable type '(Self.Value, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| |- warning: capture of 'receiveValue' with non-sendable type '(Self.Value, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:44: warning: capture of 'value' with non-sendable type 'Self.Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| `- warning: capture of 'value' with non-sendable type 'Self.Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:51: warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| `- warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 | }
77 | }
[64/66] Compiling SpellbookFoundation ValueObserving.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:33: warning: capture of 'action' with non-sendable type '(T, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| |- warning: capture of 'action' with non-sendable type '(T, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:40: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | public final class EventNotify<T>: ValueObserving {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | private typealias Handler = (T, Any?) -> Void
27 |
:
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| `- warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:47: warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| `- warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:31: warning: capture of 'receiveValue' with non-sendable type '(Self.Value, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| |- warning: capture of 'receiveValue' with non-sendable type '(Self.Value, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:44: warning: capture of 'value' with non-sendable type 'Self.Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| `- warning: capture of 'value' with non-sendable type 'Self.Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:51: warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| `- warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 | }
77 | }
[65/66] Compiling SpellbookFoundation ValueStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:33: warning: capture of 'action' with non-sendable type '(T, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| |- warning: capture of 'action' with non-sendable type '(T, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:40: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | public final class EventNotify<T>: ValueObserving {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | private typealias Handler = (T, Any?) -> Void
27 |
:
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| `- warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:47: warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| `- warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:31: warning: capture of 'receiveValue' with non-sendable type '(Self.Value, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| |- warning: capture of 'receiveValue' with non-sendable type '(Self.Value, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:44: warning: capture of 'value' with non-sendable type 'Self.Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| `- warning: capture of 'value' with non-sendable type 'Self.Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:51: warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| `- warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 | }
77 | }
[66/66] Compiling SpellbookFoundation ValueView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:33: warning: capture of 'action' with non-sendable type '(T, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| |- warning: capture of 'action' with non-sendable type '(T, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:40: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | import Foundation
24 |
25 | public final class EventNotify<T>: ValueObserving {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | private typealias Handler = (T, Any?) -> Void
27 |
:
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| `- warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/EventNotify.swift:76:47: warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | private func notifyOne(_ value: T, _ context: Any?, action: @escaping (T, Any?) -> Void) {
75 | if let notifyQueue = notifyQueue {
76 | notifyQueue.async { action(value, context) }
| `- warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 | } else {
78 | action(value, context)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:31: warning: capture of 'receiveValue' with non-sendable type '(Self.Value, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| |- warning: capture of 'receiveValue' with non-sendable type '(Self.Value, Any?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:44: warning: capture of 'value' with non-sendable type 'Self.Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| `- warning: capture of 'value' with non-sendable type 'Self.Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueObserving.swift:75:51: warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
73 | AnyValueObserving { suppressInitialNotify, receiveValue in
74 | self.subscribe(suppressInitialNotify: suppressInitialNotify) { value, context in
75 | queue.async { receiveValue(value, context) }
| `- warning: capture of 'context' with non-sendable type 'Any?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
76 | }
77 | }
[67/80] Compiling SpellbookHTTP HTTPResult.swift
[68/80] Compiling SpellbookBinaryParsing BinaryWriterOutput.swift
[69/80] Compiling SpellbookBinaryParsing BinaryReaderInput.swift
[70/80] Compiling SpellbookBinaryParsing BinaryWriter.swift
[71/80] Emitting module SpellbookBinaryParsing
[72/80] Compiling SpellbookBinaryParsing BinaryParsingError.swift
[73/80] Compiling SpellbookBinaryParsing BinaryReader.swift
[74/80] Compiling SpellbookHTTP HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPClient.swift:51:17: warning: capture of 'completion' with non-sendable type '(Result<HTTPResult<Data>, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | session.dataTask(with: urlRequest) { data, response, error in
50 | if let error {
51 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<HTTPResult<Data>, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 | return
53 | }
[75/80] Compiling SpellbookHTTP HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPRequest.swift:55:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Method' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | extension HTTPRequest {
48 | public struct Method: RawRepresentable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
49 | public var rawValue: String
50 | public init(rawValue: String) { self.rawValue = rawValue }
:
53 |
54 | extension HTTPRequest.Method {
55 | public static let get = Self(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let post = Self(rawValue: "POST")
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPRequest.swift:56:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Method' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | extension HTTPRequest {
48 | public struct Method: RawRepresentable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
49 | public var rawValue: String
50 | public init(rawValue: String) { self.rawValue = rawValue }
:
54 | extension HTTPRequest.Method {
55 | public static let get = Self(rawValue: "GET")
56 | public static let post = Self(rawValue: "POST")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPRequest.swift:75:23: warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Header' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | extension HTTPRequest {
68 | public struct Header: RawRepresentable, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 | public init(rawValue: String) { self.rawValue = rawValue }
:
73 |
74 | extension HTTPRequest.Header {
75 | public static let userAgent = Self(rawValue: "user-agent")
| |- warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userAgent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
[76/80] Emitting module SpellbookHTTP
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPRequest.swift:55:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Method' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | extension HTTPRequest {
48 | public struct Method: RawRepresentable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
49 | public var rawValue: String
50 | public init(rawValue: String) { self.rawValue = rawValue }
:
53 |
54 | extension HTTPRequest.Method {
55 | public static let get = Self(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let post = Self(rawValue: "POST")
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPRequest.swift:56:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Method' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | extension HTTPRequest {
48 | public struct Method: RawRepresentable, Hashable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
49 | public var rawValue: String
50 | public init(rawValue: String) { self.rawValue = rawValue }
:
54 | extension HTTPRequest.Method {
55 | public static let get = Self(rawValue: "GET")
56 | public static let post = Self(rawValue: "POST")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookHTTP/HTTPRequest.swift:75:23: warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Header' may have shared mutable state; this is an error in the Swift 6 language mode
66 |
67 | extension HTTPRequest {
68 | public struct Header: RawRepresentable, Hashable {
| `- note: consider making struct 'Header' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 | public init(rawValue: String) { self.rawValue = rawValue }
:
73 |
74 | extension HTTPRequest.Header {
75 | public static let userAgent = Self(rawValue: "user-agent")
| |- warning: static property 'userAgent' is not concurrency-safe because non-'Sendable' type 'HTTPRequest.Header' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userAgent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
[77/80] Compiling SpellbookTestUtils TestError.swift
[78/80] Compiling SpellbookTestUtils Extensions - XCTestCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:37: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
35 | public static var waitRate = 100.0
36 | #else
37 | 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: annotate 'waitRate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | #endif
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:40: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
38 | #endif
39 |
40 | 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: annotate 'waitTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public static var testBundle: Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:58: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
54 |
55 | @discardableResult
56 | 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'
57 | var error: Error?
58 | 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
59 | error = $0
60 | }
XCTest.XCTestCase:5:26: note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
3 | @available(swift, obsoleted: 3, renamed: "expectation(description:)")
4 | open func expectationWithDescription(_ description: String) -> XCTestExpectation
5 | @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
6 | @available(swift, obsoleted: 3, renamed: "waitForExpectations(timeout:handler:)")
7 | @MainActor open func waitForExpectationsWithTimeout(_ timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:59:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
57 | var error: Error?
58 | waitForExpectations(timeout: timeout * Self.waitRate) {
59 | error = $0
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:58:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
56 | public func waitForExpectations(timeout: TimeInterval = XCTestCase.waitTimeout, ignoreWaitRate: Bool) -> Error? {
57 | var error: Error?
58 | 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
59 | error = $0
60 | }
[79/80] Compiling SpellbookTestUtils Testing.swift
[80/80] Emitting module SpellbookTestUtils
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:37: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
35 | public static var waitRate = 100.0
36 | #else
37 | 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: annotate 'waitRate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | #endif
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookTestUtils/Extensions - XCTestCase.swift:40: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
38 | #endif
39 |
40 | 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: annotate 'waitTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public static var testBundle: Bundle {
Build complete! (22.92s)
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" : "SpellbookTests",
"module_type" : "SwiftTarget",
"name" : "SpellbookTests",
"path" : "Tests/SpellbookTests",
"sources" : [
"BinaryParsing/BinaryParsingTests.swift",
"Common/BlockingQueueTests.swift",
"Common/CancellationTokenTests.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/FileManagerTests.swift",
"Extensions Tests/StandardTypesTests.swift",
"Filesystem & Bundle/FileEnumeratorTests.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"
],
"target_dependencies" : [
"SpellbookFoundation"
],
"type" : "library"
},
{
"c99name" : "SpellbookFoundationObjC",
"module_type" : "ClangTarget",
"name" : "SpellbookFoundationObjC",
"path" : "Sources/SpellbookFoundationObjC",
"product_memberships" : [
"SpellbookFoundation",
"SpellbookHTTP",
"SpellbookBinaryParsing",
"SpellbookTestUtils"
],
"sources" : [
"SpellbookObjC.mm"
],
"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/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",
"Internal.swift",
"Low Level/AuditToken.swift",
"Low Level/BridgedCEnum.swift",
"Low Level/MachTime.swift",
"Low Level/POD+Swift.swift",
"Low Level/Unsafe.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.