Build Information
Failed to build Arena, reference 1.3.4 (6ce0ff
), with Swift 6.1 for Linux on 28 Apr 2025 00:45:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finestructure/Arena.git
Reference: 1.3.4
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
* tag 1.3.4 -> FETCH_HEAD
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 1.3.4
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/finestructure/Arena.git
https://github.com/finestructure/Arena.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/finestructure/Parser"
},
{
"identity" : "shellout",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/ShellOut.git"
},
{
"identity" : "path.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Path.swift.git"
},
{
"identity" : "semanticversion",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftPackageIndex/SemanticVersion"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "Arena",
"name" : "Arena",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "arena",
"targets" : [
"ArenaCLI"
],
"type" : {
"executable" : null
}
},
{
"name" : "ArenaCore",
"targets" : [
"ArenaCore"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "ArenaTests",
"module_type" : "SwiftTarget",
"name" : "ArenaTests",
"path" : "Tests/ArenaTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"ArenaTests.swift",
"IntegrationTests.swift",
"ManifestTests.swift",
"OutputListener.swift",
"PackageGeneratorTests.swift",
"ParserTests.swift",
"RegressionTests.swift",
"Utils.swift"
],
"target_dependencies" : [
"ArenaCore"
],
"type" : "test"
},
{
"c99name" : "ArenaCore",
"module_type" : "SwiftTarget",
"name" : "ArenaCore",
"path" : "Sources/ArenaCore",
"product_dependencies" : [
"ArgumentParser",
"Parser",
"Path",
"SemanticVersion",
"ShellOut"
],
"product_memberships" : [
"arena",
"ArenaCore"
],
"sources" : [
"AppError.swift",
"ArenaCommand.swift",
"Dependency.swift",
"Environment.swift",
"Extensions.swift",
"FileManager.swift",
"Github.swift",
"Helpers.swift",
"Manifest.swift",
"PackageGenerator.swift",
"Parser+ext.swift",
"Platform.swift",
"PlatformVersion.swift",
"PlaygroundBook.swift",
"Progress.swift",
"RefSpec.swift",
"Requirement.swift",
"Scheme.swift",
"String+ext.swift",
"Version.swift"
],
"type" : "library"
},
{
"c99name" : "ArenaCLI",
"module_type" : "SwiftTarget",
"name" : "ArenaCLI",
"path" : "Sources/ArenaCLI",
"product_memberships" : [
"arena"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ArenaCore"
],
"type" : "executable"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/finestructure/Parser
Fetching https://github.com/SwiftPackageIndex/SemanticVersion
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/960] Fetching shellout
[961/2019] Fetching shellout, path.swift
[1788/2342] Fetching shellout, path.swift, semanticversion
[2343/2497] Fetching shellout, path.swift, semanticversion, parser
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.24s)
Fetched https://github.com/SwiftPackageIndex/SemanticVersion from cache (0.25s)
Fetched https://github.com/finestructure/Parser from cache (0.26s)
[1/14950] Fetching swift-argument-parser
[749/28109] Fetching swift-argument-parser, swift-snapshot-testing
Fetched https://github.com/mxcl/Path.swift.git from cache (0.77s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.64s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.69s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (3.49s)
Computing version for https://github.com/finestructure/Parser
Computed https://github.com/finestructure/Parser at 0.2.1 (0.45s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 1.4.1 (0.45s)
Computing version for https://github.com/SwiftPackageIndex/SemanticVersion
Computed https://github.com/SwiftPackageIndex/SemanticVersion at 0.4.0 (0.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.47s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.3 (0.45s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/74814] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (4.25s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.30s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.26s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.73s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.45s)
Creating working copy for https://github.com/SwiftPackageIndex/SemanticVersion
Working copy of https://github.com/SwiftPackageIndex/SemanticVersion resolved at 0.4.0
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/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
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/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
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
Building for debugging...
[0/22] Write sources
[7/22] Copying Documentation.docc
[7/22] Write sources
[9/22] Write swift-version-24593BA9C3E375BF.txt
[11/46] Emitting module ArgumentParserToolInfo
[12/46] Emitting module Path
[13/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/48] Compiling Path Pathish.swift
[15/48] Wrapping AST for ArgumentParserToolInfo for debugging
[17/82] Compiling ArgumentParser ArgumentHelp.swift
[18/82] Compiling ArgumentParser CompletionKind.swift
[19/82] Compiling ArgumentParser Errors.swift
[20/82] Compiling ArgumentParser Flag.swift
[21/82] Compiling ArgumentParser NameSpecification.swift
[22/86] Emitting module ShellOut
[23/86] Compiling ShellOut ShellOut.swift
[24/87] Compiling SemanticVersion resource_bundle_accessor.swift
[26/87] Compiling Path Path.swift
[27/87] Compiling Parser Parser+zip.swift
[28/87] Compiling Parser Match.swift
[29/87] Compiling Parser CharacterSet+ext.swift
[30/87] Compiling Parser Parser.swift
[31/87] Emitting module Parser
[32/87] Compiling Path PathToBool.swift
[33/88] Emitting module ArgumentParser
[34/88] Compiling ArgumentParser BashCompletionsGenerator.swift
[35/88] Compiling ArgumentParser CompletionsGenerator.swift
[36/88] Compiling ArgumentParser FishCompletionsGenerator.swift
[37/88] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/88] Compiling ArgumentParser Argument.swift
[39/88] Compiling SemanticVersion SemanticVersion+Codable.swift
[40/88] Emitting module SemanticVersion
[41/88] Compiling SemanticVersion NSRegularExpression+ext.swift
[42/88] Compiling SemanticVersion SemanticVersion.swift
[43/89] Compiling Path Path+StringConvertibles.swift
[44/89] Compiling Path Path+FileManager.swift
[49/89] Compiling Path Path+ls.swift
[51/90] Wrapping AST for ShellOut for debugging
[54/90] Compiling ArgumentParser CollectionExtensions.swift
[55/90] Compiling ArgumentParser SequenceExtensions.swift
[56/90] Compiling ArgumentParser StringExtensions.swift
[57/90] Compiling ArgumentParser Tree.swift
[58/90] Compiling ArgumentParser ParsedValues.swift
[59/90] Compiling ArgumentParser ParserError.swift
[60/90] Compiling ArgumentParser SplitArguments.swift
[61/90] Compiling ArgumentParser DumpHelpGenerator.swift
[62/90] Compiling ArgumentParser HelpCommand.swift
[63/90] Compiling ArgumentParser HelpGenerator.swift
[64/90] Compiling ArgumentParser MessageInfo.swift
[65/90] Compiling ArgumentParser UsageGenerator.swift
[66/90] Compiling ArgumentParser ArgumentSet.swift
[67/90] Compiling ArgumentParser CommandParser.swift
[68/90] Compiling ArgumentParser InputOrigin.swift
[69/90] Compiling ArgumentParser Name.swift
[70/90] Compiling ArgumentParser Parsed.swift
[70/90] Wrapping AST for SemanticVersion for debugging
[71/90] Wrapping AST for Path for debugging
[72/90] Wrapping AST for Parser for debugging
[74/90] Compiling ArgumentParser ParsableArguments.swift
[75/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[76/90] Compiling ArgumentParser ParsableCommand.swift
[77/90] Compiling ArgumentParser ArgumentDecoder.swift
[78/90] Compiling ArgumentParser ArgumentDefinition.swift
[79/90] Compiling ArgumentParser Option.swift
[80/90] Compiling ArgumentParser OptionGroup.swift
[81/90] Compiling ArgumentParser CommandConfiguration.swift
[82/90] Compiling ArgumentParser EnumerableFlag.swift
[83/90] Compiling ArgumentParser ExpressibleByArgument.swift
[84/91] Wrapping AST for ArgumentParser for debugging
[86/110] 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultRequirement' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make let 'branchName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | .char(in: AllowedStartBranchCharacters),
112 | .prefix(charactersIn: AllowedBranchCharacters)
[87/112] Compiling ArenaCore Requirement.swift
[88/112] Compiling ArenaCore Scheme.swift
[89/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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- 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)) ?? []
[90/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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- 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)) ?? []
[91/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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- 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)) ?? []
[92/112] Compiling ArenaCore PlatformVersion.swift
[93/112] Compiling ArenaCore PlaygroundBook.swift
[94/112] 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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | fileExists: { $0.exists }
19 | )
[95/112] 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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | fileExists: { $0.exists }
19 | )
[96/112] 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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
| `- 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/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: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | fileExists: { $0.exists }
19 | )
[97/112] Compiling ArenaCore String+ext.swift
[98/112] Compiling ArenaCore Version.swift
[99/112] Compiling ArenaCore Progress.swift
[100/112] Compiling ArenaCore RefSpec.swift
[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: add '@MainActor' to make let 'branchName' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'branchName' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'branchName' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultRequirement' part of global actor 'MainActor'
| `- 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>)
[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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultRequirement' part of global actor 'MainActor'
| `- 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>)
[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: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'defaultRequirement' part of global actor 'MainActor'
| `- 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>)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/13] Write swift-version-24593BA9C3E375BF.txt
[2/37] Emitting module ShellOut
[3/37] Compiling ShellOut ShellOut.swift
[4/37] Compiling Parser CharacterSet+ext.swift
[5/38] Compiling SemanticVersion resource_bundle_accessor.swift
[6/38] Compiling Path PathToBool.swift
[7/39] Compiling Path Pathish.swift
[9/39] Compiling SemanticVersion NSRegularExpression+ext.swift
[10/39] Compiling Path Path+StringConvertibles.swift
[11/38] Compiling Parser Parser+zip.swift
[12/38] Compiling Parser Match.swift
[13/38] Emitting module Parser
[14/38] Compiling Parser Parser.swift
[15/38] Compiling SemanticVersion SemanticVersion+Codable.swift
[16/38] Compiling Path Path+FileManager.swift
[17/38] Emitting module SemanticVersion
[18/38] Compiling SemanticVersion SemanticVersion.swift
[19/40] Compiling Path Path+Codable.swift
[20/40] Compiling Path Path+CommonDirectories.swift
[23/40] Emitting module ArgumentParserToolInfo
[24/40] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/40] Emitting module Path
[26/40] Compiling Path Extensions.swift
[27/40] Compiling Path Path+Attributes.swift
[28/40] Compiling Path Path+ls.swift
[29/40] Compiling Path Path.swift
[31/39] Wrapping AST for Path for debugging
[33/73] Emitting module ArgumentParser
[34/73] Compiling ArgumentParser ArgumentHelp.swift
[35/73] Compiling ArgumentParser CompletionKind.swift
[36/73] Compiling ArgumentParser Errors.swift
[37/73] Compiling ArgumentParser Flag.swift
[38/73] Compiling ArgumentParser NameSpecification.swift
[39/77] Compiling ArgumentParser CollectionExtensions.swift
[40/77] Compiling ArgumentParser SequenceExtensions.swift
[41/77] Compiling ArgumentParser StringExtensions.swift
[42/77] Compiling ArgumentParser Tree.swift
[43/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[44/77] Compiling ArgumentParser CompletionsGenerator.swift
[45/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[46/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[47/77] Compiling ArgumentParser Argument.swift
[48/77] Compiling ArgumentParser ArgumentSet.swift
[49/77] Compiling ArgumentParser CommandParser.swift
[50/77] Compiling ArgumentParser InputOrigin.swift
[51/77] Compiling ArgumentParser Name.swift
[52/77] Compiling ArgumentParser Parsed.swift
[53/77] Compiling ArgumentParser ParsedValues.swift
[54/77] Compiling ArgumentParser ParserError.swift
[55/77] Compiling ArgumentParser SplitArguments.swift
[56/77] Compiling ArgumentParser DumpHelpGenerator.swift
[57/77] Compiling ArgumentParser HelpCommand.swift
[58/77] Compiling ArgumentParser HelpGenerator.swift
[59/77] Compiling ArgumentParser MessageInfo.swift
[60/77] Compiling ArgumentParser UsageGenerator.swift
[61/77] Compiling ArgumentParser ParsableArguments.swift
[62/77] Compiling ArgumentParser ParsableArgumentsValidation.swift
[63/77] Compiling ArgumentParser ParsableCommand.swift
[64/77] Compiling ArgumentParser ArgumentDecoder.swift
[65/77] Compiling ArgumentParser ArgumentDefinition.swift
[66/77] Compiling ArgumentParser Option.swift
[67/77] Compiling ArgumentParser OptionGroup.swift
[68/77] Compiling ArgumentParser CommandConfiguration.swift
[69/77] Compiling ArgumentParser EnumerableFlag.swift
[70/77] Compiling ArgumentParser ExpressibleByArgument.swift
[71/78] Wrapping AST for ArgumentParser for debugging
[73/97] Compiling ArenaCore Progress.swift
[74/97] Compiling ArenaCore RefSpec.swift
[75/99] Compiling ArenaCore Environment.swift
/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
[76/99] Compiling ArenaCore Extensions.swift
/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
[77/99] Compiling ArenaCore FileManager.swift
/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
[78/99] Compiling ArenaCore Github.swift
/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)) ?? []
[79/99] Compiling ArenaCore Helpers.swift
/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)) ?? []
[80/99] Compiling ArenaCore Manifest.swift
/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)) ?? []
[81/99] Compiling ArenaCore String+ext.swift
[82/99] Compiling ArenaCore Version.swift
[83/99] Emitting module ArenaCore
/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
[84/99] Compiling ArenaCore PlatformVersion.swift
[85/99] Compiling ArenaCore PlaygroundBook.swift
[86/99] Compiling ArenaCore Requirement.swift
[87/99] Compiling ArenaCore Scheme.swift
[88/99] Compiling ArenaCore PackageGenerator.swift
[89/99] Compiling ArenaCore Parser+ext.swift
[90/99] Compiling ArenaCore Platform.swift
[91/99] Compiling ArenaCore AppError.swift
[92/99] Compiling ArenaCore ArenaCommand.swift
[93/99] Compiling ArenaCore Dependency.swift
BUILD FAILURE 6.1 linux