Build Information
Successful build of Tart, reference main (280a31
), with Swift 6.1 for macOS (SPM) on 5 May 2025 04:34:10 UTC.
Swift 6 data race errors: 41
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: 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/Import.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 Import: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Import VM from 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: "Path to a file created with \"tart export\".")
/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 | }
[470/488] Compiling tart Create.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/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/Import.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 Import: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Import VM from 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: "Path to a file created with \"tart export\".")
/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 | }
[471/488] Compiling tart Delete.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/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/Import.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 Import: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Import VM from 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: "Path to a file created with \"tart export\".")
/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 | }
[472/488] 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/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/Import.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 Import: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Import VM from 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: "Path to a file created with \"tart export\".")
/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 | }
[473/488] 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/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/Import.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 Import: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Import VM from 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: "Path to a file created with \"tart export\".")
/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 | }
[474/488] 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/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/Import.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 Import: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Import VM from 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: "Path to a file created with \"tart export\".")
/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 | }
[475/488] 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/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/Import.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 Import: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Import VM from 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: "Path to a file created with \"tart export\".")
/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 | }
[476/488] Compiling tart Import.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/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/Import.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 Import: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Import VM from 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: "Path to a file created with \"tart export\".")
/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 | }
[477/488] Compiling tart List.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/List.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 List: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(abstract: "List created VMs")
| |- 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 | @Option(help: ArgumentHelp("Only display VMs from the specified source (e.g. --source local, --source oci)."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Login.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 Login: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Login to a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Logout.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 Logout: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Logout from a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Prune.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 Prune: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Prune OCI and IPSW caches or local VMs")
| |- 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 | @Option(help: ArgumentHelp("Entries to remove: \"caches\" targets OCI and IPSW caches and \"vms\" targets local VMs."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Pull.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 Pull: 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: "Pull a VM from a registry",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Push.swift:7: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
5 |
6 | struct Push: AsyncParsableCommand {
7 | static var configuration = CommandConfiguration(abstract: "Push a VM to a registry")
| |- 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
8 |
9 | @Argument(help: "local or remote VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Rename.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 Rename: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Rename a local 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
6 |
7 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:10:5: warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import System
9 |
10 | var vm: VM?
| |- warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'vm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | struct IPNotFound: Error {
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:66: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
64 |
65 | struct Run: AsyncParsableCommand {
66 | static var configuration = CommandConfiguration(abstract: "Run 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
67 |
68 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:710:13: warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
| `- warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
:
715 |
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
| `- note: mutation of this static property is only permitted within the actor
718 | static var capturesSystemKeys: Bool = false
719 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:711:13: warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
| `- warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
712 | MainApp.main()
713 | }
:
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
718 | static var capturesSystemKeys: Bool = false
| `- note: mutation of this static property is only permitted within the actor
719 |
720 | @NSApplicationDelegateAdaptor private var appDelegate: AppDelegate
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:712:13: warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
| `- warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
713 | }
714 | }
SwiftUI.App.main:2:47: note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
1 | protocol App {
2 | @MainActor @preconcurrency public static func main()}
| `- note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Set.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 Set: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "set", abstract: "Modify 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
7 |
8 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
[478/488] Compiling tart Login.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/List.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 List: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(abstract: "List created VMs")
| |- 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 | @Option(help: ArgumentHelp("Only display VMs from the specified source (e.g. --source local, --source oci)."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Login.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 Login: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Login to a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Logout.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 Logout: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Logout from a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Prune.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 Prune: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Prune OCI and IPSW caches or local VMs")
| |- 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 | @Option(help: ArgumentHelp("Entries to remove: \"caches\" targets OCI and IPSW caches and \"vms\" targets local VMs."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Pull.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 Pull: 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: "Pull a VM from a registry",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Push.swift:7: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
5 |
6 | struct Push: AsyncParsableCommand {
7 | static var configuration = CommandConfiguration(abstract: "Push a VM to a registry")
| |- 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
8 |
9 | @Argument(help: "local or remote VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Rename.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 Rename: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Rename a local 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
6 |
7 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:10:5: warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import System
9 |
10 | var vm: VM?
| |- warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'vm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | struct IPNotFound: Error {
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:66: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
64 |
65 | struct Run: AsyncParsableCommand {
66 | static var configuration = CommandConfiguration(abstract: "Run 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
67 |
68 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:710:13: warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
| `- warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
:
715 |
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
| `- note: mutation of this static property is only permitted within the actor
718 | static var capturesSystemKeys: Bool = false
719 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:711:13: warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
| `- warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
712 | MainApp.main()
713 | }
:
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
718 | static var capturesSystemKeys: Bool = false
| `- note: mutation of this static property is only permitted within the actor
719 |
720 | @NSApplicationDelegateAdaptor private var appDelegate: AppDelegate
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:712:13: warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
| `- warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
713 | }
714 | }
SwiftUI.App.main:2:47: note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
1 | protocol App {
2 | @MainActor @preconcurrency public static func main()}
| `- note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Set.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 Set: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "set", abstract: "Modify 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
7 |
8 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
[479/488] Compiling tart Logout.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/List.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 List: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(abstract: "List created VMs")
| |- 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 | @Option(help: ArgumentHelp("Only display VMs from the specified source (e.g. --source local, --source oci)."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Login.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 Login: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Login to a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Logout.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 Logout: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Logout from a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Prune.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 Prune: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Prune OCI and IPSW caches or local VMs")
| |- 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 | @Option(help: ArgumentHelp("Entries to remove: \"caches\" targets OCI and IPSW caches and \"vms\" targets local VMs."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Pull.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 Pull: 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: "Pull a VM from a registry",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Push.swift:7: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
5 |
6 | struct Push: AsyncParsableCommand {
7 | static var configuration = CommandConfiguration(abstract: "Push a VM to a registry")
| |- 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
8 |
9 | @Argument(help: "local or remote VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Rename.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 Rename: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Rename a local 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
6 |
7 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:10:5: warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import System
9 |
10 | var vm: VM?
| |- warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'vm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | struct IPNotFound: Error {
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:66: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
64 |
65 | struct Run: AsyncParsableCommand {
66 | static var configuration = CommandConfiguration(abstract: "Run 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
67 |
68 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:710:13: warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
| `- warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
:
715 |
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
| `- note: mutation of this static property is only permitted within the actor
718 | static var capturesSystemKeys: Bool = false
719 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:711:13: warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
| `- warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
712 | MainApp.main()
713 | }
:
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
718 | static var capturesSystemKeys: Bool = false
| `- note: mutation of this static property is only permitted within the actor
719 |
720 | @NSApplicationDelegateAdaptor private var appDelegate: AppDelegate
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:712:13: warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
| `- warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
713 | }
714 | }
SwiftUI.App.main:2:47: note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
1 | protocol App {
2 | @MainActor @preconcurrency public static func main()}
| `- note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Set.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 Set: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "set", abstract: "Modify 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
7 |
8 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
[480/488] Compiling tart Prune.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/List.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 List: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(abstract: "List created VMs")
| |- 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 | @Option(help: ArgumentHelp("Only display VMs from the specified source (e.g. --source local, --source oci)."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Login.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 Login: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Login to a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Logout.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 Logout: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Logout from a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Prune.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 Prune: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Prune OCI and IPSW caches or local VMs")
| |- 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 | @Option(help: ArgumentHelp("Entries to remove: \"caches\" targets OCI and IPSW caches and \"vms\" targets local VMs."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Pull.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 Pull: 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: "Pull a VM from a registry",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Push.swift:7: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
5 |
6 | struct Push: AsyncParsableCommand {
7 | static var configuration = CommandConfiguration(abstract: "Push a VM to a registry")
| |- 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
8 |
9 | @Argument(help: "local or remote VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Rename.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 Rename: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Rename a local 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
6 |
7 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:10:5: warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import System
9 |
10 | var vm: VM?
| |- warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'vm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | struct IPNotFound: Error {
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:66: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
64 |
65 | struct Run: AsyncParsableCommand {
66 | static var configuration = CommandConfiguration(abstract: "Run 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
67 |
68 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:710:13: warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
| `- warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
:
715 |
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
| `- note: mutation of this static property is only permitted within the actor
718 | static var capturesSystemKeys: Bool = false
719 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:711:13: warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
| `- warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
712 | MainApp.main()
713 | }
:
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
718 | static var capturesSystemKeys: Bool = false
| `- note: mutation of this static property is only permitted within the actor
719 |
720 | @NSApplicationDelegateAdaptor private var appDelegate: AppDelegate
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:712:13: warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
| `- warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
713 | }
714 | }
SwiftUI.App.main:2:47: note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
1 | protocol App {
2 | @MainActor @preconcurrency public static func main()}
| `- note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Set.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 Set: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "set", abstract: "Modify 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
7 |
8 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
[481/488] Compiling tart Pull.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/List.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 List: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(abstract: "List created VMs")
| |- 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 | @Option(help: ArgumentHelp("Only display VMs from the specified source (e.g. --source local, --source oci)."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Login.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 Login: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Login to a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Logout.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 Logout: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Logout from a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Prune.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 Prune: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Prune OCI and IPSW caches or local VMs")
| |- 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 | @Option(help: ArgumentHelp("Entries to remove: \"caches\" targets OCI and IPSW caches and \"vms\" targets local VMs."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Pull.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 Pull: 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: "Pull a VM from a registry",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Push.swift:7: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
5 |
6 | struct Push: AsyncParsableCommand {
7 | static var configuration = CommandConfiguration(abstract: "Push a VM to a registry")
| |- 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
8 |
9 | @Argument(help: "local or remote VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Rename.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 Rename: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Rename a local 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
6 |
7 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:10:5: warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import System
9 |
10 | var vm: VM?
| |- warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'vm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | struct IPNotFound: Error {
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:66: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
64 |
65 | struct Run: AsyncParsableCommand {
66 | static var configuration = CommandConfiguration(abstract: "Run 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
67 |
68 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:710:13: warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
| `- warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
:
715 |
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
| `- note: mutation of this static property is only permitted within the actor
718 | static var capturesSystemKeys: Bool = false
719 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:711:13: warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
| `- warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
712 | MainApp.main()
713 | }
:
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
718 | static var capturesSystemKeys: Bool = false
| `- note: mutation of this static property is only permitted within the actor
719 |
720 | @NSApplicationDelegateAdaptor private var appDelegate: AppDelegate
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:712:13: warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
| `- warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
713 | }
714 | }
SwiftUI.App.main:2:47: note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
1 | protocol App {
2 | @MainActor @preconcurrency public static func main()}
| `- note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Set.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 Set: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "set", abstract: "Modify 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
7 |
8 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
[482/488] Compiling tart Push.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/List.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 List: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(abstract: "List created VMs")
| |- 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 | @Option(help: ArgumentHelp("Only display VMs from the specified source (e.g. --source local, --source oci)."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Login.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 Login: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Login to a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Logout.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 Logout: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Logout from a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Prune.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 Prune: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Prune OCI and IPSW caches or local VMs")
| |- 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 | @Option(help: ArgumentHelp("Entries to remove: \"caches\" targets OCI and IPSW caches and \"vms\" targets local VMs."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Pull.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 Pull: 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: "Pull a VM from a registry",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Push.swift:7: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
5 |
6 | struct Push: AsyncParsableCommand {
7 | static var configuration = CommandConfiguration(abstract: "Push a VM to a registry")
| |- 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
8 |
9 | @Argument(help: "local or remote VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Rename.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 Rename: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Rename a local 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
6 |
7 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:10:5: warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import System
9 |
10 | var vm: VM?
| |- warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'vm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | struct IPNotFound: Error {
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:66: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
64 |
65 | struct Run: AsyncParsableCommand {
66 | static var configuration = CommandConfiguration(abstract: "Run 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
67 |
68 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:710:13: warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
| `- warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
:
715 |
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
| `- note: mutation of this static property is only permitted within the actor
718 | static var capturesSystemKeys: Bool = false
719 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:711:13: warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
| `- warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
712 | MainApp.main()
713 | }
:
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
718 | static var capturesSystemKeys: Bool = false
| `- note: mutation of this static property is only permitted within the actor
719 |
720 | @NSApplicationDelegateAdaptor private var appDelegate: AppDelegate
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:712:13: warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
| `- warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
713 | }
714 | }
SwiftUI.App.main:2:47: note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
1 | protocol App {
2 | @MainActor @preconcurrency public static func main()}
| `- note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Set.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 Set: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "set", abstract: "Modify 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
7 |
8 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
[483/488] Compiling tart Rename.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/List.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 List: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(abstract: "List created VMs")
| |- 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 | @Option(help: ArgumentHelp("Only display VMs from the specified source (e.g. --source local, --source oci)."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Login.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 Login: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Login to a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Logout.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 Logout: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Logout from a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Prune.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 Prune: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Prune OCI and IPSW caches or local VMs")
| |- 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 | @Option(help: ArgumentHelp("Entries to remove: \"caches\" targets OCI and IPSW caches and \"vms\" targets local VMs."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Pull.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 Pull: 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: "Pull a VM from a registry",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Push.swift:7: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
5 |
6 | struct Push: AsyncParsableCommand {
7 | static var configuration = CommandConfiguration(abstract: "Push a VM to a registry")
| |- 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
8 |
9 | @Argument(help: "local or remote VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Rename.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 Rename: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Rename a local 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
6 |
7 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:10:5: warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import System
9 |
10 | var vm: VM?
| |- warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'vm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | struct IPNotFound: Error {
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:66: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
64 |
65 | struct Run: AsyncParsableCommand {
66 | static var configuration = CommandConfiguration(abstract: "Run 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
67 |
68 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:710:13: warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
| `- warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
:
715 |
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
| `- note: mutation of this static property is only permitted within the actor
718 | static var capturesSystemKeys: Bool = false
719 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:711:13: warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
| `- warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
712 | MainApp.main()
713 | }
:
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
718 | static var capturesSystemKeys: Bool = false
| `- note: mutation of this static property is only permitted within the actor
719 |
720 | @NSApplicationDelegateAdaptor private var appDelegate: AppDelegate
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:712:13: warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
| `- warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
713 | }
714 | }
SwiftUI.App.main:2:47: note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
1 | protocol App {
2 | @MainActor @preconcurrency public static func main()}
| `- note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Set.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 Set: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "set", abstract: "Modify 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
7 |
8 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
[484/488] Compiling tart Run.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/List.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 List: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(abstract: "List created VMs")
| |- 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 | @Option(help: ArgumentHelp("Only display VMs from the specified source (e.g. --source local, --source oci)."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Login.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 Login: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Login to a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Logout.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 Logout: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Logout from a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Prune.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 Prune: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Prune OCI and IPSW caches or local VMs")
| |- 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 | @Option(help: ArgumentHelp("Entries to remove: \"caches\" targets OCI and IPSW caches and \"vms\" targets local VMs."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Pull.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 Pull: 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: "Pull a VM from a registry",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Push.swift:7: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
5 |
6 | struct Push: AsyncParsableCommand {
7 | static var configuration = CommandConfiguration(abstract: "Push a VM to a registry")
| |- 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
8 |
9 | @Argument(help: "local or remote VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Rename.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 Rename: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Rename a local 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
6 |
7 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:10:5: warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import System
9 |
10 | var vm: VM?
| |- warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'vm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | struct IPNotFound: Error {
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:66: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
64 |
65 | struct Run: AsyncParsableCommand {
66 | static var configuration = CommandConfiguration(abstract: "Run 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
67 |
68 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:710:13: warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
| `- warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
:
715 |
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
| `- note: mutation of this static property is only permitted within the actor
718 | static var capturesSystemKeys: Bool = false
719 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:711:13: warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
| `- warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
712 | MainApp.main()
713 | }
:
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
718 | static var capturesSystemKeys: Bool = false
| `- note: mutation of this static property is only permitted within the actor
719 |
720 | @NSApplicationDelegateAdaptor private var appDelegate: AppDelegate
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:712:13: warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
| `- warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
713 | }
714 | }
SwiftUI.App.main:2:47: note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
1 | protocol App {
2 | @MainActor @preconcurrency public static func main()}
| `- note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Set.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 Set: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "set", abstract: "Modify 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
7 |
8 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
[485/488] Compiling tart Set.swift
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/List.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 List: AsyncParsableCommand {
16 | static var configuration = CommandConfiguration(abstract: "List created VMs")
| |- 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 | @Option(help: ArgumentHelp("Only display VMs from the specified source (e.g. --source local, --source oci)."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Login.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 Login: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Login to a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Logout.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 Logout: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(abstract: "Logout from a registry")
| |- 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: "host")
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Prune.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 Prune: AsyncParsableCommand {
8 | static var configuration = CommandConfiguration(abstract: "Prune OCI and IPSW caches or local VMs")
| |- 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 | @Option(help: ArgumentHelp("Entries to remove: \"caches\" targets OCI and IPSW caches and \"vms\" targets local VMs."))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Pull.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 Pull: 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: "Pull a VM from a registry",
8 | discussion: """
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Push.swift:7: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
5 |
6 | struct Push: AsyncParsableCommand {
7 | static var configuration = CommandConfiguration(abstract: "Push a VM to a registry")
| |- 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
8 |
9 | @Argument(help: "local or remote VM name", completion: .custom(completeMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Rename.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 Rename: AsyncParsableCommand {
5 | static var configuration = CommandConfiguration(abstract: "Rename a local 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
6 |
7 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:10:5: warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | import System
9 |
10 | var vm: VM?
| |- warning: var 'vm' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vm' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'vm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | struct IPNotFound: Error {
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:66: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
64 |
65 | struct Run: AsyncParsableCommand {
66 | static var configuration = CommandConfiguration(abstract: "Run 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
67 |
68 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:710:13: warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
| `- warning: main actor-isolated static property 'suspendable' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
:
715 |
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
| `- note: mutation of this static property is only permitted within the actor
718 | static var capturesSystemKeys: Bool = false
719 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:711:13: warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
| `- warning: main actor-isolated static property 'capturesSystemKeys' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
712 | MainApp.main()
713 | }
:
716 | struct MainApp: App {
717 | static var suspendable: Bool = false
718 | static var capturesSystemKeys: Bool = false
| `- note: mutation of this static property is only permitted within the actor
719 |
720 | @NSApplicationDelegateAdaptor private var appDelegate: AppDelegate
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Run.swift:712:13: warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
707 | }
708 |
709 | private func runUI(_ suspendable: Bool, _ captureSystemKeys: Bool) {
| `- note: add '@MainActor' to make instance method 'runUI' part of global actor 'MainActor'
710 | MainApp.suspendable = suspendable
711 | MainApp.capturesSystemKeys = captureSystemKeys
712 | MainApp.main()
| `- warning: call to main actor-isolated static method 'main()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
713 | }
714 | }
SwiftUI.App.main:2:47: note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
1 | protocol App {
2 | @MainActor @preconcurrency public static func main()}
| `- note: calls to static method 'main()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/tart/Commands/Set.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 Set: AsyncParsableCommand {
6 | static var configuration = CommandConfiguration(commandName: "set", abstract: "Modify 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
7 |
8 | @Argument(help: "VM name", completion: .custom(completeLocalMachines))
[485/488] Write Objects.LinkFileList
[486/488] Linking tart
[487/488] Applying tart
Build complete! (27.50s)
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.36.0",
"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"
}
],
"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"
],
"product_memberships" : [
"tart"
],
"sources" : [
"CI/CI.swift",
"Commands/Clone.swift",
"Commands/Create.swift",
"Commands/Delete.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",
"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",
"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.