Build Information
Successful build of LLVS, reference main (7e714f
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 12:40:41 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mentalfaculty/LLVS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mentalfaculty/LLVS
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7e714f4 Migrated to Swift 5.9, and fixed a few small issues in the sample.
Cloned https://github.com/mentalfaculty/LLVS.git
Revision (git rev-parse @):
7e714f414648bdbdae71fccc1aa7c816320bfe62
SUCCESS checkout https://github.com/mentalfaculty/LLVS.git at main
========================================
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": "llvs",
"name": "LLVS",
"url": "https://github.com/mentalfaculty/LLVS.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LLVS",
"dependencies": [
]
}
]
}
Fetching https://github.com/mentalfaculty/LLVS.git
[1/2509] Fetching llvs
Fetched https://github.com/mentalfaculty/LLVS.git from cache (1.15s)
Creating working copy for https://github.com/mentalfaculty/LLVS.git
Working copy of https://github.com/mentalfaculty/LLVS.git resolved at main (7e714f4)
warning: '.resolve-product-dependencies': dependency 'llvs' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/mentalfaculty/LLVS.git
{
"dependencies" : [
],
"manifest_display_name" : "LLVS",
"name" : "LLVS",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "SQLite3",
"targets" : [
"SQLite3"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LLVS",
"targets" : [
"LLVS"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LLVSCloudKit",
"targets" : [
"LLVSCloudKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LLVSSQLite",
"targets" : [
"LLVSSQLite"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SQLite3",
"module_type" : "SystemLibraryTarget",
"name" : "SQLite3",
"path" : "Sources/SQLite3",
"product_memberships" : [
"SQLite3",
"LLVSSQLite"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "LLVSTests",
"module_type" : "SwiftTarget",
"name" : "LLVSTests",
"path" : "Tests/LLVSTests",
"sources" : [
"ArrayDiffTests.swift",
"AsynchronousTaskTests.swift",
"DiffTests.swift",
"DynamicTaskBatcherTests.swift",
"FileSystemExchangeTests.swift",
"FileZoneTests.swift",
"GeneralTests.swift",
"HistoryTests.swift",
"MapTests.swift",
"MergeTests.swift",
"MostRecentBranchArbiterTests.swift",
"MostRecentChangeArbiterTests.swift",
"PerformanceTests.swift",
"PrevailingValueTests.swift",
"SQLitePerformanceTests.swift",
"SQLiteZoneTests.swift",
"SerialHistoryTests.swift",
"SharedStoreTests.swift",
"StoreSetupTests.swift",
"ValueChangesInVersionTests.swift",
"ValueTests.swift",
"VersionTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"LLVS",
"LLVSSQLite"
],
"type" : "test"
},
{
"c99name" : "LLVSSQLite",
"module_type" : "SwiftTarget",
"name" : "LLVSSQLite",
"path" : "Sources/LLVSSQLite",
"product_memberships" : [
"LLVSSQLite"
],
"sources" : [
"SQLiteDatabase+Zones.swift",
"SQLiteDatabase.swift",
"SQLiteZone.swift"
],
"target_dependencies" : [
"LLVS",
"SQLite3"
],
"type" : "library"
},
{
"c99name" : "LLVSCloudKit",
"module_type" : "SwiftTarget",
"name" : "LLVSCloudKit",
"path" : "Sources/LLVSCloudKit",
"product_memberships" : [
"LLVSCloudKit"
],
"sources" : [
"CloudKitExchange.swift"
],
"target_dependencies" : [
"LLVS"
],
"type" : "library"
},
{
"c99name" : "LLVS",
"module_type" : "SwiftTarget",
"name" : "LLVS",
"path" : "Sources/LLVS",
"product_memberships" : [
"LLVS",
"LLVSCloudKit",
"LLVSSQLite"
],
"sources" : [
"Core/Exchange.swift",
"Core/FileZone.swift",
"Core/History.swift",
"Core/Map.swift",
"Core/Merge.swift",
"Core/Storage.swift",
"Core/Store.swift",
"Core/StoreCoordinator.swift",
"Core/Value.swift",
"Core/Version.swift",
"Core/Zone.swift",
"Exchanges/FileSystemExchange.swift",
"General/AsynchronousOperation.swift",
"General/AsynchronousTask.swift",
"General/Cache.swift",
"General/DynamicTaskBatcher.swift",
"General/General.swift",
"General/Log.swift",
"Utilities/ArrayDiff.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/23] Compiling LLVS Cache.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/DynamicTaskBatcher.swift:96:13: warning: capture of 'self' with non-sendable type 'DynamicTaskBatcher' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | /// This is useful for asynchronously processing an array of tasks, where you have a cost function for each task, and want batches that try to avoid having too much cost.
12 | /// It can also dynamically adjust if a batch is not suitable, by growing and repeating the batch.
13 | public final class DynamicTaskBatcher {
| `- note: class 'DynamicTaskBatcher' does not conform to the 'Sendable' protocol
14 |
15 | public enum Error: Swift.Error {
:
94 | private func startNextBatchOnQueue() {
95 | DispatchQueue.global(qos: .userInitiated).async {
96 | self.startNextBatch()
| `- warning: capture of 'self' with non-sendable type 'DynamicTaskBatcher' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 | }
[6/23] Compiling LLVS DynamicTaskBatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/DynamicTaskBatcher.swift:96:13: warning: capture of 'self' with non-sendable type 'DynamicTaskBatcher' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 | /// This is useful for asynchronously processing an array of tasks, where you have a cost function for each task, and want batches that try to avoid having too much cost.
12 | /// It can also dynamically adjust if a batch is not suitable, by growing and repeating the batch.
13 | public final class DynamicTaskBatcher {
| `- note: class 'DynamicTaskBatcher' does not conform to the 'Sendable' protocol
14 |
15 | public enum Error: Swift.Error {
:
94 | private func startNextBatchOnQueue() {
95 | DispatchQueue.global(qos: .userInitiated).async {
96 | self.startNextBatch()
| `- warning: capture of 'self' with non-sendable type 'DynamicTaskBatcher' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | }
98 | }
[7/24] Compiling LLVS Value.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:18:27: warning: static property 'branch' is not concurrency-safe because non-'Sendable' type 'Version.MetadataKey' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Metadata = [MetadataKey:MetadataValue]
13 |
14 | public struct MetadataKey: Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MetadataKey' conform to the 'Sendable' protocol
15 | public var rawValue: String
16 | public init(rawValue: String) { self.rawValue = rawValue }
17 |
18 | public static let branch = Self(rawValue: "__llvs_branch")
| |- warning: static property 'branch' is not concurrency-safe because non-'Sendable' type 'Version.MetadataKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'branch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[8/24] Compiling LLVS Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:18:27: warning: static property 'branch' is not concurrency-safe because non-'Sendable' type 'Version.MetadataKey' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Metadata = [MetadataKey:MetadataValue]
13 |
14 | public struct MetadataKey: Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MetadataKey' conform to the 'Sendable' protocol
15 | public var rawValue: String
16 | public init(rawValue: String) { self.rawValue = rawValue }
17 |
18 | public static let branch = Self(rawValue: "__llvs_branch")
| |- warning: static property 'branch' is not concurrency-safe because non-'Sendable' type 'Version.MetadataKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'branch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[9/24] Compiling LLVS AsynchronousOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/AsynchronousOperation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation : Foundation.Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | /// You can set this instead of subclassing and overriding `begin`, in order to perform a task.
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/AsynchronousTask.swift:23:17: warning: capture of 'self' with non-sendable type 'AsynchronousTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 | /// An asynchronous task. Chaining this can avoid deep nesting.
11 | public class AsynchronousTask {
| `- note: class 'AsynchronousTask' does not conform to the 'Sendable' protocol
12 |
13 | public typealias Callback = (Result<Void, Error>)->Void
:
21 | // It is asynchronous to prevent deadlocks.
22 | DispatchQueue.global(qos: .default).async {
23 | self.completionBlock?(result)
| `- warning: capture of 'self' with non-sendable type 'AsynchronousTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | switch result {
25 | case .failure:
[10/24] Compiling LLVS AsynchronousTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/AsynchronousOperation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation : Foundation.Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | /// You can set this instead of subclassing and overriding `begin`, in order to perform a task.
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/AsynchronousTask.swift:23:17: warning: capture of 'self' with non-sendable type 'AsynchronousTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 | /// An asynchronous task. Chaining this can avoid deep nesting.
11 | public class AsynchronousTask {
| `- note: class 'AsynchronousTask' does not conform to the 'Sendable' protocol
12 |
13 | public typealias Callback = (Result<Void, Error>)->Void
:
21 | // It is asynchronous to prevent deadlocks.
22 | DispatchQueue.global(qos: .default).async {
23 | self.completionBlock?(result)
| `- warning: capture of 'self' with non-sendable type 'AsynchronousTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | switch result {
25 | case .failure:
[11/24] Compiling LLVS Merge.swift
[12/24] Compiling LLVS Storage.swift
[13/24] Compiling LLVS Zone.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:23:6: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private var _newVersionsSubject: Any? = nil
23 | @available (macOS 10.15, iOS 13, watchOS 6, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
24 | public var newVersionsSubject: PassthroughSubject<Void, Never> {
25 | if _newVersionsSubject == nil {
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:136:16: warning: capture of 'self' with non-sendable type 'FileSystemExchange' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import Combine
10 |
11 | public class FileSystemExchange: NSObject, Exchange, NSFilePresenter {
| `- note: class 'FileSystemExchange' does not conform to the 'Sendable' protocol
12 |
13 | public enum Error: Swift.Error {
:
134 | private func coordinateFileAccess<ResultType>(_ access: FileAccess, completionHandler: @escaping CompletionHandler<ResultType>, by block: @escaping () throws -> Void) {
135 | queue.addOperation {
136 | if self.usesFileCoordination {
| `- warning: capture of 'self' with non-sendable type 'FileSystemExchange' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 | let coordinator = NSFileCoordinator(filePresenter: self)
138 | var error: NSError?
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:142:29: warning: capture of 'block' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | let accessor: (URL)->Void = { url in
141 | do {
142 | try block()
| |- warning: capture of 'block' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } catch {
144 | completionHandler(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:144:25: warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<ResultType>' (aka '(Result<ResultType, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | try block()
143 | } catch {
144 | completionHandler(.failure(error))
| |- warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<ResultType>' (aka '(Result<ResultType, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:142:29: warning: capture of 'block' with non-sendable type '() throws -> Void' in an isolated closure; this is an error in the Swift 6 language mode
140 | let accessor: (URL)->Void = { url in
141 | do {
142 | try block()
| |- warning: capture of 'block' with non-sendable type '() throws -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } catch {
144 | completionHandler(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:144:25: warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<ResultType>' (aka '(Result<ResultType, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
142 | try block()
143 | } catch {
144 | completionHandler(.failure(error))
| |- warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<ResultType>' (aka '(Result<ResultType, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | }
[14/24] Compiling LLVS FileSystemExchange.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:23:6: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private var _newVersionsSubject: Any? = nil
23 | @available (macOS 10.15, iOS 13, watchOS 6, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
24 | public var newVersionsSubject: PassthroughSubject<Void, Never> {
25 | if _newVersionsSubject == nil {
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:136:16: warning: capture of 'self' with non-sendable type 'FileSystemExchange' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 | import Combine
10 |
11 | public class FileSystemExchange: NSObject, Exchange, NSFilePresenter {
| `- note: class 'FileSystemExchange' does not conform to the 'Sendable' protocol
12 |
13 | public enum Error: Swift.Error {
:
134 | private func coordinateFileAccess<ResultType>(_ access: FileAccess, completionHandler: @escaping CompletionHandler<ResultType>, by block: @escaping () throws -> Void) {
135 | queue.addOperation {
136 | if self.usesFileCoordination {
| `- warning: capture of 'self' with non-sendable type 'FileSystemExchange' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 | let coordinator = NSFileCoordinator(filePresenter: self)
138 | var error: NSError?
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:142:29: warning: capture of 'block' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 | let accessor: (URL)->Void = { url in
141 | do {
142 | try block()
| |- warning: capture of 'block' with non-sendable type '() throws -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } catch {
144 | completionHandler(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:144:25: warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<ResultType>' (aka '(Result<ResultType, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | try block()
143 | } catch {
144 | completionHandler(.failure(error))
| |- warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<ResultType>' (aka '(Result<ResultType, any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:142:29: warning: capture of 'block' with non-sendable type '() throws -> Void' in an isolated closure; this is an error in the Swift 6 language mode
140 | let accessor: (URL)->Void = { url in
141 | do {
142 | try block()
| |- warning: capture of 'block' with non-sendable type '() throws -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | } catch {
144 | completionHandler(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:144:25: warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<ResultType>' (aka '(Result<ResultType, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
142 | try block()
143 | } catch {
144 | completionHandler(.failure(error))
| |- warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<ResultType>' (aka '(Result<ResultType, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 | }
146 | }
[15/24] Compiling LLVS Store.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:14:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
12 | /// A `StoreCoordinator` takes care of all aspects of setting up a syncing store.
13 | /// It's the simplest way to get started, though you may want more control for advanced use cases.
14 | @available (macOS 10.14, iOS 11, watchOS 5, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
15 | public class StoreCoordinator {
16 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:42:6: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
40 |
41 | private var _currentVersionSubject: Any? = nil
42 | @available (macOS 10.15, iOS 13, watchOS 6, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
43 | public var currentVersionSubject: CurrentValueSubject<Version.ID, Never> {
44 | get{
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:35:14: warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
33 | case attemptToLocateUnversionedValue
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
| `- warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:35:14: warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
33 | case attemptToLocateUnversionedValue
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
| `- warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:36:14: warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.ID' (aka 'Value.Identifier'); this is an error in the Swift 6 language mode
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
| `- warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.ID' (aka 'Value.Identifier'); this is an error in the Swift 6 language mode
37 | case attemptToAddExistingVersion(Version.ID)
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Value.swift:57:12: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
55 | }
56 |
57 | struct Identifier: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
58 | public var rawValue: String
59 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:36:14: warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.Fork'; this is an error in the Swift 6 language mode
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
| `- warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.Fork'; this is an error in the Swift 6 language mode
37 | case attemptToAddExistingVersion(Version.ID)
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Value.swift:121:10: note: consider making enum 'Fork' conform to the 'Sendable' protocol
119 | }
120 |
121 | enum Fork: Equatable {
| `- note: consider making enum 'Fork' conform to the 'Sendable' protocol
122 | public enum Branch: Equatable {
123 | case first
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:37:14: warning: associated value 'attemptToAddExistingVersion' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
| `- warning: associated value 'attemptToAddExistingVersion' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:38:14: warning: associated value 'attemptToAddVersionWithNonexistingPredecessors' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
| `- warning: associated value 'attemptToAddVersionWithNonexistingPredecessors' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:10:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Version: Hashable, Identifiable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 |
12 | public typealias Metadata = [MetadataKey:MetadataValue]
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:18:27: warning: static property 'branch' is not concurrency-safe because non-'Sendable' type 'Version.MetadataKey' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Metadata = [MetadataKey:MetadataValue]
13 |
14 | public struct MetadataKey: Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MetadataKey' conform to the 'Sendable' protocol
15 | public var rawValue: String
16 | public init(rawValue: String) { self.rawValue = rawValue }
17 |
18 | public static let branch = Self(rawValue: "__llvs_branch")
| |- warning: static property 'branch' is not concurrency-safe because non-'Sendable' type 'Version.MetadataKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'branch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:232:17: warning: capture of 'completionHandler' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 | guard let exchange = exchange else {
231 | OperationQueue.main.addOperation {
232 | completionHandler?(nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
233 | self.isExchanging = false
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:233:17: warning: capture of 'self' with non-sendable type 'StoreCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | /// It's the simplest way to get started, though you may want more control for advanced use cases.
14 | @available (macOS 10.14, iOS 11, watchOS 5, *)
15 | public class StoreCoordinator {
| `- note: class 'StoreCoordinator' does not conform to the 'Sendable' protocol
16 |
17 | private struct CachedData: Codable {
:
231 | OperationQueue.main.addOperation {
232 | completionHandler?(nil)
233 | self.isExchanging = false
| `- warning: capture of 'self' with non-sendable type 'StoreCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | }
235 | return
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/Log.swift:11:12: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import os
10 |
11 | public let log = Log()
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public class Log {
| `- note: class 'Log' does not conform to the 'Sendable' protocol
14 |
15 | public enum Level : Int, Comparable {
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:270:17: warning: capture of 'completionHandler' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
268 | }
269 | OperationQueue.main.addOperation {
270 | completionHandler?(returnError)
| |- warning: capture of 'completionHandler' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
271 | self.isExchanging = false
272 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:271:17: warning: capture of 'self' with non-sendable type 'StoreCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | /// It's the simplest way to get started, though you may want more control for advanced use cases.
14 | @available (macOS 10.14, iOS 11, watchOS 5, *)
15 | public class StoreCoordinator {
| `- note: class 'StoreCoordinator' does not conform to the 'Sendable' protocol
16 |
17 | private struct CachedData: Codable {
:
269 | OperationQueue.main.addOperation {
270 | completionHandler?(returnError)
271 | self.isExchanging = false
| `- warning: capture of 'self' with non-sendable type 'StoreCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
272 | }
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:270:36: warning: reference to captured var 'returnError' in concurrently-executing code; this is an error in the Swift 6 language mode
268 | }
269 | OperationQueue.main.addOperation {
270 | completionHandler?(returnError)
| `- warning: reference to captured var 'returnError' in concurrently-executing code; this is an error in the Swift 6 language mode
271 | self.isExchanging = false
272 | }
[16/24] Compiling LLVS StoreCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:14:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
12 | /// A `StoreCoordinator` takes care of all aspects of setting up a syncing store.
13 | /// It's the simplest way to get started, though you may want more control for advanced use cases.
14 | @available (macOS 10.14, iOS 11, watchOS 5, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
15 | public class StoreCoordinator {
16 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:42:6: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
40 |
41 | private var _currentVersionSubject: Any? = nil
42 | @available (macOS 10.15, iOS 13, watchOS 6, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
43 | public var currentVersionSubject: CurrentValueSubject<Version.ID, Never> {
44 | get{
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:35:14: warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
33 | case attemptToLocateUnversionedValue
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
| `- warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:35:14: warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
33 | case attemptToLocateUnversionedValue
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
| `- warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:36:14: warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.ID' (aka 'Value.Identifier'); this is an error in the Swift 6 language mode
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
| `- warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.ID' (aka 'Value.Identifier'); this is an error in the Swift 6 language mode
37 | case attemptToAddExistingVersion(Version.ID)
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Value.swift:57:12: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
55 | }
56 |
57 | struct Identifier: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
58 | public var rawValue: String
59 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:36:14: warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.Fork'; this is an error in the Swift 6 language mode
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
| `- warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.Fork'; this is an error in the Swift 6 language mode
37 | case attemptToAddExistingVersion(Version.ID)
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Value.swift:121:10: note: consider making enum 'Fork' conform to the 'Sendable' protocol
119 | }
120 |
121 | enum Fork: Equatable {
| `- note: consider making enum 'Fork' conform to the 'Sendable' protocol
122 | public enum Branch: Equatable {
123 | case first
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:37:14: warning: associated value 'attemptToAddExistingVersion' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
| `- warning: associated value 'attemptToAddExistingVersion' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:38:14: warning: associated value 'attemptToAddVersionWithNonexistingPredecessors' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
| `- warning: associated value 'attemptToAddVersionWithNonexistingPredecessors' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:10:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Version: Hashable, Identifiable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 |
12 | public typealias Metadata = [MetadataKey:MetadataValue]
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:18:27: warning: static property 'branch' is not concurrency-safe because non-'Sendable' type 'Version.MetadataKey' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Metadata = [MetadataKey:MetadataValue]
13 |
14 | public struct MetadataKey: Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MetadataKey' conform to the 'Sendable' protocol
15 | public var rawValue: String
16 | public init(rawValue: String) { self.rawValue = rawValue }
17 |
18 | public static let branch = Self(rawValue: "__llvs_branch")
| |- warning: static property 'branch' is not concurrency-safe because non-'Sendable' type 'Version.MetadataKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'branch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:232:17: warning: capture of 'completionHandler' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
230 | guard let exchange = exchange else {
231 | OperationQueue.main.addOperation {
232 | completionHandler?(nil)
| |- warning: capture of 'completionHandler' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
233 | self.isExchanging = false
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:233:17: warning: capture of 'self' with non-sendable type 'StoreCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | /// It's the simplest way to get started, though you may want more control for advanced use cases.
14 | @available (macOS 10.14, iOS 11, watchOS 5, *)
15 | public class StoreCoordinator {
| `- note: class 'StoreCoordinator' does not conform to the 'Sendable' protocol
16 |
17 | private struct CachedData: Codable {
:
231 | OperationQueue.main.addOperation {
232 | completionHandler?(nil)
233 | self.isExchanging = false
| `- warning: capture of 'self' with non-sendable type 'StoreCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | }
235 | return
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/Log.swift:11:12: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import os
10 |
11 | public let log = Log()
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public class Log {
| `- note: class 'Log' does not conform to the 'Sendable' protocol
14 |
15 | public enum Level : Int, Comparable {
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:270:17: warning: capture of 'completionHandler' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
268 | }
269 | OperationQueue.main.addOperation {
270 | completionHandler?(returnError)
| |- warning: capture of 'completionHandler' with non-sendable type '(((any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
271 | self.isExchanging = false
272 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:271:17: warning: capture of 'self' with non-sendable type 'StoreCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 | /// It's the simplest way to get started, though you may want more control for advanced use cases.
14 | @available (macOS 10.14, iOS 11, watchOS 5, *)
15 | public class StoreCoordinator {
| `- note: class 'StoreCoordinator' does not conform to the 'Sendable' protocol
16 |
17 | private struct CachedData: Codable {
:
269 | OperationQueue.main.addOperation {
270 | completionHandler?(returnError)
271 | self.isExchanging = false
| `- warning: capture of 'self' with non-sendable type 'StoreCoordinator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
272 | }
273 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:270:36: warning: reference to captured var 'returnError' in concurrently-executing code; this is an error in the Swift 6 language mode
268 | }
269 | OperationQueue.main.addOperation {
270 | completionHandler?(returnError)
| `- warning: reference to captured var 'returnError' in concurrently-executing code; this is an error in the Swift 6 language mode
271 | self.isExchanging = false
272 | }
[17/24] Compiling LLVS History.swift
[18/24] Compiling LLVS Map.swift
[19/24] Compiling LLVS Exchange.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/Log.swift:11:12: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import os
10 |
11 | public let log = Log()
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public class Log {
| `- note: class 'Log' does not conform to the 'Sendable' protocol
14 |
15 | public enum Level : Int, Comparable {
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:25: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:59: warning: capture of 'reducedVersions' with non-sendable type '[Version]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'reducedVersions' with non-sendable type '[Version]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:10:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Version: Hashable, Identifiable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 |
12 | public typealias Metadata = [MetadataKey:MetadataValue]
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:101: warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:101: warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Value.swift:69:10: note: consider making enum 'Change' conform to the 'Sendable' protocol
67 | }
68 |
69 | enum Change: Codable {
| `- note: consider making enum 'Change' conform to the 'Sendable' protocol
70 | case insert(Value)
71 | case update(Value)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:151: warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<Void>' (aka '(Result<(), any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| |- warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<Void>' (aka '(Result<(), any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
173 | }
174 | }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:25: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:59: warning: capture of 'reducedVersions' with non-sendable type '[Version]' in an isolated closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'reducedVersions' with non-sendable type '[Version]' in an isolated closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:10:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Version: Hashable, Identifiable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 |
12 | public typealias Metadata = [MetadataKey:MetadataValue]
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:101: warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in an isolated closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in an isolated closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:101: warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in an isolated closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in an isolated closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Value.swift:69:10: note: consider making enum 'Change' conform to the 'Sendable' protocol
67 | }
68 |
69 | enum Change: Codable {
| `- note: consider making enum 'Change' conform to the 'Sendable' protocol
70 | case insert(Value)
71 | case update(Value)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:151: warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<Void>' (aka '(Result<(), any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| |- warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<Void>' (aka '(Result<(), any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
173 | }
174 | }
[20/24] Compiling LLVS FileZone.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/Log.swift:11:12: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import os
10 |
11 | public let log = Log()
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public class Log {
| `- note: class 'Log' does not conform to the 'Sendable' protocol
14 |
15 | public enum Level : Int, Comparable {
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:25: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:59: warning: capture of 'reducedVersions' with non-sendable type '[Version]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'reducedVersions' with non-sendable type '[Version]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:10:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Version: Hashable, Identifiable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 |
12 | public typealias Metadata = [MetadataKey:MetadataValue]
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:101: warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:101: warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Value.swift:69:10: note: consider making enum 'Change' conform to the 'Sendable' protocol
67 | }
68 |
69 | enum Change: Codable {
| `- note: consider making enum 'Change' conform to the 'Sendable' protocol
70 | case insert(Value)
71 | case update(Value)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:151: warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<Void>' (aka '(Result<(), any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| |- warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<Void>' (aka '(Result<(), any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
173 | }
174 | }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:25: warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'self' with non-sendable type 'Self' in an isolated closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:59: warning: capture of 'reducedVersions' with non-sendable type '[Version]' in an isolated closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'reducedVersions' with non-sendable type '[Version]' in an isolated closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:10:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Version: Hashable, Identifiable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 |
12 | public typealias Metadata = [MetadataKey:MetadataValue]
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:101: warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in an isolated closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in an isolated closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:101: warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in an isolated closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| `- warning: capture of 'valueChangesByVersionID' with non-sendable type '[Version.ID : [Value.Change]]' (aka 'Dictionary<Version.Identifier, Array<Value.Change>>') in an isolated closure; this is an error in the Swift 6 language mode
173 | }
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Value.swift:69:10: note: consider making enum 'Change' conform to the 'Sendable' protocol
67 | }
68 |
69 | enum Change: Codable {
| `- note: consider making enum 'Change' conform to the 'Sendable' protocol
70 | case insert(Value)
71 | case update(Value)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Exchange.swift:172:151: warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<Void>' (aka '(Result<(), any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
170 | autoreleasepool {
171 | // Note that we just pass along all value changes, because any modification of the dictionary will result in a large copy
172 | self.addToHistory(sortedVersions: reducedVersions, valueChangesByVersionID: valueChangesByVersionID, executingUponCompletion: completionHandler)
| |- warning: capture of 'completionHandler' with non-sendable type 'CompletionHandler<Void>' (aka '(Result<(), any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
173 | }
174 | }
[21/24] Compiling LLVS General.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/Log.swift:11:12: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import os
10 |
11 | public let log = Log()
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public class Log {
| `- note: class 'Log' does not conform to the 'Sendable' protocol
14 |
15 | public enum Level : Int, Comparable {
[22/24] Compiling LLVS Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/Log.swift:11:12: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import os
10 |
11 | public let log = Log()
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public class Log {
| `- note: class 'Log' does not conform to the 'Sendable' protocol
14 |
15 | public enum Level : Int, Comparable {
[23/24] Emitting module LLVS
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:14:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
12 | /// A `StoreCoordinator` takes care of all aspects of setting up a syncing store.
13 | /// It's the simplest way to get started, though you may want more control for advanced use cases.
14 | @available (macOS 10.14, iOS 11, watchOS 5, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
15 | public class StoreCoordinator {
16 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:35:14: warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
33 | case attemptToLocateUnversionedValue
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
| `- warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:35:14: warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
33 | case attemptToLocateUnversionedValue
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
| `- warning: associated value 'noCommonAncestor(firstVersion:secondVersion:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:36:14: warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.ID' (aka 'Value.Identifier'); this is an error in the Swift 6 language mode
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
| `- warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.ID' (aka 'Value.Identifier'); this is an error in the Swift 6 language mode
37 | case attemptToAddExistingVersion(Version.ID)
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Value.swift:57:12: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
55 | }
56 |
57 | struct Identifier: RawRepresentable, Hashable, Codable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
58 | public var rawValue: String
59 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:36:14: warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.Fork'; this is an error in the Swift 6 language mode
34 | case attemptToStoreValueWithNoVersion
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
| `- warning: associated value 'unresolvedConflict(valueId:valueFork:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Value.Fork'; this is an error in the Swift 6 language mode
37 | case attemptToAddExistingVersion(Version.ID)
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Value.swift:121:10: note: consider making enum 'Fork' conform to the 'Sendable' protocol
119 | }
120 |
121 | enum Fork: Equatable {
| `- note: consider making enum 'Fork' conform to the 'Sendable' protocol
122 | public enum Branch: Equatable {
123 | case first
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:37:14: warning: associated value 'attemptToAddExistingVersion' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
35 | case noCommonAncestor(firstVersion: Version.ID, secondVersion: Version.ID)
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
| `- warning: associated value 'attemptToAddExistingVersion' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version.ID' (aka 'Version.Identifier'); this is an error in the Swift 6 language mode
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:88:19: note: consider making struct 'Identifier' conform to the 'Sendable' protocol
86 | extension Version {
87 |
88 | public struct Identifier: RawRepresentable, Codable, Hashable {
| `- note: consider making struct 'Identifier' conform to the 'Sendable' protocol
89 | public var rawValue: String
90 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Store.swift:38:14: warning: associated value 'attemptToAddVersionWithNonexistingPredecessors' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
36 | case unresolvedConflict(valueId: Value.ID, valueFork: Value.Fork)
37 | case attemptToAddExistingVersion(Version.ID)
38 | case attemptToAddVersionWithNonexistingPredecessors(Version)
| `- warning: associated value 'attemptToAddVersionWithNonexistingPredecessors' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:10:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
8 | import Foundation
9 |
10 | public struct Version: Hashable, Identifiable {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 |
12 | public typealias Metadata = [MetadataKey:MetadataValue]
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/StoreCoordinator.swift:42:6: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
40 |
41 | private var _currentVersionSubject: Any? = nil
42 | @available (macOS 10.15, iOS 13, watchOS 6, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
43 | public var currentVersionSubject: CurrentValueSubject<Version.ID, Never> {
44 | get{
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Core/Version.swift:18:27: warning: static property 'branch' is not concurrency-safe because non-'Sendable' type 'Version.MetadataKey' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Metadata = [MetadataKey:MetadataValue]
13 |
14 | public struct MetadataKey: Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MetadataKey' conform to the 'Sendable' protocol
15 | public var rawValue: String
16 | public init(rawValue: String) { self.rawValue = rawValue }
17 |
18 | public static let branch = Self(rawValue: "__llvs_branch")
| |- warning: static property 'branch' is not concurrency-safe because non-'Sendable' type 'Version.MetadataKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'branch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/Exchanges/FileSystemExchange.swift:23:6: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
21 |
22 | private var _newVersionsSubject: Any? = nil
23 | @available (macOS 10.15, iOS 13, watchOS 6, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
24 | public var newVersionsSubject: PassthroughSubject<Void, Never> {
25 | if _newVersionsSubject == nil {
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/AsynchronousOperation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation : Foundation.Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | /// You can set this instead of subclassing and overriding `begin`, in order to perform a task.
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/AsynchronousTask.swift:23:17: warning: capture of 'self' with non-sendable type 'AsynchronousTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 | /// An asynchronous task. Chaining this can avoid deep nesting.
11 | public class AsynchronousTask {
| `- note: class 'AsynchronousTask' does not conform to the 'Sendable' protocol
12 |
13 | public typealias Callback = (Result<Void, Error>)->Void
:
21 | // It is asynchronous to prevent deadlocks.
22 | DispatchQueue.global(qos: .default).async {
23 | self.completionBlock?(result)
| `- warning: capture of 'self' with non-sendable type 'AsynchronousTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
24 | switch result {
25 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/LLVS/General/Log.swift:11:12: warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import os
10 |
11 | public let log = Log()
| |- warning: let 'log' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public class Log {
| `- note: class 'Log' does not conform to the 'Sendable' protocol
14 |
15 | public enum Level : Int, Comparable {
[24/24] Compiling LLVS ArrayDiff.swift
[25/30] Emitting module LLVSSQLite
/Users/admin/builder/spi-builder-workspace/Sources/LLVSSQLite/SQLiteDatabase.swift:30:14: warning: associated value 'bindingFailed(bindingIndex:value:code:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
28 | case closeFailed(code: Int32)
29 | case statementFailed(statement: String, code: Int32)
30 | case bindingFailed(bindingIndex: Int, value: Any?, code: Int32)
| `- warning: associated value 'bindingFailed(bindingIndex:value:code:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
31 | case queryFailed(query: String, code: Int32)
32 | }
[26/30] Compiling LLVSSQLite SQLiteZone.swift
[27/30] Compiling LLVSSQLite SQLiteDatabase+Zones.swift
[28/30] Compiling LLVSSQLite SQLiteDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVSSQLite/SQLiteDatabase.swift:30:14: warning: associated value 'bindingFailed(bindingIndex:value:code:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
28 | case closeFailed(code: Int32)
29 | case statementFailed(statement: String, code: Int32)
30 | case bindingFailed(bindingIndex: Int, value: Any?, code: Int32)
| `- warning: associated value 'bindingFailed(bindingIndex:value:code:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
31 | case queryFailed(query: String, code: Int32)
32 | }
[29/30] Emitting module LLVSCloudKit
/Users/admin/builder/spi-builder-workspace/Sources/LLVSCloudKit/CloudKitExchange.swift:62:6: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
60 | /// Client to inform of updates
61 | private var _newVersionsAvailable: Any? = nil
62 | @available (macOS 10.15, iOS 13, watchOS 6, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 |
64 | public var newVersionsAvailable:AnyPublisher<Void, Never> {
[30/30] Compiling LLVSCloudKit CloudKitExchange.swift
/Users/admin/builder/spi-builder-workspace/Sources/LLVSCloudKit/CloudKitExchange.swift:62:6: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
60 | /// Client to inform of updates
61 | private var _newVersionsAvailable: Any? = nil
62 | @available (macOS 10.15, iOS 13, watchOS 6, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 |
64 | public var newVersionsAvailable:AnyPublisher<Void, Never> {
/Users/admin/builder/spi-builder-workspace/Sources/LLVSCloudKit/CloudKitExchange.swift:129:17: warning: capture of 'completion' with non-sendable type 'CompletionHandler<Void>' (aka '(Result<(), any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
127 | if let error = error {
128 | log.error("Removing zone failed: \(error)")
129 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type 'CompletionHandler<Void>' (aka '(Result<(), any Error>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 | } else {
131 | log.trace("Removed zone")
Build complete! (16.36s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "LLVS",
"name" : "LLVS",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "SQLite3",
"targets" : [
"SQLite3"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LLVS",
"targets" : [
"LLVS"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LLVSCloudKit",
"targets" : [
"LLVSCloudKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LLVSSQLite",
"targets" : [
"LLVSSQLite"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SQLite3",
"module_type" : "SystemLibraryTarget",
"name" : "SQLite3",
"path" : "Sources/SQLite3",
"product_memberships" : [
"SQLite3",
"LLVSSQLite"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "LLVSTests",
"module_type" : "SwiftTarget",
"name" : "LLVSTests",
"path" : "Tests/LLVSTests",
"sources" : [
"ArrayDiffTests.swift",
"AsynchronousTaskTests.swift",
"DiffTests.swift",
"DynamicTaskBatcherTests.swift",
"FileSystemExchangeTests.swift",
"FileZoneTests.swift",
"GeneralTests.swift",
"HistoryTests.swift",
"MapTests.swift",
"MergeTests.swift",
"MostRecentBranchArbiterTests.swift",
"MostRecentChangeArbiterTests.swift",
"PerformanceTests.swift",
"PrevailingValueTests.swift",
"SQLitePerformanceTests.swift",
"SQLiteZoneTests.swift",
"SerialHistoryTests.swift",
"SharedStoreTests.swift",
"StoreSetupTests.swift",
"ValueChangesInVersionTests.swift",
"ValueTests.swift",
"VersionTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"LLVS",
"LLVSSQLite"
],
"type" : "test"
},
{
"c99name" : "LLVSSQLite",
"module_type" : "SwiftTarget",
"name" : "LLVSSQLite",
"path" : "Sources/LLVSSQLite",
"product_memberships" : [
"LLVSSQLite"
],
"sources" : [
"SQLiteDatabase+Zones.swift",
"SQLiteDatabase.swift",
"SQLiteZone.swift"
],
"target_dependencies" : [
"LLVS",
"SQLite3"
],
"type" : "library"
},
{
"c99name" : "LLVSCloudKit",
"module_type" : "SwiftTarget",
"name" : "LLVSCloudKit",
"path" : "Sources/LLVSCloudKit",
"product_memberships" : [
"LLVSCloudKit"
],
"sources" : [
"CloudKitExchange.swift"
],
"target_dependencies" : [
"LLVS"
],
"type" : "library"
},
{
"c99name" : "LLVS",
"module_type" : "SwiftTarget",
"name" : "LLVS",
"path" : "Sources/LLVS",
"product_memberships" : [
"LLVS",
"LLVSCloudKit",
"LLVSSQLite"
],
"sources" : [
"Core/Exchange.swift",
"Core/FileZone.swift",
"Core/History.swift",
"Core/Map.swift",
"Core/Merge.swift",
"Core/Storage.swift",
"Core/Store.swift",
"Core/StoreCoordinator.swift",
"Core/Value.swift",
"Core/Version.swift",
"Core/Zone.swift",
"Exchanges/FileSystemExchange.swift",
"General/AsynchronousOperation.swift",
"General/AsynchronousTask.swift",
"General/Cache.swift",
"General/DynamicTaskBatcher.swift",
"General/General.swift",
"General/Log.swift",
"Utilities/ArrayDiff.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.