Build Information
Successful build of swift-bundler, reference main (90d829
), with Swift 6.0 for Linux on 3 Nov 2024 13:51:14 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
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()
133 | log.info("Received connection from runtime")
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures 'self' which is accessible to code in the current task
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
/host/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
:
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures 'self' which is accessible to code in the current task
171 | architectures: architectures,
172 | platform: arguments.platform,
[1837/1848] Compiling swift_bundler CreateCommand.swift
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:7:8: warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
5 | enum XcodeprojConverterError: LocalizedError {
6 | case failedToLoadXcodeProj(URL, Error)
7 | case unsupportedFilePathType(PBXSourceTree)
| `- warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
8 | case failedToEnumerateSources(target: String, Error)
9 | case failedToCreateTargetDirectory(target: String, URL, Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXSourceTree.swift:5:13: note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
3 | /// Specifies source trees for files
4 | /// Corresponds to the "Location" dropdown in Xcode's File Inspector
5 | public enum PBXSourceTree: CustomStringConvertible, Equatable, Decodable {
| `- note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
6 | case none
7 | case absolute
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
1 | import Foundation
2 | import SwiftXcodeProj
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
3 |
4 | /// An error returned by ``XcodeprojConverter``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:14:8: warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
12 | case failedToCreateConfigurationFile(URL, Error)
13 | case directoryAlreadyExists(URL)
14 | case invalidBuildFile(PBXBuildFile)
| `- warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/BuildPhase/PBXBuildFile.swift:4:20: note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
2 |
3 | /// This element indicates a file reference that is used in a PBXBuildPhase (either as an include or resource).
4 | public final class PBXBuildFile: PBXObject {
| `- note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
5 | // MARK: - Attributes
6 |
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:16:8: warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
14 | case invalidBuildFile(PBXBuildFile)
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
| `- warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
17 | case failedToCreateAppConfiguration(target: String, AppConfigurationError)
18 | case failedToFormatPackageManifest(Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXFileElement.swift:5:14: note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
3 |
4 | /// This element is an abstract parent for file and group elements.
5 | public class PBXFileElement: PBXContainerItem, PlistSerializable {
| `- note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
6 | // MARK: - Attributes
7 |
/host/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 | }
/host/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."
/host/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() {
/host/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."
/host/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."
/host/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.",
/host/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."
/host/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."
/host/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."
/host/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."
/host/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."
/host/spi-builder-workspace/Sources/swift-bundler/Commands/SimulatorsCommand.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 managing and listing available simulators.
5 | struct SimulatorsCommand: ParsableCommand {
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: "simulators",
8 | abstract: "Manage and list available simulators.",
/host/spi-builder-workspace/Sources/swift-bundler/Commands/Templates/TemplatesInfoCommand.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 getting info about a template.
6 | struct TemplatesInfoCommand: 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: "info",
9 | abstract: "Get info about a template."
/host/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()
133 | log.info("Received connection from runtime")
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures 'self' which is accessible to code in the current task
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
/host/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
:
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures 'self' which is accessible to code in the current task
171 | architectures: architectures,
172 | platform: arguments.platform,
[1838/1848] Compiling swift_bundler GenerateXcodeSupportCommand.swift
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:7:8: warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
5 | enum XcodeprojConverterError: LocalizedError {
6 | case failedToLoadXcodeProj(URL, Error)
7 | case unsupportedFilePathType(PBXSourceTree)
| `- warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
8 | case failedToEnumerateSources(target: String, Error)
9 | case failedToCreateTargetDirectory(target: String, URL, Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXSourceTree.swift:5:13: note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
3 | /// Specifies source trees for files
4 | /// Corresponds to the "Location" dropdown in Xcode's File Inspector
5 | public enum PBXSourceTree: CustomStringConvertible, Equatable, Decodable {
| `- note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
6 | case none
7 | case absolute
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
1 | import Foundation
2 | import SwiftXcodeProj
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
3 |
4 | /// An error returned by ``XcodeprojConverter``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:14:8: warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
12 | case failedToCreateConfigurationFile(URL, Error)
13 | case directoryAlreadyExists(URL)
14 | case invalidBuildFile(PBXBuildFile)
| `- warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/BuildPhase/PBXBuildFile.swift:4:20: note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
2 |
3 | /// This element indicates a file reference that is used in a PBXBuildPhase (either as an include or resource).
4 | public final class PBXBuildFile: PBXObject {
| `- note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
5 | // MARK: - Attributes
6 |
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:16:8: warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
14 | case invalidBuildFile(PBXBuildFile)
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
| `- warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
17 | case failedToCreateAppConfiguration(target: String, AppConfigurationError)
18 | case failedToFormatPackageManifest(Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXFileElement.swift:5:14: note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
3 |
4 | /// This element is an abstract parent for file and group elements.
5 | public class PBXFileElement: PBXContainerItem, PlistSerializable {
| `- note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
6 | // MARK: - Attributes
7 |
/host/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 | }
/host/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."
/host/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() {
/host/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."
/host/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."
/host/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.",
/host/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."
/host/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."
/host/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."
/host/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."
/host/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."
/host/spi-builder-workspace/Sources/swift-bundler/Commands/SimulatorsCommand.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 managing and listing available simulators.
5 | struct SimulatorsCommand: ParsableCommand {
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: "simulators",
8 | abstract: "Manage and list available simulators.",
/host/spi-builder-workspace/Sources/swift-bundler/Commands/Templates/TemplatesInfoCommand.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 getting info about a template.
6 | struct TemplatesInfoCommand: 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: "info",
9 | abstract: "Get info about a template."
/host/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()
133 | log.info("Received connection from runtime")
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures 'self' which is accessible to code in the current task
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
/host/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
:
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures 'self' which is accessible to code in the current task
171 | architectures: architectures,
172 | platform: arguments.platform,
[1839/1848] Compiling swift_bundler ListIdentitiesCommand.swift
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:7:8: warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
5 | enum XcodeprojConverterError: LocalizedError {
6 | case failedToLoadXcodeProj(URL, Error)
7 | case unsupportedFilePathType(PBXSourceTree)
| `- warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
8 | case failedToEnumerateSources(target: String, Error)
9 | case failedToCreateTargetDirectory(target: String, URL, Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXSourceTree.swift:5:13: note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
3 | /// Specifies source trees for files
4 | /// Corresponds to the "Location" dropdown in Xcode's File Inspector
5 | public enum PBXSourceTree: CustomStringConvertible, Equatable, Decodable {
| `- note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
6 | case none
7 | case absolute
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
1 | import Foundation
2 | import SwiftXcodeProj
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
3 |
4 | /// An error returned by ``XcodeprojConverter``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:14:8: warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
12 | case failedToCreateConfigurationFile(URL, Error)
13 | case directoryAlreadyExists(URL)
14 | case invalidBuildFile(PBXBuildFile)
| `- warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/BuildPhase/PBXBuildFile.swift:4:20: note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
2 |
3 | /// This element indicates a file reference that is used in a PBXBuildPhase (either as an include or resource).
4 | public final class PBXBuildFile: PBXObject {
| `- note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
5 | // MARK: - Attributes
6 |
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:16:8: warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
14 | case invalidBuildFile(PBXBuildFile)
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
| `- warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
17 | case failedToCreateAppConfiguration(target: String, AppConfigurationError)
18 | case failedToFormatPackageManifest(Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXFileElement.swift:5:14: note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
3 |
4 | /// This element is an abstract parent for file and group elements.
5 | public class PBXFileElement: PBXContainerItem, PlistSerializable {
| `- note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
6 | // MARK: - Attributes
7 |
/host/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 | }
/host/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."
/host/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() {
/host/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."
/host/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."
/host/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.",
/host/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."
/host/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."
/host/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."
/host/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."
/host/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."
/host/spi-builder-workspace/Sources/swift-bundler/Commands/SimulatorsCommand.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 managing and listing available simulators.
5 | struct SimulatorsCommand: ParsableCommand {
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: "simulators",
8 | abstract: "Manage and list available simulators.",
/host/spi-builder-workspace/Sources/swift-bundler/Commands/Templates/TemplatesInfoCommand.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 getting info about a template.
6 | struct TemplatesInfoCommand: 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: "info",
9 | abstract: "Get info about a template."
/host/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()
133 | log.info("Received connection from runtime")
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures 'self' which is accessible to code in the current task
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
/host/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
:
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures 'self' which is accessible to code in the current task
171 | architectures: architectures,
172 | platform: arguments.platform,
[1840/1848] Compiling swift_bundler MigrateCommand.swift
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:7:8: warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
5 | enum XcodeprojConverterError: LocalizedError {
6 | case failedToLoadXcodeProj(URL, Error)
7 | case unsupportedFilePathType(PBXSourceTree)
| `- warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
8 | case failedToEnumerateSources(target: String, Error)
9 | case failedToCreateTargetDirectory(target: String, URL, Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXSourceTree.swift:5:13: note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
3 | /// Specifies source trees for files
4 | /// Corresponds to the "Location" dropdown in Xcode's File Inspector
5 | public enum PBXSourceTree: CustomStringConvertible, Equatable, Decodable {
| `- note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
6 | case none
7 | case absolute
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
1 | import Foundation
2 | import SwiftXcodeProj
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
3 |
4 | /// An error returned by ``XcodeprojConverter``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:14:8: warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
12 | case failedToCreateConfigurationFile(URL, Error)
13 | case directoryAlreadyExists(URL)
14 | case invalidBuildFile(PBXBuildFile)
| `- warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/BuildPhase/PBXBuildFile.swift:4:20: note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
2 |
3 | /// This element indicates a file reference that is used in a PBXBuildPhase (either as an include or resource).
4 | public final class PBXBuildFile: PBXObject {
| `- note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
5 | // MARK: - Attributes
6 |
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:16:8: warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
14 | case invalidBuildFile(PBXBuildFile)
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
| `- warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
17 | case failedToCreateAppConfiguration(target: String, AppConfigurationError)
18 | case failedToFormatPackageManifest(Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXFileElement.swift:5:14: note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
3 |
4 | /// This element is an abstract parent for file and group elements.
5 | public class PBXFileElement: PBXContainerItem, PlistSerializable {
| `- note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
6 | // MARK: - Attributes
7 |
/host/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 | }
/host/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."
/host/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() {
/host/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."
/host/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."
/host/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.",
/host/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."
/host/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."
/host/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."
/host/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."
/host/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."
/host/spi-builder-workspace/Sources/swift-bundler/Commands/SimulatorsCommand.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 managing and listing available simulators.
5 | struct SimulatorsCommand: ParsableCommand {
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: "simulators",
8 | abstract: "Manage and list available simulators.",
/host/spi-builder-workspace/Sources/swift-bundler/Commands/Templates/TemplatesInfoCommand.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 getting info about a template.
6 | struct TemplatesInfoCommand: 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: "info",
9 | abstract: "Get info about a template."
/host/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()
133 | log.info("Received connection from runtime")
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures 'self' which is accessible to code in the current task
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
/host/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
:
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures 'self' which is accessible to code in the current task
171 | architectures: architectures,
172 | platform: arguments.platform,
[1841/1848] Compiling swift_bundler RunCommand.swift
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:7:8: warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
5 | enum XcodeprojConverterError: LocalizedError {
6 | case failedToLoadXcodeProj(URL, Error)
7 | case unsupportedFilePathType(PBXSourceTree)
| `- warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
8 | case failedToEnumerateSources(target: String, Error)
9 | case failedToCreateTargetDirectory(target: String, URL, Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXSourceTree.swift:5:13: note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
3 | /// Specifies source trees for files
4 | /// Corresponds to the "Location" dropdown in Xcode's File Inspector
5 | public enum PBXSourceTree: CustomStringConvertible, Equatable, Decodable {
| `- note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
6 | case none
7 | case absolute
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
1 | import Foundation
2 | import SwiftXcodeProj
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
3 |
4 | /// An error returned by ``XcodeprojConverter``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:14:8: warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
12 | case failedToCreateConfigurationFile(URL, Error)
13 | case directoryAlreadyExists(URL)
14 | case invalidBuildFile(PBXBuildFile)
| `- warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/BuildPhase/PBXBuildFile.swift:4:20: note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
2 |
3 | /// This element indicates a file reference that is used in a PBXBuildPhase (either as an include or resource).
4 | public final class PBXBuildFile: PBXObject {
| `- note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
5 | // MARK: - Attributes
6 |
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:16:8: warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
14 | case invalidBuildFile(PBXBuildFile)
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
| `- warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
17 | case failedToCreateAppConfiguration(target: String, AppConfigurationError)
18 | case failedToFormatPackageManifest(Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXFileElement.swift:5:14: note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
3 |
4 | /// This element is an abstract parent for file and group elements.
5 | public class PBXFileElement: PBXContainerItem, PlistSerializable {
| `- note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
6 | // MARK: - Attributes
7 |
/host/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 | }
/host/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."
/host/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() {
/host/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."
/host/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."
/host/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.",
/host/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."
/host/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."
/host/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."
/host/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."
/host/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."
/host/spi-builder-workspace/Sources/swift-bundler/Commands/SimulatorsCommand.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 managing and listing available simulators.
5 | struct SimulatorsCommand: ParsableCommand {
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: "simulators",
8 | abstract: "Manage and list available simulators.",
/host/spi-builder-workspace/Sources/swift-bundler/Commands/Templates/TemplatesInfoCommand.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 getting info about a template.
6 | struct TemplatesInfoCommand: 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: "info",
9 | abstract: "Get info about a template."
/host/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()
133 | log.info("Received connection from runtime")
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures 'self' which is accessible to code in the current task
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
/host/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
:
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures 'self' which is accessible to code in the current task
171 | architectures: architectures,
172 | platform: arguments.platform,
[1842/1848] Compiling swift_bundler SimulatorsBootCommand.swift
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:7:8: warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
5 | enum XcodeprojConverterError: LocalizedError {
6 | case failedToLoadXcodeProj(URL, Error)
7 | case unsupportedFilePathType(PBXSourceTree)
| `- warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
8 | case failedToEnumerateSources(target: String, Error)
9 | case failedToCreateTargetDirectory(target: String, URL, Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXSourceTree.swift:5:13: note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
3 | /// Specifies source trees for files
4 | /// Corresponds to the "Location" dropdown in Xcode's File Inspector
5 | public enum PBXSourceTree: CustomStringConvertible, Equatable, Decodable {
| `- note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
6 | case none
7 | case absolute
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
1 | import Foundation
2 | import SwiftXcodeProj
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
3 |
4 | /// An error returned by ``XcodeprojConverter``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:14:8: warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
12 | case failedToCreateConfigurationFile(URL, Error)
13 | case directoryAlreadyExists(URL)
14 | case invalidBuildFile(PBXBuildFile)
| `- warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/BuildPhase/PBXBuildFile.swift:4:20: note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
2 |
3 | /// This element indicates a file reference that is used in a PBXBuildPhase (either as an include or resource).
4 | public final class PBXBuildFile: PBXObject {
| `- note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
5 | // MARK: - Attributes
6 |
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:16:8: warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
14 | case invalidBuildFile(PBXBuildFile)
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
| `- warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
17 | case failedToCreateAppConfiguration(target: String, AppConfigurationError)
18 | case failedToFormatPackageManifest(Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXFileElement.swift:5:14: note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
3 |
4 | /// This element is an abstract parent for file and group elements.
5 | public class PBXFileElement: PBXContainerItem, PlistSerializable {
| `- note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
6 | // MARK: - Attributes
7 |
/host/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 | }
/host/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."
/host/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() {
/host/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."
/host/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."
/host/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.",
/host/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."
/host/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."
/host/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."
/host/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."
/host/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."
/host/spi-builder-workspace/Sources/swift-bundler/Commands/SimulatorsCommand.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 managing and listing available simulators.
5 | struct SimulatorsCommand: ParsableCommand {
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: "simulators",
8 | abstract: "Manage and list available simulators.",
/host/spi-builder-workspace/Sources/swift-bundler/Commands/Templates/TemplatesInfoCommand.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 getting info about a template.
6 | struct TemplatesInfoCommand: 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: "info",
9 | abstract: "Get info about a template."
/host/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()
133 | log.info("Received connection from runtime")
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures 'self' which is accessible to code in the current task
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
/host/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
:
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures 'self' which is accessible to code in the current task
171 | architectures: architectures,
172 | platform: arguments.platform,
[1843/1848] Compiling swift_bundler SimulatorsListCommand.swift
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:7:8: warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
5 | enum XcodeprojConverterError: LocalizedError {
6 | case failedToLoadXcodeProj(URL, Error)
7 | case unsupportedFilePathType(PBXSourceTree)
| `- warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
8 | case failedToEnumerateSources(target: String, Error)
9 | case failedToCreateTargetDirectory(target: String, URL, Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXSourceTree.swift:5:13: note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
3 | /// Specifies source trees for files
4 | /// Corresponds to the "Location" dropdown in Xcode's File Inspector
5 | public enum PBXSourceTree: CustomStringConvertible, Equatable, Decodable {
| `- note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
6 | case none
7 | case absolute
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
1 | import Foundation
2 | import SwiftXcodeProj
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
3 |
4 | /// An error returned by ``XcodeprojConverter``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:14:8: warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
12 | case failedToCreateConfigurationFile(URL, Error)
13 | case directoryAlreadyExists(URL)
14 | case invalidBuildFile(PBXBuildFile)
| `- warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/BuildPhase/PBXBuildFile.swift:4:20: note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
2 |
3 | /// This element indicates a file reference that is used in a PBXBuildPhase (either as an include or resource).
4 | public final class PBXBuildFile: PBXObject {
| `- note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
5 | // MARK: - Attributes
6 |
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:16:8: warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
14 | case invalidBuildFile(PBXBuildFile)
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
| `- warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
17 | case failedToCreateAppConfiguration(target: String, AppConfigurationError)
18 | case failedToFormatPackageManifest(Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXFileElement.swift:5:14: note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
3 |
4 | /// This element is an abstract parent for file and group elements.
5 | public class PBXFileElement: PBXContainerItem, PlistSerializable {
| `- note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
6 | // MARK: - Attributes
7 |
/host/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 | }
/host/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."
/host/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() {
/host/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."
/host/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."
/host/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.",
/host/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."
/host/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."
/host/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."
/host/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."
/host/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."
/host/spi-builder-workspace/Sources/swift-bundler/Commands/SimulatorsCommand.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 managing and listing available simulators.
5 | struct SimulatorsCommand: ParsableCommand {
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: "simulators",
8 | abstract: "Manage and list available simulators.",
/host/spi-builder-workspace/Sources/swift-bundler/Commands/Templates/TemplatesInfoCommand.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 getting info about a template.
6 | struct TemplatesInfoCommand: 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: "info",
9 | abstract: "Get info about a template."
/host/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()
133 | log.info("Received connection from runtime")
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures 'self' which is accessible to code in the current task
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
/host/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
:
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures 'self' which is accessible to code in the current task
171 | architectures: architectures,
172 | platform: arguments.platform,
[1844/1848] Compiling swift_bundler SimulatorsCommand.swift
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:7:8: warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
5 | enum XcodeprojConverterError: LocalizedError {
6 | case failedToLoadXcodeProj(URL, Error)
7 | case unsupportedFilePathType(PBXSourceTree)
| `- warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
8 | case failedToEnumerateSources(target: String, Error)
9 | case failedToCreateTargetDirectory(target: String, URL, Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXSourceTree.swift:5:13: note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
3 | /// Specifies source trees for files
4 | /// Corresponds to the "Location" dropdown in Xcode's File Inspector
5 | public enum PBXSourceTree: CustomStringConvertible, Equatable, Decodable {
| `- note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
6 | case none
7 | case absolute
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
1 | import Foundation
2 | import SwiftXcodeProj
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
3 |
4 | /// An error returned by ``XcodeprojConverter``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:14:8: warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
12 | case failedToCreateConfigurationFile(URL, Error)
13 | case directoryAlreadyExists(URL)
14 | case invalidBuildFile(PBXBuildFile)
| `- warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/BuildPhase/PBXBuildFile.swift:4:20: note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
2 |
3 | /// This element indicates a file reference that is used in a PBXBuildPhase (either as an include or resource).
4 | public final class PBXBuildFile: PBXObject {
| `- note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
5 | // MARK: - Attributes
6 |
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:16:8: warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
14 | case invalidBuildFile(PBXBuildFile)
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
| `- warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
17 | case failedToCreateAppConfiguration(target: String, AppConfigurationError)
18 | case failedToFormatPackageManifest(Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXFileElement.swift:5:14: note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
3 |
4 | /// This element is an abstract parent for file and group elements.
5 | public class PBXFileElement: PBXContainerItem, PlistSerializable {
| `- note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
6 | // MARK: - Attributes
7 |
/host/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 | }
/host/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."
/host/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() {
/host/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."
/host/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."
/host/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.",
/host/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."
/host/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."
/host/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."
/host/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."
/host/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."
/host/spi-builder-workspace/Sources/swift-bundler/Commands/SimulatorsCommand.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 managing and listing available simulators.
5 | struct SimulatorsCommand: ParsableCommand {
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: "simulators",
8 | abstract: "Manage and list available simulators.",
/host/spi-builder-workspace/Sources/swift-bundler/Commands/Templates/TemplatesInfoCommand.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 getting info about a template.
6 | struct TemplatesInfoCommand: 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: "info",
9 | abstract: "Get info about a template."
/host/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()
133 | log.info("Received connection from runtime")
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures 'self' which is accessible to code in the current task
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
/host/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
:
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures 'self' which is accessible to code in the current task
171 | architectures: architectures,
172 | platform: arguments.platform,
[1845/1848] Compiling swift_bundler TemplatesInfoCommand.swift
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:7:8: warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
5 | enum XcodeprojConverterError: LocalizedError {
6 | case failedToLoadXcodeProj(URL, Error)
7 | case unsupportedFilePathType(PBXSourceTree)
| `- warning: associated value 'unsupportedFilePathType' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXSourceTree'; this is an error in the Swift 6 language mode
8 | case failedToEnumerateSources(target: String, Error)
9 | case failedToCreateTargetDirectory(target: String, URL, Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXSourceTree.swift:5:13: note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
3 | /// Specifies source trees for files
4 | /// Corresponds to the "Location" dropdown in Xcode's File Inspector
5 | public enum PBXSourceTree: CustomStringConvertible, Equatable, Decodable {
| `- note: enum 'PBXSourceTree' does not conform to the 'Sendable' protocol
6 | case none
7 | case absolute
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
1 | import Foundation
2 | import SwiftXcodeProj
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftXcodeProj'
3 |
4 | /// An error returned by ``XcodeprojConverter``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:14:8: warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
12 | case failedToCreateConfigurationFile(URL, Error)
13 | case directoryAlreadyExists(URL)
14 | case invalidBuildFile(PBXBuildFile)
| `- warning: associated value 'invalidBuildFile' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXBuildFile'; this is an error in the Swift 6 language mode
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/BuildPhase/PBXBuildFile.swift:4:20: note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
2 |
3 | /// This element indicates a file reference that is used in a PBXBuildPhase (either as an include or resource).
4 | public final class PBXBuildFile: PBXObject {
| `- note: class 'PBXBuildFile' does not conform to the 'Sendable' protocol
5 | // MARK: - Attributes
6 |
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/XcodeprojConverter/XcodeprojConverterError.swift:16:8: warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
14 | case invalidBuildFile(PBXBuildFile)
15 | case failedToLoadXcodeWorkspace(URL, Error)
16 | case failedToGetRelativePath(PBXFileElement, Error?)
| `- warning: associated value 'failedToGetRelativePath' of 'Sendable'-conforming enum 'XcodeprojConverterError' has non-sendable type 'PBXFileElement'; this is an error in the Swift 6 language mode
17 | case failedToCreateAppConfiguration(target: String, AppConfigurationError)
18 | case failedToFormatPackageManifest(Error)
/host/spi-builder-workspace/.build/checkouts/SwiftXcodeProj/Sources/SwiftXcodeProj/Objects/Files/PBXFileElement.swift:5:14: note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
3 |
4 | /// This element is an abstract parent for file and group elements.
5 | public class PBXFileElement: PBXContainerItem, PlistSerializable {
| `- note: class 'PBXFileElement' does not conform to the 'Sendable' protocol
6 | // MARK: - Attributes
7 |
/host/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 | }
/host/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."
/host/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() {
/host/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."
/host/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."
/host/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.",
/host/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."
/host/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."
/host/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."
/host/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."
/host/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."
/host/spi-builder-workspace/Sources/swift-bundler/Commands/SimulatorsCommand.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 managing and listing available simulators.
5 | struct SimulatorsCommand: ParsableCommand {
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: "simulators",
8 | abstract: "Manage and list available simulators.",
/host/spi-builder-workspace/Sources/swift-bundler/Commands/Templates/TemplatesInfoCommand.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 getting info about a template.
6 | struct TemplatesInfoCommand: 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: "info",
9 | abstract: "Get info about a template."
/host/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()
133 | log.info("Received connection from runtime")
:
145 | .unwrap()
146 |
147 | guard let platformVersion = manifest.platformVersion(for: arguments.platform) else {
| `- note: closure captures 'self' which is accessible to code in the current task
148 | let manifestFile = packageDirectory.appendingPathComponent("Package.swift")
149 | throw CLIError.failedToGetPlatformVersion(
/host/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
:
168 | product: appConfiguration.product,
169 | packageDirectory: packageDirectory,
170 | configuration: arguments.buildConfiguration,
| `- note: closure captures 'self' which is accessible to code in the current task
171 | architectures: architectures,
172 | platform: arguments.platform,
[1846/1849] Wrapping AST for swift-bundler for debugging
[1847/1849] Write Objects.LinkFileList
[1848/1849] Linking swift-bundler
Build complete! (335.95s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.