Build Information
Successful build of Loro, reference 1.6.1 (ff3105
), with Swift 6.1 for macOS (SPM) on 7 Sep 2025 08:31:33 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loro-dev/loro-swift.git
Reference: 1.6.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loro-dev/loro-swift
* tag 1.6.1 -> FETCH_HEAD
HEAD is now at ff31051 chore: update version to 1.6.1
Cloned https://github.com/loro-dev/loro-swift.git
Revision (git rev-parse @):
ff310517e7c8d27d9bf7acf35e6f22dca8a55cb3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/loro-dev/loro-swift.git at 1.6.1
Downloading binary artifact https://github.com/loro-dev/loro-swift/releases/download/1.6.1/loroFFI.xcframework.zip
[16375/104741113] Downloading https://github.com/loro-dev/loro-swift/releases/download/1.6.1/loroFFI.xcframework.zip
Downloaded https://github.com/loro-dev/loro-swift/releases/download/1.6.1/loroFFI.xcframework.zip (5.16s)
========================================
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/765] 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 1.6.1 (ff31051)
Fetching binary artifact https://github.com/loro-dev/loro-swift/releases/download/1.6.1/loroFFI.xcframework.zip from cache
Fetched https://github.com/loro-dev/loro-swift/releases/download/1.6.1/loroFFI.xcframework.zip from cache (4.40s)
warning: '.resolve-product-dependencies': dependency 'loro-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/loro-dev/loro-swift.git
https://github.com/loro-dev/loro-swift.git
{
"dependencies" : [
],
"manifest_display_name" : "Loro",
"name" : "Loro",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Loro",
"targets" : [
"Loro"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LoroTests",
"module_type" : "SwiftTarget",
"name" : "LoroTests",
"path" : "Tests/LoroTests",
"sources" : [
"EphemeralStoreTests.swift",
"LoroTests.swift"
],
"target_dependencies" : [
"Loro"
],
"type" : "test"
},
{
"c99name" : "LoroFFI",
"module_type" : "BinaryTarget",
"name" : "LoroFFI",
"path" : "remote/archive/loroFFI.xcframework.zip",
"product_memberships" : [
"Loro"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Loro",
"module_type" : "SwiftTarget",
"name" : "Loro",
"path" : "Sources/Loro",
"product_memberships" : [
"Loro"
],
"sources" : [
"Container.swift",
"Ephemeral.swift",
"Event.swift",
"Loro.swift",
"LoroFFI.swift",
"Value.swift",
"Version.swift"
],
"target_dependencies" : [
"LoroFFI"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Copying libloro_swift.a
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/11] Compiling Loro Loro.swift
[5/11] Compiling Loro Version.swift
[6/11] Compiling Loro Value.swift
[7/11] Compiling Loro Ephemeral.swift
[8/11] Compiling Loro Container.swift
[9/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:2669: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
2667 | // Create the VTable using a series of closures.
2668 | // Swift automatically converts these into C callback functions.
2669 | 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
2670 | onEphemeralUpdate: { (
2671 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2711: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
2709 | #endif
2710 | public struct FfiConverterTypeLocalEphemeralListener: FfiConverter {
2711 | 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
2712 |
2713 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2837: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
2835 | // Create the VTable using a series of closures.
2836 | // Swift automatically converts these into C callback functions.
2837 | 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
2838 | onLocalUpdate: { (
2839 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2879: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
2877 | #endif
2878 | public struct FfiConverterTypeLocalUpdateCallback: FfiConverter {
2879 | 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
2880 |
2881 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8349: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
8347 | // Create the VTable using a series of closures.
8348 | // Swift automatically converts these into C callback functions.
8349 | 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
8350 | asLoroValue: { (
8351 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8389: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
8387 | #endif
8388 | public struct FfiConverterTypeLoroValueLike: FfiConverter {
8389 | 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
8390 |
8391 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8517: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
8515 | // Create the VTable using a series of closures.
8516 | // Swift automatically converts these into C callback functions.
8517 | 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
8518 | onPop: { (
8519 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8563: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
8561 | #endif
8562 | public struct FfiConverterTypeOnPop: FfiConverter {
8563 | 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
8564 |
8565 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8692: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
8690 | // Create the VTable using a series of closures.
8691 | // Swift automatically converts these into C callback functions.
8692 | 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
8693 | onPush: { (
8694 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8738: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
8736 | #endif
8737 | public struct FfiConverterTypeOnPush: FfiConverter {
8738 | 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
8739 |
8740 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8864: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
8862 | // Create the VTable using a series of closures.
8863 | // Swift automatically converts these into C callback functions.
8864 | 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
8865 | onPreCommit: { (
8866 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8906: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
8904 | #endif
8905 | public struct FfiConverterTypePreCommitCallback: FfiConverter {
8906 | 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
8907 |
8908 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9177: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
9175 | // Create the VTable using a series of closures.
9176 | // Swift automatically converts these into C callback functions.
9177 | 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
9178 | onDiff: { (
9179 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9219: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
9217 | #endif
9218 | public struct FfiConverterTypeSubscriber: FfiConverter {
9219 | 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
9220 |
9221 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9855: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
9853 | // Create the VTable using a series of closures.
9854 | // Swift automatically converts these into C callback functions.
9855 | 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
9856 | onUnsubscribe: { (
9857 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9895: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
9893 | #endif
9894 | public struct FfiConverterTypeUnsubscriber: FfiConverter {
9895 | 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
9896 |
9897 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:16213: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
16211 | // Use a global variable to perform the versioning checks. Swift ensures that
16212 | // the code inside is only computed once.
16213 | 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
16214 | // Get the bindings contract version from our ComponentInterface
16215 | let bindings_contract_version = 26
[10/11] Compiling Loro Event.swift
[11/11] Compiling Loro LoroFFI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:860:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
858 | // Create the VTable using a series of closures.
859 | // Swift automatically converts these into C callback functions.
860 | static var vtable: UniffiVTableCallbackInterfaceChangeAncestorsTraveler = UniffiVTableCallbackInterfaceChangeAncestorsTraveler(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
861 | travel: { (
862 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:902:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
900 | #endif
901 | public struct FfiConverterTypeChangeAncestorsTraveler: FfiConverter {
902 | fileprivate static var handleMap = UniffiHandleMap<ChangeAncestorsTraveler>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
903 |
904 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1323:16: warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1321 | // Create the VTable using a series of closures.
1322 | // Swift automatically converts these into C callback functions.
1323 | static var vtable: UniffiVTableCallbackInterfaceContainerIdLike = UniffiVTableCallbackInterfaceContainerIdLike(
| |- warning: static property 'vtable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vtable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'vtable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1324 | asContainerId: { (
1325 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:1365:28: warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1363 | #endif
1364 | public struct FfiConverterTypeContainerIdLike: FfiConverter {
1365 | fileprivate static var handleMap = UniffiHandleMap<ContainerIdLike>()
| |- warning: static property 'handleMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handleMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handleMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1366 |
1367 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift: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:2669: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
2667 | // Create the VTable using a series of closures.
2668 | // Swift automatically converts these into C callback functions.
2669 | 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
2670 | onEphemeralUpdate: { (
2671 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2711: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
2709 | #endif
2710 | public struct FfiConverterTypeLocalEphemeralListener: FfiConverter {
2711 | 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
2712 |
2713 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2837: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
2835 | // Create the VTable using a series of closures.
2836 | // Swift automatically converts these into C callback functions.
2837 | 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
2838 | onLocalUpdate: { (
2839 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:2879: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
2877 | #endif
2878 | public struct FfiConverterTypeLocalUpdateCallback: FfiConverter {
2879 | 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
2880 |
2881 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8349: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
8347 | // Create the VTable using a series of closures.
8348 | // Swift automatically converts these into C callback functions.
8349 | 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
8350 | asLoroValue: { (
8351 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8389: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
8387 | #endif
8388 | public struct FfiConverterTypeLoroValueLike: FfiConverter {
8389 | 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
8390 |
8391 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8517: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
8515 | // Create the VTable using a series of closures.
8516 | // Swift automatically converts these into C callback functions.
8517 | 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
8518 | onPop: { (
8519 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8563: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
8561 | #endif
8562 | public struct FfiConverterTypeOnPop: FfiConverter {
8563 | 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
8564 |
8565 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8692: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
8690 | // Create the VTable using a series of closures.
8691 | // Swift automatically converts these into C callback functions.
8692 | 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
8693 | onPush: { (
8694 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8738: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
8736 | #endif
8737 | public struct FfiConverterTypeOnPush: FfiConverter {
8738 | 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
8739 |
8740 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8864: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
8862 | // Create the VTable using a series of closures.
8863 | // Swift automatically converts these into C callback functions.
8864 | 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
8865 | onPreCommit: { (
8866 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:8906: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
8904 | #endif
8905 | public struct FfiConverterTypePreCommitCallback: FfiConverter {
8906 | 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
8907 |
8908 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9177: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
9175 | // Create the VTable using a series of closures.
9176 | // Swift automatically converts these into C callback functions.
9177 | 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
9178 | onDiff: { (
9179 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9219: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
9217 | #endif
9218 | public struct FfiConverterTypeSubscriber: FfiConverter {
9219 | 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
9220 |
9221 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9855: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
9853 | // Create the VTable using a series of closures.
9854 | // Swift automatically converts these into C callback functions.
9855 | 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
9856 | onUnsubscribe: { (
9857 | uniffiHandle: UInt64,
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:9895: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
9893 | #endif
9894 | public struct FfiConverterTypeUnsubscriber: FfiConverter {
9895 | 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
9896 |
9897 | typealias FfiType = UnsafeMutableRawPointer
/Users/admin/builder/spi-builder-workspace/Sources/Loro/LoroFFI.swift:16213: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
16211 | // Use a global variable to perform the versioning checks. Swift ensures that
16212 | // the code inside is only computed once.
16213 | 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
16214 | // Get the bindings contract version from our ComponentInterface
16215 | let bindings_contract_version = 26
Build complete! (6.70s)
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.6.1
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.76s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/loro-dev/loro-swift/1.6.1
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.64s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (1.26s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.78s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.45s)
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.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Compiling SymbolKit Identifier.swift
[10/53] Compiling SymbolKit KindIdentifier.swift
[11/53] Compiling SymbolKit Location.swift
[12/53] Compiling SymbolKit Mutability.swift
[13/57] Compiling SymbolKit SourceRange.swift
[14/57] Compiling SymbolKit Metadata.swift
[15/57] Compiling SymbolKit Module.swift
[16/57] Compiling SymbolKit OperatingSystem.swift
[17/57] Compiling SymbolKit Platform.swift
[18/57] Compiling SymbolKit Mixin+Equals.swift
[19/57] Compiling SymbolKit Mixin+Hash.swift
[20/57] Compiling SymbolKit Mixin.swift
[21/57] Compiling SymbolKit LineList.swift
[22/57] Compiling SymbolKit Position.swift
[23/57] Compiling SymbolKit SemanticVersion.swift
[24/57] Compiling SymbolKit AccessControl.swift
[25/57] Compiling SymbolKit Availability.swift
[26/57] Compiling SymbolKit AvailabilityItem.swift
[27/57] Compiling SymbolKit Domain.swift
[28/57] Emitting module SymbolKit
[29/57] Compiling SymbolKit DeclarationFragments.swift
[30/57] Compiling SymbolKit Fragment.swift
[31/57] Compiling SymbolKit FragmentKind.swift
[32/57] Compiling SymbolKit FunctionParameter.swift
[33/57] Compiling SymbolKit FunctionSignature.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 Relationship.swift
[39/57] Compiling SymbolKit RelationshipKind.swift
[40/57] Compiling SymbolKit SourceOrigin.swift
[41/57] Compiling SymbolKit GenericConstraints.swift
[42/57] Compiling SymbolKit Swift.swift
[43/57] Compiling SymbolKit GenericConstraint.swift
[44/57] Compiling SymbolKit GenericParameter.swift
[45/57] Compiling SymbolKit Generics.swift
[46/57] Compiling SymbolKit Namespace.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 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.15s)
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 Container.swift
[5/9] Emitting module Loro
[6/9] Compiling Loro Loro.swift
[7/9] Compiling Loro Event.swift
[8/9] Compiling Loro LoroFFI.swift
[9/9] Compiling Loro Ephemeral.swift
Build of target: 'Loro' complete! (3.83s)
2820
15 /Users/admin/builder/spi-builder-workspace/.docs/loro-dev/loro-swift/1.6.1
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/loro-dev/loro-swift/1.6.1
File count: 2820
Doc size: 15.0MB
Preparing doc bundle ...
Uploading prod-loro-dev-loro-swift-1.6.1-eb5112c0.zip to s3://spi-docs-inbox/prod-loro-dev-loro-swift-1.6.1-eb5112c0.zip
Copying... [12%]
Copying... [21%]
Copying... [31%]
Copying... [41%]
Copying... [50%]
Copying... [60%]
Copying... [72%]
Copying... [81%]
Copying... [91%]
Copying... [100%]
Done.