Build Information
Failed to build swift-bundler, reference v2.0.10 (182d89
), with Swift 6.0 for Linux on 16 Sep 2024 11:04:50 UTC.
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
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/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:36: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
34 |
35 | /// Used to avoid loading configuration twice when RunCommand is used.
36 | 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
37 |
38 | init() {
/host/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:45:10: error: value of type 'BundleCommand' has no member 'builtWithXcode'
43 | _arguments = arguments
44 | self.skipBuild = skipBuild
45 | self.builtWithXcode = builtWithXcode
| `- error: value of type 'BundleCommand' has no member 'builtWithXcode'
46 | }
47 |
/host/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:140:21: error: value of type 'BundleArguments' has no member 'universal'
138 | case .macOS:
139 | architectures =
140 | arguments.universal
| `- error: value of type 'BundleArguments' has no member 'universal'
141 | ? [.arm64, .x86_64]
142 | : (!arguments.architectures.isEmpty
/host/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:168:25: error: cannot find 'builtWithXcode' in scope
166 | if !Self.validateArguments(
167 | arguments, platform: arguments.platform, skipBuild: skipBuild,
168 | builtWithXcode: builtWithXcode)
| `- error: cannot find 'builtWithXcode' in scope
169 | {
170 | Foundation.exit(1)
/host/spi-builder-workspace/Sources/swift-bundler/Commands/BundleCommand.swift:228:25: error: cannot find 'builtWithXcode' in scope
226 | productsDirectory: productsDirectory,
227 | outputDirectory: outputDirectory,
228 | isXcodeBuild: builtWithXcode,
| `- error: cannot find 'builtWithXcode' in scope
229 | universal: universal,
230 | standAlone: arguments.standAlone,
[1222/1254] Compiling swift_bundler Process.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1223/1254] Compiling swift_bundler ProcessError.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1224/1254] Compiling swift_bundler Result.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1225/1254] Compiling swift_bundler Sequence.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1226/1254] Compiling swift_bundler String.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1227/1254] Compiling swift_bundler URL.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1228/1254] Compiling swift_bundler Version.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1229/1254] Compiling swift_bundler SwiftBundler.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1230/1254] Compiling swift_bundler Box.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1231/1254] Compiling swift_bundler Logger.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1232/1254] Compiling swift_bundler LoggerLevel.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1233/1254] Compiling swift_bundler Array+OutputComponent.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1234/1254] Compiling swift_bundler ExampleCommand.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1235/1254] Compiling swift_bundler InlineList.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1236/1254] Compiling swift_bundler KeyedList.swift
/host/spi-builder-workspace/Sources/swift-bundler/Extensions/Process.swift:6:5: warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | ///
5 | /// If the program is killed, all processes in this array are terminated before the program exits.
6 | var processes: [Process] = []
| |- warning: var 'processes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'processes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'processes' with '@MainActor' 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 |
8 | extension Process {
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:9:14: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
10 | commandName: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/.build/checkouts/swift-arg-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
1 | import Foundation
2 | import StackOtterArgParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'StackOtterArgParser'
3 | import Version
4 |
:
7 | static let version = Version(3, 0, 0)
8 |
9 | static let configuration = CommandConfiguration(
| |- 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: "swift-bundler",
11 | abstract: "A tool for creating macOS apps from Swift packages.",
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:6:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// The standard error stream used for logging errors.
6 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standardError' with '@MainActor' 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 |
8 | /// Swift Bundler's basic log handler.
[1237/1254] Compiling swift_bundler PackageManifest.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1238/1254] Compiling swift_bundler Platform.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1239/1254] Compiling swift_bundler SwiftPackageManager.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1240/1254] Compiling swift_bundler SwiftPackageManagerError.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1241/1254] Compiling swift_bundler SwiftTargetInfo.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1242/1254] Compiling swift_bundler System.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1243/1254] Compiling swift_bundler SystemError.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1244/1254] Compiling swift_bundler IndentationStyle.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1245/1254] Compiling swift_bundler SystemDependency.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1246/1254] Compiling swift_bundler Template.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1247/1254] Compiling swift_bundler TemplateManifest.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1248/1254] Compiling swift_bundler Templater.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1249/1254] Compiling swift_bundler TemplaterError.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1250/1254] Compiling swift_bundler VariableEvaluator.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
[1251/1254] Compiling swift_bundler VariableEvaluatorError.swift
/host/spi-builder-workspace/Sources/swift-bundler/Utility/Logger.swift:31: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
29 |
30 | /// The global logger.
31 | 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
32 | return Handler()
33 | }
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/SwiftPackageManager/SwiftPackageManager.swift:348:11: warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
346 |
347 | #if os(Linux)
348 | let temporaryAutolinkFile =
| `- warning: initialization of immutable value 'temporaryAutolinkFile' was never used; consider replacing with assignment to '_' or removing it
349 | temporaryDirectory
350 | .appendingPathComponent("\(uuid)-PackageManifest.autolink").path
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:7:14: warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| `- warning: static property 'version' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/SwiftBundler.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import StackOtterArgParser
3 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
4 |
5 | /// The root command of Swift Bundler.
6 | struct SwiftBundler: AsyncParsableCommand {
7 | static let version = Version(3, 0, 0)
| |- note: annotate 'version' with '@MainActor' 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 |
9 | static let configuration = CommandConfiguration(
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
1 | import Foundation
2 | import Version
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Version'
3 |
4 | /// An error returned by ``Templater``.
/host/spi-builder-workspace/Sources/swift-bundler/Bundler/Templater/TemplaterError.swift:14:8: warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
12 | case failedToDecodeTemplateManifest(template: String, manifest: URL, Error)
13 | case failedToReadTemplateManifest(template: String, manifest: URL, Error)
14 | case templateDoesNotSupportInstalledSwiftVersion(template: String, version: Version, minimumSupportedVersion: Version)
| `- warning: associated value 'templateDoesNotSupportInstalledSwiftVersion(template:version:minimumSupportedVersion:)' of 'Sendable'-conforming enum 'TemplaterError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
15 | case failedToEnumerateTemplateContents(template: String)
16 | case failedToReadFile(template: String, file: URL, Error)
/host/spi-builder-workspace/.build/checkouts/Version/Sources/Version.swift:18:15: note: struct 'Version' does not conform to the 'Sendable' protocol
16 | - SeeAlso: https://semver.org
17 | */
18 | public struct Version {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
19 | /// The major version.
20 | public let major: Int
BUILD FAILURE 6.0 linux