Build Information
Successful build of swiftly, reference 1.0.0 (a9eecc
), with Swift 6.0 for macOS (SPM) on 29 Mar 2025 00:04:56 UTC.
Swift 6 data race errors: 37
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | try! Regex("^(\\d+)\\.(\\d+)\\.(\\d+)(?:-([a-zA-Z0-9]+))?$")
9 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[1191/1201] Compiling SwiftlyCore Utils.swift
[1192/1201] Compiling SwiftlyCore Types.swift
[1193/1201] Compiling SwiftlyCore ToolchainVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:102:16: warning: static property 'stableRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
100 | }
101 |
102 | static let stableRegex: Regex<(Substring, Substring, Substring, Substring)> =
| |- warning: static property 'stableRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stableRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | try! Regex("^(?:Swift )?(\\d+)\\.(\\d+)\\.(\\d+)$")
104 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:105:16: warning: static property 'mainSnapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
103 | try! Regex("^(?:Swift )?(\\d+)\\.(\\d+)\\.(\\d+)$")
104 |
105 | static let mainSnapshotRegex: Regex<(Substring, Substring)> =
| |- warning: static property 'mainSnapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mainSnapshotRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | try! Regex("^main-snapshot-(\\d{4}-\\d{2}-\\d{2})$")
107 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:108:16: warning: static property 'releaseSnapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
106 | try! Regex("^main-snapshot-(\\d{4}-\\d{2}-\\d{2})$")
107 |
108 | static let releaseSnapshotRegex: Regex<(Substring, Substring, Substring, Substring)> =
| |- warning: static property 'releaseSnapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'releaseSnapshotRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | try! Regex("^(\\d+)\\.(\\d+)-snapshot-(\\d{4}-\\d{2}-\\d{2})$")
110 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:355:13: warning: let 'parsers' is not concurrency-safe because non-'Sendable' type '[any ToolchainSelectorParser]' may have shared mutable state; this is an error in the Swift 6 language mode
348 |
349 | /// Protocol used to facilitate parsing `ToolchainSelector`s from strings.
350 | protocol ToolchainSelectorParser {
| `- note: protocol 'ToolchainSelectorParser' does not conform to the 'Sendable' protocol
351 | func parse(_ string: String) throws -> ToolchainSelector?
352 | }
353 |
354 | /// List of all the available selector parsers.
355 | private let parsers: [any ToolchainSelectorParser] = [
| |- warning: let 'parsers' is not concurrency-safe because non-'Sendable' type '[any ToolchainSelectorParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 | StableReleaseParser(),
357 | ReleaseSnapshotParser(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:366:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
364 | /// - a.b
365 | struct StableReleaseParser: ToolchainSelectorParser {
366 | static let regex: Regex<(Substring, Substring, Substring?, Substring?)> =
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
367 | try! Regex("^(\\d+)(?:\\.(\\d+))?(?:\\.(\\d+))?$")
368 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:395:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
393 | /// - a.b-SNAPSHOT
394 | struct ReleaseSnapshotParser: ToolchainSelectorParser {
395 | static let regex: Regex<(Substring, Substring, Substring, Substring?)> =
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
396 | try! Regex("^(?:swift-)?([0-9]+)\\.([0-9]+)-(?:snapshot|DEVELOPMENT-SNAPSHOT|SNAPSHOT)(?:-([0-9]{4}-[0-9]{2}-[0-9]{2}))?(?:-a)?$")
397 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:423:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
421 | /// - swift-DEVELOPMENT-SNAPSHOT
422 | struct MainSnapshotParser: ToolchainSelectorParser {
423 | static let regex: Regex<(Substring, Substring?)> =
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
424 | try! Regex("^(?:main-snapshot|swift-DEVELOPMENT-SNAPSHOT|main-SNAPSHOT)(?:-([0-9]{4}-[0-9]{2}-[0-9]{2}))?(?:-a)?$")
425 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[1194/1201] Compiling SwiftlyCore SwiftlyCore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:3:12: warning: let 'version' is not concurrency-safe because non-'Sendable' type 'SwiftlyVersion' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public let version = SwiftlyVersion(major: 1, minor: 0, patch: 0)
| |- warning: let 'version' is not concurrency-safe because non-'Sendable' type 'SwiftlyVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
4 |
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyVersion.swift:5:15: note: consider making struct 'SwiftlyVersion' conform to the 'Sendable' protocol
3 |
4 | /// Struct modeling a version of swiftly itself.
5 | public struct SwiftlyVersion: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'SwiftlyVersion' conform to the 'Sendable' protocol
6 | /// Regex matching versions like "a.b.c", "a.b.c-alpha", and "a.b.c-alpha2".
7 | static let regex: Regex<(Substring, Substring, Substring, Substring, Substring?)> =
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:7:12: warning: var 'mockedHomeDir' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
6 | /// home directory location logic.
7 | public var mockedHomeDir: URL?
| |- warning: var 'mockedHomeDir' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedHomeDir' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedHomeDir' with '@MainActor' 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 | /// This is the default http client that swiftly uses for its network
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: warning: var 'httpClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| |- warning: var 'httpClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'httpClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'httpClient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:16:12: warning: var 'httpRequestExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | /// such as allowing a proxy to be configured, or for the purpose of mocking
15 | /// for tests.
16 | public var httpRequestExecutor: HTTPRequestExecutor = HTTPRequestExecutorImpl()
| |- warning: var 'httpRequestExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'httpRequestExecutor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'httpRequestExecutor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Protocol defining a handler for information swiftly intends to print to stdout.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:25:12: warning: var 'outputHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The output handler to use, if any.
25 | public var outputHandler: (any OutputHandler)?
| |- warning: var 'outputHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outputHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outputHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Pass the provided string to the set output handler if any.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:45:12: warning: var 'inputProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | public var inputProvider: (any InputProvider)?
| |- warning: var 'inputProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inputProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'inputProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | public func readLine(prompt: String) -> String? {
[1195/1201] Compiling SwiftlyCore Platform.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:24:23: warning: static property 'macOS' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
22 | }
23 |
24 | public static let macOS = PlatformDefinition(name: "xcode", nameFull: "osx", namePretty: "macOS")
| |- warning: static property 'macOS' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'macOS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:26:23: warning: static property 'ubuntu2404' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
24 | public static let macOS = PlatformDefinition(name: "xcode", nameFull: "osx", namePretty: "macOS")
25 |
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
| |- warning: static property 'ubuntu2404' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ubuntu2404' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let ubuntu2204 = PlatformDefinition(name: "ubuntu2204", nameFull: "ubuntu22.04", namePretty: "Ubuntu 22.04")
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:27:23: warning: static property 'ubuntu2204' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
25 |
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
27 | public static let ubuntu2204 = PlatformDefinition(name: "ubuntu2204", nameFull: "ubuntu22.04", namePretty: "Ubuntu 22.04")
| |- warning: static property 'ubuntu2204' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ubuntu2204' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:28:23: warning: static property 'ubuntu2004' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
27 | public static let ubuntu2204 = PlatformDefinition(name: "ubuntu2204", nameFull: "ubuntu22.04", namePretty: "Ubuntu 22.04")
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
| |- warning: static property 'ubuntu2004' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ubuntu2004' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:29:23: warning: static property 'ubuntu1804' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
27 | public static let ubuntu2204 = PlatformDefinition(name: "ubuntu2204", nameFull: "ubuntu22.04", namePretty: "Ubuntu 22.04")
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
| |- warning: static property 'ubuntu1804' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ubuntu1804' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:30:23: warning: static property 'rhel9' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
| |- warning: static property 'rhel9' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rhel9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
32 | public static let amazonlinux2 = PlatformDefinition(name: "amazonlinux2", nameFull: "amazonlinux2", namePretty: "Amazon Linux 2")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:31:23: warning: static property 'fedora39' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
| |- warning: static property 'fedora39' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fedora39' with '@MainActor' 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 | public static let amazonlinux2 = PlatformDefinition(name: "amazonlinux2", nameFull: "amazonlinux2", namePretty: "Amazon Linux 2")
33 | public static let debian12 = PlatformDefinition(name: "debian12", nameFull: "debian12", namePretty: "Debian GNU/Linux 12")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:32:23: warning: static property 'amazonlinux2' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
32 | public static let amazonlinux2 = PlatformDefinition(name: "amazonlinux2", nameFull: "amazonlinux2", namePretty: "Amazon Linux 2")
| |- warning: static property 'amazonlinux2' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'amazonlinux2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let debian12 = PlatformDefinition(name: "debian12", nameFull: "debian12", namePretty: "Debian GNU/Linux 12")
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:33:23: warning: static property 'debian12' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
32 | public static let amazonlinux2 = PlatformDefinition(name: "amazonlinux2", nameFull: "amazonlinux2", namePretty: "Amazon Linux 2")
33 | public static let debian12 = PlatformDefinition(name: "debian12", nameFull: "debian12", namePretty: "Debian GNU/Linux 12")
| |- warning: static property 'debian12' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debian12' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:7:12: warning: var 'mockedHomeDir' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
6 | /// home directory location logic.
7 | public var mockedHomeDir: URL?
| |- warning: var 'mockedHomeDir' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedHomeDir' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedHomeDir' with '@MainActor' 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 | /// This is the default http client that swiftly uses for its network
[1196/1201] Compiling SwiftlyCore Error.swift
[1197/1201] Emitting module SwiftlyCore
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/HTTPClient.swift:215:24: warning: static property 'snapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?, Substring?, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | var dir: String
214 |
215 | private static let snapshotRegex: Regex<(Substring, Substring?, Substring?, Substring)> =
| |- warning: static property 'snapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?, Substring?, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'snapshotRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | try! Regex("swift(?:-(\\d+)\\.(\\d+))?-DEVELOPMENT-SNAPSHOT-(\\d{4}-\\d{2}-\\d{2})")
217 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/HTTPClient.swift:350:20: warning: stored property 'branch' of 'Sendable'-conforming struct 'SnapshotBranchNotFoundError' has non-sendable type 'ToolchainVersion.Snapshot.Branch'; this is an error in the Swift 6 language mode
348 |
349 | public struct SnapshotBranchNotFoundError: LocalizedError {
350 | public var branch: ToolchainVersion.Snapshot.Branch
| `- warning: stored property 'branch' of 'Sendable'-conforming struct 'SnapshotBranchNotFoundError' has non-sendable type 'ToolchainVersion.Snapshot.Branch'; this is an error in the Swift 6 language mode
351 | }
352 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:6:21: note: consider making enum 'Branch' conform to the 'Sendable' protocol
4 | public enum ToolchainVersion {
5 | public struct Snapshot: Equatable, Hashable, CustomStringConvertible, Comparable {
6 | public enum Branch: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making enum 'Branch' conform to the 'Sendable' protocol
7 | case main
8 | case release(major: Int, minor: Int)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:24:23: warning: static property 'macOS' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
22 | }
23 |
24 | public static let macOS = PlatformDefinition(name: "xcode", nameFull: "osx", namePretty: "macOS")
| |- warning: static property 'macOS' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'macOS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:26:23: warning: static property 'ubuntu2404' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
24 | public static let macOS = PlatformDefinition(name: "xcode", nameFull: "osx", namePretty: "macOS")
25 |
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
| |- warning: static property 'ubuntu2404' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ubuntu2404' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let ubuntu2204 = PlatformDefinition(name: "ubuntu2204", nameFull: "ubuntu22.04", namePretty: "Ubuntu 22.04")
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:27:23: warning: static property 'ubuntu2204' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
25 |
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
27 | public static let ubuntu2204 = PlatformDefinition(name: "ubuntu2204", nameFull: "ubuntu22.04", namePretty: "Ubuntu 22.04")
| |- warning: static property 'ubuntu2204' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ubuntu2204' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:28:23: warning: static property 'ubuntu2004' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
27 | public static let ubuntu2204 = PlatformDefinition(name: "ubuntu2204", nameFull: "ubuntu22.04", namePretty: "Ubuntu 22.04")
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
| |- warning: static property 'ubuntu2004' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ubuntu2004' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:29:23: warning: static property 'ubuntu1804' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
27 | public static let ubuntu2204 = PlatformDefinition(name: "ubuntu2204", nameFull: "ubuntu22.04", namePretty: "Ubuntu 22.04")
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
| |- warning: static property 'ubuntu1804' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ubuntu1804' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:30:23: warning: static property 'rhel9' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
| |- warning: static property 'rhel9' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rhel9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
32 | public static let amazonlinux2 = PlatformDefinition(name: "amazonlinux2", nameFull: "amazonlinux2", namePretty: "Amazon Linux 2")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:31:23: warning: static property 'fedora39' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
| |- warning: static property 'fedora39' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fedora39' with '@MainActor' 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 | public static let amazonlinux2 = PlatformDefinition(name: "amazonlinux2", nameFull: "amazonlinux2", namePretty: "Amazon Linux 2")
33 | public static let debian12 = PlatformDefinition(name: "debian12", nameFull: "debian12", namePretty: "Debian GNU/Linux 12")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:32:23: warning: static property 'amazonlinux2' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
32 | public static let amazonlinux2 = PlatformDefinition(name: "amazonlinux2", nameFull: "amazonlinux2", namePretty: "Amazon Linux 2")
| |- warning: static property 'amazonlinux2' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'amazonlinux2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let debian12 = PlatformDefinition(name: "debian12", nameFull: "debian12", namePretty: "Debian GNU/Linux 12")
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:33:23: warning: static property 'debian12' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
32 | public static let amazonlinux2 = PlatformDefinition(name: "amazonlinux2", nameFull: "amazonlinux2", namePretty: "Amazon Linux 2")
33 | public static let debian12 = PlatformDefinition(name: "debian12", nameFull: "debian12", namePretty: "Debian GNU/Linux 12")
| |- warning: static property 'debian12' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debian12' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:3:12: warning: let 'version' is not concurrency-safe because non-'Sendable' type 'SwiftlyVersion' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public let version = SwiftlyVersion(major: 1, minor: 0, patch: 0)
| |- warning: let 'version' is not concurrency-safe because non-'Sendable' type 'SwiftlyVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
4 |
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyVersion.swift:5:15: note: consider making struct 'SwiftlyVersion' conform to the 'Sendable' protocol
3 |
4 | /// Struct modeling a version of swiftly itself.
5 | public struct SwiftlyVersion: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'SwiftlyVersion' conform to the 'Sendable' protocol
6 | /// Regex matching versions like "a.b.c", "a.b.c-alpha", and "a.b.c-alpha2".
7 | static let regex: Regex<(Substring, Substring, Substring, Substring, Substring?)> =
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:7:12: warning: var 'mockedHomeDir' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
6 | /// home directory location logic.
7 | public var mockedHomeDir: URL?
| |- warning: var 'mockedHomeDir' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedHomeDir' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'mockedHomeDir' with '@MainActor' 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 | /// This is the default http client that swiftly uses for its network
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: warning: var 'httpClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| |- warning: var 'httpClient' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'httpClient' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'httpClient' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:16:12: warning: var 'httpRequestExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | /// such as allowing a proxy to be configured, or for the purpose of mocking
15 | /// for tests.
16 | public var httpRequestExecutor: HTTPRequestExecutor = HTTPRequestExecutorImpl()
| |- warning: var 'httpRequestExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'httpRequestExecutor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'httpRequestExecutor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Protocol defining a handler for information swiftly intends to print to stdout.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:25:12: warning: var 'outputHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The output handler to use, if any.
25 | public var outputHandler: (any OutputHandler)?
| |- warning: var 'outputHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'outputHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'outputHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// Pass the provided string to the set output handler if any.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:45:12: warning: var 'inputProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | public var inputProvider: (any InputProvider)?
| |- warning: var 'inputProvider' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'inputProvider' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'inputProvider' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | public func readLine(prompt: String) -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyVersion.swift:7:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
5 | public struct SwiftlyVersion: Equatable, Comparable, CustomStringConvertible {
6 | /// Regex matching versions like "a.b.c", "a.b.c-alpha", and "a.b.c-alpha2".
7 | static let regex: Regex<(Substring, Substring, Substring, Substring, Substring?)> =
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regex' with '@MainActor' 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 | try! Regex("^(\\d+)\\.(\\d+)\\.(\\d+)(?:-([a-zA-Z0-9]+))?$")
9 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:102:16: warning: static property 'stableRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
100 | }
101 |
102 | static let stableRegex: Regex<(Substring, Substring, Substring, Substring)> =
| |- warning: static property 'stableRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stableRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | try! Regex("^(?:Swift )?(\\d+)\\.(\\d+)\\.(\\d+)$")
104 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:105:16: warning: static property 'mainSnapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
103 | try! Regex("^(?:Swift )?(\\d+)\\.(\\d+)\\.(\\d+)$")
104 |
105 | static let mainSnapshotRegex: Regex<(Substring, Substring)> =
| |- warning: static property 'mainSnapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mainSnapshotRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | try! Regex("^main-snapshot-(\\d{4}-\\d{2}-\\d{2})$")
107 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:108:16: warning: static property 'releaseSnapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
106 | try! Regex("^main-snapshot-(\\d{4}-\\d{2}-\\d{2})$")
107 |
108 | static let releaseSnapshotRegex: Regex<(Substring, Substring, Substring, Substring)> =
| |- warning: static property 'releaseSnapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'releaseSnapshotRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 | try! Regex("^(\\d+)\\.(\\d+)-snapshot-(\\d{4}-\\d{2}-\\d{2})$")
110 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:355:13: warning: let 'parsers' is not concurrency-safe because non-'Sendable' type '[any ToolchainSelectorParser]' may have shared mutable state; this is an error in the Swift 6 language mode
348 |
349 | /// Protocol used to facilitate parsing `ToolchainSelector`s from strings.
350 | protocol ToolchainSelectorParser {
| `- note: protocol 'ToolchainSelectorParser' does not conform to the 'Sendable' protocol
351 | func parse(_ string: String) throws -> ToolchainSelector?
352 | }
353 |
354 | /// List of all the available selector parsers.
355 | private let parsers: [any ToolchainSelectorParser] = [
| |- warning: let 'parsers' is not concurrency-safe because non-'Sendable' type '[any ToolchainSelectorParser]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parsers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
356 | StableReleaseParser(),
357 | ReleaseSnapshotParser(),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:366:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
364 | /// - a.b
365 | struct StableReleaseParser: ToolchainSelectorParser {
366 | static let regex: Regex<(Substring, Substring, Substring?, Substring?)> =
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
367 | try! Regex("^(\\d+)(?:\\.(\\d+))?(?:\\.(\\d+))?$")
368 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:395:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
393 | /// - a.b-SNAPSHOT
394 | struct ReleaseSnapshotParser: ToolchainSelectorParser {
395 | static let regex: Regex<(Substring, Substring, Substring, Substring?)> =
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
396 | try! Regex("^(?:swift-)?([0-9]+)\\.([0-9]+)-(?:snapshot|DEVELOPMENT-SNAPSHOT|SNAPSHOT)(?:-([0-9]{4}-[0-9]{2}-[0-9]{2}))?(?:-a)?$")
397 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:423:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
421 | /// - swift-DEVELOPMENT-SNAPSHOT
422 | struct MainSnapshotParser: ToolchainSelectorParser {
423 | static let regex: Regex<(Substring, Substring?)> =
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
424 | try! Regex("^(?:main-snapshot|swift-DEVELOPMENT-SNAPSHOT|main-SNAPSHOT)(?:-([0-9]{4}-[0-9]{2}-[0-9]{2}))?(?:-a)?$")
425 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[1198/1201] Compiling SwiftlyCore HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/HTTPClient.swift:215:24: warning: static property 'snapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?, Substring?, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
213 | var dir: String
214 |
215 | private static let snapshotRegex: Regex<(Substring, Substring?, Substring?, Substring)> =
| |- warning: static property 'snapshotRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring?, Substring?, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'snapshotRegex' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 | try! Regex("swift(?:-(\\d+)\\.(\\d+))?-DEVELOPMENT-SNAPSHOT-(\\d{4}-\\d{2}-\\d{2})")
217 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/HTTPClient.swift:350:20: warning: stored property 'branch' of 'Sendable'-conforming struct 'SnapshotBranchNotFoundError' has non-sendable type 'ToolchainVersion.Snapshot.Branch'; this is an error in the Swift 6 language mode
348 |
349 | public struct SnapshotBranchNotFoundError: LocalizedError {
350 | public var branch: ToolchainVersion.Snapshot.Branch
| `- warning: stored property 'branch' of 'Sendable'-conforming struct 'SnapshotBranchNotFoundError' has non-sendable type 'ToolchainVersion.Snapshot.Branch'; this is an error in the Swift 6 language mode
351 | }
352 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:6:21: note: consider making enum 'Branch' conform to the 'Sendable' protocol
4 | public enum ToolchainVersion {
5 | public struct Snapshot: Equatable, Hashable, CustomStringConvertible, Comparable {
6 | public enum Branch: Equatable, Hashable, CustomStringConvertible {
| `- note: consider making enum 'Branch' conform to the 'Sendable' protocol
7 | case main
8 | case release(major: Int, minor: Int)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:3:12: warning: let 'version' is not concurrency-safe because non-'Sendable' type 'SwiftlyVersion' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public let version = SwiftlyVersion(major: 1, minor: 0, patch: 0)
| |- warning: let 'version' is not concurrency-safe because non-'Sendable' type 'SwiftlyVersion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
4 |
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyVersion.swift:5:15: note: consider making struct 'SwiftlyVersion' conform to the 'Sendable' protocol
3 |
4 | /// Struct modeling a version of swiftly itself.
5 | public struct SwiftlyVersion: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'SwiftlyVersion' conform to the 'Sendable' protocol
6 | /// Regex matching versions like "a.b.c", "a.b.c-alpha", and "a.b.c-alpha2".
7 | static let regex: Regex<(Substring, Substring, Substring, Substring, Substring?)> =
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:28:23: warning: static property 'ubuntu2004' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
27 | public static let ubuntu2204 = PlatformDefinition(name: "ubuntu2204", nameFull: "ubuntu22.04", namePretty: "Ubuntu 22.04")
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
| |- warning: static property 'ubuntu2004' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ubuntu2004' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:32:23: warning: static property 'amazonlinux2' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
32 | public static let amazonlinux2 = PlatformDefinition(name: "amazonlinux2", nameFull: "amazonlinux2", namePretty: "Amazon Linux 2")
| |- warning: static property 'amazonlinux2' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'amazonlinux2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let debian12 = PlatformDefinition(name: "debian12", nameFull: "debian12", namePretty: "Debian GNU/Linux 12")
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:27:23: warning: static property 'ubuntu2204' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
25 |
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
27 | public static let ubuntu2204 = PlatformDefinition(name: "ubuntu2204", nameFull: "ubuntu22.04", namePretty: "Ubuntu 22.04")
| |- warning: static property 'ubuntu2204' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ubuntu2204' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:30:23: warning: static property 'rhel9' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
28 | public static let ubuntu2004 = PlatformDefinition(name: "ubuntu2004", nameFull: "ubuntu20.04", namePretty: "Ubuntu 20.04")
29 | public static let ubuntu1804 = PlatformDefinition(name: "ubuntu1804", nameFull: "ubuntu18.04", namePretty: "Ubuntu 18.04")
30 | public static let rhel9 = PlatformDefinition(name: "ubi9", nameFull: "ubi9", namePretty: "RHEL 9")
| |- warning: static property 'rhel9' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rhel9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let fedora39 = PlatformDefinition(name: "fedora39", nameFull: "fedora39", namePretty: "Fedora Linux 39")
32 | public static let amazonlinux2 = PlatformDefinition(name: "amazonlinux2", nameFull: "amazonlinux2", namePretty: "Amazon Linux 2")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:16:12: warning: var 'httpRequestExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | /// such as allowing a proxy to be configured, or for the purpose of mocking
15 | /// for tests.
16 | public var httpRequestExecutor: HTTPRequestExecutor = HTTPRequestExecutorImpl()
| |- warning: var 'httpRequestExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'httpRequestExecutor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'httpRequestExecutor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /// Protocol defining a handler for information swiftly intends to print to stdout.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:24:23: warning: static property 'macOS' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PlatformDefinition: Codable, Equatable {
| `- note: consider making struct 'PlatformDefinition' conform to the 'Sendable' protocol
4 | /// The name of the platform as it is used in the Swift download URLs.
5 | /// For instance, for Ubuntu 16.04 this would return “ubuntu1604”.
:
22 | }
23 |
24 | public static let macOS = PlatformDefinition(name: "xcode", nameFull: "osx", namePretty: "macOS")
| |- warning: static property 'macOS' is not concurrency-safe because non-'Sendable' type 'PlatformDefinition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'macOS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let ubuntu2404 = PlatformDefinition(name: "ubuntu2404", nameFull: "ubuntu24.04", namePretty: "Ubuntu 24.04")
[1199/1203] Emitting module MacOSPlatform
/Users/admin/builder/spi-builder-workspace/Sources/MacOSPlatform/MacOS.swift:182:23: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
180 | }
181 |
182 | public static let currentPlatform: any Platform = MacOS()
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/MacOSPlatform/MacOS.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
1 | import Foundation
2 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
3 |
4 | public struct SwiftPkgInfo: Codable {
:
180 | }
181 |
182 | public static let currentPlatform: any Platform = MacOS()
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | }
184 |
[1200/1203] Compiling MacOSPlatform MacOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacOSPlatform/MacOS.swift:182:23: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
180 | }
181 |
182 | public static let currentPlatform: any Platform = MacOS()
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/MacOSPlatform/MacOS.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
1 | import Foundation
2 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
3 |
4 | public struct SwiftPkgInfo: Codable {
:
180 | }
181 |
182 | public static let currentPlatform: any Platform = MacOS()
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | }
184 |
/Users/admin/builder/spi-builder-workspace/Sources/MacOSPlatform/MacOS.swift:22:21: warning: reference to var 'mockedHomeDir' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public var swiftlyBinDir: URL {
22 | SwiftlyCore.mockedHomeDir.map { $0.appendingPathComponent("bin", isDirectory: true) }
| `- warning: reference to var 'mockedHomeDir' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 | ?? ProcessInfo.processInfo.environment["SWIFTLY_BIN_DIR"].map { URL(fileURLWithPath: $0) }
24 | ?? FileManager.default.homeDirectoryForCurrentUser
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:7:12: note: var declared here
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
6 | /// home directory location logic.
7 | public var mockedHomeDir: URL?
| `- note: var declared here
8 |
9 | /// This is the default http client that swiftly uses for its network
/Users/admin/builder/spi-builder-workspace/Sources/MacOSPlatform/MacOS.swift:29:21: warning: reference to var 'mockedHomeDir' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | public var swiftlyToolchainsDir: URL {
29 | SwiftlyCore.mockedHomeDir.map { $0.appendingPathComponent("Toolchains", isDirectory: true) }
| `- warning: reference to var 'mockedHomeDir' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | // The toolchains are always installed here by the installer. We bypass the installer in the case of test mocks
31 | ?? FileManager.default.homeDirectoryForCurrentUser.appendingPathComponent("Library/Developer/Toolchains", isDirectory: true)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:7:12: note: var declared here
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
6 | /// home directory location logic.
7 | public var mockedHomeDir: URL?
| `- note: var declared here
8 |
9 | /// This is the default http client that swiftly uses for its network
/Users/admin/builder/spi-builder-workspace/Sources/MacOSPlatform/MacOS.swift:61:24: warning: reference to var 'mockedHomeDir' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 | }
60 |
61 | if SwiftlyCore.mockedHomeDir == nil {
| `- warning: reference to var 'mockedHomeDir' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | SwiftlyCore.print("Installing package in user home directory...")
63 | try runProgram("installer", "-verbose", "-pkg", tmpFile.path, "-target", "CurrentUserHomeDirectory", quiet: !verbose)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:7:12: note: var declared here
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
6 | /// home directory location logic.
7 | public var mockedHomeDir: URL?
| `- note: var declared here
8 |
9 | /// This is the default http client that swiftly uses for its network
/Users/admin/builder/spi-builder-workspace/Sources/MacOSPlatform/MacOS.swift:93:24: warning: reference to var 'mockedHomeDir' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
91 | let homeDir: URL
92 |
93 | if SwiftlyCore.mockedHomeDir == nil {
| `- warning: reference to var 'mockedHomeDir' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 | homeDir = FileManager.default.homeDirectoryForCurrentUser
95 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:7:12: note: var declared here
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
6 | /// home directory location logic.
7 | public var mockedHomeDir: URL?
| `- note: var declared here
8 |
9 | /// This is the default http client that swiftly uses for its network
/Users/admin/builder/spi-builder-workspace/Sources/MacOSPlatform/MacOS.swift:100:35: warning: reference to var 'mockedHomeDir' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
98 | try? runProgram("pkgutil", "--volume", homeDir.path, "--forget", "org.swift.swiftly")
99 | } else {
100 | homeDir = SwiftlyCore.mockedHomeDir ?? FileManager.default.homeDirectoryForCurrentUser
| `- warning: reference to var 'mockedHomeDir' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | let installDir = homeDir.appendingPathComponent(".swiftly")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:7:12: note: var declared here
5 | /// A separate home directory to use for testing purposes. This overrides swiftly's default
6 | /// home directory location logic.
7 | public var mockedHomeDir: URL?
| `- note: var declared here
8 |
9 | /// This is the default http client that swiftly uses for its network
[1201/1215] Compiling Swiftly SelfUpdate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/SelfUpdate.swift:9:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | internal struct SelfUpdate: SwiftlyCommand {
9 | public static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | abstract: "Update the version of swiftly itself."
11 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/SelfUpdate.swift:33:52: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | SwiftlyCore.print("Checking for swiftly updates...")
32 |
33 | let swiftlyRelease = try await SwiftlyCore.httpClient.getCurrentSwiftlyRelease()
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | guard try swiftlyRelease.swiftlyVersion > SwiftlyCore.version else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/SelfUpdate.swift:74:21: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 |
73 | let animation = PercentProgressAnimation(
74 | stream: stdoutStream,
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | header: "Downloading swiftly \(version)"
76 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/SelfUpdate.swift:78:35: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
76 | )
77 | do {
78 | try await SwiftlyCore.httpClient.downloadFile(
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 | url: downloadURL,
80 | to: tmpFile,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/SelfUpdate.swift:98:83: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | animation.complete(success: true)
97 |
98 | try await Swiftly.currentPlatform.verifySignature(httpClient: SwiftlyCore.httpClient, archiveDownloadURL: downloadURL, archive: tmpFile, verbose: verbose)
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
99 | try Swiftly.currentPlatform.extractSwiftlyAndInstall(from: tmpFile)
100 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
[1202/1216] Compiling Swiftly Proxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Proxy.swift:48:49: warning: non-sendable type '(ToolchainVersion?, ToolchainSelectionResult)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
46 | var config = try Config.load()
47 |
48 | let (toolchain, result) = try await selectToolchain(config: &config)
| `- warning: non-sendable type '(ToolchainVersion?, ToolchainSelectionResult)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
49 |
50 | // Abort on any errors relating to swift version files
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/ToolchainVersion.swift:4:13: note: enum 'ToolchainVersion' does not conform to the 'Sendable' protocol
2 |
3 | /// Enum representing a fully resolved toolchain version (e.g. 5.6.7 or 5.7-snapshot-2022-07-05).
4 | public enum ToolchainVersion {
| `- note: enum 'ToolchainVersion' does not conform to the 'Sendable' protocol
5 | public struct Snapshot: Equatable, Hashable, CustomStringConvertible, Comparable {
6 | public enum Branch: Equatable, Hashable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Proxy.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
1 | import Foundation
2 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
3 |
4 | @main
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Proxy.swift:48:49: warning: non-sendable type '(ToolchainVersion?, ToolchainSelectionResult)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
46 | var config = try Config.load()
47 |
48 | let (toolchain, result) = try await selectToolchain(config: &config)
| `- warning: non-sendable type '(ToolchainVersion?, ToolchainSelectionResult)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
49 |
50 | // Abort on any errors relating to swift version files
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Use.swift:167:13: note: consider making enum 'ToolchainSelectionResult' conform to the 'Sendable' protocol
165 | }
166 |
167 | public enum ToolchainSelectionResult {
| `- note: consider making enum 'ToolchainSelectionResult' conform to the 'Sendable' protocol
168 | case globalDefault
169 | case swiftVersionFile(URL, ToolchainSelector?, Error?)
[1203/1216] Compiling Swiftly Uninstall.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Uninstall.swift:5:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct Uninstall: SwiftlyCommand {
5 | public 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
6 | abstract: "Remove an installed toolchain."
7 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
[1204/1216] Compiling Swiftly Update.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Update.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct Update: SwiftlyCommand {
6 | public 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 | abstract: "Update an installed toolchain to a newer version."
8 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Update.swift:199:42: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
197 | switch bounds {
198 | case let .stable(old, range):
199 | return try await SwiftlyCore.httpClient.getReleaseToolchains(platform: config.platform, limit: 1) { release in
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
200 | switch range {
201 | case .latest:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Update.swift:212:65: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
210 | let newerSnapshotToolchains: [ToolchainVersion.Snapshot]
211 | do {
212 | newerSnapshotToolchains = try await SwiftlyCore.httpClient.getSnapshotToolchains(platform: config.platform, branch: old.branch, limit: 1) { snapshot in
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
213 | snapshot.branch == old.branch && snapshot.date > old.date
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
[1205/1216] Compiling Swiftly Swiftly.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:21:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public struct Swiftly: SwiftlyCommand {
21 | public 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
22 | abstract: "A utility for installing and managing Swift toolchains.",
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
[1206/1216] Compiling Swiftly Run.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Run.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | internal struct Run: SwiftlyCommand {
6 | public 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 | abstract: "Run a command while proxying to the selected toolchain commands."
8 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Run.swift:93:48: warning: reference to var 'outputHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
91 |
92 | do {
93 | if let outputHandler = SwiftlyCore.outputHandler {
| `- warning: reference to var 'outputHandler' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 | if let output = try await Swiftly.currentPlatform.proxyOutput(toolchain, command[0], [String](command[1...])) {
95 | for line in output.split(separator: "\n") {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:25:12: note: var declared here
23 |
24 | /// The output handler to use, if any.
25 | public var outputHandler: (any OutputHandler)?
| `- note: var declared here
26 |
27 | /// Pass the provided string to the set output handler if any.
[1207/1216] Compiling Swiftly Use.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Use.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | internal struct Use: SwiftlyCommand {
6 | public 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 | abstract: "Set the in-use or default toolchain. If no toolchain is provided, print the currently in-use toolchain, if any."
8 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
[1208/1216] Compiling Swiftly ListAvailable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/ListAvailable.swift:5:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct ListAvailable: SwiftlyCommand {
5 | public 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
6 | abstract: "List toolchains available for install."
7 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/ListAvailable.swift:55:44: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
53 | case let .snapshot(branch, _):
54 | do {
55 | tc = try await SwiftlyCore.httpClient.getSnapshotToolchains(platform: config.platform, branch: branch).map { ToolchainVersion.snapshot($0) }
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | } catch let branchNotFoundError as SwiftlyHTTPClient.SnapshotBranchNotFoundError {
57 | throw SwiftlyError(message: "The snapshot branch \(branchNotFoundError.branch) was not found on swift.org. Note that snapshot toolchains are only available for the current `main` release and the previous x.y (major.minor) release.")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/ListAvailable.swift:62:40: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | case .stable, .latest:
62 | tc = try await SwiftlyCore.httpClient.getReleaseToolchains(platform: config.platform).map { ToolchainVersion.stable($0) }
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 | default:
64 | tc = try await SwiftlyCore.httpClient.getReleaseToolchains(platform: config.platform).map { ToolchainVersion.stable($0) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/ListAvailable.swift:64:40: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
62 | tc = try await SwiftlyCore.httpClient.getReleaseToolchains(platform: config.platform).map { ToolchainVersion.stable($0) }
63 | default:
64 | tc = try await SwiftlyCore.httpClient.getReleaseToolchains(platform: config.platform).map { ToolchainVersion.stable($0) }
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
[1209/1216] Compiling Swiftly Install.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:10:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | struct Install: SwiftlyCommand {
10 | public 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
11 | abstract: "Install a new toolchain."
12 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:155:127: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
153 | // will throw, while problems that prevent use of the toolchain will be written out as a post install
154 | // script for the user to run afterwards.
155 | let postInstallScript = try await Swiftly.currentPlatform.verifySystemPrerequisitesForInstall(httpClient: SwiftlyCore.httpClient, platformName: config.platform.name, version: version, requireSignatureValidation: verifySignature)
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
156 |
157 | SwiftlyCore.print("Installing \(version)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:203:21: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
201 |
202 | let animation = PercentProgressAnimation(
203 | stream: stdoutStream,
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 | header: "Downloading \(version)"
205 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:210:35: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 |
209 | do {
210 | try await SwiftlyCore.httpClient.downloadFile(
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
211 | url: url,
212 | to: tmpFile,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:242:41: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
240 | if verifySignature {
241 | try await Swiftly.currentPlatform.verifySignature(
242 | httpClient: SwiftlyCore.httpClient,
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 | archiveDownloadURL: url,
244 | archive: tmpFile,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:331:55: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
329 | SwiftlyCore.print("Fetching the latest stable Swift release...")
330 |
331 | guard let release = try await SwiftlyCore.httpClient.getReleaseToolchains(platform: config.platform, limit: 1).first else {
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
332 | throw SwiftlyError(message: "couldn't get latest releases")
333 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:350:51: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
348 | // If a patch was not provided, perform a lookup to get the latest patch release
349 | // of the provided major/minor version pair.
350 | let toolchain = try await SwiftlyCore.httpClient.getReleaseToolchains(platform: config.platform, limit: 1) { release in
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
351 | release.major == major && release.minor == minor
352 | }.first
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:371:51: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
369 | let snapshots: [ToolchainVersion.Snapshot]
370 | do {
371 | snapshots = try await SwiftlyCore.httpClient.getSnapshotToolchains(platform: config.platform, branch: branch, limit: 1) { snapshot in
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
372 | snapshot.branch == branch
373 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/List.swift:5:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct List: SwiftlyCommand {
5 | public 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
6 | abstract: "List installed toolchains."
7 | )
[1210/1216] Compiling Swiftly List.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:10:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | struct Install: SwiftlyCommand {
10 | public 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
11 | abstract: "Install a new toolchain."
12 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:155:127: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
153 | // will throw, while problems that prevent use of the toolchain will be written out as a post install
154 | // script for the user to run afterwards.
155 | let postInstallScript = try await Swiftly.currentPlatform.verifySystemPrerequisitesForInstall(httpClient: SwiftlyCore.httpClient, platformName: config.platform.name, version: version, requireSignatureValidation: verifySignature)
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
156 |
157 | SwiftlyCore.print("Installing \(version)")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:203:21: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
201 |
202 | let animation = PercentProgressAnimation(
203 | stream: stdoutStream,
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 | header: "Downloading \(version)"
205 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCBasic/WritableByteStream.swift:823:12: note: var declared here
821 |
822 | /// Public stdout stream instance.
823 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
| `- note: var declared here
824 | filePointer: TSCLibc.stdout,
825 | closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:210:35: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 |
209 | do {
210 | try await SwiftlyCore.httpClient.downloadFile(
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
211 | url: url,
212 | to: tmpFile,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:242:41: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
240 | if verifySignature {
241 | try await Swiftly.currentPlatform.verifySignature(
242 | httpClient: SwiftlyCore.httpClient,
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 | archiveDownloadURL: url,
244 | archive: tmpFile,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:331:55: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
329 | SwiftlyCore.print("Fetching the latest stable Swift release...")
330 |
331 | guard let release = try await SwiftlyCore.httpClient.getReleaseToolchains(platform: config.platform, limit: 1).first else {
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
332 | throw SwiftlyError(message: "couldn't get latest releases")
333 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:350:51: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
348 | // If a patch was not provided, perform a lookup to get the latest patch release
349 | // of the provided major/minor version pair.
350 | let toolchain = try await SwiftlyCore.httpClient.getReleaseToolchains(platform: config.platform, limit: 1) { release in
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
351 | release.major == major && release.minor == minor
352 | }.first
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:371:51: warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
369 | let snapshots: [ToolchainVersion.Snapshot]
370 | do {
371 | snapshots = try await SwiftlyCore.httpClient.getSnapshotToolchains(platform: config.platform, branch: branch, limit: 1) { snapshot in
| `- warning: reference to var 'httpClient' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
372 | snapshot.branch == branch
373 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/SwiftlyCore.swift:11:12: note: var declared here
9 | /// This is the default http client that swiftly uses for its network
10 | /// requests.
11 | public var httpClient = SwiftlyHTTPClient()
| `- note: var declared here
12 |
13 | /// An HTTP request executor that allows different transport level configuration
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/List.swift:5:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct List: SwiftlyCommand {
5 | public 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
6 | abstract: "List installed toolchains."
7 | )
[1211/1216] Emitting module Swiftly
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Init.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | internal struct Init: SwiftlyCommand {
6 | public 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 | abstract: "Perform swiftly initialization into your user account."
8 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Install.swift:10:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | struct Install: SwiftlyCommand {
10 | public 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
11 | abstract: "Install a new toolchain."
12 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/List.swift:5:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct List: SwiftlyCommand {
5 | public 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
6 | abstract: "List installed toolchains."
7 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/ListAvailable.swift:5:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct ListAvailable: SwiftlyCommand {
5 | public 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
6 | abstract: "List toolchains available for install."
7 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Run.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | internal struct Run: SwiftlyCommand {
6 | public 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 | abstract: "Run a command while proxying to the selected toolchain commands."
8 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/SelfUpdate.swift:9:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | internal struct SelfUpdate: SwiftlyCommand {
9 | public static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | abstract: "Update the version of swiftly itself."
11 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:21:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public struct Swiftly: SwiftlyCommand {
21 | public 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
22 | abstract: "A utility for installing and managing Swift toolchains.",
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Uninstall.swift:5:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct Uninstall: SwiftlyCommand {
5 | public 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
6 | abstract: "Remove an installed toolchain."
7 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Update.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | struct Update: SwiftlyCommand {
6 | public 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 | abstract: "Update an installed toolchain to a newer version."
8 | )
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Use.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | internal struct Use: SwiftlyCommand {
6 | public 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 | abstract: "Set the in-use or default toolchain. If no toolchain is provided, print the currently in-use toolchain, if any."
8 | )
[1212/1216] Compiling Swiftly Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Init.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | internal struct Init: SwiftlyCommand {
6 | public 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 | abstract: "Perform swiftly initialization into your user account."
8 | )
[1213/1216] Compiling Swiftly Init.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:54:25: warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| `- warning: static property 'currentPlatform' is not concurrency-safe because non-'Sendable' type 'any Platform' may have shared mutable state; this is an error in the Swift 6 language mode
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftlyCore/Platform.swift:41:17: note: protocol 'Platform' does not conform to the 'Sendable' protocol
39 | }
40 |
41 | public protocol Platform {
| `- note: protocol 'Platform' does not conform to the 'Sendable' protocol
42 | /// The platform-specific defaut location on disk for swiftly's home
43 | /// directory.
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Swiftly.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
6 | import MacOSPlatform
7 | #endif
8 | import SwiftlyCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftlyCore'
9 |
10 | public struct GlobalOptions: ParsableArguments {
:
52 | internal static let currentPlatform = Linux.currentPlatform
53 | #elseif os(macOS)
54 | internal static let currentPlatform = MacOS.currentPlatform
| |- note: annotate 'currentPlatform' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | #endif
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/Swiftly/Init.swift:6:23: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | internal struct Init: SwiftlyCommand {
6 | public 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 | abstract: "Perform swiftly initialization into your user account."
8 | )
[1213/1216] Write Objects.LinkFileList
[1214/1216] Linking swiftly
[1215/1216] Applying swiftly
Build complete! (157.44s)
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for libarchive
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tools/build-swiftly-release/musl-clang
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
warning: couldn't find pc file for libarchive
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client"
},
{
"identity" : "swift-openapi-async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-openapi-async-http-client"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.80.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"range" : [
{
"lower_bound" : "0.7.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-openapi-generator",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-generator"
},
{
"identity" : "swift-openapi-runtime",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-openapi-runtime"
},
{
"identity" : "swiftformat",
"requirement" : {
"exact" : [
"0.49.18"
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "swiftly",
"name" : "swiftly",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "swiftly",
"targets" : [
"Swiftly"
],
"type" : {
"executable" : null
}
},
{
"name" : "generate-docs-reference",
"targets" : [
"generate-docs-reference"
],
"type" : {
"executable" : null
}
},
{
"name" : "build-swiftly-release",
"targets" : [
"build-swiftly-release"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "generate_docs_reference",
"module_type" : "SwiftTarget",
"name" : "generate-docs-reference",
"path" : "Tools/generate-docs-reference",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"generate-docs-reference"
],
"sources" : [
"Extensions/Process+SimpleAPI.swift",
"GenerateDocsReference.swift"
],
"type" : "executable"
},
{
"c99name" : "build_swiftly_release",
"module_type" : "SwiftTarget",
"name" : "build-swiftly-release",
"path" : "Tools/build-swiftly-release",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"build-swiftly-release"
],
"sources" : [
"BuildSwiftlyRelease.swift"
],
"type" : "executable"
},
{
"c99name" : "SwiftlyTests",
"module_type" : "SwiftTarget",
"name" : "SwiftlyTests",
"path" : "Tests/SwiftlyTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftlyTests/mock-signing-key-private.pgp",
"rule" : {
"embed_in_code" : {
}
}
}
],
"sources" : [
"E2ETests.swift",
"HTTPClientTests.swift",
"InitTests.swift",
"InstallTests.swift",
"ListTests.swift",
"PlatformTests.swift",
"RunTests.swift",
"SelfUpdateTests.swift",
"SwiftlyTests.swift",
"ToolchainSelectorTests.swift",
"UninstallTests.swift",
"UpdateTests.swift",
"UseTests.swift"
],
"target_dependencies" : [
"Swiftly"
],
"type" : "test"
},
{
"c99name" : "SwiftlyDocs",
"module_type" : "SwiftTarget",
"name" : "SwiftlyDocs",
"path" : "Documentation",
"sources" : [
"EmptyFile.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftlyCore",
"module_type" : "SwiftTarget",
"name" : "SwiftlyCore",
"path" : "Sources/SwiftlyCore",
"product_dependencies" : [
"AsyncHTTPClient",
"NIOFoundationCompat",
"OpenAPIRuntime",
"OpenAPIAsyncHTTPClient",
"OpenAPIGenerator"
],
"product_memberships" : [
"swiftly"
],
"sources" : [
"Error.swift",
"HTTPClient.swift",
"Platform.swift",
"SwiftlyCore.swift",
"SwiftlyVersion.swift",
"ToolchainVersion.swift",
"Utils.swift"
],
"type" : "library"
},
{
"c99name" : "Swiftly",
"module_type" : "SwiftTarget",
"name" : "Swiftly",
"path" : "Sources/Swiftly",
"product_dependencies" : [
"ArgumentParser",
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"swiftly"
],
"sources" : [
"Config.swift",
"Init.swift",
"Install.swift",
"List.swift",
"ListAvailable.swift",
"Proxy.swift",
"Run.swift",
"SelfUpdate.swift",
"Swiftly.swift",
"Uninstall.swift",
"Update.swift",
"Use.swift"
],
"target_dependencies" : [
"SwiftlyCore",
"LinuxPlatform",
"MacOSPlatform"
],
"type" : "executable"
},
{
"c99name" : "MacOSPlatform",
"module_type" : "SwiftTarget",
"name" : "MacOSPlatform",
"path" : "Sources/MacOSPlatform",
"product_memberships" : [
"swiftly"
],
"sources" : [
"MacOS.swift"
],
"target_dependencies" : [
"SwiftlyCore"
],
"type" : "library"
},
{
"c99name" : "LinuxPlatform",
"module_type" : "SwiftTarget",
"name" : "LinuxPlatform",
"path" : "Sources/LinuxPlatform",
"product_memberships" : [
"swiftly"
],
"sources" : [
"Extract.swift",
"Linux.swift"
],
"target_dependencies" : [
"SwiftlyCore",
"CLibArchive"
],
"type" : "library"
},
{
"c99name" : "GenerateDocsReference",
"module_type" : "PluginTarget",
"name" : "GenerateDocsReference",
"path" : "Plugins/GenerateDocsReference",
"plugin_capability" : {
"intent" : {
"description" : "Generate a documentation reference for swiftly.",
"type" : "custom",
"verb" : "generate-docs-reference"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "This command generates documentation.",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"sources" : [
"GenerateDocsReference.swift",
"GenerateDocsReferenceError.swift",
"PackagePlugin+Helpers.swift"
],
"target_dependencies" : [
"generate-docs-reference"
],
"type" : "plugin"
},
{
"c99name" : "CLibArchive",
"module_type" : "SystemLibraryTarget",
"name" : "CLibArchive",
"path" : "Sources/CLibArchive",
"product_memberships" : [
"swiftly"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.10"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/swiftlang/swiftly/1.0.0
Repository: swiftlang/swiftly
Swift version used: 6.0
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.3.0"),
Target: SwiftlyDocs
Extracting symbol information for 'SwiftlyDocs'...
Finished extracting symbol information for 'SwiftlyDocs'. (3.06s)
Building documentation for 'SwiftlyDocs'...
warning: Invalid use of level-1 heading.
Level-1 headings are reserved for specifying the title of the document.
--> getting-started.md:75:1-75:8
73 | ```
74 |
75 + # Proxy
76 |
77 | Swiftly downloads a list of toolchains from https://www.swift.org/ and retrieves them from CDN via https://download.swift.org.
warning: Invalid use of level-1 heading.
Level-1 headings are reserved for specifying the title of the document.
--> getting-started.md:86:1-86:12
84 | ```
85 |
86 + # See Also:
87 |
88 | - [Install Toolchains](install-toolchains)Finished building documentation for 'SwiftlyDocs' (0.34s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/swiftlang/swiftly/1.0.0
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for libarchive
Building for debugging...
[0/4] Write swift-version-5BDAB9E9C0126B9D.txt
[2/83] Compiling RealModule Float80+Real.swift
[3/83] Compiling RealModule Real.swift
[4/84] Compiling OpenAPIKitCore OrderedDictionary.swift
[5/84] Compiling OpenAPIKitCore StringConvertibleHintProvider.swift
[6/85] Compiling RealModule ElementaryFunctions.swift
[7/85] Compiling RealModule AugmentedArithmetic.swift
[8/85] Compiling RealModule RealFunctions.swift
[9/85] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[10/85] Compiling OpenAPIKitCore RequestDecodingError.swift
[11/85] Compiling OpenAPIKitCore OpenAPIReference.swift
[12/85] Compiling OpenAPIKitCore OpenAPIError.swift
[13/85] Compiling OpenAPIKitCore OpenAPIWarning.swift
[14/85] Compiling RealModule Double+Real.swift
[15/85] Compiling RealModule Float16+Real.swift
[16/85] Compiling RealModule ApproximateEquality.swift
[17/85] Compiling RealModule Float+Real.swift
[18/85] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/85] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/85] Emitting module ArgumentParserToolInfo
[21/85] Compiling RealModule AlgebraicField.swift
[22/85] Emitting module RealModule
[23/85] Compiling Yams Tag.swift
[24/151] Compiling Yams String+Yams.swift
[25/151] Compiling Yams Resolver.swift
[26/151] Compiling ArgumentParser Argument.swift
[27/151] Compiling ArgumentParser ArgumentHelp.swift
[28/151] Compiling ArgumentParser ArgumentVisibility.swift
[29/151] Compiling ArgumentParser CompletionKind.swift
[30/154] Emitting module OpenAPIKitCore
[35/154] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/154] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/154] Compiling ArgumentParser BashCompletionsGenerator.swift
[38/154] Compiling ArgumentParser CompletionsGenerator.swift
[39/154] Emitting module InternalCollectionsUtilities
[40/154] Compiling ArgumentParser Errors.swift
[41/154] Compiling ArgumentParser Flag.swift
[42/154] Compiling ArgumentParser MessageInfo.swift
[43/154] Compiling ArgumentParser UsageGenerator.swift
[44/154] Compiling ArgumentParser CollectionExtensions.swift
[45/154] Compiling ArgumentParser ParserError.swift
[46/154] Compiling ArgumentParser SplitArguments.swift
[47/154] Compiling ArgumentParser DumpHelpGenerator.swift
[50/154] Compiling ArgumentParser CommandParser.swift
[51/154] Compiling ArgumentParser InputKey.swift
[52/154] Compiling ArgumentParser HelpGenerator.swift
[53/154] Compiling ArgumentParser OptionGroup.swift
[54/154] Compiling ArgumentParser AsyncParsableCommand.swift
[55/154] Compiling ArgumentParser ArgumentDefinition.swift
[56/154] Compiling ArgumentParser ArgumentSet.swift
[57/154] Compiling ArgumentParser Parsed.swift
[58/154] Compiling ArgumentParser ParsedValues.swift
[59/154] Compiling ArgumentParser NameSpecification.swift
[60/154] Compiling ArgumentParser Option.swift
[63/154] Compiling ArgumentParser ParsableArguments.swift
[64/154] Compiling ArgumentParser ParsableArgumentsValidation.swift
[65/154] Compiling ArgumentParser ParsableCommand.swift
[66/154] Compiling ArgumentParser ArgumentDecoder.swift
[67/154] Compiling ArgumentParser InputOrigin.swift
[68/154] Compiling ArgumentParser Name.swift
[69/154] Compiling OpenAPIKitCore Optional+Zip.swift
[70/154] Compiling OpenAPIKitCore Result+Value.swift
[71/154] Compiling OpenAPIKitCore Validatable.swift
[72/210] Compiling OrderedCollections OrderedSet+Hashable.swift
[73/210] Compiling OrderedCollections OrderedSet+Initializers.swift
[74/210] Compiling OrderedCollections OrderedSet+Insertions.swift
[75/210] Compiling OrderedCollections OrderedSet+Invariants.swift
[76/210] Compiling Yams Representer.swift
[77/210] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[78/210] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[79/210] Compiling OrderedCollections OrderedSet+Sendable.swift
[80/210] Compiling OrderedCollections OrderedDictionary+Elements.swift
[81/214] Compiling Yams YamlError.swift
[85/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[86/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[87/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[88/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[89/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[90/216] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[91/222] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[92/222] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[93/222] Compiling OrderedCollections _Hashtable+Header.swift
[94/222] Compiling OrderedCollections OrderedDictionary+Codable.swift
[95/222] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[96/222] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[102/345] Compiling OpenAPIKit SwiftPrimitiveTypes+OpenAPI.swift
[103/345] Compiling OpenAPIKit DereferencedJSONSchema.swift
[104/345] Compiling OpenAPIKit30 OpenAPI.swift
[105/345] Compiling OpenAPIKit DereferencedResponse.swift
[106/345] Compiling OpenAPIKit Response.swift
[107/345] Compiling OpenAPIKit RuntimeExpression.swift
[108/345] Compiling OpenAPIKit SchemaProtocols.swift
[109/345] Compiling OpenAPIKit30 Header.swift
[110/345] Compiling OpenAPIKit30 JSONReference.swift
[111/345] Compiling OpenAPIKit30 Link.swift
[112/345] Compiling OpenAPIKit30 Example.swift
[113/345] Compiling OpenAPIKit30 ExternalDocumentation.swift
[114/345] Compiling OpenAPIKit30 DereferencedHeader.swift
[115/345] Compiling OpenAPIKit30 DereferencedParameter.swift
[116/345] Compiling OpenAPIKit30 DereferencedSchemaContext.swift
[117/345] Compiling OpenAPIKit30 Parameter.swift
[118/345] Emitting module ArgumentParser
[119/345] Compiling OpenAPIKit30 AnyCodable+Validatable.swift
[120/345] Compiling OpenAPIKit30 Callbacks.swift
[121/345] Compiling OpenAPIKit30 CodableVendorExtendable.swift
[122/345] Compiling OpenAPIKit30 Components+JSONReference.swift
[123/345] Compiling OpenAPIKit30 Components+Locatable.swift
[124/345] Compiling OpenAPIKit30 Components.swift
[125/345] Compiling OpenAPIKit DereferencedHeader.swift
[126/345] Compiling OpenAPIKit Header.swift
[127/345] Compiling OpenAPIKit JSONReference.swift
[128/345] Compiling OpenAPIKit30 Either+Convenience.swift
[129/345] Compiling OpenAPIKit ContentEncoding.swift
[130/345] Compiling OpenAPIKit DereferencedContent.swift
[131/345] Compiling OpenAPIKit DocumentDecodingError.swift
[132/345] Compiling OpenAPIKit OperationDecodingError.swift
[133/345] Compiling OpenAPIKit PathDecodingError.swift
[134/345] Compiling OpenAPIKit ResponseDecodingError.swift
[135/345] Compiling OpenAPIKit Example.swift
[136/345] Compiling OpenAPIKit ExternalDocumentation.swift
[139/345] Compiling OpenAPIKit Either+Convenience.swift
[140/345] Compiling OpenAPIKit Either+LocallyDereferenceable.swift
[141/345] Compiling OpenAPIKit Either+Summarizable.swift
[142/345] Compiling OpenAPIKit Either+Validatable.swift
[143/345] Compiling OpenAPIKit DereferencedContentEncoding.swift
[144/345] Compiling OpenAPIKit DereferencedDocument.swift
[145/345] Compiling OpenAPIKit Document.swift
[146/345] Compiling OpenAPIKit DocumentInfo.swift
[147/345] Compiling OpenAPIKit ResolvedDocument.swift
[148/345] Compiling OpenAPIKit OpenAPI.swift
[149/345] Compiling OpenAPIKit30 Operation.swift
[150/345] Compiling OpenAPIKit30 ResolvedEndpoint.swift
[151/345] Compiling OpenAPIKit30 OrderedDictionary+Validatable.swift
[152/345] Compiling OpenAPIKit30 Content.swift
[153/345] Compiling OpenAPIKit30 DereferencedOperation.swift
[170/345] Compiling OpenAPIKit JSONSchema+Combining.swift
[171/345] Compiling OpenAPIKit JSONSchema.swift
[172/345] Compiling OpenAPIKit JSONSchemaContext.swift
[173/345] Compiling OpenAPIKit SimplifiedJSONSchema.swift
[174/345] Compiling OpenAPIKit TypesAndFormats.swift
[175/345] Compiling OpenAPIKit DereferencedSecurityRequirement.swift
[176/345] Emitting module Yams
[199/345] Emitting module OpenAPIKit30
[213/351] Emitting module OrderedCollections
[220/351] Emitting module OpenAPIKit
[235/357] Emitting module Algorithms
[270/357] Compiling OpenAPIKit DereferencedParameter.swift
[271/357] Compiling OpenAPIKit DereferencedSchemaContext.swift
[277/357] Compiling OpenAPIKit30 Validation+Builtins.swift
[278/357] Compiling OpenAPIKit Validation+Builtins.swift
[279/357] Compiling OpenAPIKit Validation.swift
[280/357] Compiling OpenAPIKit Validator+Convenience.swift
[281/357] Compiling OpenAPIKit Validator.swift
[282/357] Compiling OpenAPIKit XML.swift
[288/357] Compiling OpenAPIKit _CoreReExport.swift
[298/357] Compiling OpenAPIKit DereferencedOperation.swift
[299/357] Compiling OpenAPIKit Operation.swift
[300/357] Compiling OpenAPIKit ResolvedEndpoint.swift
[301/357] Compiling OpenAPIKit OrderedDictionary+Validatable.swift
[355/360] Compiling OpenAPIKitCompat Either+Map.swift
[356/360] Emitting module OpenAPIKitCompat
[357/360] Compiling OpenAPIKitCompat Compat30To31.swift
[358/443] Compiling _OpenAPIGeneratorCore Config.swift
[359/443] Compiling _OpenAPIGeneratorCore Diagnostics.swift
[360/443] Compiling _OpenAPIGeneratorCore DiagnosticsCollectorProvider.swift
[361/443] Compiling _OpenAPIGeneratorCore Errors.swift
[362/443] Compiling _OpenAPIGeneratorCore Foundation.swift
[363/443] Compiling _OpenAPIGeneratorCore OpenAPIKit.swift
[364/443] Compiling _OpenAPIGeneratorCore String.swift
[365/443] Compiling _OpenAPIGeneratorCore SwiftStandardLibrary.swift
[366/443] Compiling _OpenAPIGeneratorCore FeatureFlags.swift
[367/443] Compiling _OpenAPIGeneratorCore GeneratorMode.swift
[368/452] Compiling _OpenAPIGeneratorCore DiscriminatorExtensions.swift
[369/452] Compiling _OpenAPIGeneratorCore SchemaOverrides.swift
[370/452] Compiling _OpenAPIGeneratorCore StructBlueprint.swift
[371/452] Compiling _OpenAPIGeneratorCore CodingStrategy.swift
[372/452] Compiling _OpenAPIGeneratorCore ContentInspector.swift
[373/452] Compiling _OpenAPIGeneratorCore ContentType.swift
[374/452] Compiling _OpenAPIGeneratorCore SchemaContent.swift
[375/452] Compiling _OpenAPIGeneratorCore FileTranslator+FeatureFlags.swift
[376/452] Compiling _OpenAPIGeneratorCore FileTranslator.swift
[377/452] Compiling _OpenAPIGeneratorCore translateResponseHeader.swift
[378/452] Compiling _OpenAPIGeneratorCore translateResponseOutcome.swift
[379/452] Compiling _OpenAPIGeneratorCore ServerTranslator.swift
[380/452] Compiling _OpenAPIGeneratorCore translateServerMethod.swift
[381/452] Compiling _OpenAPIGeneratorCore TranslatorProtocol.swift
[382/452] Compiling _OpenAPIGeneratorCore Builtins.swift
[383/452] Compiling _OpenAPIGeneratorCore ReferenceStack.swift
[384/452] Compiling _OpenAPIGeneratorCore SafeNameGenerator.swift
[385/452] Compiling _OpenAPIGeneratorCore TypeAssigner.swift
[386/452] Compiling _OpenAPIGeneratorCore translateComponentParameters.swift
[387/452] Compiling _OpenAPIGeneratorCore translateComponentRequestBodies.swift
[388/452] Compiling _OpenAPIGeneratorCore translateComponentResponses.swift
[389/452] Compiling _OpenAPIGeneratorCore translateComponents.swift
[390/452] Compiling _OpenAPIGeneratorCore translateOperations.swift
[391/452] Compiling _OpenAPIGeneratorCore translateSchemas.swift
[392/452] Compiling _OpenAPIGeneratorCore translateServers.swift
[393/452] Compiling _OpenAPIGeneratorCore translateServersVariables.swift
[394/452] Compiling _OpenAPIGeneratorCore YamlFileDiagnosticsCollector.swift
[395/452] Emitting module _OpenAPIGeneratorCore
[396/452] Compiling _OpenAPIGeneratorCore validateDoc.swift
[397/452] Compiling _OpenAPIGeneratorCore PlatformChecks.swift
[398/452] Compiling _OpenAPIGeneratorCore RendererProtocol.swift
[399/452] Compiling _OpenAPIGeneratorCore TextBasedRenderer.swift
[400/452] Compiling _OpenAPIGeneratorCore ClientTranslator.swift
[401/452] Compiling _OpenAPIGeneratorCore translateClientMethod.swift
[402/452] Compiling _OpenAPIGeneratorCore translateAllAnyOneOf.swift
[403/452] Compiling _OpenAPIGeneratorCore translateArray.swift
[404/452] Compiling _OpenAPIGeneratorCore translateCodable.swift
[405/452] Compiling _OpenAPIGeneratorCore RecursionDetector.swift
[406/452] Compiling _OpenAPIGeneratorCore TypedRequestBody.swift
[407/452] Compiling _OpenAPIGeneratorCore translateRequestBody.swift
[408/452] Compiling _OpenAPIGeneratorCore HTTPStatusCodes.swift
[409/452] Compiling _OpenAPIGeneratorCore ResponseKind.swift
[410/452] Compiling _OpenAPIGeneratorCore TypedResponse.swift
[411/452] Compiling _OpenAPIGeneratorCore TypedResponseHeader.swift
[412/452] Compiling _OpenAPIGeneratorCore acceptHeaderContentTypes.swift
[413/452] Compiling _OpenAPIGeneratorCore translateResponse.swift
[414/452] Compiling _OpenAPIGeneratorCore TypeLocation.swift
[415/452] Compiling _OpenAPIGeneratorCore TypeMatcher.swift
[416/452] Compiling _OpenAPIGeneratorCore TypeName.swift
[417/452] Compiling _OpenAPIGeneratorCore TypeUsage.swift
[418/452] Compiling _OpenAPIGeneratorCore isSchemaSupported.swift
[419/452] Compiling _OpenAPIGeneratorCore TypesFileTranslator.swift
[420/452] Compiling _OpenAPIGeneratorCore translateAPIProtocol.swift
[421/452] Compiling _OpenAPIGeneratorCore translateBoxedTypes.swift
[422/452] Compiling _OpenAPIGeneratorCore translateComponentHeaders.swift
[423/452] Compiling _OpenAPIGeneratorCore translateObjectStruct.swift
[424/452] Compiling _OpenAPIGeneratorCore translateRawEnum.swift
[425/452] Compiling _OpenAPIGeneratorCore translateRawRepresentableEnum.swift
[426/452] Compiling _OpenAPIGeneratorCore translateSchema.swift
[427/452] Compiling _OpenAPIGeneratorCore translateStructBlueprint.swift
[428/452] Compiling _OpenAPIGeneratorCore translateTypealias.swift
[429/452] Compiling _OpenAPIGeneratorCore Annotations.swift
[430/452] Compiling _OpenAPIGeneratorCore CommentExtensions.swift
[431/452] Compiling _OpenAPIGeneratorCore Constants.swift
[432/452] Compiling _OpenAPIGeneratorCore MultipartAdditionalProperties.swift
[433/452] Compiling _OpenAPIGeneratorCore MultipartContent.swift
[434/452] Compiling _OpenAPIGeneratorCore MultipartContentInspector.swift
[435/452] Compiling _OpenAPIGeneratorCore translateMultipart.swift
[436/452] Compiling _OpenAPIGeneratorCore MultiplexTranslator.swift
[437/452] Compiling _OpenAPIGeneratorCore OperationDescription.swift
[438/452] Compiling _OpenAPIGeneratorCore TypedParameter.swift
[439/452] Compiling _OpenAPIGeneratorCore translateParameter.swift
[440/452] Compiling _OpenAPIGeneratorCore DeclarationRecursionDetector.swift
[441/452] Compiling _OpenAPIGeneratorCore GeneratorPipeline.swift
[442/452] Compiling _OpenAPIGeneratorCore GeneratorPipelineStage.swift
[443/452] Compiling _OpenAPIGeneratorCore DocumentFilter.swift
[444/452] Compiling _OpenAPIGeneratorCore FilteredDocument.swift
[445/452] Compiling _OpenAPIGeneratorCore ParsedOpenAPIRepresentation.swift
[446/452] Compiling _OpenAPIGeneratorCore RenderedSwiftRepresentation.swift
[447/452] Compiling _OpenAPIGeneratorCore StructuredSwiftRepresentation.swift
[448/452] Compiling _OpenAPIGeneratorCore ParserProtocol.swift
[449/452] Compiling _OpenAPIGeneratorCore YamsParser.swift
[450/462] Compiling swift_openapi_generator PluginSource.swift
[451/462] Compiling swift_openapi_generator Tool.swift
[452/462] Compiling swift_openapi_generator GenerateCommand.swift
[453/462] Compiling swift_openapi_generator UserConfig.swift
[454/462] Compiling swift_openapi_generator runGenerator.swift
[455/462] Compiling swift_openapi_generator GenerateOptions+runGenerator.swift
[456/462] Compiling swift_openapi_generator FilterCommand.swift
[457/462] Compiling swift_openapi_generator Extensions.swift
[458/462] Emitting module swift_openapi_generator
[459/462] Compiling swift_openapi_generator GenerateOptions.swift
[459/462] Write Objects.LinkFileList
[460/462] Linking swift-openapi-generator-tool
[461/462] Applying swift-openapi-generator-tool
Build of product 'swift-openapi-generator' complete! (9.69s)
warning: couldn't find pc file for libarchive
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit Mixin+Equals.swift
[13/57] Compiling SymbolKit Mixin+Hash.swift
[14/57] Compiling SymbolKit Mixin.swift
[15/57] Compiling SymbolKit LineList.swift
[16/57] Compiling SymbolKit Position.swift
[17/57] Compiling SymbolKit SemanticVersion.swift
[18/57] Compiling SymbolKit AccessControl.swift
[19/57] Compiling SymbolKit Availability.swift
[20/57] Compiling SymbolKit AvailabilityItem.swift
[21/57] Compiling SymbolKit Domain.swift
[22/57] Compiling SymbolKit Relationship.swift
[23/57] Compiling SymbolKit RelationshipKind.swift
[24/57] Compiling SymbolKit SourceOrigin.swift
[25/57] Compiling SymbolKit GenericConstraints.swift
[26/57] Compiling SymbolKit Swift.swift
[27/57] Compiling SymbolKit Names.swift
[28/57] Compiling SymbolKit SPI.swift
[29/57] Compiling SymbolKit Snippet.swift
[30/57] Compiling SymbolKit Extension.swift
[31/57] Compiling SymbolKit GenericConstraint.swift
[32/57] Compiling SymbolKit GenericParameter.swift
[33/57] Compiling SymbolKit Generics.swift
[34/57] Compiling SymbolKit Namespace.swift
[35/57] Compiling SymbolKit Identifier.swift
[36/57] Compiling SymbolKit KindIdentifier.swift
[37/57] Compiling SymbolKit Location.swift
[38/57] Compiling SymbolKit Mutability.swift
[39/57] Compiling SymbolKit SourceRange.swift
[40/57] Compiling SymbolKit Metadata.swift
[41/57] Compiling SymbolKit Module.swift
[42/57] Compiling SymbolKit OperatingSystem.swift
[43/57] Compiling SymbolKit Platform.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (15.46s)
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
warning: couldn't find pc file for libarchive
Building for debugging...
[0/3] Write swift-version-5BDAB9E9C0126B9D.txt
Build of product 'swift-openapi-generator' complete! (1.26s)
warning: couldn't find pc file for libarchive
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/3] Compiling SwiftlyDocs EmptyFile.swift
[3/3] Emitting module SwiftlyDocs
Build of target: 'SwiftlyDocs' complete! (2.72s)
70
2 /Users/admin/builder/spi-builder-workspace/.docs/swiftlang/swiftly/1.0.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/swiftlang/swiftly/1.0.0
File count: 70
Doc size: 2.0MB
Preparing doc bundle ...
Uploading prod-swiftlang-swiftly-1.0.0-f4747952.zip to s3://spi-docs-inbox/prod-swiftlang-swiftly-1.0.0-f4747952.zip
Copying... [19%]
Copying... [37%]
Copying... [56%]
Copying... [75%]
Copying... [93%]
Copying... [100%]
Done.