Build Information
Successful build of yswift, reference 1.0.4 (ac0336
), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 05:15:31 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
| `- 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:217:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
| |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:225:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
| |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
226 |
227 | public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:212:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
| |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
| |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:215:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
| |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
| |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:222:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
| |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
| |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
| `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 = LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
| |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 | public static let stackCleanred = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
| |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
| |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservable.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/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:209:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
| |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:206:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
| |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:207:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
207 | public static let sync = YDocument.EventName<Bool>("sync")
| |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
| |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:238: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
236 | static func generateDocGuid() -> String {
237 | #if DEBUG // to remove randomness
238 | 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
239 | if NSClassFromString("XCTest") != nil {
240 | __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:250: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
248 | static func generateNewClientID() -> Int {
249 | #if DEBUG // to remove randomness
250 | 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
251 | if NSClassFromString("XCTest") != nil {
252 | __.cliendID += 1
[106/110] Compiling yswift YStructStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:220:27: warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
| `- warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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: LZObservable, JSHashable {
:
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
220 | 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
221 |
222 | 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:217:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
| |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:225:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
| |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
226 |
227 | public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:212:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
| |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
| |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:215:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
| |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
| |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:222:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
| |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
| |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
| `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 = LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
| |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 | public static let stackCleanred = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
| |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
| |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservable.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/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:209:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
| |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:206:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
| |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:207:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
207 | public static let sync = YDocument.EventName<Bool>("sync")
| |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
| |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:238: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
236 | static func generateDocGuid() -> String {
237 | #if DEBUG // to remove randomness
238 | 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
239 | if NSClassFromString("XCTest") != nil {
240 | __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:250: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
248 | static func generateNewClientID() -> Int {
249 | #if DEBUG // to remove randomness
250 | 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
251 | if NSClassFromString("XCTest") != nil {
252 | __.cliendID += 1
[107/110] Compiling yswift YSwiftError.swift
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:220:27: warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
| `- warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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: LZObservable, JSHashable {
:
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
220 | 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
221 |
222 | 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:217:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
| |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:225:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
| |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
226 |
227 | public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:212:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
| |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
| |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:215:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
| |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
| |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:222:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
| |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
| |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
| `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 = LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
| |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 | public static let stackCleanred = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
| |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
| |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservable.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/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:209:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
| |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:206:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
| |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:207:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
207 | public static let sync = YDocument.EventName<Bool>("sync")
| |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
| |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:238: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
236 | static func generateDocGuid() -> String {
237 | #if DEBUG // to remove randomness
238 | 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
239 | if NSClassFromString("XCTest") != nil {
240 | __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:250: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
248 | static func generateNewClientID() -> Int {
249 | #if DEBUG // to remove randomness
250 | 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
251 | if NSClassFromString("XCTest") != nil {
252 | __.cliendID += 1
[108/110] Compiling yswift YTransaction.swift
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:220:27: warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
| `- warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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: LZObservable, JSHashable {
:
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
220 | 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
221 |
222 | 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:217:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
| |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:225:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
| |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
226 |
227 | public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:212:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
| |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
| |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:215:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
| |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
| |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:222:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
| |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
| |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
| `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 = LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
| |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 | public static let stackCleanred = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
| |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
| |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservable.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/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:209:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
| |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:206:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
| |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:207:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
207 | public static let sync = YDocument.EventName<Bool>("sync")
| |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
| |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:238: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
236 | static func generateDocGuid() -> String {
237 | #if DEBUG // to remove randomness
238 | 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
239 | if NSClassFromString("XCTest") != nil {
240 | __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:250: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
248 | static func generateNewClientID() -> Int {
249 | #if DEBUG // to remove randomness
250 | 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
251 | if NSClassFromString("XCTest") != nil {
252 | __.cliendID += 1
[109/110] Compiling yswift YUndoManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:220:27: warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
| `- warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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: LZObservable, JSHashable {
:
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
220 | 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
221 |
222 | 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:217:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
| |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:225:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
| |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
226 |
227 | public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:212:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
| |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
| |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:215:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
| |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
| |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:222:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
| |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
| |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
| `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 = LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
| |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 | public static let stackCleanred = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
| |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
| |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservable.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/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:209:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
| |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:206:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
| |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:207:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
207 | public static let sync = YDocument.EventName<Bool>("sync")
| |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
| |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:238: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
236 | static func generateDocGuid() -> String {
237 | #if DEBUG // to remove randomness
238 | 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
239 | if NSClassFromString("XCTest") != nil {
240 | __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:250: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
248 | static func generateNewClientID() -> Int {
249 | #if DEBUG // to remove randomness
250 | 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
251 | if NSClassFromString("XCTest") != nil {
252 | __.cliendID += 1
[110/110] Compiling yswift YDocument.swift
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:220:27: warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
| `- warning: static property 'afterTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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: LZObservable, JSHashable {
:
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
220 | 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
221 |
222 | 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:217:27: warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
| |- warning: static property 'beforeObserverCalls' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:225:27: warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
| |- warning: static property 'afterTransactionCleanup' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
226 |
227 | public struct SubDocEvent {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:212:27: warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
| |- warning: static property 'update' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(update: YUpdate, origin: Any?, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
| |- warning: static property 'updateV2' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:215:27: warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<(YDocument.On.SubDocEvent, YTransaction)>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | public static let updateV2 = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("updateV2")
214 |
215 | public static let subdocs = YDocument.EventName<(SubDocEvent, YTransaction)>("subdocs")
| |- warning: static property 'subdocs' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
216 |
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<[YTransaction]>' may have shared mutable state; this is an error in the Swift 6 language mode
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
| |- warning: static property 'afterAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
224 |
225 | public static let afterTransactionCleanup = YDocument.EventName<YTransaction>("afterTransactionCleanup")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:222:27: warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
222 | public static let beforeAllTransactions = YDocument.EventName<Void>("beforeAllTransactions")
| |- warning: static property 'beforeAllTransactions' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
223 | public static let afterAllTransactions = YDocument.EventName<[YTransaction]>("afterAllTransactions")
224 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YTransaction>' may have shared mutable state; this is an error in the Swift 6 language mode
217 | public static let beforeObserverCalls = YDocument.EventName<YTransaction>("beforeObserverCalls")
218 |
219 | public static let beforeTransaction = YDocument.EventName<YTransaction>("beforeTransaction")
| |- warning: static property 'beforeTransaction' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
220 | public static let afterTransaction = YDocument.EventName<YTransaction>("afterTransaction")
221 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
| `- warning: static property 'stackCleanred' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<YUndoManager.CleanEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 = LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.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 'LZObservable.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 = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
| |- warning: static property 'stackItemAdded' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
386 | public static let stackCleanred = LZObservable.EventName<CleanEvent>("stack-cleared")
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
| |- warning: static property 'stackItemPopped' is not concurrency-safe because non-'Sendable' type 'LZObservable.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 = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
390 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'LZObservable.EventName<YUndoManager.ChangeEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
387 | public static let stackItemAdded = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-added")
388 | public static let stackItemPopped = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-popped")
389 | public static let stackItemUpdated = LZObservable.EventName<YUndoManager.ChangeEvent>("stack-item-updated")
| |- warning: static property 'stackItemUpdated' is not concurrency-safe because non-'Sendable' type 'LZObservable.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/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:209:27: warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
| |- warning: static property 'destroy' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
211 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:206:27: warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Void>' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
| |- warning: static property 'load' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
207 | public static let sync = YDocument.EventName<Bool>("sync")
208 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:207:27: warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
205 | public enum On {
206 | public static let load = YDocument.EventName<Void>("load")
207 | public static let sync = YDocument.EventName<Bool>("sync")
| |- warning: static property 'sync' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.EventName<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
208 |
209 | public static let destroy = YDocument.EventName<Void>("destroy")
210 | public static let destroyed = YDocument.EventName<Bool>("destroyed")
| |- warning: static property 'destroyed' is not concurrency-safe because non-'Sendable' type 'LZObservable.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
211 |
212 | public static let update = YDocument.EventName<(update: YUpdate, origin: Any?, YTransaction)>("update")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/lib0-swift/Sources/lib0/LZObservable.swift:12:19: note: generic struct 'EventName' does not conform to the 'Sendable' protocol
10 |
11 | open class LZObservable {
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:238: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
236 | static func generateDocGuid() -> String {
237 | #if DEBUG // to remove randomness
238 | 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
239 | if NSClassFromString("XCTest") != nil {
240 | __.cliendID += 1
/Users/admin/builder/spi-builder-workspace/Sources/yswift/YDocument.swift:250: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
248 | static func generateNewClientID() -> Int {
249 | #if DEBUG // to remove randomness
250 | 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
251 | if NSClassFromString("XCTest") != nil {
252 | __.cliendID += 1
Build complete! (25.59s)
Fetching https://github.com/ObuchiYuki/Promise.git
Fetching https://github.com/ObuchiYuki/lib0-swift.git
[1/1187] Fetching promise
[13/1349] Fetching promise, lib0-swift
Fetched https://github.com/ObuchiYuki/Promise.git from cache (0.80s)
Fetched https://github.com/ObuchiYuki/lib0-swift.git from cache (0.80s)
Computing version for https://github.com/ObuchiYuki/lib0-swift.git
Computed https://github.com/ObuchiYuki/lib0-swift.git at 1.0.1 (0.64s)
Computing version for https://github.com/ObuchiYuki/Promise.git
Computed https://github.com/ObuchiYuki/Promise.git at 1.0.15 (0.61s)
Creating working copy for https://github.com/ObuchiYuki/Promise.git
Working copy of https://github.com/ObuchiYuki/Promise.git resolved at 1.0.15
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.1
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" : [
"+integrations.appkit.tests.swift",
"+integrations.tests.swift",
"+public-api.checks.swift",
"+y-array.swifty.tests.swift",
"+y-map.swifty.tests.swift",
"+y-object.tests.swift",
"+y-object.tests2.swift",
"doc.tests.swift",
"encoding.tests.swift",
"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",
"snapshot.tests.swift",
"undo-redo.tests.swift",
"updates.tests.swift",
"y-array.tests.swift",
"y-map.tests.swift",
"y-text.tests.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.