Build Information
Failed to build Arena, reference main (6ce0ff
), with Swift 6.0 for Linux on 3 Nov 2024 20:53:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finestructure/Arena.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/finestructure/Arena
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6ce0ff3 Merge pull request #99 from finestructure/support-visionOS
Cloned https://github.com/finestructure/Arena.git
Revision (git rev-parse @):
6ce0ff3f992d81563d864b639f94b43f021aefe0
SUCCESS checkout https://github.com/finestructure/Arena.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/finestructure/Arena.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/finestructure/Parser
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/apple/swift-argument-parser
[1/323] Fetching semanticversion
[324/12769] Fetching semanticversion, swift-snapshot-testing
[698/13828] Fetching semanticversion, swift-snapshot-testing, path.swift
[1003/14788] Fetching semanticversion, swift-snapshot-testing, path.swift, shellout
[2264/14943] Fetching semanticversion, swift-snapshot-testing, path.swift, shellout, parser
Fetched https://github.com/finestructure/Parser from cache (0.24s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.24s)
[2129/13828] Fetching semanticversion, swift-snapshot-testing, path.swift
[3499/26181] Fetching semanticversion, swift-snapshot-testing, path.swift, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.71s)
[6734/13828] Fetching semanticversion, swift-snapshot-testing, path.swift
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (1.30s)
Fetched https://github.com/mxcl/Path.swift.git from cache (1.30s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.35s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.78s)
Computing version for https://github.com/finestructure/Parser
Computed https://github.com/finestructure/Parser at 0.2.1 (0.42s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 1.4.1 (0.43s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.4.0 (0.43s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.44s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.6 (0.44s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66399] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.53s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.55s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.6
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 1.4.1
Creating working copy for https://github.com/finestructure/Parser
Working copy of https://github.com/finestructure/Parser resolved at 0.2.1
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.4.0
Building for debugging...
[0/22] Write sources
[8/22] Copying Documentation.docc
[9/22] Write swift-version-24593BA9C3E375BF.txt
[11/46] Emitting module ArgumentParserToolInfo
[12/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/47] Wrapping AST for ArgumentParserToolInfo for debugging
[15/81] Emitting module ArgumentParser
[16/85] Compiling ArgumentParser BashCompletionsGenerator.swift
[17/85] Compiling ArgumentParser CompletionsGenerator.swift
[18/85] Compiling ArgumentParser FishCompletionsGenerator.swift
[19/85] Compiling ArgumentParser ZshCompletionsGenerator.swift
[20/85] Compiling ArgumentParser Argument.swift
[21/85] Compiling ArgumentParser ArgumentHelp.swift
[22/85] Compiling ArgumentParser CompletionKind.swift
[23/85] Compiling ArgumentParser Errors.swift
[24/85] Compiling ArgumentParser Flag.swift
[25/85] Compiling ArgumentParser NameSpecification.swift
[26/85] Compiling ArgumentParser CollectionExtensions.swift
[27/85] Compiling ArgumentParser SequenceExtensions.swift
[28/85] Compiling ArgumentParser StringExtensions.swift
[29/85] Compiling ArgumentParser Tree.swift
[30/85] Compiling ArgumentParser HelpCommand.swift
[31/85] Compiling ArgumentParser HelpGenerator.swift
[32/85] Compiling ArgumentParser MessageInfo.swift
[33/85] Compiling ArgumentParser UsageGenerator.swift
[34/85] Emitting module ShellOut
[35/85] Compiling ShellOut ShellOut.swift
[36/86] Compiling Path Path+FileManager.swift
[37/87] Emitting module Parser
[38/87] Compiling Parser CharacterSet+ext.swift
[40/87] Emitting module SemanticVersion
[43/87] Emitting module Path
[44/87] Compiling Path PathToBool.swift
[45/87] Compiling SemanticVersion SemanticVersion+Codable.swift
[46/87] Compiling SemanticVersion NSRegularExpression+ext.swift
[47/87] Compiling ArgumentParser ParsableArguments.swift
[48/87] Compiling ArgumentParser ParsableArgumentsValidation.swift
[49/87] Compiling ArgumentParser ParsableCommand.swift
[50/87] Compiling ArgumentParser ArgumentDecoder.swift
[51/87] Compiling ArgumentParser ArgumentDefinition.swift
[52/87] Compiling ArgumentParser Option.swift
[53/87] Compiling ArgumentParser OptionGroup.swift
[54/87] Compiling ArgumentParser CommandConfiguration.swift
[55/87] Compiling ArgumentParser EnumerableFlag.swift
[56/87] Compiling ArgumentParser ExpressibleByArgument.swift
[57/87] Compiling Path Pathish.swift
[58/87] Compiling Parser Match.swift
[59/87] Compiling Parser Parser+zip.swift
[60/87] Compiling Parser Parser.swift
[61/88] Compiling SemanticVersion SemanticVersion.swift
[62/88] Compiling SemanticVersion resource_bundle_accessor.swift
[63/89] Compiling Path Path+StringConvertibles.swift
[66/89] Compiling Path Path+ls.swift
[67/89] Compiling Path Path.swift
[69/90] Wrapping AST for ShellOut for debugging
[71/90] Wrapping AST for SemanticVersion for debugging
[72/90] Wrapping AST for Parser for debugging
[73/90] Wrapping AST for Path for debugging
[75/90] Compiling ArgumentParser ParsedValues.swift
[76/90] Compiling ArgumentParser ParserError.swift
[77/90] Compiling ArgumentParser SplitArguments.swift
[78/90] Compiling ArgumentParser DumpHelpGenerator.swift
[79/90] Compiling ArgumentParser ArgumentSet.swift
[80/90] Compiling ArgumentParser CommandParser.swift
[81/90] Compiling ArgumentParser InputOrigin.swift
[82/90] Compiling ArgumentParser Name.swift
[83/90] Compiling ArgumentParser Parsed.swift
[84/91] Wrapping AST for ArgumentParser for debugging
[86/110] Compiling ArenaCore Environment.swift
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:15:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | struct Environment {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
9 | var fileManager: FileManager
10 | var githubClient: GithubClient
:
13 |
14 | extension Environment {
15 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | fileManager: .live,
17 | githubClient: .live
/host/spi-builder-workspace/Sources/ArenaCore/FileManager.swift:17:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 |
11 | struct FileManager {
| `- note: consider making struct 'FileManager' conform to the 'Sendable' protocol
12 | var fileExists: (Path) -> Bool
13 | }
:
15 |
16 | extension FileManager {
17 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | fileExists: { $0.exists }
19 | )
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:25:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | struct GithubClient {
| `- note: consider making struct 'GithubClient' conform to the 'Sendable' protocol
18 | var latestRelease: (GithubRepository) -> Release?
19 | var tags: (GithubRepository) -> [Tag]
:
23 |
24 | extension GithubClient {
25 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' 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 | latestRelease: latestReleaseRequest,
27 | tags: tagsRequest,
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:23:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | #if DEBUG
23 | var Current = Environment.live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | #else
25 | let Current = Environment.live
/host/spi-builder-workspace/Sources/ArenaCore/Extensions.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 |
27 |
28 | extension Optional: CustomStringConvertible where Wrapped == String {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
/host/spi-builder-workspace/Sources/ArenaCore/Extensions.swift:39:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Path' introduce this conformance in the future
37 |
38 |
39 | extension Path: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Path' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
40 | public init?(argument: String) {
41 | self = Path(argument) ?? Path.cwd/argument
[87/110] Compiling ArenaCore Extensions.swift
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:15:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | struct Environment {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
9 | var fileManager: FileManager
10 | var githubClient: GithubClient
:
13 |
14 | extension Environment {
15 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | fileManager: .live,
17 | githubClient: .live
/host/spi-builder-workspace/Sources/ArenaCore/FileManager.swift:17:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 |
11 | struct FileManager {
| `- note: consider making struct 'FileManager' conform to the 'Sendable' protocol
12 | var fileExists: (Path) -> Bool
13 | }
:
15 |
16 | extension FileManager {
17 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | fileExists: { $0.exists }
19 | )
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:25:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | struct GithubClient {
| `- note: consider making struct 'GithubClient' conform to the 'Sendable' protocol
18 | var latestRelease: (GithubRepository) -> Release?
19 | var tags: (GithubRepository) -> [Tag]
:
23 |
24 | extension GithubClient {
25 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' 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 | latestRelease: latestReleaseRequest,
27 | tags: tagsRequest,
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:23:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | #if DEBUG
23 | var Current = Environment.live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | #else
25 | let Current = Environment.live
/host/spi-builder-workspace/Sources/ArenaCore/Extensions.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 |
27 |
28 | extension Optional: CustomStringConvertible where Wrapped == String {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
/host/spi-builder-workspace/Sources/ArenaCore/Extensions.swift:39:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Path' introduce this conformance in the future
37 |
38 |
39 | extension Path: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Path' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
40 | public init?(argument: String) {
41 | self = Path(argument) ?? Path.cwd/argument
[88/110] Compiling ArenaCore FileManager.swift
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:15:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | struct Environment {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
9 | var fileManager: FileManager
10 | var githubClient: GithubClient
:
13 |
14 | extension Environment {
15 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | fileManager: .live,
17 | githubClient: .live
/host/spi-builder-workspace/Sources/ArenaCore/FileManager.swift:17:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 |
11 | struct FileManager {
| `- note: consider making struct 'FileManager' conform to the 'Sendable' protocol
12 | var fileExists: (Path) -> Bool
13 | }
:
15 |
16 | extension FileManager {
17 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | fileExists: { $0.exists }
19 | )
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:25:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | struct GithubClient {
| `- note: consider making struct 'GithubClient' conform to the 'Sendable' protocol
18 | var latestRelease: (GithubRepository) -> Release?
19 | var tags: (GithubRepository) -> [Tag]
:
23 |
24 | extension GithubClient {
25 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' 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 | latestRelease: latestReleaseRequest,
27 | tags: tagsRequest,
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:23:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | #if DEBUG
23 | var Current = Environment.live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | #else
25 | let Current = Environment.live
/host/spi-builder-workspace/Sources/ArenaCore/Extensions.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 |
27 |
28 | extension Optional: CustomStringConvertible where Wrapped == String {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
/host/spi-builder-workspace/Sources/ArenaCore/Extensions.swift:39:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Path' introduce this conformance in the future
37 |
38 |
39 | extension Path: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Path' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
40 | public init?(argument: String) {
41 | self = Path(argument) ?? Path.cwd/argument
[89/112] Compiling ArenaCore Progress.swift
[90/112] Compiling ArenaCore RefSpec.swift
[91/112] Compiling ArenaCore String+ext.swift
[92/112] Compiling ArenaCore Version.swift
[93/112] Emitting module ArenaCore
/host/spi-builder-workspace/Sources/ArenaCore/ArenaCommand.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 | static let playgroundName = "Arena-Playground"
9 |
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: "Creates an Xcode project with a Playground and one or more SPM libraries imported and ready for use."
12 | )
/host/spi-builder-workspace/Sources/ArenaCore/Dependency.swift:19:16: warning: static property 'defaultRequirement' is not concurrency-safe because non-'Sendable' type 'Requirement' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public var requirement: Requirement
18 |
19 | static let defaultRequirement: Requirement = .from(.init(0, 0, 0))
| |- warning: static property 'defaultRequirement' is not concurrency-safe because non-'Sendable' type 'Requirement' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequirement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public init(url: URL, requirement: Requirement) {
/host/spi-builder-workspace/Sources/ArenaCore/Requirement.swift:11:13: note: consider making enum 'Requirement' conform to the 'Sendable' protocol
9 |
10 |
11 | public enum Requirement: Equatable, Hashable {
| `- note: consider making enum 'Requirement' conform to the 'Sendable' protocol
12 | case exact(SemanticVersion)
13 | case range(Range<SemanticVersion>)
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:15:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
6 | //
7 |
8 | struct Environment {
| `- note: consider making struct 'Environment' conform to the 'Sendable' protocol
9 | var fileManager: FileManager
10 | var githubClient: GithubClient
:
13 |
14 | extension Environment {
15 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'Environment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | fileManager: .live,
17 | githubClient: .live
/host/spi-builder-workspace/Sources/ArenaCore/FileManager.swift:17:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 |
11 | struct FileManager {
| `- note: consider making struct 'FileManager' conform to the 'Sendable' protocol
12 | var fileExists: (Path) -> Bool
13 | }
:
15 |
16 | extension FileManager {
17 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | fileExists: { $0.exists }
19 | )
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:25:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | struct GithubClient {
| `- note: consider making struct 'GithubClient' conform to the 'Sendable' protocol
18 | var latestRelease: (GithubRepository) -> Release?
19 | var tags: (GithubRepository) -> [Tag]
:
23 |
24 | extension GithubClient {
25 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' 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 | latestRelease: latestReleaseRequest,
27 | tags: tagsRequest,
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:23:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | #if DEBUG
23 | var Current = Environment.live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | #else
25 | let Current = Environment.live
/host/spi-builder-workspace/Sources/ArenaCore/Extensions.swift:28:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 |
27 |
28 | extension Optional: CustomStringConvertible where Wrapped == String {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var description: String {
30 | switch self {
/host/spi-builder-workspace/Sources/ArenaCore/Extensions.swift:39:1: warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Path' introduce this conformance in the future
37 |
38 |
39 | extension Path: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'Path' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Path' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
40 | public init?(argument: String) {
41 | self = Path(argument) ?? Path.cwd/argument
/host/spi-builder-workspace/Sources/ArenaCore/Parser+ext.swift:110:5: warning: let 'branchName' is not concurrency-safe because non-'Sendable' type 'Parser<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
108 |
109 |
110 | let branchName = zip(
| `- warning: let 'branchName' is not concurrency-safe because non-'Sendable' type 'Parser<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
111 | .char(in: AllowedStartBranchCharacters),
112 | .prefix(charactersIn: AllowedBranchCharacters)
/host/spi-builder-workspace/.build/checkouts/Parser/Sources/Parser/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |
14 |
15 | public struct Parser<A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | public let run: (inout Substring) -> A?
17 |
/host/spi-builder-workspace/Sources/ArenaCore/Parser+ext.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parser'
7 |
8 | import Foundation
9 | import Parser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parser'
10 | import Path
11 | import SemanticVersion
:
108 |
109 |
110 | let branchName = zip(
| |- note: annotate 'branchName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | .char(in: AllowedStartBranchCharacters),
112 | .prefix(charactersIn: AllowedBranchCharacters)
[94/112] Compiling ArenaCore Requirement.swift
[95/112] Compiling ArenaCore Scheme.swift
[96/112] Compiling ArenaCore PlatformVersion.swift
[97/112] Compiling ArenaCore PlaygroundBook.swift
[98/112] Compiling ArenaCore Github.swift
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:25:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | struct GithubClient {
| `- note: consider making struct 'GithubClient' conform to the 'Sendable' protocol
18 | var latestRelease: (GithubRepository) -> Release?
19 | var tags: (GithubRepository) -> [Tag]
:
23 |
24 | extension GithubClient {
25 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' 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 | latestRelease: latestReleaseRequest,
27 | tags: tagsRequest,
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:91:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
89 | let sema = DispatchSemaphore(value: 0)
90 | var result: Release? = nil
91 | let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
92 | guard let data = data else { return }
93 | result = try? JSONDecoder().decode(Release.self, from: data)
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:107:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
105 | let sema = DispatchSemaphore(value: 0)
106 | var result = [Tag]()
107 | let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
108 | guard let data = data else { return }
109 | result = (try? JSONDecoder().decode([Tag].self, from: data)) ?? []
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:23:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | #if DEBUG
23 | var Current = Environment.live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | #else
25 | let Current = Environment.live
[99/112] Compiling ArenaCore Helpers.swift
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:25:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | struct GithubClient {
| `- note: consider making struct 'GithubClient' conform to the 'Sendable' protocol
18 | var latestRelease: (GithubRepository) -> Release?
19 | var tags: (GithubRepository) -> [Tag]
:
23 |
24 | extension GithubClient {
25 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' 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 | latestRelease: latestReleaseRequest,
27 | tags: tagsRequest,
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:91:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
89 | let sema = DispatchSemaphore(value: 0)
90 | var result: Release? = nil
91 | let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
92 | guard let data = data else { return }
93 | result = try? JSONDecoder().decode(Release.self, from: data)
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:107:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
105 | let sema = DispatchSemaphore(value: 0)
106 | var result = [Tag]()
107 | let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
108 | guard let data = data else { return }
109 | result = (try? JSONDecoder().decode([Tag].self, from: data)) ?? []
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:23:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | #if DEBUG
23 | var Current = Environment.live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | #else
25 | let Current = Environment.live
[100/112] Compiling ArenaCore Manifest.swift
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:25:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |
17 | struct GithubClient {
| `- note: consider making struct 'GithubClient' conform to the 'Sendable' protocol
18 | var latestRelease: (GithubRepository) -> Release?
19 | var tags: (GithubRepository) -> [Tag]
:
23 |
24 | extension GithubClient {
25 | static let live = Self(
| |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'GithubClient' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'live' with '@MainActor' 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 | latestRelease: latestReleaseRequest,
27 | tags: tagsRequest,
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:91:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
89 | let sema = DispatchSemaphore(value: 0)
90 | var result: Release? = nil
91 | let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
92 | guard let data = data else { return }
93 | result = try? JSONDecoder().decode(Release.self, from: data)
/host/spi-builder-workspace/Sources/ArenaCore/Github.swift:107:27: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
105 | let sema = DispatchSemaphore(value: 0)
106 | var result = [Tag]()
107 | let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
108 | guard let data = data else { return }
109 | result = (try? JSONDecoder().decode([Tag].self, from: data)) ?? []
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:23:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | #if DEBUG
23 | var Current = Environment.live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | #else
25 | let Current = Environment.live
[101/112] Compiling ArenaCore PackageGenerator.swift
/host/spi-builder-workspace/Sources/ArenaCore/Parser+ext.swift:110:5: warning: let 'branchName' is not concurrency-safe because non-'Sendable' type 'Parser<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
108 |
109 |
110 | let branchName = zip(
| `- warning: let 'branchName' is not concurrency-safe because non-'Sendable' type 'Parser<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
111 | .char(in: AllowedStartBranchCharacters),
112 | .prefix(charactersIn: AllowedBranchCharacters)
/host/spi-builder-workspace/.build/checkouts/Parser/Sources/Parser/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |
14 |
15 | public struct Parser<A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | public let run: (inout Substring) -> A?
17 |
/host/spi-builder-workspace/Sources/ArenaCore/Parser+ext.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parser'
7 |
8 | import Foundation
9 | import Parser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parser'
10 | import Path
11 | import SemanticVersion
:
108 |
109 |
110 | let branchName = zip(
| |- note: annotate 'branchName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | .char(in: AllowedStartBranchCharacters),
112 | .prefix(charactersIn: AllowedBranchCharacters)
[102/112] Compiling ArenaCore Parser+ext.swift
/host/spi-builder-workspace/Sources/ArenaCore/Parser+ext.swift:110:5: warning: let 'branchName' is not concurrency-safe because non-'Sendable' type 'Parser<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
108 |
109 |
110 | let branchName = zip(
| `- warning: let 'branchName' is not concurrency-safe because non-'Sendable' type 'Parser<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
111 | .char(in: AllowedStartBranchCharacters),
112 | .prefix(charactersIn: AllowedBranchCharacters)
/host/spi-builder-workspace/.build/checkouts/Parser/Sources/Parser/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |
14 |
15 | public struct Parser<A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | public let run: (inout Substring) -> A?
17 |
/host/spi-builder-workspace/Sources/ArenaCore/Parser+ext.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parser'
7 |
8 | import Foundation
9 | import Parser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parser'
10 | import Path
11 | import SemanticVersion
:
108 |
109 |
110 | let branchName = zip(
| |- note: annotate 'branchName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | .char(in: AllowedStartBranchCharacters),
112 | .prefix(charactersIn: AllowedBranchCharacters)
[103/112] Compiling ArenaCore Platform.swift
/host/spi-builder-workspace/Sources/ArenaCore/Parser+ext.swift:110:5: warning: let 'branchName' is not concurrency-safe because non-'Sendable' type 'Parser<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
108 |
109 |
110 | let branchName = zip(
| `- warning: let 'branchName' is not concurrency-safe because non-'Sendable' type 'Parser<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
111 | .char(in: AllowedStartBranchCharacters),
112 | .prefix(charactersIn: AllowedBranchCharacters)
/host/spi-builder-workspace/.build/checkouts/Parser/Sources/Parser/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |
14 |
15 | public struct Parser<A> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 | public let run: (inout Substring) -> A?
17 |
/host/spi-builder-workspace/Sources/ArenaCore/Parser+ext.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parser'
7 |
8 | import Foundation
9 | import Parser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Parser'
10 | import Path
11 | import SemanticVersion
:
108 |
109 |
110 | let branchName = zip(
| |- note: annotate 'branchName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | .char(in: AllowedStartBranchCharacters),
112 | .prefix(charactersIn: AllowedBranchCharacters)
[104/112] Compiling ArenaCore AppError.swift
/host/spi-builder-workspace/Sources/ArenaCore/ArenaCommand.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 | static let playgroundName = "Arena-Playground"
9 |
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: "Creates an Xcode project with a Playground and one or more SPM libraries imported and ready for use."
12 | )
/host/spi-builder-workspace/Sources/ArenaCore/Dependency.swift:19:16: warning: static property 'defaultRequirement' is not concurrency-safe because non-'Sendable' type 'Requirement' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public var requirement: Requirement
18 |
19 | static let defaultRequirement: Requirement = .from(.init(0, 0, 0))
| |- warning: static property 'defaultRequirement' is not concurrency-safe because non-'Sendable' type 'Requirement' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequirement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public init(url: URL, requirement: Requirement) {
/host/spi-builder-workspace/Sources/ArenaCore/Requirement.swift:11:13: note: consider making enum 'Requirement' conform to the 'Sendable' protocol
9 |
10 |
11 | public enum Requirement: Equatable, Hashable {
| `- note: consider making enum 'Requirement' conform to the 'Sendable' protocol
12 | case exact(SemanticVersion)
13 | case range(Range<SemanticVersion>)
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:23:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | #if DEBUG
23 | var Current = Environment.live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | #else
25 | let Current = Environment.live
[105/112] Compiling ArenaCore ArenaCommand.swift
/host/spi-builder-workspace/Sources/ArenaCore/ArenaCommand.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 | static let playgroundName = "Arena-Playground"
9 |
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: "Creates an Xcode project with a Playground and one or more SPM libraries imported and ready for use."
12 | )
/host/spi-builder-workspace/Sources/ArenaCore/Dependency.swift:19:16: warning: static property 'defaultRequirement' is not concurrency-safe because non-'Sendable' type 'Requirement' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public var requirement: Requirement
18 |
19 | static let defaultRequirement: Requirement = .from(.init(0, 0, 0))
| |- warning: static property 'defaultRequirement' is not concurrency-safe because non-'Sendable' type 'Requirement' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequirement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public init(url: URL, requirement: Requirement) {
/host/spi-builder-workspace/Sources/ArenaCore/Requirement.swift:11:13: note: consider making enum 'Requirement' conform to the 'Sendable' protocol
9 |
10 |
11 | public enum Requirement: Equatable, Hashable {
| `- note: consider making enum 'Requirement' conform to the 'Sendable' protocol
12 | case exact(SemanticVersion)
13 | case range(Range<SemanticVersion>)
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:23:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | #if DEBUG
23 | var Current = Environment.live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | #else
25 | let Current = Environment.live
[106/112] Compiling ArenaCore Dependency.swift
/host/spi-builder-workspace/Sources/ArenaCore/ArenaCommand.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 | static let playgroundName = "Arena-Playground"
9 |
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: "Creates an Xcode project with a Playground and one or more SPM libraries imported and ready for use."
12 | )
/host/spi-builder-workspace/Sources/ArenaCore/Dependency.swift:19:16: warning: static property 'defaultRequirement' is not concurrency-safe because non-'Sendable' type 'Requirement' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public var requirement: Requirement
18 |
19 | static let defaultRequirement: Requirement = .from(.init(0, 0, 0))
| |- warning: static property 'defaultRequirement' is not concurrency-safe because non-'Sendable' type 'Requirement' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequirement' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public init(url: URL, requirement: Requirement) {
/host/spi-builder-workspace/Sources/ArenaCore/Requirement.swift:11:13: note: consider making enum 'Requirement' conform to the 'Sendable' protocol
9 |
10 |
11 | public enum Requirement: Equatable, Hashable {
| `- note: consider making enum 'Requirement' conform to the 'Sendable' protocol
12 | case exact(SemanticVersion)
13 | case range(Range<SemanticVersion>)
/host/spi-builder-workspace/Sources/ArenaCore/Environment.swift:23:5: warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | #if DEBUG
23 | var Current = Environment.live
| |- warning: var 'Current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Current' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | #else
25 | let Current = Environment.live
BUILD FAILURE 6.0 linux