Build Information
Successful build of Loro, reference 1.5.3 (3fc420
), with Swift 6.1 for macOS (SPM) on 19 Jun 2025 13:37:26 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loro-dev/loro-swift.git
Reference: 1.5.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loro-dev/loro-swift
* tag 1.5.3 -> FETCH_HEAD
HEAD is now at 3fc420d chore: update version to 1.5.3
Cloned https://github.com/loro-dev/loro-swift.git
Revision (git rev-parse @):
3fc420d631f265f607da6b7d0c4a0f16188761ec
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/loro-dev/loro-swift.git at 1.5.3
Downloading binary artifact https://github.com/loro-dev/loro-swift/releases/download/1.5.3/loroFFI.xcframework.zip
[16375/104717858] Downloading https://github.com/loro-dev/loro-swift/releases/download/1.5.3/loroFFI.xcframework.zip
Downloaded https://github.com/loro-dev/loro-swift/releases/download/1.5.3/loroFFI.xcframework.zip (5.63s)
========================================
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/688] Fetching loro-swift
Fetched https://github.com/loro-dev/loro-swift.git from cache (1.56s)
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.3 (3fc420d)
Fetching binary artifact https://github.com/loro-dev/loro-swift/releases/download/1.5.3/loroFFI.xcframework.zip from cache
Fetched https://github.com/loro-dev/loro-swift/releases/download/1.5.3/loroFFI.xcframework.zip from cache (4.30s)
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] Copying libloro_swift.a
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/11] Compiling Loro Value.swift
[5/11] Compiling Loro Container.swift
[6/11] Compiling Loro Ephemeral.swift
[7/11] Compiling Loro LoroFFI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:860:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
858 | // Create the VTable using a series of closures.
859 | // Swift automatically converts these into C callback functions.
860 | static var vtable: UniffiVTableCallbackInterfaceChangeAncestorsTraveler = UniffiVTableCallbackInterfaceChangeAncestorsTraveler(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
861 | travel: { (
862 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:902:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
900 | #endif
901 | public struct FfiConverterTypeChangeAncestorsTraveler: FfiConverter {
902 | fileprivate static var handleMap = UniffiHandleMap<ChangeAncestorsTraveler>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
903 |
904 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1323:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1321 | // Create the VTable using a series of closures.
1322 | // Swift automatically converts these into C callback functions.
1323 | static var vtable: UniffiVTableCallbackInterfaceContainerIdLike = UniffiVTableCallbackInterfaceContainerIdLike(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1324 | asContainerId: { (
1325 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1365:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1363 | #endif
1364 | public struct FfiConverterTypeContainerIdLike: FfiConverter {
1365 | fileprivate static var handleMap = UniffiHandleMap<ContainerIdLike>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1366 |
1367 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2018:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2016 | // Create the VTable using a series of closures.
2017 | // Swift automatically converts these into C callback functions.
2018 | static var vtable: UniffiVTableCallbackInterfaceEphemeralSubscriber = UniffiVTableCallbackInterfaceEphemeralSubscriber(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2019 | onEphemeralEvent: { (
2020 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2060:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2058 | #endif
2059 | public struct FfiConverterTypeEphemeralSubscriber: FfiConverter {
2060 | fileprivate static var handleMap = UniffiHandleMap<EphemeralSubscriber>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2061 |
2062 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2186:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2184 | // Create the VTable using a series of closures.
2185 | // Swift automatically converts these into C callback functions.
2186 | static var vtable: UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback = UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2187 | onFirstCommitFromPeer: { (
2188 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2228:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2226 | #endif
2227 | public struct FfiConverterTypeFirstCommitFromPeerCallback: FfiConverter {
2228 | fileprivate static var handleMap = UniffiHandleMap<FirstCommitFromPeerCallback>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2229 |
2230 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2651: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
2649 | // Create the VTable using a series of closures.
2650 | // Swift automatically converts these into C callback functions.
2651 | 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
2652 | onEphemeralUpdate: { (
2653 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2693: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
2691 | #endif
2692 | public struct FfiConverterTypeLocalEphemeralListener: FfiConverter {
2693 | 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
2694 |
2695 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2819: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
2817 | // Create the VTable using a series of closures.
2818 | // Swift automatically converts these into C callback functions.
2819 | 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
2820 | onLocalUpdate: { (
2821 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2861: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
2859 | #endif
2860 | public struct FfiConverterTypeLocalUpdateCallback: FfiConverter {
2861 | 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
2862 |
2863 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8345: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
8343 | // Create the VTable using a series of closures.
8344 | // Swift automatically converts these into C callback functions.
8345 | 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
8346 | asLoroValue: { (
8347 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8385: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
8383 | #endif
8384 | public struct FfiConverterTypeLoroValueLike: FfiConverter {
8385 | 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
8386 |
8387 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8513: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
8511 | // Create the VTable using a series of closures.
8512 | // Swift automatically converts these into C callback functions.
8513 | 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
8514 | onPop: { (
8515 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8559: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
8557 | #endif
8558 | public struct FfiConverterTypeOnPop: FfiConverter {
8559 | 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
8560 |
8561 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8688: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
8686 | // Create the VTable using a series of closures.
8687 | // Swift automatically converts these into C callback functions.
8688 | 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
8689 | onPush: { (
8690 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8734: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
8732 | #endif
8733 | public struct FfiConverterTypeOnPush: FfiConverter {
8734 | 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
8735 |
8736 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8860: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
8858 | // Create the VTable using a series of closures.
8859 | // Swift automatically converts these into C callback functions.
8860 | 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
8861 | onPreCommit: { (
8862 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8902: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
8900 | #endif
8901 | public struct FfiConverterTypePreCommitCallback: FfiConverter {
8902 | 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
8903 |
8904 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9173: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
9171 | // Create the VTable using a series of closures.
9172 | // Swift automatically converts these into C callback functions.
9173 | 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
9174 | onDiff: { (
9175 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9215: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
9213 | #endif
9214 | public struct FfiConverterTypeSubscriber: FfiConverter {
9215 | 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
9216 |
9217 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9798: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
9796 | // Create the VTable using a series of closures.
9797 | // Swift automatically converts these into C callback functions.
9798 | 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
9799 | onUnsubscribe: { (
9800 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9838: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
9836 | #endif
9837 | public struct FfiConverterTypeUnsubscriber: FfiConverter {
9838 | 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
9839 |
9840 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:16105: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
16103 | // Use a global variable to perform the versioning checks. Swift ensures that
16104 | // the code inside is only computed once.
16105 | 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
16106 | // Get the bindings contract version from our ComponentInterface
16107 | let bindings_contract_version = 26
[8/11] Compiling Loro Loro.swift
[9/11] Compiling Loro Version.swift
[10/11] Compiling Loro Event.swift
[11/11] Emitting module Loro
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:860:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
858 | // Create the VTable using a series of closures.
859 | // Swift automatically converts these into C callback functions.
860 | static var vtable: UniffiVTableCallbackInterfaceChangeAncestorsTraveler = UniffiVTableCallbackInterfaceChangeAncestorsTraveler(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
861 | travel: { (
862 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:902:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
900 | #endif
901 | public struct FfiConverterTypeChangeAncestorsTraveler: FfiConverter {
902 | fileprivate static var handleMap = UniffiHandleMap<ChangeAncestorsTraveler>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
903 |
904 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1323:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1321 | // Create the VTable using a series of closures.
1322 | // Swift automatically converts these into C callback functions.
1323 | static var vtable: UniffiVTableCallbackInterfaceContainerIdLike = UniffiVTableCallbackInterfaceContainerIdLike(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1324 | asContainerId: { (
1325 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1365:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1363 | #endif
1364 | public struct FfiConverterTypeContainerIdLike: FfiConverter {
1365 | fileprivate static var handleMap = UniffiHandleMap<ContainerIdLike>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1366 |
1367 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2018:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2016 | // Create the VTable using a series of closures.
2017 | // Swift automatically converts these into C callback functions.
2018 | static var vtable: UniffiVTableCallbackInterfaceEphemeralSubscriber = UniffiVTableCallbackInterfaceEphemeralSubscriber(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2019 | onEphemeralEvent: { (
2020 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2060:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2058 | #endif
2059 | public struct FfiConverterTypeEphemeralSubscriber: FfiConverter {
2060 | fileprivate static var handleMap = UniffiHandleMap<EphemeralSubscriber>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2061 |
2062 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2186:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2184 | // Create the VTable using a series of closures.
2185 | // Swift automatically converts these into C callback functions.
2186 | static var vtable: UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback = UniffiVTableCallbackInterfaceFirstCommitFromPeerCallback(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2187 | onFirstCommitFromPeer: { (
2188 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2228:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2226 | #endif
2227 | public struct FfiConverterTypeFirstCommitFromPeerCallback: FfiConverter {
2228 | fileprivate static var handleMap = UniffiHandleMap<FirstCommitFromPeerCallback>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2229 |
2230 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2651: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
2649 | // Create the VTable using a series of closures.
2650 | // Swift automatically converts these into C callback functions.
2651 | 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
2652 | onEphemeralUpdate: { (
2653 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2693: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
2691 | #endif
2692 | public struct FfiConverterTypeLocalEphemeralListener: FfiConverter {
2693 | 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
2694 |
2695 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2819: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
2817 | // Create the VTable using a series of closures.
2818 | // Swift automatically converts these into C callback functions.
2819 | 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
2820 | onLocalUpdate: { (
2821 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2861: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
2859 | #endif
2860 | public struct FfiConverterTypeLocalUpdateCallback: FfiConverter {
2861 | 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
2862 |
2863 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8345: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
8343 | // Create the VTable using a series of closures.
8344 | // Swift automatically converts these into C callback functions.
8345 | 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
8346 | asLoroValue: { (
8347 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8385: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
8383 | #endif
8384 | public struct FfiConverterTypeLoroValueLike: FfiConverter {
8385 | 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
8386 |
8387 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8513: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
8511 | // Create the VTable using a series of closures.
8512 | // Swift automatically converts these into C callback functions.
8513 | 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
8514 | onPop: { (
8515 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8559: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
8557 | #endif
8558 | public struct FfiConverterTypeOnPop: FfiConverter {
8559 | 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
8560 |
8561 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8688: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
8686 | // Create the VTable using a series of closures.
8687 | // Swift automatically converts these into C callback functions.
8688 | 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
8689 | onPush: { (
8690 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8734: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
8732 | #endif
8733 | public struct FfiConverterTypeOnPush: FfiConverter {
8734 | 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
8735 |
8736 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8860: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
8858 | // Create the VTable using a series of closures.
8859 | // Swift automatically converts these into C callback functions.
8860 | 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
8861 | onPreCommit: { (
8862 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8902: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
8900 | #endif
8901 | public struct FfiConverterTypePreCommitCallback: FfiConverter {
8902 | 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
8903 |
8904 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9173: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
9171 | // Create the VTable using a series of closures.
9172 | // Swift automatically converts these into C callback functions.
9173 | 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
9174 | onDiff: { (
9175 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9215: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
9213 | #endif
9214 | public struct FfiConverterTypeSubscriber: FfiConverter {
9215 | 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
9216 |
9217 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9798: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
9796 | // Create the VTable using a series of closures.
9797 | // Swift automatically converts these into C callback functions.
9798 | 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
9799 | onUnsubscribe: { (
9800 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9838: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
9836 | #endif
9837 | public struct FfiConverterTypeUnsubscriber: FfiConverter {
9838 | 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
9839 |
9840 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:16105: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
16103 | // Use a global variable to perform the versioning checks. Swift ensures that
16104 | // the code inside is only computed once.
16105 | 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
16106 | // Get the bindings contract version from our ComponentInterface
16107 | let bindings_contract_version = 26
Build complete! (6.25s)
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.3
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.98s)
Building documentation for 'Loro'...
Finished building documentation for 'Loro' (0.84s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/loro-dev/loro-swift/1.5.3
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (1.23s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.89s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.54s)
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.4
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Emitting module Snippets
[8/57] Compiling Snippets Snippet.swift
[9/57] Compiling Snippets SnippetParser.swift
[10/57] Compiling SymbolKit DeclarationFragments.swift
[11/57] Compiling SymbolKit Fragment.swift
[12/57] Compiling SymbolKit FragmentKind.swift
[13/57] Compiling SymbolKit FunctionParameter.swift
[14/57] Compiling SymbolKit FunctionSignature.swift
[15/57] Compiling SymbolKit Identifier.swift
[16/57] Compiling SymbolKit KindIdentifier.swift
[17/57] Compiling SymbolKit Location.swift
[18/57] Compiling SymbolKit Mutability.swift
[19/57] Compiling SymbolKit Symbol.swift
[20/57] Compiling SymbolKit SymbolKind.swift
[21/57] Compiling SymbolKit SymbolGraph.swift
[22/57] Compiling SymbolKit GraphCollector.swift
[23/57] Compiling SymbolKit Mixin+Equals.swift
[24/57] Compiling SymbolKit Mixin+Hash.swift
[25/57] Compiling SymbolKit Mixin.swift
[26/57] Compiling SymbolKit LineList.swift
[27/57] Compiling SymbolKit Position.swift
[28/57] Compiling SymbolKit Relationship.swift
[29/57] Compiling SymbolKit RelationshipKind.swift
[30/57] Compiling SymbolKit SourceOrigin.swift
[31/57] Compiling SymbolKit GenericConstraints.swift
[32/57] Compiling SymbolKit Swift.swift
[33/57] Compiling SymbolKit SourceRange.swift
[34/57] Compiling SymbolKit Metadata.swift
[35/57] Compiling SymbolKit Module.swift
[36/57] Compiling SymbolKit OperatingSystem.swift
[37/57] Compiling SymbolKit Platform.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 SemanticVersion.swift
[43/57] Compiling SymbolKit AccessControl.swift
[44/57] Compiling SymbolKit Availability.swift
[45/57] Compiling SymbolKit AvailabilityItem.swift
[46/57] Compiling SymbolKit Domain.swift
[47/57] Compiling SymbolKit Names.swift
[48/57] Compiling SymbolKit SPI.swift
[49/57] Compiling SymbolKit Snippet.swift
[50/57] Compiling SymbolKit Extension.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 SnippetBuildCommand.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SymbolGraph+Snippet.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.23s)
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] Compiling Loro Container.swift
[7/9] Compiling Loro Event.swift
[8/9] Compiling Loro LoroFFI.swift
[9/9] Emitting module Loro
Build of target: 'Loro' complete! (3.81s)
2796
15 /Users/admin/builder/spi-builder-workspace/.docs/loro-dev/loro-swift/1.5.3
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/loro-dev/loro-swift/1.5.3
File count: 2796
Doc size: 15.0MB
Preparing doc bundle ...
Uploading prod-loro-dev-loro-swift-1.5.3-40c38eba.zip to s3://spi-docs-inbox/prod-loro-dev-loro-swift-1.5.3-40c38eba.zip
Copying... [12%]
Copying... [21%]
Copying... [31%]
Copying... [41%]
Copying... [51%]
Copying... [61%]
Copying... [70%]
Copying... [80%]
Copying... [92%]
Copying... [100%]
Done.