Build Information
Successful build of Loro, reference 1.5.2 (9d0be5
), with Swift 6.1 for macOS (SPM) on 10 Jun 2025 13:38:36 UTC.
Swift 6 data race errors: 25
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: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loro-dev/loro-swift.git
Reference: 1.5.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loro-dev/loro-swift
* tag 1.5.2 -> FETCH_HEAD
HEAD is now at 9d0be55 chore: update version to 1.5.2
Submodule path 'loro-ffi': checked out '9fd4bce14c9102cd5e83c50d1be5fe88ebdafd95'
Submodule 'loro-ffi' (https://github.com/loro-dev/loro-ffi.git) registered for path 'loro-ffi'
Cloning into '/Users/admin/builder/spi-builder-workspace/loro-ffi'...
Cloned https://github.com/loro-dev/loro-swift.git
Revision (git rev-parse @):
9d0be5591b470955284062b4c9ba7f660db18b54
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/loro-dev/loro-swift.git at 1.5.2
Downloading binary artifact https://github.com/loro-dev/loro-swift/releases/download/1.5.2/loroFFI.xcframework.zip
[16375/76937396] Downloading https://github.com/loro-dev/loro-swift/releases/download/1.5.2/loroFFI.xcframework.zip
Downloaded https://github.com/loro-dev/loro-swift/releases/download/1.5.2/loroFFI.xcframework.zip (4.52s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "loro-swift",
"name": "Loro",
"url": "https://github.com/loro-dev/loro-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/loro-swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/loro-dev/loro-swift.git
[1/665] Fetching loro-swift
Fetched https://github.com/loro-dev/loro-swift.git from cache (1.84s)
Creating working copy for https://github.com/loro-dev/loro-swift.git
Working copy of https://github.com/loro-dev/loro-swift.git resolved at 1.5.2 (9d0be55)
Fetching binary artifact https://github.com/loro-dev/loro-swift/releases/download/1.5.2/loroFFI.xcframework.zip from cache
Fetched https://github.com/loro-dev/loro-swift/releases/download/1.5.2/loroFFI.xcframework.zip from cache (3.10s)
warning: '.resolve-product-dependencies': dependency 'loro-swift' is not used by any target
Found 0 product dependencies
========================================
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
[1/3] Copying libloro_ffi.a
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/11] Compiling Loro Value.swift
[5/11] Compiling Loro Version.swift
[6/11] Compiling Loro Loro.swift
[7/11] Compiling Loro Event.swift
[8/11] Compiling Loro Container.swift
[9/11] Compiling Loro Ephemeral.swift
[10/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:2001: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
1999 | // Create the VTable using a series of closures.
2000 | // Swift automatically converts these into C callback functions.
2001 | 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
2002 | onEphemeralEvent: { (
2003 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2043: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
2041 | #endif
2042 | public struct FfiConverterTypeEphemeralSubscriber: FfiConverter {
2043 | 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
2044 |
2045 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2169: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
2167 | // Create the VTable using a series of closures.
2168 | // Swift automatically converts these into C callback functions.
2169 | 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
2170 | onFirstCommitFromPeer: { (
2171 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2211: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
2209 | #endif
2210 | public struct FfiConverterTypeFirstCommitFromPeerCallback: FfiConverter {
2211 | 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
2212 |
2213 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2634: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
2632 | // Create the VTable using a series of closures.
2633 | // Swift automatically converts these into C callback functions.
2634 | 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
2635 | onEphemeralUpdate: { (
2636 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2676: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
2674 | #endif
2675 | public struct FfiConverterTypeLocalEphemeralListener: FfiConverter {
2676 | 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
2677 |
2678 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2802: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
2800 | // Create the VTable using a series of closures.
2801 | // Swift automatically converts these into C callback functions.
2802 | 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
2803 | onLocalUpdate: { (
2804 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2844: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
2842 | #endif
2843 | public struct FfiConverterTypeLocalUpdateCallback: FfiConverter {
2844 | 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
2845 |
2846 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8057: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
8055 | // Create the VTable using a series of closures.
8056 | // Swift automatically converts these into C callback functions.
8057 | 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
8058 | asLoroValue: { (
8059 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8097: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
8095 | #endif
8096 | public struct FfiConverterTypeLoroValueLike: FfiConverter {
8097 | 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
8098 |
8099 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8225: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
8223 | // Create the VTable using a series of closures.
8224 | // Swift automatically converts these into C callback functions.
8225 | 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
8226 | onPop: { (
8227 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8271: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
8269 | #endif
8270 | public struct FfiConverterTypeOnPop: FfiConverter {
8271 | 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
8272 |
8273 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8400: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
8398 | // Create the VTable using a series of closures.
8399 | // Swift automatically converts these into C callback functions.
8400 | 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
8401 | onPush: { (
8402 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8446: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
8444 | #endif
8445 | public struct FfiConverterTypeOnPush: FfiConverter {
8446 | 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
8447 |
8448 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8572: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
8570 | // Create the VTable using a series of closures.
8571 | // Swift automatically converts these into C callback functions.
8572 | 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
8573 | onPreCommit: { (
8574 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8614: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
8612 | #endif
8613 | public struct FfiConverterTypePreCommitCallback: FfiConverter {
8614 | 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
8615 |
8616 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8885: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
8883 | // Create the VTable using a series of closures.
8884 | // Swift automatically converts these into C callback functions.
8885 | 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
8886 | onDiff: { (
8887 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8927: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
8925 | #endif
8926 | public struct FfiConverterTypeSubscriber: FfiConverter {
8927 | 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
8928 |
8929 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9480: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
9478 | // Create the VTable using a series of closures.
9479 | // Swift automatically converts these into C callback functions.
9480 | 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
9481 | onUnsubscribe: { (
9482 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9520: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
9518 | #endif
9519 | public struct FfiConverterTypeUnsubscriber: FfiConverter {
9520 | 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
9521 |
9522 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:15361: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
15359 | // Use a global variable to perform the versioning checks. Swift ensures that
15360 | // the code inside is only computed once.
15361 | 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
15362 | // Get the bindings contract version from our ComponentInterface
15363 | let bindings_contract_version = 26
[11/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:2001: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
1999 | // Create the VTable using a series of closures.
2000 | // Swift automatically converts these into C callback functions.
2001 | 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
2002 | onEphemeralEvent: { (
2003 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2043: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
2041 | #endif
2042 | public struct FfiConverterTypeEphemeralSubscriber: FfiConverter {
2043 | 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
2044 |
2045 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2169: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
2167 | // Create the VTable using a series of closures.
2168 | // Swift automatically converts these into C callback functions.
2169 | 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
2170 | onFirstCommitFromPeer: { (
2171 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2211: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
2209 | #endif
2210 | public struct FfiConverterTypeFirstCommitFromPeerCallback: FfiConverter {
2211 | 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
2212 |
2213 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2634: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
2632 | // Create the VTable using a series of closures.
2633 | // Swift automatically converts these into C callback functions.
2634 | 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
2635 | onEphemeralUpdate: { (
2636 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2676: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
2674 | #endif
2675 | public struct FfiConverterTypeLocalEphemeralListener: FfiConverter {
2676 | 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
2677 |
2678 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2802: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
2800 | // Create the VTable using a series of closures.
2801 | // Swift automatically converts these into C callback functions.
2802 | 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
2803 | onLocalUpdate: { (
2804 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2844: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
2842 | #endif
2843 | public struct FfiConverterTypeLocalUpdateCallback: FfiConverter {
2844 | 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
2845 |
2846 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8057: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
8055 | // Create the VTable using a series of closures.
8056 | // Swift automatically converts these into C callback functions.
8057 | 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
8058 | asLoroValue: { (
8059 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8097: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
8095 | #endif
8096 | public struct FfiConverterTypeLoroValueLike: FfiConverter {
8097 | 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
8098 |
8099 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8225: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
8223 | // Create the VTable using a series of closures.
8224 | // Swift automatically converts these into C callback functions.
8225 | 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
8226 | onPop: { (
8227 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8271: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
8269 | #endif
8270 | public struct FfiConverterTypeOnPop: FfiConverter {
8271 | 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
8272 |
8273 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8400: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
8398 | // Create the VTable using a series of closures.
8399 | // Swift automatically converts these into C callback functions.
8400 | 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
8401 | onPush: { (
8402 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8446: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
8444 | #endif
8445 | public struct FfiConverterTypeOnPush: FfiConverter {
8446 | 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
8447 |
8448 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8572: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
8570 | // Create the VTable using a series of closures.
8571 | // Swift automatically converts these into C callback functions.
8572 | 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
8573 | onPreCommit: { (
8574 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8614: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
8612 | #endif
8613 | public struct FfiConverterTypePreCommitCallback: FfiConverter {
8614 | 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
8615 |
8616 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8885: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
8883 | // Create the VTable using a series of closures.
8884 | // Swift automatically converts these into C callback functions.
8885 | 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
8886 | onDiff: { (
8887 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8927: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
8925 | #endif
8926 | public struct FfiConverterTypeSubscriber: FfiConverter {
8927 | 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
8928 |
8929 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9480: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
9478 | // Create the VTable using a series of closures.
9479 | // Swift automatically converts these into C callback functions.
9480 | 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
9481 | onUnsubscribe: { (
9482 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9520: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
9518 | #endif
9519 | public struct FfiConverterTypeUnsubscriber: FfiConverter {
9520 | 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
9521 |
9522 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:15361: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
15359 | // Use a global variable to perform the versioning checks. Swift ensures that
15360 | // the code inside is only computed once.
15361 | 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
15362 | // Get the bindings contract version from our ComponentInterface
15363 | let bindings_contract_version = 26
Build complete! (5.75s)
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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/loro-dev/loro-swift/1.5.2
Repository: loro-dev/loro-swift
Swift version used: 6.1
Target: Loro
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 4633b45fc732d8c55568be09dd852f9dc1582c25 -> FETCH_HEAD
HEAD is now at 4633b45 Update the artifact
Cloned https://github.com/swiftlang/swift-docc-render-artifact
Extracting symbol information for 'Loro'...
Finished extracting symbol information for 'Loro'. (5.80s)
Building documentation for 'Loro'...
Finished building documentation for 'Loro' (0.71s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/loro-dev/loro-swift/1.5.2
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (1.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.80s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.43s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets Snippet.swift
[8/57] Emitting module Snippets
[9/57] Compiling Snippets SnippetParser.swift
[10/57] Compiling SymbolKit Identifier.swift
[11/57] Compiling SymbolKit KindIdentifier.swift
[12/57] Compiling SymbolKit Location.swift
[13/57] Compiling SymbolKit Mutability.swift
[14/57] Compiling SymbolKit SourceRange.swift
[15/57] Compiling SymbolKit Metadata.swift
[16/57] Compiling SymbolKit Module.swift
[17/57] Compiling SymbolKit OperatingSystem.swift
[18/57] Compiling SymbolKit Platform.swift
[19/57] Compiling SymbolKit DeclarationFragments.swift
[20/57] Compiling SymbolKit Fragment.swift
[21/57] Compiling SymbolKit FragmentKind.swift
[22/57] Compiling SymbolKit FunctionParameter.swift
[23/57] Compiling SymbolKit FunctionSignature.swift
[24/57] Compiling SymbolKit SemanticVersion.swift
[25/57] Compiling SymbolKit AccessControl.swift
[26/57] Compiling SymbolKit Availability.swift
[27/57] Compiling SymbolKit AvailabilityItem.swift
[28/57] Compiling SymbolKit Domain.swift
[29/57] Compiling SymbolKit Names.swift
[30/57] Compiling SymbolKit SPI.swift
[31/57] Compiling SymbolKit Snippet.swift
[32/57] Compiling SymbolKit Extension.swift
[33/57] Compiling SymbolKit Relationship.swift
[34/57] Compiling SymbolKit RelationshipKind.swift
[35/57] Compiling SymbolKit SourceOrigin.swift
[36/57] Compiling SymbolKit GenericConstraints.swift
[37/57] Compiling SymbolKit Swift.swift
[38/57] Compiling SymbolKit GenericConstraint.swift
[39/57] Compiling SymbolKit GenericParameter.swift
[40/57] Compiling SymbolKit Generics.swift
[41/57] Compiling SymbolKit Namespace.swift
[42/57] Compiling SymbolKit Mixin+Equals.swift
[43/57] Compiling SymbolKit Mixin+Hash.swift
[44/57] Compiling SymbolKit Mixin.swift
[45/57] Compiling SymbolKit LineList.swift
[46/57] Compiling SymbolKit Position.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.14s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/9] Compiling Loro Version.swift
[3/9] Compiling Loro Value.swift
[4/9] Compiling Loro Loro.swift
[5/9] Compiling Loro Ephemeral.swift
[6/9] Emitting module Loro
[7/9] Compiling Loro Container.swift
[8/9] Compiling Loro Event.swift
[9/9] Compiling Loro LoroFFI.swift
Build of target: 'Loro' complete! (3.68s)
2664
14 /Users/admin/builder/spi-builder-workspace/.docs/loro-dev/loro-swift/1.5.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/loro-dev/loro-swift/1.5.2
File count: 2664
Doc size: 14.0MB
Preparing doc bundle ...
Uploading prod-loro-dev-loro-swift-1.5.2-31a1b406.zip to s3://spi-docs-inbox/prod-loro-dev-loro-swift-1.5.2-31a1b406.zip
Copying... [10%]
Copying... [21%]
Copying... [31%]
Copying... [41%]
Copying... [51%]
Copying... [62%]
Copying... [72%]
Copying... [82%]
Copying... [90%]
Copying... [100%]
Done.