Build Information
Successful build of Loro, reference main (bc85e7
), with Swift 6.0 for macOS (SPM) on 4 Apr 2025 11:22:19 UTC.
Swift 6 data race errors: 25
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
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 bc85e77 chore: update version to 1.5.0
Cloned https://github.com/loro-dev/loro-swift.git
Revision (git rev-parse @):
bc85e7711e97f66b94cce752420bb16e41054a96
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/loro-dev/loro-swift.git at main
[8259/75735322] Downloading https://github.com/loro-dev/loro-swift/releases/download/1.5.0/loroFFI.xcframework.zip
Downloading binary artifact https://github.com/loro-dev/loro-swift/releases/download/1.5.0/loroFFI.xcframework.zip
Downloaded https://github.com/loro-dev/loro-swift/releases/download/1.5.0/loroFFI.xcframework.zip (4.39s)
========================================
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/602] Fetching loro-swift
Fetched https://github.com/loro-dev/loro-swift.git from cache (1.52s)
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 main (bc85e77)
Fetching binary artifact https://github.com/loro-dev/loro-swift/releases/download/1.5.0/loroFFI.xcframework.zip from cache
Fetched https://github.com/loro-dev/loro-swift/releases/download/1.5.0/loroFFI.xcframework.zip from cache (2.99s)
warning: '.resolve-product-dependencies': dependency 'loro-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
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" : [
"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",
"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.2.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.a
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/10] Compiling Loro Value.swift
[5/10] Compiling Loro Version.swift
[6/10] Compiling Loro Event.swift
[7/10] Compiling Loro Container.swift
[8/10] 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2845 |
2846 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8015: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
8013 | // Create the VTable using a series of closures.
8014 | // Swift automatically converts these into C callback functions.
8015 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8016 | asLoroValue: { (
8017 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8055: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
8053 | #endif
8054 | public struct FfiConverterTypeLoroValueLike: FfiConverter {
8055 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8056 |
8057 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8183: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
8181 | // Create the VTable using a series of closures.
8182 | // Swift automatically converts these into C callback functions.
8183 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8184 | onPop: { (
8185 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8229: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
8227 | #endif
8228 | public struct FfiConverterTypeOnPop: FfiConverter {
8229 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8230 |
8231 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8358: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
8356 | // Create the VTable using a series of closures.
8357 | // Swift automatically converts these into C callback functions.
8358 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8359 | onPush: { (
8360 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8404: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
8402 | #endif
8403 | public struct FfiConverterTypeOnPush: FfiConverter {
8404 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8405 |
8406 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8530: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
8528 | // Create the VTable using a series of closures.
8529 | // Swift automatically converts these into C callback functions.
8530 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8531 | onPreCommit: { (
8532 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8572: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
8570 | #endif
8571 | public struct FfiConverterTypePreCommitCallback: FfiConverter {
8572 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8573 |
8574 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8843: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
8841 | // Create the VTable using a series of closures.
8842 | // Swift automatically converts these into C callback functions.
8843 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8844 | onDiff: { (
8845 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8885: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
8883 | #endif
8884 | public struct FfiConverterTypeSubscriber: FfiConverter {
8885 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8886 |
8887 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9438: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
9436 | // Create the VTable using a series of closures.
9437 | // Swift automatically converts these into C callback functions.
9438 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9439 | onUnsubscribe: { (
9440 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9478: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
9476 | #endif
9477 | public struct FfiConverterTypeUnsubscriber: FfiConverter {
9478 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9479 |
9480 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:15311: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
15309 | // Use a global variable to perform the versioning checks. Swift ensures that
15310 | // the code inside is only computed once.
15311 | 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: annotate 'initializationResult' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15312 | // Get the bindings contract version from our ComponentInterface
15313 | let bindings_contract_version = 26
[9/10] Compiling Loro Loro.swift
[10/10] 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2845 |
2846 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8015: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
8013 | // Create the VTable using a series of closures.
8014 | // Swift automatically converts these into C callback functions.
8015 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8016 | asLoroValue: { (
8017 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8055: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
8053 | #endif
8054 | public struct FfiConverterTypeLoroValueLike: FfiConverter {
8055 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8056 |
8057 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8183: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
8181 | // Create the VTable using a series of closures.
8182 | // Swift automatically converts these into C callback functions.
8183 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8184 | onPop: { (
8185 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8229: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
8227 | #endif
8228 | public struct FfiConverterTypeOnPop: FfiConverter {
8229 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8230 |
8231 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8358: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
8356 | // Create the VTable using a series of closures.
8357 | // Swift automatically converts these into C callback functions.
8358 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8359 | onPush: { (
8360 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8404: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
8402 | #endif
8403 | public struct FfiConverterTypeOnPush: FfiConverter {
8404 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8405 |
8406 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8530: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
8528 | // Create the VTable using a series of closures.
8529 | // Swift automatically converts these into C callback functions.
8530 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8531 | onPreCommit: { (
8532 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8572: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
8570 | #endif
8571 | public struct FfiConverterTypePreCommitCallback: FfiConverter {
8572 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8573 |
8574 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8843: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
8841 | // Create the VTable using a series of closures.
8842 | // Swift automatically converts these into C callback functions.
8843 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8844 | onDiff: { (
8845 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8885: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
8883 | #endif
8884 | public struct FfiConverterTypeSubscriber: FfiConverter {
8885 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8886 |
8887 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9438: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
9436 | // Create the VTable using a series of closures.
9437 | // Swift automatically converts these into C callback functions.
9438 | 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: annotate 'vtable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9439 | onUnsubscribe: { (
9440 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9478: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
9476 | #endif
9477 | public struct FfiConverterTypeUnsubscriber: FfiConverter {
9478 | 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: annotate 'handleMap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9479 |
9480 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:15311: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
15309 | // Use a global variable to perform the versioning checks. Swift ensures that
15310 | // the code inside is only computed once.
15311 | 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: annotate 'initializationResult' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15312 | // Get the bindings contract version from our ComponentInterface
15313 | let bindings_contract_version = 26
Build complete! (9.63s)
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" : [
"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",
"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/main
Repository: loro-dev/loro-swift
Swift version used: 6.0
Target: Loro
Extracting symbol information for 'Loro'...
Finished extracting symbol information for 'Loro'. (4.69s)
Building documentation for 'Loro'...
Finished building documentation for 'Loro' (0.81s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/loro-dev/loro-swift/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.12s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3365] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.17s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.56s)
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
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.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets SnippetParser.swift
[8/57] Emitting module Snippets
[9/57] Compiling Snippets Snippet.swift
[10/57] Compiling SymbolKit Relationship.swift
[11/57] Compiling SymbolKit RelationshipKind.swift
[12/57] Compiling SymbolKit SourceOrigin.swift
[13/57] Compiling SymbolKit GenericConstraints.swift
[14/57] Compiling SymbolKit Swift.swift
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit DeclarationFragments.swift
[21/57] Compiling SymbolKit Fragment.swift
[22/57] Compiling SymbolKit FragmentKind.swift
[23/57] Compiling SymbolKit FunctionParameter.swift
[24/57] Compiling SymbolKit FunctionSignature.swift
[25/57] Compiling SymbolKit Identifier.swift
[26/57] Compiling SymbolKit KindIdentifier.swift
[27/57] Compiling SymbolKit Location.swift
[28/57] Compiling SymbolKit Mutability.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Symbol.swift
[35/57] Compiling SymbolKit SymbolKind.swift
[36/57] Compiling SymbolKit SymbolGraph.swift
[37/57] Compiling SymbolKit GraphCollector.swift
[38/57] Compiling SymbolKit Names.swift
[39/57] Compiling SymbolKit SPI.swift
[40/57] Compiling SymbolKit Snippet.swift
[41/57] Compiling SymbolKit Extension.swift
[42/57] Compiling SymbolKit GenericConstraint.swift
[43/57] Compiling SymbolKit GenericParameter.swift
[44/57] Compiling SymbolKit Generics.swift
[45/57] Compiling SymbolKit Namespace.swift
[46/57] Compiling SymbolKit SemanticVersion.swift
[47/57] Compiling SymbolKit AccessControl.swift
[48/57] Compiling SymbolKit Availability.swift
[49/57] Compiling SymbolKit AvailabilityItem.swift
[50/57] Compiling SymbolKit Domain.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 URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.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.81s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/8] Compiling Loro Value.swift
[3/8] Compiling Loro Version.swift
[4/8] Compiling Loro Loro.swift
[5/8] Compiling Loro Container.swift
[6/8] Compiling Loro Event.swift
[7/8] Emitting module Loro
[8/8] Compiling Loro LoroFFI.swift
Build of target: 'Loro' complete! (2.66s)
2650
14 /Users/admin/builder/spi-builder-workspace/.docs/loro-dev/loro-swift/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/loro-dev/loro-swift/main
File count: 2650
Doc size: 14.0MB
Preparing doc bundle ...
Uploading prod-loro-dev-loro-swift-main-3ada2a06.zip to s3://spi-docs-inbox/prod-loro-dev-loro-swift-main-3ada2a06.zip
Copying... [10%]
Copying... [20%]
Copying... [31%]
Copying... [41%]
Copying... [51%]
Copying... [61%]
Copying... [72%]
Copying... [82%]
Copying... [92%]
Copying... [100%]
Done.