The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Loro, reference main (92f04d), with Swift 6.1 for macOS (SPM) on 28 Sep 2026 11:54:30 UTC.

Swift 6 data race errors: 29

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loro-dev/loro-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loro-dev/loro-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 92f04db Merge pull request #42 from loro-dev/pre-release
Cloned https://github.com/loro-dev/loro-swift.git
Revision (git rev-parse @):
92f04db76d86012c2ff7678affb1293083c31573
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/loro-dev/loro-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/loro-dev/loro-swift.git
https://github.com/loro-dev/loro-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Loro",
  "name" : "Loro",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Loro",
      "targets" : [
        "Loro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoroTests",
      "module_type" : "SwiftTarget",
      "name" : "LoroTests",
      "path" : "Tests/LoroTests",
      "sources" : [
        "EphemeralStoreTests.swift",
        "LoroTests.swift",
        "Undo.swift"
      ],
      "target_dependencies" : [
        "Loro"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoroFFI",
      "module_type" : "BinaryTarget",
      "name" : "LoroFFI",
      "path" : "remote/archive/loroFFI.xcframework.zip",
      "product_memberships" : [
        "Loro"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Loro",
      "module_type" : "SwiftTarget",
      "name" : "Loro",
      "path" : "Sources/Loro",
      "product_memberships" : [
        "Loro"
      ],
      "sources" : [
        "Container.swift",
        "Ephemeral.swift",
        "Event.swift",
        "Loro.swift",
        "LoroFFI.swift",
        "Value.swift",
        "Version.swift"
      ],
      "target_dependencies" : [
        "LoroFFI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[0/3] Copying libloro_swift.a
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/11] Compiling Loro Value.swift
[5/11] Compiling Loro Version.swift
[6/11] Compiling Loro Container.swift
[7/11] Compiling Loro Loro.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:20:7: warning: non-final class 'ClosureOnPush' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 |
20 | class ClosureOnPush: OnPush {
   |       `- warning: non-final class 'ClosureOnPush' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |     private let closure: (UndoOrRedo, CounterSpan, DiffEvent?) ->UndoItemMeta
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:21:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureOnPush' has non-sendable type '(UndoOrRedo, CounterSpan, DiffEvent?) -> UndoItemMeta'; this is an error in the Swift 6 language mode
19 |
20 | class ClosureOnPush: OnPush {
21 |     private let closure: (UndoOrRedo, CounterSpan, DiffEvent?) ->UndoItemMeta
   |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureOnPush' has non-sendable type '(UndoOrRedo, CounterSpan, DiffEvent?) -> UndoItemMeta'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |
23 |     public init(closure: @escaping (UndoOrRedo, CounterSpan, DiffEvent?) ->UndoItemMeta) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:32:7: warning: non-final class 'ClosureOnPop' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | class ClosureOnPop: OnPop {
   |       `- warning: non-final class 'ClosureOnPop' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
33 |     private let closure: (UndoOrRedo, CounterSpan,UndoItemMeta)->Void
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:33:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureOnPop' has non-sendable type '(UndoOrRedo, CounterSpan, UndoItemMeta) -> Void'; this is an error in the Swift 6 language mode
31 |
32 | class ClosureOnPop: OnPop {
33 |     private let closure: (UndoOrRedo, CounterSpan,UndoItemMeta)->Void
   |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureOnPop' has non-sendable type '(UndoOrRedo, CounterSpan, UndoItemMeta) -> Void'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 |
35 |     public init(closure: @escaping (UndoOrRedo, CounterSpan,UndoItemMeta)->Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:65:7: warning: non-final class 'ChangeAncestorsTravel' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
63 |
64 |
65 | class ChangeAncestorsTravel: ChangeAncestorsTraveler{
   |       `- warning: non-final class 'ChangeAncestorsTravel' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
66 |     private let closure: (ChangeMeta)->Bool
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:66:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ChangeAncestorsTravel' has non-sendable type '(ChangeMeta) -> Bool'; this is an error in the Swift 6 language mode
64 |
65 | class ChangeAncestorsTravel: ChangeAncestorsTraveler{
66 |     private let closure: (ChangeMeta)->Bool
   |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ChangeAncestorsTravel' has non-sendable type '(ChangeMeta) -> Bool'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
67 |
68 |     public init(closure: @escaping (ChangeMeta)->Bool) {
[8/11] Compiling Loro LoroFFI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:933:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceChangeAncestorsTraveler>' may have shared mutable state; this is an error in the Swift 6 language mode
  931 |     // Rust stores this pointer for future callback invocations, so it must live
  932 |     // for the process lifetime (not just for the init function call).
  933 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceChangeAncestorsTraveler> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceChangeAncestorsTraveler>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  934 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceChangeAncestorsTraveler>.allocate(capacity: 1)
  935 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1419:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceContainerIdLike>' may have shared mutable state; this is an error in the Swift 6 language mode
 1417 |     // Rust stores this pointer for future callback invocations, so it must live
 1418 |     // for the process lifetime (not just for the init function call).
 1419 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceContainerIdLike> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceContainerIdLike>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 1420 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceContainerIdLike>.allocate(capacity: 1)
 1421 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2138:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceEphemeralSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
 2136 |     // Rust stores this pointer for future callback invocations, so it must live
 2137 |     // for the process lifetime (not just for the init function call).
 2138 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceEphemeralSubscriber> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceEphemeralSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 2139 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceEphemeralSubscriber>.allocate(capacity: 1)
 2140 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2331:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
 2329 |     // Rust stores this pointer for future callback invocations, so it must live
 2330 |     // for the process lifetime (not just for the init function call).
 2331 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 2332 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback>.allocate(capacity: 1)
 2333 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2837:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceJsonPathSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
 2835 |     // Rust stores this pointer for future callback invocations, so it must live
 2836 |     // for the process lifetime (not just for the init function call).
 2837 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceJsonPathSubscriber> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceJsonPathSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 2838 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceJsonPathSubscriber>.allocate(capacity: 1)
 2839 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:3030:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalEphemeralListener>' may have shared mutable state; this is an error in the Swift 6 language mode
 3028 |     // Rust stores this pointer for future callback invocations, so it must live
 3029 |     // for the process lifetime (not just for the init function call).
 3030 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceLocalEphemeralListener> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalEphemeralListener>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 3031 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceLocalEphemeralListener>.allocate(capacity: 1)
 3032 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:3223:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalUpdateCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
 3221 |     // Rust stores this pointer for future callback invocations, so it must live
 3222 |     // for the process lifetime (not just for the init function call).
 3223 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceLocalUpdateCallback> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalUpdateCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 3224 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceLocalUpdateCallback>.allocate(capacity: 1)
 3225 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9363:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLoroValueLike>' may have shared mutable state; this is an error in the Swift 6 language mode
 9361 |     // Rust stores this pointer for future callback invocations, so it must live
 9362 |     // for the process lifetime (not just for the init function call).
 9363 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceLoroValueLike> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLoroValueLike>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9364 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceLoroValueLike>.allocate(capacity: 1)
 9365 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9562:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOnPop>' may have shared mutable state; this is an error in the Swift 6 language mode
 9560 |     // Rust stores this pointer for future callback invocations, so it must live
 9561 |     // for the process lifetime (not just for the init function call).
 9562 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceOnPop> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOnPop>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9563 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceOnPop>.allocate(capacity: 1)
 9564 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9762:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOnPush>' may have shared mutable state; this is an error in the Swift 6 language mode
 9760 |     // Rust stores this pointer for future callback invocations, so it must live
 9761 |     // for the process lifetime (not just for the init function call).
 9762 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceOnPush> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOnPush>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9763 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceOnPush>.allocate(capacity: 1)
 9764 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9955:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfacePreCommitCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
 9953 |     // Rust stores this pointer for future callback invocations, so it must live
 9954 |     // for the process lifetime (not just for the init function call).
 9955 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfacePreCommitCallback> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfacePreCommitCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9956 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfacePreCommitCallback>.allocate(capacity: 1)
 9957 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:10290:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
10288 |     // Rust stores this pointer for future callback invocations, so it must live
10289 |     // for the process lifetime (not just for the init function call).
10290 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceSubscriber> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10291 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceSubscriber>.allocate(capacity: 1)
10292 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:11062:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceUnsubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
11060 |     // Rust stores this pointer for future callback invocations, so it must live
11061 |     // for the process lifetime (not just for the init function call).
11062 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceUnsubscriber> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceUnsubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11063 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceUnsubscriber>.allocate(capacity: 1)
11064 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[9/11] Compiling Loro Event.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:3:7: warning: non-final class 'ClosureSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | class ClosureSubscriber: Subscriber {
    |       `- warning: non-final class 'ClosureSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  4 |     private let closure: (DiffEvent) -> Void
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:4:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureSubscriber' has non-sendable type '(DiffEvent) -> Void'; this is an error in the Swift 6 language mode
  2 |
  3 | class ClosureSubscriber: Subscriber {
  4 |     private let closure: (DiffEvent) -> Void
    |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureSubscriber' has non-sendable type '(DiffEvent) -> Void'; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
  5 |
  6 |     public init(closure: @escaping (DiffEvent) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:15:7: warning: non-final class 'ClosureLocalUpdate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 13 | }
 14 |
 15 | class ClosureLocalUpdate: LocalUpdateCallback{
    |       `- warning: non-final class 'ClosureLocalUpdate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 16 |     private let closure: (Data) -> Void
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:16:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureLocalUpdate' has non-sendable type '(Data) -> Void'; this is an error in the Swift 6 language mode
 14 |
 15 | class ClosureLocalUpdate: LocalUpdateCallback{
 16 |     private let closure: (Data) -> Void
    |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureLocalUpdate' has non-sendable type '(Data) -> Void'; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 17 |
 18 |     public init(closure: @escaping (Data) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:27:7: warning: non-final class 'ClosureJsonPathSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 25 | }
 26 |
 27 | class ClosureJsonPathSubscriber: JsonPathSubscriber{
    |       `- warning: non-final class 'ClosureJsonPathSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 28 |     private let closure: () -> Void
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:28:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureJsonPathSubscriber' has non-sendable type '() -> Void'; this is an error in the Swift 6 language mode
 26 |
 27 | class ClosureJsonPathSubscriber: JsonPathSubscriber{
 28 |     private let closure: () -> Void
    |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureJsonPathSubscriber' has non-sendable type '() -> Void'; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 29 |
 30 |     public init(closure: @escaping () -> Void) {
[10/11] Emitting module Loro
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Ephemeral.swift:10:7: warning: non-final class 'ClosureEphemeralSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class ClosureEphemeralSubscriber: EphemeralSubscriber {
   |       `- warning: non-final class 'ClosureEphemeralSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |     private let closure: (EphemeralStoreEvent) -> Void
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Ephemeral.swift:11:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureEphemeralSubscriber' has non-sendable type '(EphemeralStoreEvent) -> Void'; this is an error in the Swift 6 language mode
 9 |
10 | class ClosureEphemeralSubscriber: EphemeralSubscriber {
11 |     private let closure: (EphemeralStoreEvent) -> Void
   |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureEphemeralSubscriber' has non-sendable type '(EphemeralStoreEvent) -> Void'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
12 |
13 |     public init(closure: @escaping (EphemeralStoreEvent) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Ephemeral.swift:22:7: warning: non-final class 'ClosureLocalEphemeralListener' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
20 | }
21 |
22 | class ClosureLocalEphemeralListener:LocalEphemeralListener{
   |       `- warning: non-final class 'ClosureLocalEphemeralListener' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
23 |
24 |     private let closure: (Data) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Ephemeral.swift:24:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureLocalEphemeralListener' has non-sendable type '(Data) -> Void'; this is an error in the Swift 6 language mode
22 | class ClosureLocalEphemeralListener:LocalEphemeralListener{
23 |
24 |     private let closure: (Data) -> Void
   |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureLocalEphemeralListener' has non-sendable type '(Data) -> Void'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
25 |
26 |     public init(closure: @escaping (Data) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:3:7: warning: non-final class 'ClosureSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | class ClosureSubscriber: Subscriber {
    |       `- warning: non-final class 'ClosureSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  4 |     private let closure: (DiffEvent) -> Void
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:4:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureSubscriber' has non-sendable type '(DiffEvent) -> Void'; this is an error in the Swift 6 language mode
  2 |
  3 | class ClosureSubscriber: Subscriber {
  4 |     private let closure: (DiffEvent) -> Void
    |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureSubscriber' has non-sendable type '(DiffEvent) -> Void'; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
  5 |
  6 |     public init(closure: @escaping (DiffEvent) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:15:7: warning: non-final class 'ClosureLocalUpdate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 13 | }
 14 |
 15 | class ClosureLocalUpdate: LocalUpdateCallback{
    |       `- warning: non-final class 'ClosureLocalUpdate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 16 |     private let closure: (Data) -> Void
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:16:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureLocalUpdate' has non-sendable type '(Data) -> Void'; this is an error in the Swift 6 language mode
 14 |
 15 | class ClosureLocalUpdate: LocalUpdateCallback{
 16 |     private let closure: (Data) -> Void
    |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureLocalUpdate' has non-sendable type '(Data) -> Void'; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 17 |
 18 |     public init(closure: @escaping (Data) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:27:7: warning: non-final class 'ClosureJsonPathSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 25 | }
 26 |
 27 | class ClosureJsonPathSubscriber: JsonPathSubscriber{
    |       `- warning: non-final class 'ClosureJsonPathSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 28 |     private let closure: () -> Void
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Event.swift:28:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureJsonPathSubscriber' has non-sendable type '() -> Void'; this is an error in the Swift 6 language mode
 26 |
 27 | class ClosureJsonPathSubscriber: JsonPathSubscriber{
 28 |     private let closure: () -> Void
    |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureJsonPathSubscriber' has non-sendable type '() -> Void'; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 29 |
 30 |     public init(closure: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:20:7: warning: non-final class 'ClosureOnPush' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
18 |
19 |
20 | class ClosureOnPush: OnPush {
   |       `- warning: non-final class 'ClosureOnPush' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
21 |     private let closure: (UndoOrRedo, CounterSpan, DiffEvent?) ->UndoItemMeta
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:21:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureOnPush' has non-sendable type '(UndoOrRedo, CounterSpan, DiffEvent?) -> UndoItemMeta'; this is an error in the Swift 6 language mode
19 |
20 | class ClosureOnPush: OnPush {
21 |     private let closure: (UndoOrRedo, CounterSpan, DiffEvent?) ->UndoItemMeta
   |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureOnPush' has non-sendable type '(UndoOrRedo, CounterSpan, DiffEvent?) -> UndoItemMeta'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 |
23 |     public init(closure: @escaping (UndoOrRedo, CounterSpan, DiffEvent?) ->UndoItemMeta) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:32:7: warning: non-final class 'ClosureOnPop' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | class ClosureOnPop: OnPop {
   |       `- warning: non-final class 'ClosureOnPop' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
33 |     private let closure: (UndoOrRedo, CounterSpan,UndoItemMeta)->Void
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:33:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureOnPop' has non-sendable type '(UndoOrRedo, CounterSpan, UndoItemMeta) -> Void'; this is an error in the Swift 6 language mode
31 |
32 | class ClosureOnPop: OnPop {
33 |     private let closure: (UndoOrRedo, CounterSpan,UndoItemMeta)->Void
   |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureOnPop' has non-sendable type '(UndoOrRedo, CounterSpan, UndoItemMeta) -> Void'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 |
35 |     public init(closure: @escaping (UndoOrRedo, CounterSpan,UndoItemMeta)->Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:65:7: warning: non-final class 'ChangeAncestorsTravel' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
63 |
64 |
65 | class ChangeAncestorsTravel: ChangeAncestorsTraveler{
   |       `- warning: non-final class 'ChangeAncestorsTravel' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
66 |     private let closure: (ChangeMeta)->Bool
67 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Loro.swift:66:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ChangeAncestorsTravel' has non-sendable type '(ChangeMeta) -> Bool'; this is an error in the Swift 6 language mode
64 |
65 | class ChangeAncestorsTravel: ChangeAncestorsTraveler{
66 |     private let closure: (ChangeMeta)->Bool
   |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ChangeAncestorsTravel' has non-sendable type '(ChangeMeta) -> Bool'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
67 |
68 |     public init(closure: @escaping (ChangeMeta)->Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:933:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceChangeAncestorsTraveler>' may have shared mutable state; this is an error in the Swift 6 language mode
  931 |     // Rust stores this pointer for future callback invocations, so it must live
  932 |     // for the process lifetime (not just for the init function call).
  933 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceChangeAncestorsTraveler> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceChangeAncestorsTraveler>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  934 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceChangeAncestorsTraveler>.allocate(capacity: 1)
  935 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1419:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceContainerIdLike>' may have shared mutable state; this is an error in the Swift 6 language mode
 1417 |     // Rust stores this pointer for future callback invocations, so it must live
 1418 |     // for the process lifetime (not just for the init function call).
 1419 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceContainerIdLike> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceContainerIdLike>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 1420 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceContainerIdLike>.allocate(capacity: 1)
 1421 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2138:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceEphemeralSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
 2136 |     // Rust stores this pointer for future callback invocations, so it must live
 2137 |     // for the process lifetime (not just for the init function call).
 2138 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceEphemeralSubscriber> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceEphemeralSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 2139 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceEphemeralSubscriber>.allocate(capacity: 1)
 2140 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2331:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
 2329 |     // Rust stores this pointer for future callback invocations, so it must live
 2330 |     // for the process lifetime (not just for the init function call).
 2331 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 2332 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback>.allocate(capacity: 1)
 2333 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2837:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceJsonPathSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
 2835 |     // Rust stores this pointer for future callback invocations, so it must live
 2836 |     // for the process lifetime (not just for the init function call).
 2837 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceJsonPathSubscriber> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceJsonPathSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 2838 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceJsonPathSubscriber>.allocate(capacity: 1)
 2839 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:3030:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalEphemeralListener>' may have shared mutable state; this is an error in the Swift 6 language mode
 3028 |     // Rust stores this pointer for future callback invocations, so it must live
 3029 |     // for the process lifetime (not just for the init function call).
 3030 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceLocalEphemeralListener> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalEphemeralListener>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 3031 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceLocalEphemeralListener>.allocate(capacity: 1)
 3032 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:3223:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalUpdateCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
 3221 |     // Rust stores this pointer for future callback invocations, so it must live
 3222 |     // for the process lifetime (not just for the init function call).
 3223 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceLocalUpdateCallback> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLocalUpdateCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 3224 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceLocalUpdateCallback>.allocate(capacity: 1)
 3225 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9363:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLoroValueLike>' may have shared mutable state; this is an error in the Swift 6 language mode
 9361 |     // Rust stores this pointer for future callback invocations, so it must live
 9362 |     // for the process lifetime (not just for the init function call).
 9363 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceLoroValueLike> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceLoroValueLike>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9364 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceLoroValueLike>.allocate(capacity: 1)
 9365 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9562:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOnPop>' may have shared mutable state; this is an error in the Swift 6 language mode
 9560 |     // Rust stores this pointer for future callback invocations, so it must live
 9561 |     // for the process lifetime (not just for the init function call).
 9562 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceOnPop> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOnPop>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9563 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceOnPop>.allocate(capacity: 1)
 9564 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9762:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOnPush>' may have shared mutable state; this is an error in the Swift 6 language mode
 9760 |     // Rust stores this pointer for future callback invocations, so it must live
 9761 |     // for the process lifetime (not just for the init function call).
 9762 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceOnPush> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceOnPush>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9763 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceOnPush>.allocate(capacity: 1)
 9764 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9955:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfacePreCommitCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
 9953 |     // Rust stores this pointer for future callback invocations, so it must live
 9954 |     // for the process lifetime (not just for the init function call).
 9955 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfacePreCommitCallback> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfacePreCommitCallback>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9956 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfacePreCommitCallback>.allocate(capacity: 1)
 9957 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:10290:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
10288 |     // Rust stores this pointer for future callback invocations, so it must live
10289 |     // for the process lifetime (not just for the init function call).
10290 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceSubscriber> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceSubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10291 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceSubscriber>.allocate(capacity: 1)
10292 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:11062:16: warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceUnsubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
11060 |     // Rust stores this pointer for future callback invocations, so it must live
11061 |     // for the process lifetime (not just for the init function call).
11062 |     static let vtablePtr: UnsafePointer<UniffiVTableCallbackInterfaceUnsubscriber> = {
      |                |- warning: static property 'vtablePtr' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<UniffiVTableCallbackInterfaceUnsubscriber>' may have shared mutable state; this is an error in the Swift 6 language mode
      |                |- note: add '@MainActor' to make static property 'vtablePtr' part of global actor 'MainActor'
      |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11063 |         let ptr = UnsafeMutablePointer<UniffiVTableCallbackInterfaceUnsubscriber>.allocate(capacity: 1)
11064 |         ptr.initialize(to: vtable)
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[11/11] Compiling Loro Ephemeral.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Ephemeral.swift:10:7: warning: non-final class 'ClosureEphemeralSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | class ClosureEphemeralSubscriber: EphemeralSubscriber {
   |       `- warning: non-final class 'ClosureEphemeralSubscriber' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
11 |     private let closure: (EphemeralStoreEvent) -> Void
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Ephemeral.swift:11:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureEphemeralSubscriber' has non-sendable type '(EphemeralStoreEvent) -> Void'; this is an error in the Swift 6 language mode
 9 |
10 | class ClosureEphemeralSubscriber: EphemeralSubscriber {
11 |     private let closure: (EphemeralStoreEvent) -> Void
   |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureEphemeralSubscriber' has non-sendable type '(EphemeralStoreEvent) -> Void'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
12 |
13 |     public init(closure: @escaping (EphemeralStoreEvent) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Ephemeral.swift:22:7: warning: non-final class 'ClosureLocalEphemeralListener' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
20 | }
21 |
22 | class ClosureLocalEphemeralListener:LocalEphemeralListener{
   |       `- warning: non-final class 'ClosureLocalEphemeralListener' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
23 |
24 |     private let closure: (Data) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Loro/Ephemeral.swift:24:17: warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureLocalEphemeralListener' has non-sendable type '(Data) -> Void'; this is an error in the Swift 6 language mode
22 | class ClosureLocalEphemeralListener:LocalEphemeralListener{
23 |
24 |     private let closure: (Data) -> Void
   |                 |- warning: stored property 'closure' of 'Sendable'-conforming class 'ClosureLocalEphemeralListener' has non-sendable type '(Data) -> Void'; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
25 |
26 |     public init(closure: @escaping (Data) -> Void) {
Build complete! (12.29s)
Downloading binary artifact https://github.com/loro-dev/loro-swift/releases/download/1.16.2/loroFFI.xcframework.zip
[16375/125464333] Downloading https://github.com/loro-dev/loro-swift/releases/download/1.16.2/loroFFI.xcframework.zip
Downloaded https://github.com/loro-dev/loro-swift/releases/download/1.16.2/loroFFI.xcframework.zip (5.95s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Loro",
  "name" : "Loro",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Loro",
      "targets" : [
        "Loro"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LoroTests",
      "module_type" : "SwiftTarget",
      "name" : "LoroTests",
      "path" : "Tests/LoroTests",
      "sources" : [
        "EphemeralStoreTests.swift",
        "LoroTests.swift",
        "Undo.swift"
      ],
      "target_dependencies" : [
        "Loro"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LoroFFI",
      "module_type" : "BinaryTarget",
      "name" : "LoroFFI",
      "path" : "remote/archive/loroFFI.xcframework.zip",
      "product_memberships" : [
        "Loro"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Loro",
      "module_type" : "SwiftTarget",
      "name" : "Loro",
      "path" : "Sources/Loro",
      "product_memberships" : [
        "Loro"
      ],
      "sources" : [
        "Container.swift",
        "Ephemeral.swift",
        "Event.swift",
        "Loro.swift",
        "LoroFFI.swift",
        "Value.swift",
        "Version.swift"
      ],
      "target_dependencies" : [
        "LoroFFI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.