Build Information
Successful build of Loro, reference main (742c70), with Swift 6.1 for macOS (SPM) on 10 Dec 2025 06:33:44 UTC.
Swift 6 data race errors: 27
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.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 742c709 chore: update version to 1.10.3 (#30)
Cloned https://github.com/loro-dev/loro-swift.git
Revision (git rev-parse @):
742c70948521f0f793a1f9af4a85185dfe9df5d1
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"
],
"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 Version.swift
[5/11] Compiling Loro Value.swift
[6/11] Compiling Loro Ephemeral.swift
[7/11] Compiling Loro Container.swift
[8/11] Emitting module Loro
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:860:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
858 | // Create the VTable using a series of closures.
859 | // Swift automatically converts these into C callback functions.
860 | static var vtable: UniffiVTableCallbackInterfaceChangeAncestorsTraveler = UniffiVTableCallbackInterfaceChangeAncestorsTraveler(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
861 | travel: { (
862 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:902:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
900 | #endif
901 | public struct FfiConverterTypeChangeAncestorsTraveler: FfiConverter {
902 | fileprivate static var handleMap = UniffiHandleMap<ChangeAncestorsTraveler>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
903 |
904 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1323:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1321 | // Create the VTable using a series of closures.
1322 | // Swift automatically converts these into C callback functions.
1323 | static var vtable: UniffiVTableCallbackInterfaceContainerIdLike = UniffiVTableCallbackInterfaceContainerIdLike(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1324 | asContainerId: { (
1325 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1365:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1363 | #endif
1364 | public struct FfiConverterTypeContainerIdLike: FfiConverter {
1365 | fileprivate static var handleMap = UniffiHandleMap<ContainerIdLike>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1366 |
1367 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2018:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2016 | // Create the VTable using a series of closures.
2017 | // Swift automatically converts these into C callback functions.
2018 | static var vtable: UniffiVTableCallbackInterfaceEphemeralSubscriber = UniffiVTableCallbackInterfaceEphemeralSubscriber(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2019 | onEphemeralEvent: { (
2020 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2060:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2058 | #endif
2059 | public struct FfiConverterTypeEphemeralSubscriber: FfiConverter {
2060 | fileprivate static var handleMap = UniffiHandleMap<EphemeralSubscriber>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2061 |
2062 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2186:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2184 | // Create the VTable using a series of closures.
2185 | // Swift automatically converts these into C callback functions.
2186 | static var vtable: UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback = UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2187 | onFirstCommitFromPeer: { (
2188 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2228:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2226 | #endif
2227 | public struct FfiConverterTypeFirstCommitFromPeerCallback: FfiConverter {
2228 | fileprivate static var handleMap = UniffiHandleMap<FirstCommitFromPeerCallback>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2229 |
2230 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2674:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2672 | // Create the VTable using a series of closures.
2673 | // Swift automatically converts these into C callback functions.
2674 | static var vtable: UniffiVTableCallbackInterfaceJsonPathSubscriber = UniffiVTableCallbackInterfaceJsonPathSubscriber(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2675 | onJsonpathChanged: { (
2676 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2714:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2712 | #endif
2713 | public struct FfiConverterTypeJsonPathSubscriber: FfiConverter {
2714 | fileprivate static var handleMap = UniffiHandleMap<JsonPathSubscriber>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2715 |
2716 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2840:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2838 | // Create the VTable using a series of closures.
2839 | // Swift automatically converts these into C callback functions.
2840 | static var vtable: UniffiVTableCallbackInterfaceLocalEphemeralListener = UniffiVTableCallbackInterfaceLocalEphemeralListener(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2841 | onEphemeralUpdate: { (
2842 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2882:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2880 | #endif
2881 | public struct FfiConverterTypeLocalEphemeralListener: FfiConverter {
2882 | fileprivate static var handleMap = UniffiHandleMap<LocalEphemeralListener>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2883 |
2884 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:3008:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3006 | // Create the VTable using a series of closures.
3007 | // Swift automatically converts these into C callback functions.
3008 | static var vtable: UniffiVTableCallbackInterfaceLocalUpdateCallback = UniffiVTableCallbackInterfaceLocalUpdateCallback(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3009 | onLocalUpdate: { (
3010 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:3050:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3048 | #endif
3049 | public struct FfiConverterTypeLocalUpdateCallback: FfiConverter {
3050 | fileprivate static var handleMap = UniffiHandleMap<LocalUpdateCallback>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3051 |
3052 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8708:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8706 | // Create the VTable using a series of closures.
8707 | // Swift automatically converts these into C callback functions.
8708 | static var vtable: UniffiVTableCallbackInterfaceLoroValueLike = UniffiVTableCallbackInterfaceLoroValueLike(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8709 | asLoroValue: { (
8710 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8748:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8746 | #endif
8747 | public struct FfiConverterTypeLoroValueLike: FfiConverter {
8748 | fileprivate static var handleMap = UniffiHandleMap<LoroValueLike>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8749 |
8750 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8876:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8874 | // Create the VTable using a series of closures.
8875 | // Swift automatically converts these into C callback functions.
8876 | static var vtable: UniffiVTableCallbackInterfaceOnPop = UniffiVTableCallbackInterfaceOnPop(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8877 | onPop: { (
8878 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8922:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8920 | #endif
8921 | public struct FfiConverterTypeOnPop: FfiConverter {
8922 | fileprivate static var handleMap = UniffiHandleMap<OnPop>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8923 |
8924 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9051:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9049 | // Create the VTable using a series of closures.
9050 | // Swift automatically converts these into C callback functions.
9051 | static var vtable: UniffiVTableCallbackInterfaceOnPush = UniffiVTableCallbackInterfaceOnPush(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9052 | onPush: { (
9053 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9097:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9095 | #endif
9096 | public struct FfiConverterTypeOnPush: FfiConverter {
9097 | fileprivate static var handleMap = UniffiHandleMap<OnPush>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9098 |
9099 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9223:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9221 | // Create the VTable using a series of closures.
9222 | // Swift automatically converts these into C callback functions.
9223 | static var vtable: UniffiVTableCallbackInterfacePreCommitCallback = UniffiVTableCallbackInterfacePreCommitCallback(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9224 | onPreCommit: { (
9225 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9265:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9263 | #endif
9264 | public struct FfiConverterTypePreCommitCallback: FfiConverter {
9265 | fileprivate static var handleMap = UniffiHandleMap<PreCommitCallback>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9266 |
9267 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9536:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9534 | // Create the VTable using a series of closures.
9535 | // Swift automatically converts these into C callback functions.
9536 | static var vtable: UniffiVTableCallbackInterfaceSubscriber = UniffiVTableCallbackInterfaceSubscriber(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9537 | onDiff: { (
9538 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9578:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9576 | #endif
9577 | public struct FfiConverterTypeSubscriber: FfiConverter {
9578 | fileprivate static var handleMap = UniffiHandleMap<Subscriber>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9579 |
9580 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:10274:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10272 | // Create the VTable using a series of closures.
10273 | // Swift automatically converts these into C callback functions.
10274 | static var vtable: UniffiVTableCallbackInterfaceUnsubscriber = UniffiVTableCallbackInterfaceUnsubscriber(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10275 | onUnsubscribe: { (
10276 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:10314:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10312 | #endif
10313 | public struct FfiConverterTypeUnsubscriber: FfiConverter {
10314 | fileprivate static var handleMap = UniffiHandleMap<Unsubscriber>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10315 |
10316 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:16749:13: warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16747 | // Use a global variable to perform the versioning checks. Swift ensures that
16748 | // the code inside is only computed once.
16749 | private var initializationResult: InitializationResult = {
| |- warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initializationResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'initializationResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16750 | // Get the bindings contract version from our ComponentInterface
16751 | let bindings_contract_version = 26
[9/11] Compiling Loro Loro.swift
[10/11] Compiling Loro LoroFFI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:860:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
858 | // Create the VTable using a series of closures.
859 | // Swift automatically converts these into C callback functions.
860 | static var vtable: UniffiVTableCallbackInterfaceChangeAncestorsTraveler = UniffiVTableCallbackInterfaceChangeAncestorsTraveler(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
861 | travel: { (
862 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:902:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
900 | #endif
901 | public struct FfiConverterTypeChangeAncestorsTraveler: FfiConverter {
902 | fileprivate static var handleMap = UniffiHandleMap<ChangeAncestorsTraveler>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
903 |
904 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1323:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1321 | // Create the VTable using a series of closures.
1322 | // Swift automatically converts these into C callback functions.
1323 | static var vtable: UniffiVTableCallbackInterfaceContainerIdLike = UniffiVTableCallbackInterfaceContainerIdLike(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1324 | asContainerId: { (
1325 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1365:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1363 | #endif
1364 | public struct FfiConverterTypeContainerIdLike: FfiConverter {
1365 | fileprivate static var handleMap = UniffiHandleMap<ContainerIdLike>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1366 |
1367 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2018:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2016 | // Create the VTable using a series of closures.
2017 | // Swift automatically converts these into C callback functions.
2018 | static var vtable: UniffiVTableCallbackInterfaceEphemeralSubscriber = UniffiVTableCallbackInterfaceEphemeralSubscriber(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2019 | onEphemeralEvent: { (
2020 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2060:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2058 | #endif
2059 | public struct FfiConverterTypeEphemeralSubscriber: FfiConverter {
2060 | fileprivate static var handleMap = UniffiHandleMap<EphemeralSubscriber>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2061 |
2062 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2186:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2184 | // Create the VTable using a series of closures.
2185 | // Swift automatically converts these into C callback functions.
2186 | static var vtable: UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback = UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2187 | onFirstCommitFromPeer: { (
2188 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2228:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2226 | #endif
2227 | public struct FfiConverterTypeFirstCommitFromPeerCallback: FfiConverter {
2228 | fileprivate static var handleMap = UniffiHandleMap<FirstCommitFromPeerCallback>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2229 |
2230 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2674:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2672 | // Create the VTable using a series of closures.
2673 | // Swift automatically converts these into C callback functions.
2674 | static var vtable: UniffiVTableCallbackInterfaceJsonPathSubscriber = UniffiVTableCallbackInterfaceJsonPathSubscriber(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2675 | onJsonpathChanged: { (
2676 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2714:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2712 | #endif
2713 | public struct FfiConverterTypeJsonPathSubscriber: FfiConverter {
2714 | fileprivate static var handleMap = UniffiHandleMap<JsonPathSubscriber>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2715 |
2716 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2840:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2838 | // Create the VTable using a series of closures.
2839 | // Swift automatically converts these into C callback functions.
2840 | static var vtable: UniffiVTableCallbackInterfaceLocalEphemeralListener = UniffiVTableCallbackInterfaceLocalEphemeralListener(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2841 | onEphemeralUpdate: { (
2842 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2882:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2880 | #endif
2881 | public struct FfiConverterTypeLocalEphemeralListener: FfiConverter {
2882 | fileprivate static var handleMap = UniffiHandleMap<LocalEphemeralListener>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2883 |
2884 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:3008:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3006 | // Create the VTable using a series of closures.
3007 | // Swift automatically converts these into C callback functions.
3008 | static var vtable: UniffiVTableCallbackInterfaceLocalUpdateCallback = UniffiVTableCallbackInterfaceLocalUpdateCallback(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3009 | onLocalUpdate: { (
3010 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:3050:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3048 | #endif
3049 | public struct FfiConverterTypeLocalUpdateCallback: FfiConverter {
3050 | fileprivate static var handleMap = UniffiHandleMap<LocalUpdateCallback>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3051 |
3052 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8708:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8706 | // Create the VTable using a series of closures.
8707 | // Swift automatically converts these into C callback functions.
8708 | static var vtable: UniffiVTableCallbackInterfaceLoroValueLike = UniffiVTableCallbackInterfaceLoroValueLike(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8709 | asLoroValue: { (
8710 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8748:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8746 | #endif
8747 | public struct FfiConverterTypeLoroValueLike: FfiConverter {
8748 | fileprivate static var handleMap = UniffiHandleMap<LoroValueLike>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8749 |
8750 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8876:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8874 | // Create the VTable using a series of closures.
8875 | // Swift automatically converts these into C callback functions.
8876 | static var vtable: UniffiVTableCallbackInterfaceOnPop = UniffiVTableCallbackInterfaceOnPop(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8877 | onPop: { (
8878 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8922:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8920 | #endif
8921 | public struct FfiConverterTypeOnPop: FfiConverter {
8922 | fileprivate static var handleMap = UniffiHandleMap<OnPop>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8923 |
8924 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9051:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9049 | // Create the VTable using a series of closures.
9050 | // Swift automatically converts these into C callback functions.
9051 | static var vtable: UniffiVTableCallbackInterfaceOnPush = UniffiVTableCallbackInterfaceOnPush(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9052 | onPush: { (
9053 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9097:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9095 | #endif
9096 | public struct FfiConverterTypeOnPush: FfiConverter {
9097 | fileprivate static var handleMap = UniffiHandleMap<OnPush>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9098 |
9099 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9223:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9221 | // Create the VTable using a series of closures.
9222 | // Swift automatically converts these into C callback functions.
9223 | static var vtable: UniffiVTableCallbackInterfacePreCommitCallback = UniffiVTableCallbackInterfacePreCommitCallback(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9224 | onPreCommit: { (
9225 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9265:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9263 | #endif
9264 | public struct FfiConverterTypePreCommitCallback: FfiConverter {
9265 | fileprivate static var handleMap = UniffiHandleMap<PreCommitCallback>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9266 |
9267 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9536:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9534 | // Create the VTable using a series of closures.
9535 | // Swift automatically converts these into C callback functions.
9536 | static var vtable: UniffiVTableCallbackInterfaceSubscriber = UniffiVTableCallbackInterfaceSubscriber(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9537 | onDiff: { (
9538 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9578:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9576 | #endif
9577 | public struct FfiConverterTypeSubscriber: FfiConverter {
9578 | fileprivate static var handleMap = UniffiHandleMap<Subscriber>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9579 |
9580 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:10274:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10272 | // Create the VTable using a series of closures.
10273 | // Swift automatically converts these into C callback functions.
10274 | static var vtable: UniffiVTableCallbackInterfaceUnsubscriber = UniffiVTableCallbackInterfaceUnsubscriber(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10275 | onUnsubscribe: { (
10276 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:10314:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10312 | #endif
10313 | public struct FfiConverterTypeUnsubscriber: FfiConverter {
10314 | fileprivate static var handleMap = UniffiHandleMap<Unsubscriber>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10315 |
10316 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:16749:13: warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16747 | // Use a global variable to perform the versioning checks. Swift ensures that
16748 | // the code inside is only computed once.
16749 | private var initializationResult: InitializationResult = {
| |- warning: var 'initializationResult' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'initializationResult' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'initializationResult' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16750 | // Get the bindings contract version from our ComponentInterface
16751 | let bindings_contract_version = 26
[11/11] Compiling Loro Event.swift
Build complete! (11.19s)
Downloading binary artifact https://github.com/loro-dev/loro-swift/releases/download/1.10.3/loroFFI.xcframework.zip
[16375/107484988] Downloading https://github.com/loro-dev/loro-swift/releases/download/1.10.3/loroFFI.xcframework.zip
Downloaded https://github.com/loro-dev/loro-swift/releases/download/1.10.3/loroFFI.xcframework.zip (5.01s)
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"
],
"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.