The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of yswift, reference main (976d5a), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 05:15:22 UTC.

Swift 6 data race errors: 36

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:216:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
    |                           |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'update' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:217:27: warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
    |                           |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'updateV2' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:219:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
    |                           |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'subdocs' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:227:27: warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
    |                           |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:226:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
    |                           |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:223:27: warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
    |                           |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:386:27: warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  8 | import Foundation
  9 | import Combine
 10 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 11 |
 12 | final public class YUndoManager: JSHashable {
    :
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           |- note: annotate 'stackCleanred' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:387:27: warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
    |                           |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemAdded' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:388:27: warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
    |                           |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemPopped' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:389:27: warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
    |                           |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemUpdated' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |     }
391 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:213:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
    |                           |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroy' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:210:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
    |                           |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'load' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:211:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
211 |         public static let sync = YDocument.EventName<Bool>("sync")
    |                           |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:214:27: warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
    |                           |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroyed' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:242:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
240 |     static func generateDocGuid() -> String {
241 |         #if DEBUG // to remove randomness
242 |         enum __ { static var cliendID: UInt = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |         if NSClassFromString("XCTest") != nil {
244 |             __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:254:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 |     static func generateNewClientID() -> Int {
253 |         #if DEBUG // to remove randomness
254 |         enum __ { static var cliendID: Int = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |         if NSClassFromString("XCTest") != nil {
256 |             __.cliendID += 1
[110/114] Compiling yswift YStructStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:224:27: warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
    |                           `- warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  9 | import Promise
 10 | import Combine
 11 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 12 |
 13 | public class YDocument: LZObservableObject, JSHashable {
    :
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
    |                           |- note: annotate 'afterTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YSwiftError.swift:18:9: warning: stored property 'backtrace' of 'Sendable'-conforming struct 'YSwiftError' has non-sendable type 'Backtrace'; this is an error in the Swift 6 language mode
16 |
17 |     let message: String
18 |     let backtrace: Backtrace
   |         `- warning: stored property 'backtrace' of 'Sendable'-conforming struct 'YSwiftError' has non-sendable type 'Backtrace'; this is an error in the Swift 6 language mode
19 |
20 |     public var description: String { "\(message)\n\(backtrace)" }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/+Library/Backtrace.swift:10:13: note: class 'Backtrace' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | final class Backtrace: CustomStringConvertible {
   |             `- note: class 'Backtrace' does not conform to the 'Sendable' protocol
11 |     final class Symbol: CustomStringConvertible {
12 |         let moduleName: String
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:221:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
    |                           |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeObserverCalls' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:229:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
    |                           |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterTransactionCleanup' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |
231 |         public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:216:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
    |                           |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'update' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:217:27: warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
    |                           |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'updateV2' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:219:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
    |                           |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'subdocs' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:227:27: warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
    |                           |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:226:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
    |                           |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:223:27: warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
    |                           |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:386:27: warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  8 | import Foundation
  9 | import Combine
 10 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 11 |
 12 | final public class YUndoManager: JSHashable {
    :
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           |- note: annotate 'stackCleanred' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:387:27: warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
    |                           |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemAdded' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:388:27: warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
    |                           |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemPopped' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:389:27: warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
    |                           |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemUpdated' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |     }
391 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:213:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
    |                           |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroy' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:210:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
    |                           |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'load' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:211:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
211 |         public static let sync = YDocument.EventName<Bool>("sync")
    |                           |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:214:27: warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
    |                           |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroyed' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:242:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
240 |     static func generateDocGuid() -> String {
241 |         #if DEBUG // to remove randomness
242 |         enum __ { static var cliendID: UInt = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |         if NSClassFromString("XCTest") != nil {
244 |             __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:254:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 |     static func generateNewClientID() -> Int {
253 |         #if DEBUG // to remove randomness
254 |         enum __ { static var cliendID: Int = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |         if NSClassFromString("XCTest") != nil {
256 |             __.cliendID += 1
[111/114] Compiling yswift YSwiftError.swift
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:224:27: warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
    |                           `- warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  9 | import Promise
 10 | import Combine
 11 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 12 |
 13 | public class YDocument: LZObservableObject, JSHashable {
    :
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
    |                           |- note: annotate 'afterTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YSwiftError.swift:18:9: warning: stored property 'backtrace' of 'Sendable'-conforming struct 'YSwiftError' has non-sendable type 'Backtrace'; this is an error in the Swift 6 language mode
16 |
17 |     let message: String
18 |     let backtrace: Backtrace
   |         `- warning: stored property 'backtrace' of 'Sendable'-conforming struct 'YSwiftError' has non-sendable type 'Backtrace'; this is an error in the Swift 6 language mode
19 |
20 |     public var description: String { "\(message)\n\(backtrace)" }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/+Library/Backtrace.swift:10:13: note: class 'Backtrace' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | final class Backtrace: CustomStringConvertible {
   |             `- note: class 'Backtrace' does not conform to the 'Sendable' protocol
11 |     final class Symbol: CustomStringConvertible {
12 |         let moduleName: String
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:221:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
    |                           |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeObserverCalls' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:229:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
    |                           |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterTransactionCleanup' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |
231 |         public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:216:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
    |                           |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'update' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:217:27: warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
    |                           |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'updateV2' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:219:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
    |                           |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'subdocs' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:227:27: warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
    |                           |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:226:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
    |                           |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:223:27: warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
    |                           |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:386:27: warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  8 | import Foundation
  9 | import Combine
 10 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 11 |
 12 | final public class YUndoManager: JSHashable {
    :
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           |- note: annotate 'stackCleanred' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:387:27: warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
    |                           |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemAdded' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:388:27: warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
    |                           |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemPopped' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:389:27: warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
    |                           |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemUpdated' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |     }
391 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:213:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
    |                           |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroy' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:210:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
    |                           |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'load' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:211:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
211 |         public static let sync = YDocument.EventName<Bool>("sync")
    |                           |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:214:27: warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
    |                           |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroyed' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:242:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
240 |     static func generateDocGuid() -> String {
241 |         #if DEBUG // to remove randomness
242 |         enum __ { static var cliendID: UInt = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |         if NSClassFromString("XCTest") != nil {
244 |             __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:254:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 |     static func generateNewClientID() -> Int {
253 |         #if DEBUG // to remove randomness
254 |         enum __ { static var cliendID: Int = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |         if NSClassFromString("XCTest") != nil {
256 |             __.cliendID += 1
[112/114] Compiling yswift YTransaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:224:27: warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
    |                           `- warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  9 | import Promise
 10 | import Combine
 11 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 12 |
 13 | public class YDocument: LZObservableObject, JSHashable {
    :
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
    |                           |- note: annotate 'afterTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YSwiftError.swift:18:9: warning: stored property 'backtrace' of 'Sendable'-conforming struct 'YSwiftError' has non-sendable type 'Backtrace'; this is an error in the Swift 6 language mode
16 |
17 |     let message: String
18 |     let backtrace: Backtrace
   |         `- warning: stored property 'backtrace' of 'Sendable'-conforming struct 'YSwiftError' has non-sendable type 'Backtrace'; this is an error in the Swift 6 language mode
19 |
20 |     public var description: String { "\(message)\n\(backtrace)" }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/+Library/Backtrace.swift:10:13: note: class 'Backtrace' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | final class Backtrace: CustomStringConvertible {
   |             `- note: class 'Backtrace' does not conform to the 'Sendable' protocol
11 |     final class Symbol: CustomStringConvertible {
12 |         let moduleName: String
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:221:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
    |                           |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeObserverCalls' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:229:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
    |                           |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterTransactionCleanup' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |
231 |         public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:216:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
    |                           |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'update' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:217:27: warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
    |                           |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'updateV2' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:219:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
    |                           |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'subdocs' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:227:27: warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
    |                           |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:226:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
    |                           |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:223:27: warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
    |                           |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:386:27: warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  8 | import Foundation
  9 | import Combine
 10 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 11 |
 12 | final public class YUndoManager: JSHashable {
    :
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           |- note: annotate 'stackCleanred' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:387:27: warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
    |                           |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemAdded' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:388:27: warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
    |                           |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemPopped' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:389:27: warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
    |                           |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemUpdated' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |     }
391 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:213:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
    |                           |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroy' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:210:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
    |                           |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'load' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:211:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
211 |         public static let sync = YDocument.EventName<Bool>("sync")
    |                           |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:214:27: warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
    |                           |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroyed' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:242:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
240 |     static func generateDocGuid() -> String {
241 |         #if DEBUG // to remove randomness
242 |         enum __ { static var cliendID: UInt = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |         if NSClassFromString("XCTest") != nil {
244 |             __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:254:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 |     static func generateNewClientID() -> Int {
253 |         #if DEBUG // to remove randomness
254 |         enum __ { static var cliendID: Int = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |         if NSClassFromString("XCTest") != nil {
256 |             __.cliendID += 1
[113/114] Compiling yswift YUndoManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:224:27: warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
    |                           `- warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  9 | import Promise
 10 | import Combine
 11 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 12 |
 13 | public class YDocument: LZObservableObject, JSHashable {
    :
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
    |                           |- note: annotate 'afterTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YSwiftError.swift:18:9: warning: stored property 'backtrace' of 'Sendable'-conforming struct 'YSwiftError' has non-sendable type 'Backtrace'; this is an error in the Swift 6 language mode
16 |
17 |     let message: String
18 |     let backtrace: Backtrace
   |         `- warning: stored property 'backtrace' of 'Sendable'-conforming struct 'YSwiftError' has non-sendable type 'Backtrace'; this is an error in the Swift 6 language mode
19 |
20 |     public var description: String { "\(message)\n\(backtrace)" }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/+Library/Backtrace.swift:10:13: note: class 'Backtrace' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | final class Backtrace: CustomStringConvertible {
   |             `- note: class 'Backtrace' does not conform to the 'Sendable' protocol
11 |     final class Symbol: CustomStringConvertible {
12 |         let moduleName: String
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:221:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
    |                           |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeObserverCalls' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:229:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
    |                           |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterTransactionCleanup' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |
231 |         public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:216:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
    |                           |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'update' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:217:27: warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
    |                           |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'updateV2' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:219:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
    |                           |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'subdocs' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:227:27: warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
    |                           |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:226:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
    |                           |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:223:27: warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
    |                           |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:386:27: warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  8 | import Foundation
  9 | import Combine
 10 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 11 |
 12 | final public class YUndoManager: JSHashable {
    :
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           |- note: annotate 'stackCleanred' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:387:27: warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
    |                           |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemAdded' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:388:27: warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
    |                           |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemPopped' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:389:27: warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
    |                           |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemUpdated' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |     }
391 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:213:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
    |                           |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroy' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:210:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
    |                           |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'load' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:211:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
211 |         public static let sync = YDocument.EventName<Bool>("sync")
    |                           |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:214:27: warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
    |                           |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroyed' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:242:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
240 |     static func generateDocGuid() -> String {
241 |         #if DEBUG // to remove randomness
242 |         enum __ { static var cliendID: UInt = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |         if NSClassFromString("XCTest") != nil {
244 |             __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:254:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 |     static func generateNewClientID() -> Int {
253 |         #if DEBUG // to remove randomness
254 |         enum __ { static var cliendID: Int = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |         if NSClassFromString("XCTest") != nil {
256 |             __.cliendID += 1
[114/114] Compiling yswift YDocument.swift
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:224:27: warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
    |                           `- warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  9 | import Promise
 10 | import Combine
 11 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 12 |
 13 | public class YDocument: LZObservableObject, JSHashable {
    :
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
    |                           |- note: annotate 'afterTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YSwiftError.swift:18:9: warning: stored property 'backtrace' of 'Sendable'-conforming struct 'YSwiftError' has non-sendable type 'Backtrace'; this is an error in the Swift 6 language mode
16 |
17 |     let message: String
18 |     let backtrace: Backtrace
   |         `- warning: stored property 'backtrace' of 'Sendable'-conforming struct 'YSwiftError' has non-sendable type 'Backtrace'; this is an error in the Swift 6 language mode
19 |
20 |     public var description: String { "\(message)\n\(backtrace)" }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/+Library/Backtrace.swift:10:13: note: class 'Backtrace' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | final class Backtrace: CustomStringConvertible {
   |             `- note: class 'Backtrace' does not conform to the 'Sendable' protocol
11 |     final class Symbol: CustomStringConvertible {
12 |         let moduleName: String
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:221:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
    |                           |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeObserverCalls' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:229:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
    |                           |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterTransactionCleanup' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |
231 |         public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:216:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
    |                           |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'update' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:217:27: warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
    |                           |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'updateV2' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:219:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
217 |         public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
218 |
219 |         public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
    |                           |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'subdocs' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:227:27: warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
    |                           |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'afterAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 |
229 |         public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:226:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
226 |         public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
    |                           |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeAllTransactions' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |         public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
228 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:223:27: warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |         public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
222 |
223 |         public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
    |                           |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'beforeTransaction' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 |         public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
225 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:386:27: warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
  8 | import Foundation
  9 | import Combine
 10 | import lib0
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'lib0'
 11 |
 12 | final public class YUndoManager: JSHashable {
    :
384 |
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
    |                           |- note: annotate 'stackCleanred' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:387:27: warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
385 |     public enum Event {
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
    |                           |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemAdded' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:388:27: warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 |         public static let stackCleanred = LZObservableObject.EventName<CleanEvent>("stack-cleared")
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
    |                           |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemPopped' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/Utilities/YUndoManager.swift:389:27: warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 |         public static let stackItemAdded = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 |         public static let stackItemPopped = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 |         public static let stackItemUpdated = LZObservableObject.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
    |                           |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'stackItemUpdated' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
390 |     }
391 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:213:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
    |                           |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroy' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
215 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:210:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
    |                           |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'load' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |         public static let sync = YDocument.EventName<Bool>("sync")
212 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:211:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
209 |     public enum On {
210 |         public static let load = YDocument.EventName<Void>("load")
211 |         public static let sync = YDocument.EventName<Bool>("sync")
    |                           |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'sync' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:214:27: warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
212 |
213 |         public static let destroy = YDocument.EventName<Void>("destroy")
214 |         public static let destroyed = YDocument.EventName<Bool>("destroyed")
    |                           |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservableObject.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'destroyed' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 |         public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservableObject.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservableObject {
12 |     public struct EventName<Arguments> {
   |                   `- note: generic struct 'EventName' does not conform to the 'Sendable' protocol
13 |         public let name: String
14 |         public init(_ name: String) { self.name = name }
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:242:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
240 |     static func generateDocGuid() -> String {
241 |         #if DEBUG // to remove randomness
242 |         enum __ { static var cliendID: UInt = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |         if NSClassFromString("XCTest") != nil {
244 |             __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:254:30: warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 |     static func generateNewClientID() -> Int {
253 |         #if DEBUG // to remove randomness
254 |         enum __ { static var cliendID: Int = 0 }
    |                              |- warning: static property 'cliendID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'cliendID' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: annotate 'cliendID' with '@MainActor' if property should only be accessed from the main actor
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |         if NSClassFromString("XCTest") != nil {
256 |             __.cliendID += 1
Build complete! (32.68s)
Fetching https://github.com/ObuchiYuki/Promise.git
Fetching https://github.com/ObuchiYuki/lib0-swift.git
[1/1187] Fetching promise
[120/1349] Fetching promise, lib0-swift
Fetched https://github.com/ObuchiYuki/lib0-swift.git from cache (0.87s)
Fetched https://github.com/ObuchiYuki/Promise.git from cache (0.87s)
Computing version for https://github.com/ObuchiYuki/lib0-swift.git
Computed https://github.com/ObuchiYuki/lib0-swift.git at 1.0.4 (0.74s)
Computing version for https://github.com/ObuchiYuki/Promise.git
Computed https://github.com/ObuchiYuki/Promise.git at 1.0.15 (0.69s)
Creating working copy for https://github.com/ObuchiYuki/lib0-swift.git
Working copy of https://github.com/ObuchiYuki/lib0-swift.git resolved at 1.0.4
Creating working copy for https://github.com/ObuchiYuki/Promise.git
Working copy of https://github.com/ObuchiYuki/Promise.git resolved at 1.0.15
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/yswift/Object/YXmlFragment.swift.dontimplement
Build complete.
{
  "dependencies" : [
    {
      "identity" : "promise",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.14",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ObuchiYuki/Promise.git"
    },
    {
      "identity" : "lib0-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ObuchiYuki/lib0-swift.git"
    }
  ],
  "manifest_display_name" : "yswift",
  "name" : "yswift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "yswift",
      "targets" : [
        "yswift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "yswiftTests",
      "module_type" : "SwiftTarget",
      "name" : "yswiftTests",
      "path" : "Tests/yswiftTests",
      "sources" : [
        "helper/Combine+ObjectBag.swift",
        "helper/CombineLatestCollection.swift",
        "helper/RandomGenerator.swift",
        "helper/Sync.swift",
        "helper/TestConnector.swift",
        "helper/TestDoc.swift",
        "helper/YAsserts.swift",
        "helper/YTest.swift",
        "helper/YTestEnvironment.swift",
        "helper/YUpdateEnvironment.swift",
        "helper/_Const.swift",
        "y-protocols/y-awareness.test.swift",
        "yjs/doc.tests.swift",
        "yjs/encoding.tests.swift",
        "yjs/snapshot.tests.swift",
        "yjs/undo-redo.tests.swift",
        "yjs/updates.tests.swift",
        "yjs/y-array.tests.swift",
        "yjs/y-map.tests.swift",
        "yjs/y-text.tests.swift",
        "yswift/+integrations.appkit.tests.swift",
        "yswift/+integrations.tests.swift",
        "yswift/+public-api.checks.swift",
        "yswift/+y-array.swifty.tests.swift",
        "yswift/+y-map.swifty.tests.swift",
        "yswift/+y-object.tests.swift",
        "yswift/+y-object.tests2.swift"
      ],
      "target_dependencies" : [
        "yswift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "yswift",
      "module_type" : "SwiftTarget",
      "name" : "yswift",
      "path" : "Sources/yswift",
      "product_dependencies" : [
        "Promise",
        "lib0"
      ],
      "product_memberships" : [
        "yswift"
      ],
      "sources" : [
        "+Library/Backtrace.swift",
        "+Library/DictionaryEncoder/DictionaryCodingKey.swift",
        "+Library/DictionaryEncoder/DictionaryDecoder.swift",
        "+Library/DictionaryEncoder/DictionaryEncoder.swift",
        "+Library/DictionaryEncoder/DictionaryErrors.swift",
        "+Library/JSFunctions.swift",
        "+Library/JSHashable.swift",
        "+Library/RefArray.swift",
        "+Library/RefDictionary.swift",
        "+Library/WeakBox.swift",
        "+Library/_RangeExpression.swift",
        "Coding/YDecoder/YDeleteSetDecoder+Ex.swift",
        "Coding/YDecoder/YDeleteSetDecoder.swift",
        "Coding/YDecoder/YLazyStructReader.swift",
        "Coding/YDecoder/YUpdateDecoder+Ex.swift",
        "Coding/YDecoder/YUpdateDecoder.swift",
        "Coding/YEncoder/YDeleteSetEncoder+Ex.swift",
        "Coding/YEncoder/YDeleteSetEncoder.swift",
        "Coding/YEncoder/YLazyStructWriter.swift",
        "Coding/YEncoder/YUpdateEncoder+Ex.swift",
        "Coding/YEncoder/YUpdateEncoder.swift",
        "Coding/YUpdate/YDecodedUpdate.swift",
        "Coding/YUpdate/YUpdate+Log.swift",
        "Coding/YUpdate/YUpdate.swift",
        "Object/Swift Integration/YCodable.swift",
        "Object/Swift Integration/YPasteboard.swift",
        "Object/Swift Integration/YRawRepresentable.swift",
        "Object/YArray/YArray.swift",
        "Object/YArray/YArraySearchMarker.swift",
        "Object/YArray/YOpaqueArray.swift",
        "Object/YArray/YOpaqueArrayEvent.swift",
        "Object/YArray/YOpaqueObject+Array.swift",
        "Object/YElement/YElement+Primitive.swift",
        "Object/YElement/YElement.swift",
        "Object/YEvent/YEvent.swift",
        "Object/YEvent/YEventChange.swift",
        "Object/YEvent/YEventDelta.swift",
        "Object/YMap/YMap.swift",
        "Object/YMap/YOpaqueMap.swift",
        "Object/YMap/YOpaqueMapEvent.swift",
        "Object/YMap/YOpaqueObject+Map.swift",
        "Object/YObject/Ex+/YObject+Description.swift",
        "Object/YObject/Ex+/YObject+Pasteboard.swift",
        "Object/YObject/Ex+/YObject+Property(Struct).swift",
        "Object/YObject/Ex+/YObject+Property.swift",
        "Object/YObject/Ex+/YObject+Register.swift",
        "Object/YObject/Ex+/YObject+Scan.swift",
        "Object/YObject/Ex+/YObject+SmartCopy.swift",
        "Object/YObject/YObject.swift",
        "Object/YObject/YObjectEvent.swift",
        "Object/YObject/YObjectID.swift",
        "Object/YObject/YObjectStore.swift",
        "Object/YObject/YReference.swift",
        "Object/YOpaqueObject.swift",
        "Object/YText/YText.swift",
        "Object/YWrapperObject.swift",
        "Protocol/YAwareness.swift",
        "Protocol/YSync.swift",
        "Struct/YContent/+YContent.swift",
        "Struct/YContent/YAnyContent.swift",
        "Struct/YContent/YBinaryContent.swift",
        "Struct/YContent/YDeletedContent.swift",
        "Struct/YContent/YDocumentContent.swift",
        "Struct/YContent/YEmbedContent.swift",
        "Struct/YContent/YFormatContent.swift",
        "Struct/YContent/YJSONContent.swift",
        "Struct/YContent/YObjectContent.swift",
        "Struct/YContent/YStringContent.swift",
        "Struct/YDeleteSet/YDeleteItem.swift",
        "Struct/YDeleteSet/YDeleteSet.swift",
        "Struct/YIdentifier.swift",
        "Struct/YStruct/YGC.swift",
        "Struct/YStruct/YItem.swift",
        "Struct/YStruct/YSkip.swift",
        "Struct/YStruct/YStructure.swift",
        "Utilities/YEventHandler.swift",
        "Utilities/YPermanentUserData.swift",
        "Utilities/YSnapshot.swift",
        "Utilities/YStructStore.swift",
        "Utilities/YSwiftError.swift",
        "Utilities/YTransaction.swift",
        "Utilities/YUndoManager.swift",
        "YDocument.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.