Build Information
Successful build of swift-bundler, reference main (90d829
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 16:22:22 UTC.
Swift 6 data race errors: 25
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
4 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1058/1072] Compiling swift_bundler BundleArguments.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1059/1072] Compiling swift_bundler BundleCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1060/1072] Compiling swift_bundler CLIError.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1061/1072] Compiling swift_bundler Command.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1062/1072] Compiling swift_bundler ConvertCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1063/1072] Compiling swift_bundler CreateCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1064/1072] Compiling swift_bundler GenerateXcodeSupportCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1065/1072] Compiling swift_bundler ListIdentitiesCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1066/1072] Compiling swift_bundler MigrateCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1067/1072] Compiling swift_bundler RunCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1068/1072] Compiling swift_bundler SimulatorsBootCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1069/1072] Compiling swift_bundler SimulatorsListCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:34:5: warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// The global logger.
34 | var log = Logger(label: "Bundler") { _ in
| |- warning: var 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'log' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | return Handler()
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.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 | /// The subcommand for creating app bundles for a package.
5 | struct BundleCommand: AsyncCommand {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "bundle",
8 | abstract: "Create an app bundle from a package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:38:14: warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Used to avoid loading configuration twice when RunCommand is used.
38 | static var app: (name: String, app: AppConfiguration)? // TODO: fix this weird pattern with a better config loading system
| |- warning: static property 'app' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'app' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'app' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | init() {
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ConvertCommand.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 | /// The command for converting xcodeprojs to Swift Bundler projects.
7 | struct ConvertCommand: Command {
8 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | commandName: "convert",
10 | abstract: "Converts an xcodeproj to a Swift Bundler project."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/CreateCommand.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 | /// The subcommand for creating new app packages from templates.
6 | struct CreateCommand: Command {
7 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | commandName: "create",
9 | abstract: "Create a new app package."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/GenerateXcodeSupportCommand.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 | /// The subcommand for generating Xcode related support files (i.e. Xcode schemes).
5 | struct GenerateXcodeSupportCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "generate-xcode-support",
8 | abstract: "Generate the files required for Xcode to work nicely with a package.",
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/ListIdentitiesCommand.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 | /// The command for listing codesigning identities.
5 | struct ListIdentitiesCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list-identities",
8 | abstract: "List available codesigning identities."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/MigrateCommand.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 | /// The command for listing codesigning identities.
5 | struct MigrateCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "migrate",
8 | abstract: "Migrate a project's config file to the latest format."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:9: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
7 | /// The subcommand for running an app from a package.
8 | struct RunCommand: AsyncCommand {
9 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | commandName: "run",
11 | abstract: "Run a package as an app."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsBootCommand.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 | /// The subcommand for booting simulators.
5 | struct SimulatorsBootCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "boot",
8 | abstract: "Boot an iOS or visionOS simulator."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/Simulators/SimulatorsListCommand.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 | /// The subcommand for listing available simulators.
5 | struct SimulatorsListCommand: Command {
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | commandName: "list",
8 | abstract: "List available iOS and visionOS simulators."
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:131:12: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
129 | ]
130 |
131 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
132 | var client = try await socket.accept()
| `- note: closure captures non-Sendable 'socket'
133 | log.info("Received connection from runtime")
134 |
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures non-Sendable 'self'
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
:
153 | }
154 |
155 | let architectures = bundleCommand.getArchitectures(
| `- note: closure captures non-Sendable 'bundleCommand'
156 | platform: bundleCommand.arguments.platform
157 | )
/Users/admin/builder/spi-builder-workspace/Sources/swift-bundler/Commands/RunCommand.swift:164:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 | log.info("Building 'lib\(appConfiguration.product).dylib'")
163 | let client = client
164 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 | do {
166 | var client = client
| `- note: closure captures non-Sendable 'client'
167 | let dylibFile = try SwiftPackageManager.buildExecutableAsDylib(
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures non-Sendable 'self'
171 | architectures: architectures,
172 | platform: arguments.platform,
[1069/1072] Write Objects.LinkFileList
[1070/1072] Linking swift-bundler
[1071/1072] Applying swift-bundler
Build complete! (129.78s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-arg-parser",
"requirement" : {
"revision" : [
"b1b5373"
]
},
"type" : "sourceControl",
"url" : "https://github.com/stackotter/swift-arg-parser"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
},
{
"identity" : "swift-parsing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-parsing"
},
{
"identity" : "tomlkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.6",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/furby-tm/TOMLKit"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "version",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Version.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "xcodegen",
"requirement" : {
"exact" : [
"2.35.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/stackotter/XcodeGen"
},
{
"identity" : "swift-syntax",
"requirement" : {
"exact" : [
"510.0.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax"
},
{
"identity" : "swift-format",
"requirement" : {
"exact" : [
"510.0.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-format"
},
{
"identity" : "swift-overture",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-overture"
},
{
"identity" : "socket",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stackotter/Socket"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.2",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swift-inotify",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sersoft-gmbh/swift-inotify"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms.git"
}
],
"manifest_display_name" : "swift-bundler",
"name" : "swift-bundler",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "swift-bundler",
"targets" : [
"swift-bundler"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftBundlerRuntime",
"targets" : [
"SwiftBundlerRuntime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftBundlerCommandPlugin",
"targets" : [
"SwiftBundlerCommandPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "schema-gen",
"targets" : [
"schema-gen"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_bundler",
"module_type" : "SwiftTarget",
"name" : "swift-bundler",
"path" : "Sources/swift-bundler",
"product_dependencies" : [
"StackOtterArgParser",
"Logging",
"Parsing",
"TOMLKit",
"Rainbow",
"Version",
"Socket",
"Yams",
"XcodeGenKit",
"ProjectSpec",
"SwiftSyntax",
"SwiftSyntaxBuilder",
"SwiftFormat",
"SwiftFormatConfiguration",
"Overture"
],
"product_memberships" : [
"swift-bundler",
"SwiftBundlerCommandPlugin"
],
"sources" : [
"AsyncMain.swift",
"Bundler/AppImageBundler.swift",
"Bundler/AppImageBundlerError.swift",
"Bundler/AppImageTool.swift",
"Bundler/AppImageToolError.swift",
"Bundler/Bundler.swift",
"Bundler/CodeSigner/CodeSigner.swift",
"Bundler/CodeSigner/CodeSignerError.swift",
"Bundler/CodeSigner/ProvisioningProfile.swift",
"Bundler/DarwinAppBundleStructure.swift",
"Bundler/DarwinBundler.swift",
"Bundler/DarwinBundlerError.swift",
"Bundler/DynamicLibraryBundler.swift",
"Bundler/DynamicLibraryBundlerError.swift",
"Bundler/IconSetCreator.swift",
"Bundler/IconSetCreatorError.swift",
"Bundler/MetalCompiler.swift",
"Bundler/MetalCompilerError.swift",
"Bundler/PlistCreator.swift",
"Bundler/PlistCreatorError.swift",
"Bundler/ResourceBundler.swift",
"Bundler/ResourceBundlerError.swift",
"Bundler/Runner/Device.swift",
"Bundler/Runner/Runner.swift",
"Bundler/Runner/RunnerError.swift",
"Bundler/SimulatorManager/Simulator.swift",
"Bundler/SimulatorManager/SimulatorList.swift",
"Bundler/SimulatorManager/SimulatorManager.swift",
"Bundler/SimulatorManager/SimulatorManagerError.swift",
"Bundler/StoryboardCompiler.swift",
"Bundler/StoryboardCompilerError.swift",
"Bundler/StringCatalogCompiler.swift",
"Bundler/StringCatalogCompilerError.swift",
"Bundler/SwiftPackageManager/AppleOS.swift",
"Bundler/SwiftPackageManager/ApplePlatform.swift",
"Bundler/SwiftPackageManager/AppleSDKPlatform.swift",
"Bundler/SwiftPackageManager/BuildArchitecture.swift",
"Bundler/SwiftPackageManager/BuildConfiguration.swift",
"Bundler/SwiftPackageManager/BuildPlan.swift",
"Bundler/SwiftPackageManager/OS.swift",
"Bundler/SwiftPackageManager/PackageManifest.swift",
"Bundler/SwiftPackageManager/Platform.swift",
"Bundler/SwiftPackageManager/SwiftPackageManager.swift",
"Bundler/SwiftPackageManager/SwiftPackageManagerError.swift",
"Bundler/SwiftPackageManager/SwiftTargetInfo.swift",
"Bundler/System.swift",
"Bundler/SystemError.swift",
"Bundler/Templater/IndentationStyle.swift",
"Bundler/Templater/SystemDependency.swift",
"Bundler/Templater/Template.swift",
"Bundler/Templater/TemplateManifest.swift",
"Bundler/Templater/Templater.swift",
"Bundler/Templater/TemplaterError.swift",
"Bundler/VariableEvaluator.swift",
"Bundler/VariableEvaluatorError.swift",
"Bundler/XcodeSupportGenerator.swift",
"Bundler/XcodeSupportGeneratorError.swift",
"Bundler/XcodeprojConverter/ExecutableTarget.swift",
"Bundler/XcodeprojConverter/LibraryTarget.swift",
"Bundler/XcodeprojConverter/TargetType.swift",
"Bundler/XcodeprojConverter/XcodeFile.swift",
"Bundler/XcodeprojConverter/XcodePackageDependency.swift",
"Bundler/XcodeprojConverter/XcodeTarget.swift",
"Bundler/XcodeprojConverter/XcodeprojConverter.swift",
"Bundler/XcodeprojConverter/XcodeprojConverterError.swift",
"Commands/AsyncCommand.swift",
"Commands/BundleArguments.swift",
"Commands/BundleCommand.swift",
"Commands/CLIError.swift",
"Commands/Command.swift",
"Commands/ConvertCommand.swift",
"Commands/CreateCommand.swift",
"Commands/GenerateXcodeSupportCommand.swift",
"Commands/ListIdentitiesCommand.swift",
"Commands/MigrateCommand.swift",
"Commands/RunCommand.swift",
"Commands/Simulators/SimulatorsBootCommand.swift",
"Commands/Simulators/SimulatorsListCommand.swift",
"Commands/SimulatorsCommand.swift",
"Commands/Templates/TemplatesInfoCommand.swift",
"Commands/Templates/TemplatesListCommand.swift",
"Commands/Templates/TemplatesUpdateCommand.swift",
"Commands/TemplatesCommand.swift",
"Configuration/AppConfiguration.swift",
"Configuration/AppConfigurationError.swift",
"Configuration/MigrationMode.swift",
"Configuration/PackageConfiguration.swift",
"Configuration/PackageConfigurationError.swift",
"Configuration/PlistError.swift",
"Configuration/PlistValue.swift",
"Configuration/V1/PackageConfigurationV1.swift",
"Configuration/V2/AppConfigurationV2.swift",
"Configuration/V2/PackageConfigurationV2.swift",
"Extensions/Array.swift",
"Extensions/CaseIterable.swift",
"Extensions/FileHandle+TextOutputStream.swift",
"Extensions/FileManager.swift",
"Extensions/PBXProductType.swift",
"Extensions/Process.swift",
"Extensions/ProcessError.swift",
"Extensions/Result.swift",
"Extensions/Sequence.swift",
"Extensions/String.swift",
"Extensions/URL.swift",
"Extensions/Version.swift",
"SwiftBundler.swift",
"Utility/Box.swift",
"Utility/CommandLine.swift",
"Utility/Logger.swift",
"Utility/LoggerLevel.swift",
"Utility/OutputBuilder/Array+OutputComponent.swift",
"Utility/OutputBuilder/ExampleCommand.swift",
"Utility/OutputBuilder/InlineList.swift",
"Utility/OutputBuilder/KeyedList.swift",
"Utility/OutputBuilder/KeyedListBuilder.swift",
"Utility/OutputBuilder/Line.swift",
"Utility/OutputBuilder/LineBuilder.swift",
"Utility/OutputBuilder/LinePartsBuilder.swift",
"Utility/OutputBuilder/List.swift",
"Utility/OutputBuilder/Output.swift",
"Utility/OutputBuilder/OutputBuilder.swift",
"Utility/OutputBuilder/OutputComponent.swift",
"Utility/OutputBuilder/OutputPartsBuilder.swift",
"Utility/OutputBuilder/Section.swift",
"Utility/OutputBuilder/String+OutputComponent.swift",
"Utility/OutputBuilder/StringOutput.swift",
"Utility/Signal.swift",
"Utility/Stopwatch.swift"
],
"target_dependencies" : [
"HotReloadingProtocol",
"FileSystemWatcher"
],
"type" : "executable"
},
{
"c99name" : "schema_gen",
"module_type" : "SwiftTarget",
"name" : "schema-gen",
"path" : "Sources/schema-gen",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser"
],
"product_memberships" : [
"schema-gen"
],
"sources" : [
"Namespace.swift",
"PropertyDecl.swift",
"SchemaGenerator.swift",
"TypeDecl.swift"
],
"type" : "executable"
},
{
"c99name" : "SwiftBundlerTests",
"module_type" : "SwiftTarget",
"name" : "SwiftBundlerTests",
"path" : "Tests/SwiftBundlerTests",
"sources" : [
"SwiftBundlerTests.swift"
],
"target_dependencies" : [
"swift-bundler"
],
"type" : "test"
},
{
"c99name" : "SwiftBundlerRuntime",
"module_type" : "SwiftTarget",
"name" : "SwiftBundlerRuntime",
"path" : "Sources/SwiftBundlerRuntime",
"product_dependencies" : [
"Socket"
],
"product_memberships" : [
"SwiftBundlerRuntime"
],
"sources" : [
"Dylib.swift",
"HotReloadingClient.swift"
],
"target_dependencies" : [
"HotReloadingProtocol"
],
"type" : "library"
},
{
"c99name" : "SwiftBundlerCommandPlugin",
"module_type" : "PluginTarget",
"name" : "SwiftBundlerCommandPlugin",
"path" : "Plugins/SwiftBundlerCommandPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Run a package as an app.",
"type" : "custom",
"verb" : "bundler"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "Creating an app bundle requires writing to the package directory.",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"SwiftBundlerCommandPlugin"
],
"sources" : [
"SwiftBundlerCommandPlugin.swift"
],
"target_dependencies" : [
"swift-bundler"
],
"type" : "plugin"
},
{
"c99name" : "SwiftBundler",
"module_type" : "SwiftTarget",
"name" : "SwiftBundler",
"path" : "Documentation",
"sources" : [
"Empty.swift"
],
"type" : "library"
},
{
"c99name" : "HotReloadingProtocol",
"module_type" : "SwiftTarget",
"name" : "HotReloadingProtocol",
"path" : "Sources/HotReloadingProtocol",
"product_dependencies" : [
"Socket"
],
"product_memberships" : [
"swift-bundler",
"SwiftBundlerRuntime",
"SwiftBundlerCommandPlugin"
],
"sources" : [
"Packet.swift",
"ReadableStream.swift",
"Socket+Stream.swift",
"WritableStream.swift"
],
"type" : "library"
},
{
"c99name" : "FileSystemWatcher",
"module_type" : "SwiftTarget",
"name" : "FileSystemWatcher",
"path" : "Sources/FileSystemWatcher",
"product_dependencies" : [
"Inotify",
"SystemPackage",
"AsyncAlgorithms"
],
"product_memberships" : [
"swift-bundler",
"SwiftBundlerCommandPlugin"
],
"sources" : [
"CoreServicesFileSystemWatcher.swift",
"DispatchQueue.swift",
"FileSystemWatcher.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/stackotter/swift-bundler/main
Repository: stackotter/swift-bundler
Swift version used: 6.0
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
Target: SwiftBundler
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Generating documentation for 'SwiftBundler'...
Converting documentation...
Conversion complete! (0.10s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/stackotter/swift-bundler/main'
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit GenericConstraint.swift
[13/57] Compiling SymbolKit GenericParameter.swift
[14/57] Compiling SymbolKit Generics.swift
[15/57] Compiling SymbolKit Namespace.swift
[16/57] Compiling SymbolKit Identifier.swift
[17/57] Compiling SymbolKit KindIdentifier.swift
[18/57] Compiling SymbolKit Location.swift
[19/57] Compiling SymbolKit Mutability.swift
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit Relationship.swift
[30/57] Compiling SymbolKit RelationshipKind.swift
[31/57] Compiling SymbolKit SourceOrigin.swift
[32/57] Compiling SymbolKit GenericConstraints.swift
[33/57] Compiling SymbolKit Swift.swift
[34/57] Compiling SymbolKit SemanticVersion.swift
[35/57] Compiling SymbolKit AccessControl.swift
[36/57] Compiling SymbolKit Availability.swift
[37/57] Compiling SymbolKit AvailabilityItem.swift
[38/57] Compiling SymbolKit Domain.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets Snippet.swift
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.92s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/3] Compiling SwiftBundler Empty.swift
[3/3] Emitting module SwiftBundler
Build of target: 'SwiftBundler' complete! (0.80s)
68
2 /Users/admin/builder/spi-builder-workspace/.docs/stackotter/swift-bundler/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/stackotter/swift-bundler/main
File count: 68
Doc size: 2.0MB
Preparing doc bundle ...
Uploading prod-stackotter-swift-bundler-main-341d63dd.zip to s3://spi-docs-inbox/prod-stackotter-swift-bundler-main-341d63dd.zip
Copying... [19%]
Copying... [38%]
Copying... [58%]
Copying... [77%]
Copying... [96%]
Copying... [100%]
Done.