Build Information
Failed to build SwiftSpellbook, reference 2.0.1 (714a69), with Swift 6.0 for macOS (SPM) on 13 Nov 2025 19:53:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Alkenso/SwiftSpellbook.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Alkenso/SwiftSpellbook
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at 714a690 Improve Resource compatibility with Swift 6
Cloned https://github.com/Alkenso/SwiftSpellbook.git
Revision (git rev-parse @):
714a6909bdc96a41234c1a13b8208603b31b579b
SUCCESS checkout https://github.com/Alkenso/SwiftSpellbook.git at 2.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Alkenso/SwiftSpellbook.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/7] Write sources
[5/7] Write swift-version-5BDAB9E9C0126B9D.txt
[6/7] Compiling _SpellbookFoundationObjC SpellbookObjC.mm
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/63] Emitting module SpellbookFoundation
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:126:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
124 |
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
127 | read { body($0) }
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:130:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
128 | }
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
131 | write { body(&$0) }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:197:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
195 |
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
198 | try withLock(body)
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:191:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
189 |
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
192 | try withWriteLock(body)
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:118:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
116 | }
117 |
118 | public func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
119 | writeLock()
120 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:106:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
104 | }
105 |
106 | public func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
107 | readLock()
108 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:205:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
203 |
204 | extension DispatchQueue: SynchronizedLocking {
205 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
206 | try sync(flags: .barrier) { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:209:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
207 | }
208 |
209 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
210 | try sync { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:271:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
269 |
270 | extension ValueStore: _ValueUpdateWrapping {
271 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
272 | update { body($0) }
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:275:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
273 | }
274 |
275 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
276 | update(body: body)
277 | }
[9/69] Compiling SpellbookFoundation EventAsk.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:271:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
269 |
270 | extension ValueStore: _ValueUpdateWrapping {
271 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
272 | update { body($0) }
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:275:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
273 | }
274 |
275 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
276 | update(body: body)
277 | }
[10/69] Compiling SpellbookFoundation EventNotify.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:271:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
269 |
270 | extension ValueStore: _ValueUpdateWrapping {
271 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
272 | update { body($0) }
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:275:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
273 | }
274 |
275 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
276 | update(body: body)
277 | }
[11/69] Compiling SpellbookFoundation ValueObservable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:271:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
269 |
270 | extension ValueStore: _ValueUpdateWrapping {
271 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
272 | update { body($0) }
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:275:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
273 | }
274 |
275 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
276 | update(body: body)
277 | }
[12/69] Compiling SpellbookFoundation ValueObserving.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:271:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
269 |
270 | extension ValueStore: _ValueUpdateWrapping {
271 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
272 | update { body($0) }
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:275:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
273 | }
274 |
275 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
276 | update(body: body)
277 | }
[13/69] Compiling SpellbookFoundation ValueStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:271:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
269 |
270 | extension ValueStore: _ValueUpdateWrapping {
271 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
272 | update { body($0) }
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:275:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
273 | }
274 |
275 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
276 | update(body: body)
277 | }
[14/69] Compiling SpellbookFoundation ValueView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:271:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
269 |
270 | extension ValueStore: _ValueUpdateWrapping {
271 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
272 | update { body($0) }
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/ValueObserving/ValueStore.swift:275:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
273 | }
274 |
275 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
276 | update(body: body)
277 | }
[15/69] Compiling SpellbookFoundation Extensions - Bundle.swift
[16/69] Compiling SpellbookFoundation Extensions - FileManager.swift
[17/69] Compiling SpellbookFoundation FileEnumerator.swift
[18/69] Compiling SpellbookFoundation FileStore.swift
[19/69] Compiling SpellbookFoundation TemporaryDirectory.swift
[20/69] Compiling SpellbookFoundation Internal.swift
[21/69] Compiling SpellbookFoundation Extensions - Codable.swift
[22/69] Compiling SpellbookFoundation Extensions - Collections.swift
[23/69] Compiling SpellbookFoundation Extensions - Comparable.swift
[24/69] Compiling SpellbookFoundation Extensions - Formatters.swift
[25/69] Compiling SpellbookFoundation Extensions - StandardTypes.swift
[26/69] Compiling SpellbookFoundation SBUnit.swift
[27/69] Compiling SpellbookFoundation Extensions - Combine.swift
[28/69] Compiling SpellbookFoundation Proxies - Combine.swift
[29/69] Compiling SpellbookFoundation Benchmark.swift
[30/69] Compiling SpellbookFoundation CancellationToken.swift
[31/69] Compiling SpellbookFoundation CollectionDiff.swift
[32/69] Compiling SpellbookFoundation Environment.swift
[33/69] Compiling SpellbookFoundation Exceptions.swift
[34/69] Compiling SpellbookFoundation DictionaryWriter.swift
[35/69] Compiling SpellbookFoundation CommonError.swift
[36/69] Compiling SpellbookFoundation CustomErrorUpdating.swift
[37/69] Compiling SpellbookFoundation Extensions - Error.swift
[38/69] Compiling SpellbookFoundation Extensions - NSError.swift
[39/69] Compiling SpellbookFoundation IOKitError.swift
[40/69] Compiling SpellbookFoundation Extensions - Locks.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:198:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
198 | try withLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
199 | }
200 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:197:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
195 |
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
198 | try withLock(body)
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:118:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
116 | }
117 |
118 | public func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
119 | writeLock()
120 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:205:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
203 |
204 | extension DispatchQueue: SynchronizedLocking {
205 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
206 | try sync(flags: .barrier) { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:192:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
192 | try withWriteLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
193 | }
194 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:191:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
189 |
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
192 | try withWriteLock(body)
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:106:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
104 | }
105 |
106 | public func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
107 | readLock()
108 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:209:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
207 | }
208 |
209 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
210 | try sync { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:58:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
56 |
57 | public func read<R>(_ reader: (Value) throws -> sending R) rethrows -> sending R {
58 | try lock.withReadLock { try reader(value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:66:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
64 |
65 | public func write<R>(_ writer: (inout Value) throws -> sending R) rethrows -> sending R {
66 | try lock.withWriteLock { try writer(&value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:16: error: returning task-isolated '$0' as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:17: error: returning task-isolated '$0' as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:126:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
124 |
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
127 | read { body($0) }
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:130:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
128 | }
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
131 | write { body(&$0) }
132 | }
[41/69] Compiling SpellbookFoundation Extensions - Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:198:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
198 | try withLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
199 | }
200 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:197:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
195 |
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
198 | try withLock(body)
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:118:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
116 | }
117 |
118 | public func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
119 | writeLock()
120 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:205:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
203 |
204 | extension DispatchQueue: SynchronizedLocking {
205 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
206 | try sync(flags: .barrier) { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:192:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
192 | try withWriteLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
193 | }
194 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:191:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
189 |
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
192 | try withWriteLock(body)
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:106:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
104 | }
105 |
106 | public func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
107 | readLock()
108 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:209:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
207 | }
208 |
209 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
210 | try sync { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:58:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
56 |
57 | public func read<R>(_ reader: (Value) throws -> sending R) rethrows -> sending R {
58 | try lock.withReadLock { try reader(value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:66:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
64 |
65 | public func write<R>(_ writer: (inout Value) throws -> sending R) rethrows -> sending R {
66 | try lock.withWriteLock { try writer(&value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:16: error: returning task-isolated '$0' as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:17: error: returning task-isolated '$0' as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:126:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
124 |
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
127 | read { body($0) }
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:130:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
128 | }
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
131 | write { body(&$0) }
132 | }
[42/69] Compiling SpellbookFoundation PosixLocks.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:198:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
198 | try withLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
199 | }
200 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:197:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
195 |
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
198 | try withLock(body)
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:118:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
116 | }
117 |
118 | public func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
119 | writeLock()
120 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:205:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
203 |
204 | extension DispatchQueue: SynchronizedLocking {
205 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
206 | try sync(flags: .barrier) { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:192:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
192 | try withWriteLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
193 | }
194 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:191:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
189 |
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
192 | try withWriteLock(body)
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:106:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
104 | }
105 |
106 | public func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
107 | readLock()
108 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:209:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
207 | }
208 |
209 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
210 | try sync { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:58:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
56 |
57 | public func read<R>(_ reader: (Value) throws -> sending R) rethrows -> sending R {
58 | try lock.withReadLock { try reader(value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:66:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
64 |
65 | public func write<R>(_ writer: (inout Value) throws -> sending R) rethrows -> sending R {
66 | try lock.withWriteLock { try writer(&value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:16: error: returning task-isolated '$0' as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:17: error: returning task-isolated '$0' as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:126:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
124 |
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
127 | read { body($0) }
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:130:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
128 | }
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
131 | write { body(&$0) }
132 | }
[43/69] Compiling SpellbookFoundation Synchronized.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:198:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
198 | try withLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
199 | }
200 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:197:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
195 |
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
198 | try withLock(body)
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:118:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
116 | }
117 |
118 | public func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
119 | writeLock()
120 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:205:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
203 |
204 | extension DispatchQueue: SynchronizedLocking {
205 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
206 | try sync(flags: .barrier) { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:192:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
192 | try withWriteLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
193 | }
194 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:191:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
189 |
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
192 | try withWriteLock(body)
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:106:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
104 | }
105 |
106 | public func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
107 | readLock()
108 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:209:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
207 | }
208 |
209 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
210 | try sync { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:58:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
56 |
57 | public func read<R>(_ reader: (Value) throws -> sending R) rethrows -> sending R {
58 | try lock.withReadLock { try reader(value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:66:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
64 |
65 | public func write<R>(_ writer: (inout Value) throws -> sending R) rethrows -> sending R {
66 | try lock.withWriteLock { try writer(&value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:16: error: returning task-isolated '$0' as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:17: error: returning task-isolated '$0' as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:126:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
124 |
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
127 | read { body($0) }
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:130:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
128 | }
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
131 | write { body(&$0) }
132 | }
[44/69] Compiling SpellbookFoundation SynchronizedObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:198:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
198 | try withLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
199 | }
200 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:197:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
195 |
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
198 | try withLock(body)
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:118:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
116 | }
117 |
118 | public func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
119 | writeLock()
120 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:205:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
203 |
204 | extension DispatchQueue: SynchronizedLocking {
205 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
206 | try sync(flags: .barrier) { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:192:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
192 | try withWriteLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
193 | }
194 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:191:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
189 |
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
192 | try withWriteLock(body)
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:106:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
104 | }
105 |
106 | public func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
107 | readLock()
108 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:209:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
207 | }
208 |
209 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
210 | try sync { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:58:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
56 |
57 | public func read<R>(_ reader: (Value) throws -> sending R) rethrows -> sending R {
58 | try lock.withReadLock { try reader(value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:66:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
64 |
65 | public func write<R>(_ writer: (inout Value) throws -> sending R) rethrows -> sending R {
66 | try lock.withWriteLock { try writer(&value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:16: error: returning task-isolated '$0' as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:17: error: returning task-isolated '$0' as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:126:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
124 |
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
127 | read { body($0) }
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:130:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
128 | }
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
131 | write { body(&$0) }
132 | }
[45/69] Compiling SpellbookFoundation SynchronousExecution.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:198:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
198 | try withLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
199 | }
200 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:197:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
195 |
196 | extension UnfairLock: SynchronizedLocking {
197 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
198 | try withLock(body)
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:118:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
116 | }
117 |
118 | public func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
119 | writeLock()
120 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:205:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
203 |
204 | extension DispatchQueue: SynchronizedLocking {
205 | func withWriteLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
206 | try sync(flags: .barrier) { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
207 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:192:13: error: returning task-isolated 'body' as a 'sending' result risks causing data races
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
192 | try withWriteLock(body)
| |- error: returning task-isolated 'body' as a 'sending' result risks causing data races
| `- note: returning task-isolated 'body' risks causing data races since the caller assumes that 'body' can be safely sent to other isolation domains
193 | }
194 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:191:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
189 |
190 | extension SynchronizedLocking {
191 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
192 | try withWriteLock(body)
193 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/PosixLocks.swift:106:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
104 | }
105 |
106 | public func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
107 | readLock()
108 | defer { unlock() }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:209:10: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
207 | }
208 |
209 | func withReadLock<R, E: Error>(_ body: () throws(E) -> sending R) throws(E) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <τ_0_1, τ_0_0>' is a non-Sendable type
210 | try sync { UncheckedSendable(Result(catching: body)) }.wrappedValue.get()
211 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:58:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
56 |
57 | public func read<R>(_ reader: (Value) throws -> sending R) rethrows -> sending R {
58 | try lock.withReadLock { try reader(value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:66:18: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
64 |
65 | public func write<R>(_ writer: (inout Value) throws -> sending R) rethrows -> sending R {
66 | try lock.withWriteLock { try writer(&value) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> () -> (@sil_sending @out τ_0_1, @error_indirect τ_0_0) for <any Error, R>' is a non-Sendable type
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:127:16: error: returning task-isolated '$0' as a 'sending' result risks causing data races
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
127 | read { body($0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:9: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> (@sil_sending @out τ_0_1, @error any Error) for <Value, R>' is a non-Sendable type
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:131:17: error: returning task-isolated '$0' as a 'sending' result risks causing data races
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
131 | write { body(&$0) }
| |- error: returning task-isolated '$0' as a 'sending' result risks causing data races
| `- note: returning task-isolated '$0' risks causing data races since the caller assumes that '$0' can be safely sent to other isolation domains
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:126:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
124 |
125 | extension Synchronized: _ValueUpdateWrapping {
126 | public func _readValue<R>(body: (Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@in_guaranteed τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
127 | read { body($0) }
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Threading & Concurrency/Synchronized.swift:130:17: error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
128 | }
129 |
130 | public func _updateValue<R>(body: (inout Value) -> sending R) -> sending R {
| |- error: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value as a 'sending' result risks causing data races
| |- note: returning a task-isolated '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' value risks causing races since the caller assumes the value can be safely sent to other isolation domains
| `- note: '@noescape @callee_guaranteed @substituted <τ_0_0, τ_0_1> (@inout τ_0_0) -> @sil_sending @out τ_0_1 for <τ_0_0, τ_1_0>' is a non-Sendable type
131 | write { body(&$0) }
132 | }
[46/69] Compiling SpellbookFoundation UncheckedSendable.swift
[47/69] Compiling SpellbookFoundation Boxing.swift
[48/69] Compiling SpellbookFoundation Closure.swift
[49/69] Compiling SpellbookFoundation Refreshable.swift
[50/69] Compiling SpellbookFoundation Resource (RAII).swift
[51/69] Compiling SpellbookFoundation Types.swift
[52/69] Compiling SpellbookFoundation SpellbookLog.swift
[53/69] Compiling SpellbookFoundation Utils.swift
[54/69] Compiling SpellbookFoundation ValueBuilder.swift
[55/69] Compiling SpellbookFoundation WildcardExpression.swift
[56/69] Compiling SpellbookFoundation DictionaryCodingKey.swift
[57/69] Compiling SpellbookFoundation DictionaryReader.swift
[58/69] Compiling SpellbookFoundation DeviceInfo.swift
[59/69] Compiling SpellbookFoundation Extensions - ProcessInfo.swift
[60/69] Compiling SpellbookFoundation Atomic.swift
[61/69] Compiling SpellbookFoundation BlockingQueue.swift
[62/69] Compiling SpellbookFoundation ConcurrentBlockOperation.swift
[63/69] Compiling SpellbookFoundation Extensions - DispatchQueue.swift
[64/69] Compiling SpellbookFoundation AuditToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:32:33: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
30 | /// Returns current task audit token.
31 | public static func current() throws -> audit_token_t {
32 | try audit_token_t(task: mach_task_self_)
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
33 | }
34 |
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:37:65: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
35 | /// Returns task for pid.
36 | public init(pid: pid_t) throws {
37 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
38 | try self.init(task: taskName)
39 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[65/69] Compiling SpellbookFoundation BridgedCEnum.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:32:33: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
30 | /// Returns current task audit token.
31 | public static func current() throws -> audit_token_t {
32 | try audit_token_t(task: mach_task_self_)
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
33 | }
34 |
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:37:65: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
35 | /// Returns task for pid.
36 | public init(pid: pid_t) throws {
37 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
38 | try self.init(task: taskName)
39 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[66/69] Compiling SpellbookFoundation MachTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:32:33: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
30 | /// Returns current task audit token.
31 | public static func current() throws -> audit_token_t {
32 | try audit_token_t(task: mach_task_self_)
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
33 | }
34 |
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:37:65: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
35 | /// Returns task for pid.
36 | public init(pid: pid_t) throws {
37 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
38 | try self.init(task: taskName)
39 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[67/69] Compiling SpellbookFoundation POD+Swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:32:33: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
30 | /// Returns current task audit token.
31 | public static func current() throws -> audit_token_t {
32 | try audit_token_t(task: mach_task_self_)
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
33 | }
34 |
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:37:65: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
35 | /// Returns task for pid.
36 | public init(pid: pid_t) throws {
37 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
38 | try self.init(task: taskName)
39 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[68/69] Compiling SpellbookFoundation Unsafe.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:32:33: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
30 | /// Returns current task audit token.
31 | public static func current() throws -> audit_token_t {
32 | try audit_token_t(task: mach_task_self_)
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
33 | }
34 |
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:37:65: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
35 | /// Returns task for pid.
36 | public init(pid: pid_t) throws {
37 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
38 | try self.init(task: taskName)
39 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
[69/69] Compiling SpellbookFoundation _ValueUpdateWrapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpellbookFoundation/Low Level/AuditToken.swift:32:33: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
30 | /// Returns current task audit token.
31 | public static func current() throws -> audit_token_t {
32 | try audit_token_t(task: mach_task_self_)
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
33 | }
34 |
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:37:65: error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
35 | /// Returns task for pid.
36 | public init(pid: pid_t) throws {
37 | let taskName = try NSError.mach.try { task_name_for_pid(mach_task_self_, pid, $0) }
| `- error: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state
38 | try self.init(task: taskName)
39 | }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
| `- note: var declared here
BUILD FAILURE 6.0 macosSpm