Build Information
Successful build of Tart, reference 2.27.3 (8dc8b6
), with Swift 6.1 for macOS (SPM) on 11 Jun 2025 22:22:45 UTC.
Swift 6 data race errors: 42
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
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | Requires Tart Guest Agent running in a guest VM.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:47:18: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
45 | let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
46 | defer {
47 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:56:28: warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
54 | )
55 | defer {
56 | try! channel.close().wait()
| `- warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Export.swift:5:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct Export: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Export VM to a compressed .tvm file")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | @Argument(help: "Source VM name.", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/FQN.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct FQN: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Get a fully-qualified VM name", shouldDisplay: false)
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Get.swift:16:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | struct Get: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(commandName: "get", abstract: "Get a VM's configuration")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | @Argument(help: "VM name.", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/IP.swift:10:27: warning: static property 'allValueStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | case dhcp, arp
9 |
10 | private(set) static var allValueStrings: [String] = Format.allCases.map { "\($0)"}
| |- warning: static property 'allValueStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allValueStrings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allValueStrings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/IP.swift:14:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct IP: AsyncParsableCommand {
14 | static var configuration = CommandConfiguration(abstract: "Get VM's IP address")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Create.swift:50:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
48 | let image = try await withCheckedThrowingContinuation { continuation in
49 | VZMacOSRestoreImage.fetchLatestSupported() { result in
50 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 | }
52 | }
[1508/1531] Compiling tart Export.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Clone.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct Clone: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | abstract: "Clone a VM",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Create.swift:8:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | struct Create: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Create a VM")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | @Argument(help: "VM name")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Delete.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct Delete: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Delete a VM")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:12:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | struct Exec: AsyncParsableCommand {
12 | static var configuration = CommandConfiguration(abstract: "Execute a command in a running VM", discussion: """
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | Requires Tart Guest Agent running in a guest VM.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:47:18: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
45 | let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
46 | defer {
47 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:56:28: warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
54 | )
55 | defer {
56 | try! channel.close().wait()
| `- warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Export.swift:5:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct Export: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Export VM to a compressed .tvm file")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | @Argument(help: "Source VM name.", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/FQN.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct FQN: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Get a fully-qualified VM name", shouldDisplay: false)
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Get.swift:16:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | struct Get: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(commandName: "get", abstract: "Get a VM's configuration")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | @Argument(help: "VM name.", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/IP.swift:10:27: warning: static property 'allValueStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | case dhcp, arp
9 |
10 | private(set) static var allValueStrings: [String] = Format.allCases.map { "\($0)"}
| |- warning: static property 'allValueStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allValueStrings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allValueStrings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/IP.swift:14:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct IP: AsyncParsableCommand {
14 | static var configuration = CommandConfiguration(abstract: "Get VM's IP address")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Create.swift:50:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
48 | let image = try await withCheckedThrowingContinuation { continuation in
49 | VZMacOSRestoreImage.fetchLatestSupported() { result in
50 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 | }
52 | }
[1509/1531] Compiling tart FQN.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Clone.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct Clone: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | abstract: "Clone a VM",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Create.swift:8:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | struct Create: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Create a VM")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | @Argument(help: "VM name")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Delete.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct Delete: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Delete a VM")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:12:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | struct Exec: AsyncParsableCommand {
12 | static var configuration = CommandConfiguration(abstract: "Execute a command in a running VM", discussion: """
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | Requires Tart Guest Agent running in a guest VM.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:47:18: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
45 | let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
46 | defer {
47 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:56:28: warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
54 | )
55 | defer {
56 | try! channel.close().wait()
| `- warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Export.swift:5:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct Export: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Export VM to a compressed .tvm file")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | @Argument(help: "Source VM name.", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/FQN.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct FQN: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Get a fully-qualified VM name", shouldDisplay: false)
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Get.swift:16:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | struct Get: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(commandName: "get", abstract: "Get a VM's configuration")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | @Argument(help: "VM name.", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/IP.swift:10:27: warning: static property 'allValueStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | case dhcp, arp
9 |
10 | private(set) static var allValueStrings: [String] = Format.allCases.map { "\($0)"}
| |- warning: static property 'allValueStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allValueStrings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allValueStrings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/IP.swift:14:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct IP: AsyncParsableCommand {
14 | static var configuration = CommandConfiguration(abstract: "Get VM's IP address")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Create.swift:50:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
48 | let image = try await withCheckedThrowingContinuation { continuation in
49 | VZMacOSRestoreImage.fetchLatestSupported() { result in
50 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 | }
52 | }
[1510/1531] Compiling tart Get.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Clone.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct Clone: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | abstract: "Clone a VM",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Create.swift:8:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | struct Create: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Create a VM")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | @Argument(help: "VM name")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Delete.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct Delete: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Delete a VM")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:12:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | struct Exec: AsyncParsableCommand {
12 | static var configuration = CommandConfiguration(abstract: "Execute a command in a running VM", discussion: """
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | Requires Tart Guest Agent running in a guest VM.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:47:18: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
45 | let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
46 | defer {
47 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:56:28: warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
54 | )
55 | defer {
56 | try! channel.close().wait()
| `- warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Export.swift:5:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct Export: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Export VM to a compressed .tvm file")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | @Argument(help: "Source VM name.", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/FQN.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct FQN: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Get a fully-qualified VM name", shouldDisplay: false)
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Get.swift:16:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | struct Get: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(commandName: "get", abstract: "Get a VM's configuration")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | @Argument(help: "VM name.", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/IP.swift:10:27: warning: static property 'allValueStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | case dhcp, arp
9 |
10 | private(set) static var allValueStrings: [String] = Format.allCases.map { "\($0)"}
| |- warning: static property 'allValueStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allValueStrings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allValueStrings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/IP.swift:14:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct IP: AsyncParsableCommand {
14 | static var configuration = CommandConfiguration(abstract: "Get VM's IP address")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Create.swift:50:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
48 | let image = try await withCheckedThrowingContinuation { continuation in
49 | VZMacOSRestoreImage.fetchLatestSupported() { result in
50 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 | }
52 | }
[1511/1531] Compiling tart IP.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Clone.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct Clone: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | abstract: "Clone a VM",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Create.swift:8:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | struct Create: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Create a VM")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | @Argument(help: "VM name")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Delete.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct Delete: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Delete a VM")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:12:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | struct Exec: AsyncParsableCommand {
12 | static var configuration = CommandConfiguration(abstract: "Execute a command in a running VM", discussion: """
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | Requires Tart Guest Agent running in a guest VM.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:47:18: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
45 | let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
46 | defer {
47 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Exec.swift:56:28: warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
54 | )
55 | defer {
56 | try! channel.close().wait()
| `- warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Export.swift:5:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct Export: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Export VM to a compressed .tvm file")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | @Argument(help: "Source VM name.", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/FQN.swift:6:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct FQN: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Get a fully-qualified VM name", shouldDisplay: false)
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | @Argument(help: "VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Get.swift:16:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | struct Get: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(commandName: "get", abstract: "Get a VM's configuration")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | @Argument(help: "VM name.", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/IP.swift:10:27: warning: static property 'allValueStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | case dhcp, arp
9 |
10 | private(set) static var allValueStrings: [String] = Format.allCases.map { "\($0)"}
| |- warning: static property 'allValueStrings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allValueStrings' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allValueStrings' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/IP.swift:14:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct IP: AsyncParsableCommand {
14 | static var configuration = CommandConfiguration(abstract: "Get VM's IP address")
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Create.swift:50:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
48 | let image = try await withCheckedThrowingContinuation { continuation in
49 | VZMacOSRestoreImage.fetchLatestSupported() { result in
50 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 | }
52 | }
[1512/1531] Compiling tart Term.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:221:9: warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
219 | }
220 | }, onCancel: {
221 | installer.progress.cancel()
| `- warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
222 | })
223 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZMacOSInstaller.h:86:12: note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
84 | */
85 | VZ_EXPORT API_AVAILABLE(macos(12.0))
86 | @interface VZMacOSInstaller : NSObject
| `- note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
87 |
88 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
1 | import Foundation
2 | import Virtualization
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
3 | import Semaphore
4 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| `- warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
262 | }
263 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZVirtioSocketConnection.h:18:12: note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
16 | */
17 | VZ_EXPORT API_AVAILABLE(macos(11.0))
18 | @interface VZVirtioSocketConnection : NSObject
| `- note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
19 |
20 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:386:9: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
384 |
385 | // Storage
386 | var attachment = try VZDiskImageStorageDeviceAttachment(
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
387 | url: diskURL,
388 | readOnly: false,
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:3:7: warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Virtualization
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
| `- warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | var userExplanation: String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:4:7: warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
4 | var userExplanation: String
| `- warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
5 |
6 | init(_ userExplanation: String) {
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM+Recovery.swift:12:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 | if !recovery {
11 | // just use the regular API
12 | return try await self.start()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'start()' risks causing data races between nonisolated and main actor-isolated uses
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:205:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
140 |
141 | #if arch(arm64)
142 | init(
| |- note: access can happen concurrently
| |- note: access can happen concurrently
| `- note: access can happen concurrently
143 | vmDir: VMDirectory,
144 | ipswURL: URL,
:
203 |
204 | // Run automated installation
205 | try await install(ipswURL)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'install' risks causing data races between main actor-isolated and local nonisolated uses
206 | }
| `- note: access can happen concurrently
207 |
208 | @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:166:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
164 | let image = try await withCheckedThrowingContinuation { continuation in
165 | VZMacOSRestoreImage.load(from: ipswURL) { result in
166 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:295:30: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
293 | @MainActor
294 | private func resume() async throws {
295 | try await virtualMachine.resume()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'resume()' risks causing data races between nonisolated and main actor-isolated uses
296 | }
297 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:287:32: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
285 | let startOptions = VZMacOSVirtualMachineStartOptions()
286 | startOptions.startUpFromMacOSRecovery = recovery
287 | try await virtualMachine.start(options: startOptions)
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'start(options:)' risks causing data races between nonisolated and main actor-isolated uses
288 | #else
289 | try await virtualMachine.start()
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| |- warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'virtioSocketDevice' to nonisolated instance method 'connect(toPort:)' risks causing data races between nonisolated and main actor-isolated uses
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:300:35: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
298 | @MainActor
299 | private func stop() async throws {
300 | try await self.virtualMachine.stop()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'stop()' risks causing data races between nonisolated and main actor-isolated uses
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:275:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
273 | if (self.virtualMachine.state == VZVirtualMachine.State.running) {
274 | print("Stopping VM...")
275 | try await stop()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'stop()' risks causing data races between main actor-isolated and local nonisolated uses
276 | }
277 | }
278 |
279 | try await network.stop()
| `- note: access can happen concurrently
280 | }
281 |
[1513/1531] Compiling tart URL+AccessDate.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:221:9: warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
219 | }
220 | }, onCancel: {
221 | installer.progress.cancel()
| `- warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
222 | })
223 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZMacOSInstaller.h:86:12: note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
84 | */
85 | VZ_EXPORT API_AVAILABLE(macos(12.0))
86 | @interface VZMacOSInstaller : NSObject
| `- note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
87 |
88 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
1 | import Foundation
2 | import Virtualization
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
3 | import Semaphore
4 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| `- warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
262 | }
263 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZVirtioSocketConnection.h:18:12: note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
16 | */
17 | VZ_EXPORT API_AVAILABLE(macos(11.0))
18 | @interface VZVirtioSocketConnection : NSObject
| `- note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
19 |
20 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:386:9: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
384 |
385 | // Storage
386 | var attachment = try VZDiskImageStorageDeviceAttachment(
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
387 | url: diskURL,
388 | readOnly: false,
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:3:7: warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Virtualization
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
| `- warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | var userExplanation: String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:4:7: warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
4 | var userExplanation: String
| `- warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
5 |
6 | init(_ userExplanation: String) {
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM+Recovery.swift:12:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 | if !recovery {
11 | // just use the regular API
12 | return try await self.start()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'start()' risks causing data races between nonisolated and main actor-isolated uses
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:205:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
140 |
141 | #if arch(arm64)
142 | init(
| |- note: access can happen concurrently
| |- note: access can happen concurrently
| `- note: access can happen concurrently
143 | vmDir: VMDirectory,
144 | ipswURL: URL,
:
203 |
204 | // Run automated installation
205 | try await install(ipswURL)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'install' risks causing data races between main actor-isolated and local nonisolated uses
206 | }
| `- note: access can happen concurrently
207 |
208 | @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:166:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
164 | let image = try await withCheckedThrowingContinuation { continuation in
165 | VZMacOSRestoreImage.load(from: ipswURL) { result in
166 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:295:30: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
293 | @MainActor
294 | private func resume() async throws {
295 | try await virtualMachine.resume()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'resume()' risks causing data races between nonisolated and main actor-isolated uses
296 | }
297 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:287:32: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
285 | let startOptions = VZMacOSVirtualMachineStartOptions()
286 | startOptions.startUpFromMacOSRecovery = recovery
287 | try await virtualMachine.start(options: startOptions)
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'start(options:)' risks causing data races between nonisolated and main actor-isolated uses
288 | #else
289 | try await virtualMachine.start()
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| |- warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'virtioSocketDevice' to nonisolated instance method 'connect(toPort:)' risks causing data races between nonisolated and main actor-isolated uses
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:300:35: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
298 | @MainActor
299 | private func stop() async throws {
300 | try await self.virtualMachine.stop()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'stop()' risks causing data races between nonisolated and main actor-isolated uses
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:275:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
273 | if (self.virtualMachine.state == VZVirtualMachine.State.running) {
274 | print("Stopping VM...")
275 | try await stop()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'stop()' risks causing data races between main actor-isolated and local nonisolated uses
276 | }
277 | }
278 |
279 | try await network.stop()
| `- note: access can happen concurrently
280 | }
281 |
[1514/1531] Compiling tart URL+Prunable.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:221:9: warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
219 | }
220 | }, onCancel: {
221 | installer.progress.cancel()
| `- warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
222 | })
223 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZMacOSInstaller.h:86:12: note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
84 | */
85 | VZ_EXPORT API_AVAILABLE(macos(12.0))
86 | @interface VZMacOSInstaller : NSObject
| `- note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
87 |
88 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
1 | import Foundation
2 | import Virtualization
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
3 | import Semaphore
4 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| `- warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
262 | }
263 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZVirtioSocketConnection.h:18:12: note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
16 | */
17 | VZ_EXPORT API_AVAILABLE(macos(11.0))
18 | @interface VZVirtioSocketConnection : NSObject
| `- note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
19 |
20 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:386:9: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
384 |
385 | // Storage
386 | var attachment = try VZDiskImageStorageDeviceAttachment(
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
387 | url: diskURL,
388 | readOnly: false,
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:3:7: warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Virtualization
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
| `- warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | var userExplanation: String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:4:7: warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
4 | var userExplanation: String
| `- warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
5 |
6 | init(_ userExplanation: String) {
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM+Recovery.swift:12:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 | if !recovery {
11 | // just use the regular API
12 | return try await self.start()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'start()' risks causing data races between nonisolated and main actor-isolated uses
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:205:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
140 |
141 | #if arch(arm64)
142 | init(
| |- note: access can happen concurrently
| |- note: access can happen concurrently
| `- note: access can happen concurrently
143 | vmDir: VMDirectory,
144 | ipswURL: URL,
:
203 |
204 | // Run automated installation
205 | try await install(ipswURL)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'install' risks causing data races between main actor-isolated and local nonisolated uses
206 | }
| `- note: access can happen concurrently
207 |
208 | @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:166:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
164 | let image = try await withCheckedThrowingContinuation { continuation in
165 | VZMacOSRestoreImage.load(from: ipswURL) { result in
166 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:295:30: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
293 | @MainActor
294 | private func resume() async throws {
295 | try await virtualMachine.resume()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'resume()' risks causing data races between nonisolated and main actor-isolated uses
296 | }
297 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:287:32: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
285 | let startOptions = VZMacOSVirtualMachineStartOptions()
286 | startOptions.startUpFromMacOSRecovery = recovery
287 | try await virtualMachine.start(options: startOptions)
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'start(options:)' risks causing data races between nonisolated and main actor-isolated uses
288 | #else
289 | try await virtualMachine.start()
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| |- warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'virtioSocketDevice' to nonisolated instance method 'connect(toPort:)' risks causing data races between nonisolated and main actor-isolated uses
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:300:35: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
298 | @MainActor
299 | private func stop() async throws {
300 | try await self.virtualMachine.stop()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'stop()' risks causing data races between nonisolated and main actor-isolated uses
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:275:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
273 | if (self.virtualMachine.state == VZVirtualMachine.State.running) {
274 | print("Stopping VM...")
275 | try await stop()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'stop()' risks causing data races between main actor-isolated and local nonisolated uses
276 | }
277 | }
278 |
279 | try await network.stop()
| `- note: access can happen concurrently
280 | }
281 |
[1515/1531] Compiling tart Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:221:9: warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
219 | }
220 | }, onCancel: {
221 | installer.progress.cancel()
| `- warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
222 | })
223 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZMacOSInstaller.h:86:12: note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
84 | */
85 | VZ_EXPORT API_AVAILABLE(macos(12.0))
86 | @interface VZMacOSInstaller : NSObject
| `- note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
87 |
88 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
1 | import Foundation
2 | import Virtualization
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
3 | import Semaphore
4 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| `- warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
262 | }
263 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZVirtioSocketConnection.h:18:12: note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
16 | */
17 | VZ_EXPORT API_AVAILABLE(macos(11.0))
18 | @interface VZVirtioSocketConnection : NSObject
| `- note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
19 |
20 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:386:9: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
384 |
385 | // Storage
386 | var attachment = try VZDiskImageStorageDeviceAttachment(
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
387 | url: diskURL,
388 | readOnly: false,
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:3:7: warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Virtualization
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
| `- warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | var userExplanation: String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:4:7: warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
4 | var userExplanation: String
| `- warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
5 |
6 | init(_ userExplanation: String) {
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM+Recovery.swift:12:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 | if !recovery {
11 | // just use the regular API
12 | return try await self.start()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'start()' risks causing data races between nonisolated and main actor-isolated uses
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:205:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
140 |
141 | #if arch(arm64)
142 | init(
| |- note: access can happen concurrently
| |- note: access can happen concurrently
| `- note: access can happen concurrently
143 | vmDir: VMDirectory,
144 | ipswURL: URL,
:
203 |
204 | // Run automated installation
205 | try await install(ipswURL)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'install' risks causing data races between main actor-isolated and local nonisolated uses
206 | }
| `- note: access can happen concurrently
207 |
208 | @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:166:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
164 | let image = try await withCheckedThrowingContinuation { continuation in
165 | VZMacOSRestoreImage.load(from: ipswURL) { result in
166 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:295:30: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
293 | @MainActor
294 | private func resume() async throws {
295 | try await virtualMachine.resume()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'resume()' risks causing data races between nonisolated and main actor-isolated uses
296 | }
297 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:287:32: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
285 | let startOptions = VZMacOSVirtualMachineStartOptions()
286 | startOptions.startUpFromMacOSRecovery = recovery
287 | try await virtualMachine.start(options: startOptions)
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'start(options:)' risks causing data races between nonisolated and main actor-isolated uses
288 | #else
289 | try await virtualMachine.start()
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| |- warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'virtioSocketDevice' to nonisolated instance method 'connect(toPort:)' risks causing data races between nonisolated and main actor-isolated uses
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:300:35: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
298 | @MainActor
299 | private func stop() async throws {
300 | try await self.virtualMachine.stop()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'stop()' risks causing data races between nonisolated and main actor-isolated uses
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:275:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
273 | if (self.virtualMachine.state == VZVirtualMachine.State.running) {
274 | print("Stopping VM...")
275 | try await stop()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'stop()' risks causing data races between main actor-isolated and local nonisolated uses
276 | }
277 | }
278 |
279 | try await network.stop()
| `- note: access can happen concurrently
280 | }
281 |
[1516/1531] Compiling tart VM+Recovery.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:221:9: warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
219 | }
220 | }, onCancel: {
221 | installer.progress.cancel()
| `- warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
222 | })
223 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZMacOSInstaller.h:86:12: note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
84 | */
85 | VZ_EXPORT API_AVAILABLE(macos(12.0))
86 | @interface VZMacOSInstaller : NSObject
| `- note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
87 |
88 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
1 | import Foundation
2 | import Virtualization
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
3 | import Semaphore
4 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| `- warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
262 | }
263 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZVirtioSocketConnection.h:18:12: note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
16 | */
17 | VZ_EXPORT API_AVAILABLE(macos(11.0))
18 | @interface VZVirtioSocketConnection : NSObject
| `- note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
19 |
20 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:386:9: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
384 |
385 | // Storage
386 | var attachment = try VZDiskImageStorageDeviceAttachment(
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
387 | url: diskURL,
388 | readOnly: false,
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:3:7: warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Virtualization
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
| `- warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | var userExplanation: String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:4:7: warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
4 | var userExplanation: String
| `- warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
5 |
6 | init(_ userExplanation: String) {
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM+Recovery.swift:12:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 | if !recovery {
11 | // just use the regular API
12 | return try await self.start()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'start()' risks causing data races between nonisolated and main actor-isolated uses
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:205:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
140 |
141 | #if arch(arm64)
142 | init(
| |- note: access can happen concurrently
| |- note: access can happen concurrently
| `- note: access can happen concurrently
143 | vmDir: VMDirectory,
144 | ipswURL: URL,
:
203 |
204 | // Run automated installation
205 | try await install(ipswURL)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'install' risks causing data races between main actor-isolated and local nonisolated uses
206 | }
| `- note: access can happen concurrently
207 |
208 | @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:166:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
164 | let image = try await withCheckedThrowingContinuation { continuation in
165 | VZMacOSRestoreImage.load(from: ipswURL) { result in
166 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:295:30: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
293 | @MainActor
294 | private func resume() async throws {
295 | try await virtualMachine.resume()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'resume()' risks causing data races between nonisolated and main actor-isolated uses
296 | }
297 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:287:32: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
285 | let startOptions = VZMacOSVirtualMachineStartOptions()
286 | startOptions.startUpFromMacOSRecovery = recovery
287 | try await virtualMachine.start(options: startOptions)
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'start(options:)' risks causing data races between nonisolated and main actor-isolated uses
288 | #else
289 | try await virtualMachine.start()
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| |- warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'virtioSocketDevice' to nonisolated instance method 'connect(toPort:)' risks causing data races between nonisolated and main actor-isolated uses
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:300:35: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
298 | @MainActor
299 | private func stop() async throws {
300 | try await self.virtualMachine.stop()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'stop()' risks causing data races between nonisolated and main actor-isolated uses
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:275:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
273 | if (self.virtualMachine.state == VZVirtualMachine.State.running) {
274 | print("Stopping VM...")
275 | try await stop()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'stop()' risks causing data races between main actor-isolated and local nonisolated uses
276 | }
277 | }
278 |
279 | try await network.stop()
| `- note: access can happen concurrently
280 | }
281 |
[1517/1531] Compiling tart VM.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:221:9: warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
219 | }
220 | }, onCancel: {
221 | installer.progress.cancel()
| `- warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
222 | })
223 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZMacOSInstaller.h:86:12: note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
84 | */
85 | VZ_EXPORT API_AVAILABLE(macos(12.0))
86 | @interface VZMacOSInstaller : NSObject
| `- note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
87 |
88 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
1 | import Foundation
2 | import Virtualization
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
3 | import Semaphore
4 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| `- warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
262 | }
263 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZVirtioSocketConnection.h:18:12: note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
16 | */
17 | VZ_EXPORT API_AVAILABLE(macos(11.0))
18 | @interface VZVirtioSocketConnection : NSObject
| `- note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
19 |
20 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:386:9: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
384 |
385 | // Storage
386 | var attachment = try VZDiskImageStorageDeviceAttachment(
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
387 | url: diskURL,
388 | readOnly: false,
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:3:7: warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Virtualization
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
| `- warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | var userExplanation: String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:4:7: warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
4 | var userExplanation: String
| `- warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
5 |
6 | init(_ userExplanation: String) {
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM+Recovery.swift:12:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 | if !recovery {
11 | // just use the regular API
12 | return try await self.start()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'start()' risks causing data races between nonisolated and main actor-isolated uses
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:205:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
140 |
141 | #if arch(arm64)
142 | init(
| |- note: access can happen concurrently
| |- note: access can happen concurrently
| `- note: access can happen concurrently
143 | vmDir: VMDirectory,
144 | ipswURL: URL,
:
203 |
204 | // Run automated installation
205 | try await install(ipswURL)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'install' risks causing data races between main actor-isolated and local nonisolated uses
206 | }
| `- note: access can happen concurrently
207 |
208 | @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:166:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
164 | let image = try await withCheckedThrowingContinuation { continuation in
165 | VZMacOSRestoreImage.load(from: ipswURL) { result in
166 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:295:30: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
293 | @MainActor
294 | private func resume() async throws {
295 | try await virtualMachine.resume()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'resume()' risks causing data races between nonisolated and main actor-isolated uses
296 | }
297 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:287:32: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
285 | let startOptions = VZMacOSVirtualMachineStartOptions()
286 | startOptions.startUpFromMacOSRecovery = recovery
287 | try await virtualMachine.start(options: startOptions)
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'start(options:)' risks causing data races between nonisolated and main actor-isolated uses
288 | #else
289 | try await virtualMachine.start()
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| |- warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'virtioSocketDevice' to nonisolated instance method 'connect(toPort:)' risks causing data races between nonisolated and main actor-isolated uses
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:300:35: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
298 | @MainActor
299 | private func stop() async throws {
300 | try await self.virtualMachine.stop()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'stop()' risks causing data races between nonisolated and main actor-isolated uses
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:275:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
273 | if (self.virtualMachine.state == VZVirtualMachine.State.running) {
274 | print("Stopping VM...")
275 | try await stop()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'stop()' risks causing data races between main actor-isolated and local nonisolated uses
276 | }
277 | }
278 |
279 | try await network.stop()
| `- note: access can happen concurrently
280 | }
281 |
[1518/1531] Compiling tart VMConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:221:9: warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
219 | }
220 | }, onCancel: {
221 | installer.progress.cancel()
| `- warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
222 | })
223 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZMacOSInstaller.h:86:12: note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
84 | */
85 | VZ_EXPORT API_AVAILABLE(macos(12.0))
86 | @interface VZMacOSInstaller : NSObject
| `- note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
87 |
88 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
1 | import Foundation
2 | import Virtualization
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
3 | import Semaphore
4 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| `- warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
262 | }
263 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZVirtioSocketConnection.h:18:12: note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
16 | */
17 | VZ_EXPORT API_AVAILABLE(macos(11.0))
18 | @interface VZVirtioSocketConnection : NSObject
| `- note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
19 |
20 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:386:9: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
384 |
385 | // Storage
386 | var attachment = try VZDiskImageStorageDeviceAttachment(
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
387 | url: diskURL,
388 | readOnly: false,
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:3:7: warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Virtualization
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
| `- warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | var userExplanation: String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:4:7: warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
4 | var userExplanation: String
| `- warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
5 |
6 | init(_ userExplanation: String) {
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM+Recovery.swift:12:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 | if !recovery {
11 | // just use the regular API
12 | return try await self.start()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'start()' risks causing data races between nonisolated and main actor-isolated uses
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:205:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
140 |
141 | #if arch(arm64)
142 | init(
| |- note: access can happen concurrently
| |- note: access can happen concurrently
| `- note: access can happen concurrently
143 | vmDir: VMDirectory,
144 | ipswURL: URL,
:
203 |
204 | // Run automated installation
205 | try await install(ipswURL)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'install' risks causing data races between main actor-isolated and local nonisolated uses
206 | }
| `- note: access can happen concurrently
207 |
208 | @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:166:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
164 | let image = try await withCheckedThrowingContinuation { continuation in
165 | VZMacOSRestoreImage.load(from: ipswURL) { result in
166 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:295:30: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
293 | @MainActor
294 | private func resume() async throws {
295 | try await virtualMachine.resume()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'resume()' risks causing data races between nonisolated and main actor-isolated uses
296 | }
297 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:287:32: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
285 | let startOptions = VZMacOSVirtualMachineStartOptions()
286 | startOptions.startUpFromMacOSRecovery = recovery
287 | try await virtualMachine.start(options: startOptions)
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'start(options:)' risks causing data races between nonisolated and main actor-isolated uses
288 | #else
289 | try await virtualMachine.start()
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| |- warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'virtioSocketDevice' to nonisolated instance method 'connect(toPort:)' risks causing data races between nonisolated and main actor-isolated uses
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:300:35: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
298 | @MainActor
299 | private func stop() async throws {
300 | try await self.virtualMachine.stop()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'stop()' risks causing data races between nonisolated and main actor-isolated uses
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:275:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
273 | if (self.virtualMachine.state == VZVirtualMachine.State.running) {
274 | print("Stopping VM...")
275 | try await stop()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'stop()' risks causing data races between main actor-isolated and local nonisolated uses
276 | }
277 | }
278 |
279 | try await network.stop()
| `- note: access can happen concurrently
280 | }
281 |
[1519/1531] Compiling tart VMDirectory+Archive.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:221:9: warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
219 | }
220 | }, onCancel: {
221 | installer.progress.cancel()
| `- warning: capture of 'installer' with non-sendable type 'VZMacOSInstaller' in a '@Sendable' closure; this is an error in the Swift 6 language mode
222 | })
223 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZMacOSInstaller.h:86:12: note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
84 | */
85 | VZ_EXPORT API_AVAILABLE(macos(12.0))
86 | @interface VZMacOSInstaller : NSObject
| `- note: class 'VZMacOSInstaller' does not conform to the 'Sendable' protocol
87 |
88 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
1 | import Foundation
2 | import Virtualization
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Virtualization'
3 | import Semaphore
4 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| `- warning: non-sendable result type 'VZVirtioSocketConnection' cannot be sent from nonisolated context in call to instance method 'connect(toPort:)'; this is an error in the Swift 6 language mode
262 | }
263 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Virtualization.framework/Headers/VZVirtioSocketConnection.h:18:12: note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
16 | */
17 | VZ_EXPORT API_AVAILABLE(macos(11.0))
18 | @interface VZVirtioSocketConnection : NSObject
| `- note: class 'VZVirtioSocketConnection' does not conform to the 'Sendable' protocol
19 |
20 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:386:9: warning: variable 'attachment' was never mutated; consider changing to 'let' constant
384 |
385 | // Storage
386 | var attachment = try VZDiskImageStorageDeviceAttachment(
| `- warning: variable 'attachment' was never mutated; consider changing to 'let' constant
387 | url: diskURL,
388 | readOnly: false,
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:3:7: warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
1 | import Virtualization
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
| `- warning: non-final class 'LessThanMinimalResourcesError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
4 | var userExplanation: String
5 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VMConfig.swift:4:7: warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
2 |
3 | class LessThanMinimalResourcesError: NSObject, LocalizedError {
4 | var userExplanation: String
| `- warning: stored property 'userExplanation' of 'Sendable'-conforming class 'LessThanMinimalResourcesError' is mutable; this is an error in the Swift 6 language mode
5 |
6 | init(_ userExplanation: String) {
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM+Recovery.swift:12:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 | if !recovery {
11 | // just use the regular API
12 | return try await self.start()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'start()' risks causing data races between nonisolated and main actor-isolated uses
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:205:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
140 |
141 | #if arch(arm64)
142 | init(
| |- note: access can happen concurrently
| |- note: access can happen concurrently
| `- note: access can happen concurrently
143 | vmDir: VMDirectory,
144 | ipswURL: URL,
:
203 |
204 | // Run automated installation
205 | try await install(ipswURL)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'install' risks causing data races between main actor-isolated and local nonisolated uses
206 | }
| `- note: access can happen concurrently
207 |
208 | @MainActor
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:166:24: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
164 | let image = try await withCheckedThrowingContinuation { continuation in
165 | VZMacOSRestoreImage.load(from: ipswURL) { result in
166 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:295:30: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
293 | @MainActor
294 | private func resume() async throws {
295 | try await virtualMachine.resume()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'resume()' risks causing data races between nonisolated and main actor-isolated uses
296 | }
297 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:287:32: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
285 | let startOptions = VZMacOSVirtualMachineStartOptions()
286 | startOptions.startUpFromMacOSRecovery = recovery
287 | try await virtualMachine.start(options: startOptions)
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'start(options:)' risks causing data races between nonisolated and main actor-isolated uses
288 | #else
289 | try await virtualMachine.start()
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:261:41: warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
259 | }
260 |
261 | return try await virtioSocketDevice.connect(toPort: toPort)
| |- warning: sending 'virtioSocketDevice' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'virtioSocketDevice' to nonisolated instance method 'connect(toPort:)' risks causing data races between nonisolated and main actor-isolated uses
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:300:35: warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
298 | @MainActor
299 | private func stop() async throws {
300 | try await self.virtualMachine.stop()
| |- warning: sending 'self.virtualMachine' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.virtualMachine' to nonisolated instance method 'stop()' risks causing data races between nonisolated and main actor-isolated uses
301 | }
302 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/VM.swift:275:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
273 | if (self.virtualMachine.state == VZVirtualMachine.State.running) {
274 | print("Stopping VM...")
275 | try await stop()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to main actor-isolated instance method 'stop()' risks causing data races between main actor-isolated and local nonisolated uses
276 | }
277 | }
278 |
279 | try await network.stop()
| `- note: access can happen concurrently
280 | }
281 |
[1520/1531] Compiling tart ReferenceListener.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:6:22: warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | open class ReferenceParser: Parser {
5 |
6 | internal static var _decisionToDFA: [DFA] = {
| |- warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_decisionToDFA' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_decisionToDFA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | var decisionToDFA = [DFA]()
8 | let length = ReferenceParser._ATN.getNumberOfDecisions()
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:15:22: warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| `- warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/PredictionContextCache.swift:14:20: note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public final class PredictionContextCache {
| `- note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
15 | private var cache = [PredictionContext: PredictionContext]()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
1 | // Generated from Reference.g4 by ANTLR 4.13.2
2 | import Antlr4
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
3 |
4 | open class ReferenceParser: Parser {
:
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| |- note: add '@MainActor' to make static property '_sharedContextCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:41:13: warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
39 | ]
40 | public
41 | static let VOCABULARY = Vocabulary(_LITERAL_NAMES, _SYMBOLIC_NAMES)
| |- warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | override open
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:14:14: note: class 'Vocabulary' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:798:13: warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
796 |
797 | public
798 | static let _ATN = try! ATNDeserializer().deserialize(_serializedATN)
| |- warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '_ATN' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
799 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/ATN.swift:8:14: note: class 'ATN' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class ATN {
| `- note: class 'ATN' does not conform to the 'Sendable' protocol
9 | public static let INVALID_ALT_NUMBER = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Registry.swift:77:14: warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
75 | let dateString = try container.decode(String.self)
76 |
77 | return dateFormatter.date(from: dateString) ?? Date()
| `- warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[1521/1531] Compiling tart ReferenceParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:6:22: warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | open class ReferenceParser: Parser {
5 |
6 | internal static var _decisionToDFA: [DFA] = {
| |- warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_decisionToDFA' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_decisionToDFA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | var decisionToDFA = [DFA]()
8 | let length = ReferenceParser._ATN.getNumberOfDecisions()
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:15:22: warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| `- warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/PredictionContextCache.swift:14:20: note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public final class PredictionContextCache {
| `- note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
15 | private var cache = [PredictionContext: PredictionContext]()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
1 | // Generated from Reference.g4 by ANTLR 4.13.2
2 | import Antlr4
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
3 |
4 | open class ReferenceParser: Parser {
:
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| |- note: add '@MainActor' to make static property '_sharedContextCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:41:13: warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
39 | ]
40 | public
41 | static let VOCABULARY = Vocabulary(_LITERAL_NAMES, _SYMBOLIC_NAMES)
| |- warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | override open
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:14:14: note: class 'Vocabulary' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:798:13: warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
796 |
797 | public
798 | static let _ATN = try! ATNDeserializer().deserialize(_serializedATN)
| |- warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '_ATN' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
799 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/ATN.swift:8:14: note: class 'ATN' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class ATN {
| `- note: class 'ATN' does not conform to the 'Sendable' protocol
9 | public static let INVALID_ALT_NUMBER = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Registry.swift:77:14: warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
75 | let dateString = try container.decode(String.self)
76 |
77 | return dateFormatter.date(from: dateString) ?? Date()
| `- warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[1522/1531] Compiling tart Registry.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:6:22: warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | open class ReferenceParser: Parser {
5 |
6 | internal static var _decisionToDFA: [DFA] = {
| |- warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_decisionToDFA' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_decisionToDFA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | var decisionToDFA = [DFA]()
8 | let length = ReferenceParser._ATN.getNumberOfDecisions()
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:15:22: warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| `- warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/PredictionContextCache.swift:14:20: note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public final class PredictionContextCache {
| `- note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
15 | private var cache = [PredictionContext: PredictionContext]()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
1 | // Generated from Reference.g4 by ANTLR 4.13.2
2 | import Antlr4
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
3 |
4 | open class ReferenceParser: Parser {
:
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| |- note: add '@MainActor' to make static property '_sharedContextCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:41:13: warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
39 | ]
40 | public
41 | static let VOCABULARY = Vocabulary(_LITERAL_NAMES, _SYMBOLIC_NAMES)
| |- warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | override open
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:14:14: note: class 'Vocabulary' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:798:13: warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
796 |
797 | public
798 | static let _ATN = try! ATNDeserializer().deserialize(_serializedATN)
| |- warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '_ATN' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
799 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/ATN.swift:8:14: note: class 'ATN' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class ATN {
| `- note: class 'ATN' does not conform to the 'Sendable' protocol
9 | public static let INVALID_ALT_NUMBER = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Registry.swift:77:14: warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
75 | let dateString = try container.decode(String.self)
76 |
77 | return dateFormatter.date(from: dateString) ?? Date()
| `- warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[1523/1531] Compiling tart RemoteName.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:6:22: warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | open class ReferenceParser: Parser {
5 |
6 | internal static var _decisionToDFA: [DFA] = {
| |- warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_decisionToDFA' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_decisionToDFA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | var decisionToDFA = [DFA]()
8 | let length = ReferenceParser._ATN.getNumberOfDecisions()
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:15:22: warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| `- warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/PredictionContextCache.swift:14:20: note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public final class PredictionContextCache {
| `- note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
15 | private var cache = [PredictionContext: PredictionContext]()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
1 | // Generated from Reference.g4 by ANTLR 4.13.2
2 | import Antlr4
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
3 |
4 | open class ReferenceParser: Parser {
:
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| |- note: add '@MainActor' to make static property '_sharedContextCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:41:13: warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
39 | ]
40 | public
41 | static let VOCABULARY = Vocabulary(_LITERAL_NAMES, _SYMBOLIC_NAMES)
| |- warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | override open
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:14:14: note: class 'Vocabulary' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:798:13: warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
796 |
797 | public
798 | static let _ATN = try! ATNDeserializer().deserialize(_serializedATN)
| |- warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '_ATN' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
799 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/ATN.swift:8:14: note: class 'ATN' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class ATN {
| `- note: class 'ATN' does not conform to the 'Sendable' protocol
9 | public static let INVALID_ALT_NUMBER = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Registry.swift:77:14: warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
75 | let dateString = try container.decode(String.self)
76 |
77 | return dateFormatter.date(from: dateString) ?? Date()
| `- warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[1524/1531] Compiling tart URL+Absolutize.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:6:22: warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | open class ReferenceParser: Parser {
5 |
6 | internal static var _decisionToDFA: [DFA] = {
| |- warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_decisionToDFA' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_decisionToDFA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | var decisionToDFA = [DFA]()
8 | let length = ReferenceParser._ATN.getNumberOfDecisions()
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:15:22: warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| `- warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/PredictionContextCache.swift:14:20: note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public final class PredictionContextCache {
| `- note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
15 | private var cache = [PredictionContext: PredictionContext]()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
1 | // Generated from Reference.g4 by ANTLR 4.13.2
2 | import Antlr4
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
3 |
4 | open class ReferenceParser: Parser {
:
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| |- note: add '@MainActor' to make static property '_sharedContextCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:41:13: warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
39 | ]
40 | public
41 | static let VOCABULARY = Vocabulary(_LITERAL_NAMES, _SYMBOLIC_NAMES)
| |- warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | override open
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:14:14: note: class 'Vocabulary' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:798:13: warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
796 |
797 | public
798 | static let _ATN = try! ATNDeserializer().deserialize(_serializedATN)
| |- warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '_ATN' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
799 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/ATN.swift:8:14: note: class 'ATN' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class ATN {
| `- note: class 'ATN' does not conform to the 'Sendable' protocol
9 | public static let INVALID_ALT_NUMBER = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Registry.swift:77:14: warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
75 | let dateString = try container.decode(String.self)
76 |
77 | return dateFormatter.date(from: dateString) ?? Date()
| `- warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[1525/1531] Compiling tart WWWAuthenticate.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:6:22: warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | open class ReferenceParser: Parser {
5 |
6 | internal static var _decisionToDFA: [DFA] = {
| |- warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_decisionToDFA' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_decisionToDFA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | var decisionToDFA = [DFA]()
8 | let length = ReferenceParser._ATN.getNumberOfDecisions()
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:15:22: warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| `- warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/PredictionContextCache.swift:14:20: note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public final class PredictionContextCache {
| `- note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
15 | private var cache = [PredictionContext: PredictionContext]()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
1 | // Generated from Reference.g4 by ANTLR 4.13.2
2 | import Antlr4
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
3 |
4 | open class ReferenceParser: Parser {
:
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| |- note: add '@MainActor' to make static property '_sharedContextCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:41:13: warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
39 | ]
40 | public
41 | static let VOCABULARY = Vocabulary(_LITERAL_NAMES, _SYMBOLIC_NAMES)
| |- warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | override open
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:14:14: note: class 'Vocabulary' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:798:13: warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
796 |
797 | public
798 | static let _ATN = try! ATNDeserializer().deserialize(_serializedATN)
| |- warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '_ATN' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
799 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/ATN.swift:8:14: note: class 'ATN' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class ATN {
| `- note: class 'ATN' does not conform to the 'Sendable' protocol
9 | public static let INVALID_ALT_NUMBER = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Registry.swift:77:14: warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
75 | let dateString = try container.decode(String.self)
76 |
77 | return dateFormatter.date(from: dateString) ?? Date()
| `- warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[1526/1531] Compiling tart PIDLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:6:22: warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | open class ReferenceParser: Parser {
5 |
6 | internal static var _decisionToDFA: [DFA] = {
| |- warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_decisionToDFA' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_decisionToDFA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | var decisionToDFA = [DFA]()
8 | let length = ReferenceParser._ATN.getNumberOfDecisions()
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:15:22: warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| `- warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/PredictionContextCache.swift:14:20: note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public final class PredictionContextCache {
| `- note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
15 | private var cache = [PredictionContext: PredictionContext]()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
1 | // Generated from Reference.g4 by ANTLR 4.13.2
2 | import Antlr4
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
3 |
4 | open class ReferenceParser: Parser {
:
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| |- note: add '@MainActor' to make static property '_sharedContextCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:41:13: warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
39 | ]
40 | public
41 | static let VOCABULARY = Vocabulary(_LITERAL_NAMES, _SYMBOLIC_NAMES)
| |- warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | override open
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:14:14: note: class 'Vocabulary' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:798:13: warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
796 |
797 | public
798 | static let _ATN = try! ATNDeserializer().deserialize(_serializedATN)
| |- warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '_ATN' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
799 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/ATN.swift:8:14: note: class 'ATN' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class ATN {
| `- note: class 'ATN' does not conform to the 'Sendable' protocol
9 | public static let INVALID_ALT_NUMBER = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Registry.swift:77:14: warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
75 | let dateString = try container.decode(String.self)
76 |
77 | return dateFormatter.date(from: dateString) ?? Date()
| `- warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[1527/1531] Compiling tart PassphraseGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:6:22: warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | open class ReferenceParser: Parser {
5 |
6 | internal static var _decisionToDFA: [DFA] = {
| |- warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_decisionToDFA' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_decisionToDFA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | var decisionToDFA = [DFA]()
8 | let length = ReferenceParser._ATN.getNumberOfDecisions()
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:15:22: warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| `- warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/PredictionContextCache.swift:14:20: note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public final class PredictionContextCache {
| `- note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
15 | private var cache = [PredictionContext: PredictionContext]()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
1 | // Generated from Reference.g4 by ANTLR 4.13.2
2 | import Antlr4
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
3 |
4 | open class ReferenceParser: Parser {
:
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| |- note: add '@MainActor' to make static property '_sharedContextCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:41:13: warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
39 | ]
40 | public
41 | static let VOCABULARY = Vocabulary(_LITERAL_NAMES, _SYMBOLIC_NAMES)
| |- warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | override open
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:14:14: note: class 'Vocabulary' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:798:13: warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
796 |
797 | public
798 | static let _ATN = try! ATNDeserializer().deserialize(_serializedATN)
| |- warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '_ATN' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
799 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/ATN.swift:8:14: note: class 'ATN' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class ATN {
| `- note: class 'ATN' does not conform to the 'Sendable' protocol
9 | public static let INVALID_ALT_NUMBER = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Registry.swift:77:14: warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
75 | let dateString = try container.decode(String.self)
76 |
77 | return dateFormatter.date(from: dateString) ?? Date()
| `- warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[1528/1531] Compiling tart Words.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:6:22: warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | open class ReferenceParser: Parser {
5 |
6 | internal static var _decisionToDFA: [DFA] = {
| |- warning: static property '_decisionToDFA' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_decisionToDFA' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_decisionToDFA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | var decisionToDFA = [DFA]()
8 | let length = ReferenceParser._ATN.getNumberOfDecisions()
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:15:22: warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| `- warning: static property '_sharedContextCache' is not concurrency-safe because non-'Sendable' type 'PredictionContextCache' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/PredictionContextCache.swift:14:20: note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public final class PredictionContextCache {
| `- note: class 'PredictionContextCache' does not conform to the 'Sendable' protocol
15 | private var cache = [PredictionContext: PredictionContext]()
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
1 | // Generated from Reference.g4 by ANTLR 4.13.2
2 | import Antlr4
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Antlr4'
3 |
4 | open class ReferenceParser: Parser {
:
13 | }()
14 |
15 | internal static let _sharedContextCache = PredictionContextCache()
| |- note: add '@MainActor' to make static property '_sharedContextCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:41:13: warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
39 | ]
40 | public
41 | static let VOCABULARY = Vocabulary(_LITERAL_NAMES, _SYMBOLIC_NAMES)
| |- warning: static property 'VOCABULARY' is not concurrency-safe because non-'Sendable' type 'Vocabulary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'VOCABULARY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | override open
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/VocabularySingle.swift:14:14: note: class 'Vocabulary' does not conform to the 'Sendable' protocol
12 | ///
13 |
14 | public class Vocabulary: Hashable {
| `- note: class 'Vocabulary' does not conform to the 'Sendable' protocol
15 | private static let EMPTY_NAMES: [String?] = [String?](repeating: "", count: 1)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Reference/Generated/ReferenceParser.swift:798:13: warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
796 |
797 | public
798 | static let _ATN = try! ATNDeserializer().deserialize(_serializedATN)
| |- warning: static property '_ATN' is not concurrency-safe because non-'Sendable' type 'ATN' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property '_ATN' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
799 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/antlr4/runtime/Swift/Sources/Antlr4/atn/ATN.swift:8:14: note: class 'ATN' does not conform to the 'Sendable' protocol
6 |
7 |
8 | public class ATN {
| `- note: class 'ATN' does not conform to the 'Sendable' protocol
9 | public static let INVALID_ALT_NUMBER = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/OCI/Registry.swift:77:14: warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
75 | let dateString = try container.decode(String.self)
76 |
77 | return dateFormatter.date(from: dateString) ?? Date()
| `- warning: capture of 'dateFormatter' with non-sendable type 'ISO8601DateFormatter' in a '@Sendable' closure
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 | CFDateFormatterRef _formatter;
[1528/1531] Write Objects.LinkFileList
[1529/1531] Linking tart
[1530/1531] Applying tart
Build complete! (55.70s)
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "dynamic",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/mhdhejazi/Dynamic"
},
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms"
},
{
"identity" : "swiftdate",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/malcommac/SwiftDate"
},
{
"identity" : "antlr4",
"requirement" : {
"exact" : [
"4.13.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/antlr/antlr4"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.53.6",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
},
{
"identity" : "sentry-cocoa",
"requirement" : {
"range" : [
{
"lower_bound" : "8.51.1",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/getsentry/sentry-cocoa"
},
{
"identity" : "texttable",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/cfilipov/TextTable"
},
{
"identity" : "swift-sysctl",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sersoft-gmbh/swift-sysctl.git"
},
{
"identity" : "swiftradix",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/orchetect/SwiftRadix"
},
{
"identity" : "semaphore",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.8",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/groue/Semaphore"
},
{
"identity" : "swift-retry",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/fumoboy007/swift-retry"
},
{
"identity" : "swift-xattr",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jozefizso/swift-xattr"
},
{
"identity" : "grpc-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/grpc/grpc-swift.git"
},
{
"identity" : "cirruslabs_tart-guest-agent_grpc_swift",
"requirement" : {
"revision" : [
"1.24.2-00000000000000-dfeb75ad2b39.1"
]
},
"type" : "sourceControl",
"url" : "https://buf.build/gen/swift/git/1.24.2-00000000000000-dfeb75ad2b39.1/cirruslabs_tart-guest-agent_grpc_swift.git"
}
],
"manifest_display_name" : "Tart",
"name" : "Tart",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "tart",
"targets" : [
"tart"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "tart",
"module_type" : "SwiftTarget",
"name" : "tart",
"path" : "Sources/tart",
"product_dependencies" : [
"Algorithms",
"ArgumentParser",
"Dynamic",
"SwiftDate",
"Antlr4Static",
"Atomics",
"Sentry",
"TextTable",
"Sysctl",
"SwiftRadix",
"Semaphore",
"DMRetry",
"XAttr",
"GRPC",
"Cirruslabs_TartGuestAgent_Grpc_Swift"
],
"product_memberships" : [
"tart"
],
"sources" : [
"CI/CI.swift",
"Commands/Clone.swift",
"Commands/Create.swift",
"Commands/Delete.swift",
"Commands/Exec.swift",
"Commands/Export.swift",
"Commands/FQN.swift",
"Commands/Get.swift",
"Commands/IP.swift",
"Commands/Import.swift",
"Commands/List.swift",
"Commands/Login.swift",
"Commands/Logout.swift",
"Commands/Prune.swift",
"Commands/Pull.swift",
"Commands/Push.swift",
"Commands/Rename.swift",
"Commands/Run.swift",
"Commands/Set.swift",
"Commands/Stop.swift",
"Commands/Suspend.swift",
"Config.swift",
"ControlSocket.swift",
"Credentials/CredentialsProvider.swift",
"Credentials/DockerConfigCredentialsProvider.swift",
"Credentials/EnvironmentCredentialsProvider.swift",
"Credentials/KeychainCredentialsProvider.swift",
"Credentials/StdinCredentials.swift",
"DeviceInfo/DeviceInfo.swift",
"Fetcher.swift",
"FileLock.swift",
"Formatter/Format.swift",
"IPSWCache.swift",
"LocalLayerCache.swift",
"Logging/Logger.swift",
"Logging/ProgressObserver.swift",
"Logging/URLSessionLogger.swift",
"MACAddressResolver/ARPCache.swift",
"MACAddressResolver/Lease.swift",
"MACAddressResolver/Leases.swift",
"MACAddressResolver/MACAddress.swift",
"Network/Network.swift",
"Network/NetworkBridged.swift",
"Network/NetworkShared.swift",
"Network/Softnet.swift",
"OCI/Authentication.swift",
"OCI/AuthenticationKeeper.swift",
"OCI/Digest.swift",
"OCI/Layerizer/Disk.swift",
"OCI/Layerizer/DiskV1.swift",
"OCI/Layerizer/DiskV2.swift",
"OCI/Manifest.swift",
"OCI/Reference/Generated/ReferenceBaseListener.swift",
"OCI/Reference/Generated/ReferenceLexer.swift",
"OCI/Reference/Generated/ReferenceListener.swift",
"OCI/Reference/Generated/ReferenceParser.swift",
"OCI/Registry.swift",
"OCI/RemoteName.swift",
"OCI/URL+Absolutize.swift",
"OCI/WWWAuthenticate.swift",
"PIDLock.swift",
"Passphrase/PassphraseGenerator.swift",
"Passphrase/Words.swift",
"Platform/Architecture.swift",
"Platform/Darwin.swift",
"Platform/Linux.swift",
"Platform/OS.swift",
"Platform/Platform.swift",
"Prunable.swift",
"Root.swift",
"Serial.swift",
"ShellCompletions/ShellCompletions.swift",
"Term.swift",
"URL+AccessDate.swift",
"URL+Prunable.swift",
"Utils.swift",
"VM+Recovery.swift",
"VM.swift",
"VMConfig.swift",
"VMDirectory+Archive.swift",
"VMDirectory+OCI.swift",
"VMDirectory.swift",
"VMStorageHelper.swift",
"VMStorageLocal.swift",
"VMStorageOCI.swift",
"VNC/FullFledgedVNC.swift",
"VNC/ScreenSharingVNC.swift",
"VNC/VNC.swift"
],
"type" : "executable"
},
{
"c99name" : "TartTests",
"module_type" : "SwiftTarget",
"name" : "TartTests",
"path" : "Tests/TartTests",
"sources" : [
"DigestTests.swift",
"DirecotryShareTests.swift",
"DockerConfigTests.swift",
"FileLockTests.swift",
"LayerizerTests.swift",
"LeaseTest.swift",
"LeasesTests.swift",
"MACAddressResolverTests.swift",
"RegistryTests.swift",
"RemoteNameTests.swift",
"TokenResponseTests.swift",
"URLAbsolutizationTests.swift",
"URLAccessDateTests.swift",
"Util/RegistryRunner.swift",
"WWWAuthenticateTests.swift"
],
"target_dependencies" : [
"tart"
],
"type" : "test"
}
],
"tools_version" : "5.10"
}
Done.