Build Information
Failed to build Rester, reference main (9015e6
), with Swift 6.1 for Linux on 26 Apr 2025 19:01:44 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/Rester.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/Rester
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9015e6f Merge pull request #108 from finestructure/pretty-print-log-json
Cloned https://github.com/finestructure/Rester.git
Revision (git rev-parse @):
9015e6fcffc8b1bd45fad82b38522700439d23f5
SUCCESS checkout https://github.com/finestructure/Rester.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/finestructure/Rester.git
https://github.com/finestructure/Rester.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "regex",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/crossroadlabs/Regex.git"
},
{
"identity" : "valuecodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/finestructure/ValueCodable"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "legibleerror",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/LegibleError.git"
},
{
"identity" : "path.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Path.swift.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
},
{
"identity" : "swift-gen",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-gen.git"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "Rester",
"name" : "Rester",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "rester",
"targets" : [
"Rester"
],
"type" : {
"executable" : null
}
},
{
"name" : "ResterCore",
"targets" : [
"ResterCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ResterTests",
"module_type" : "SwiftTarget",
"name" : "ResterTests",
"path" : "Tests/ResterTests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"Dictionary+extTests.swift",
"ExampleTests.swift",
"IssuesTests.swift",
"LaunchTests.swift",
"MatcherTests.swift",
"ParameterTests.swift",
"PathTests.swift",
"RequestLoggingTests.swift",
"RequestTests.swift",
"RequestValidationTests.swift",
"ResponseTests.swift",
"ResterTests.swift",
"RestfileTests.swift",
"StatsTests.swift",
"SubstitutableTests.swift",
"TempDir.swift",
"TestUtils.swift",
"TestUtilsTests.swift",
"UtilsTests.swift",
"ValidationTests.swift",
"ValueTests.swift"
],
"target_dependencies" : [
"ResterCore"
],
"type" : "test"
},
{
"c99name" : "ResterCore",
"module_type" : "SwiftTarget",
"name" : "ResterCore",
"path" : "Sources/ResterCore",
"product_dependencies" : [
"ArgumentParser",
"Gen",
"LegibleError",
"Path",
"Rainbow",
"Regex",
"ValueCodable",
"Yams"
],
"product_memberships" : [
"rester",
"ResterCore"
],
"sources" : [
"App.swift",
"Body.swift",
"Console.swift",
"Extensions/Array+ext.swift",
"Extensions/Collection+ext.swift",
"Extensions/Data+ext.swift",
"Extensions/Dictionary+ext.swift",
"Extensions/Double+ext.swift",
"Extensions/KeyedDecodingContainer+ext.swift",
"Extensions/Numeric+ext.swift",
"Extensions/Path+ext.swift",
"Extensions/Sequence+async.swift",
"Extensions/String+ext.swift",
"Extensions/Value+ext.swift",
"Matcher.swift",
"Method.swift",
"Multipart.swift",
"OrderedDict.swift",
"Parameter.swift",
"Request.swift",
"Response.swift",
"Rester.swift",
"ResterError.swift",
"Restfile.swift",
"Runner.swift",
"Stats.swift",
"StringCodingKeys.swift",
"Substitutable.swift",
"TestResult.swift",
"URLEncoding.swift",
"Utils.swift",
"Validation.swift",
"ValidationResult.swift",
"Version.swift",
"World.swift"
],
"type" : "library"
},
{
"c99name" : "Rester",
"module_type" : "SwiftTarget",
"name" : "Rester",
"path" : "Sources/Rester",
"product_memberships" : [
"rester"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ResterCore"
],
"type" : "executable"
}
],
"tools_version" : "5.5"
}
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/jpsim/Yams.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/pointfreeco/swift-gen.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/mxcl/Path.swift.git
[1/1196] Fetching rainbow
[1066/1374] Fetching rainbow, legibleerror
[1375/2433] Fetching rainbow, legibleerror, path.swift
[1376/3145] Fetching rainbow, legibleerror, path.swift, swift-gen
[3146/13434] Fetching rainbow, legibleerror, path.swift, swift-gen, yams
Fetched https://github.com/onevcat/Rainbow.git from cache (0.24s)
Fetching https://github.com/finestructure/ValueCodable
[2258/12238] Fetching legibleerror, path.swift, swift-gen, yams
[7712/25397] Fetching legibleerror, path.swift, swift-gen, yams, swift-snapshot-testing
[8107/25572] Fetching legibleerror, path.swift, swift-gen, yams, swift-snapshot-testing, valuecodable
Fetched https://github.com/finestructure/ValueCodable from cache (0.18s)
Fetching https://github.com/crossroadlabs/Regex.git
[8678/25397] Fetching legibleerror, path.swift, swift-gen, yams, swift-snapshot-testing
[11630/26693] Fetching legibleerror, path.swift, swift-gen, yams, swift-snapshot-testing, regex
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.22s)
[13579/25397] Fetching legibleerror, path.swift, swift-gen, yams, swift-snapshot-testing
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/mxcl/LegibleError.git from cache (0.99s)
[18377/25219] Fetching path.swift, swift-gen, yams, swift-snapshot-testing
Fetched https://github.com/jpsim/Yams.git from cache (1.02s)
[9404/14930] Fetching path.swift, swift-gen, swift-snapshot-testing
[11115/29880] Fetching path.swift, swift-gen, swift-snapshot-testing, swift-argument-parser
Fetched https://github.com/mxcl/Path.swift.git from cache (1.64s)
Fetched https://github.com/pointfreeco/swift-gen.git from cache (1.64s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.04s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.70s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (2.15s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (1.81s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.2.0 (0.39s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.4.0 (0.45s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.45s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.43s)
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.48s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/74813] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (4.04s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.09s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (4.51s)
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.54s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.13s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.41s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (1.82s)
Creating working copy for https://github.com/pointfreeco/swift-gen.git
Working copy of https://github.com/pointfreeco/swift-gen.git resolved at 0.4.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
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 1.5.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.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.18.3
Creating working copy for https://github.com/finestructure/ValueCodable
Working copy of https://github.com/finestructure/ValueCodable resolved at 0.2.0
Creating working copy for https://github.com/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.0
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling writer.c
[13/32] Compiling reader.c
[14/32] Compiling api.c
[15/32] Compiling parser.c
[16/32] Compiling emitter.c
[17/32] Write swift-version-24593BA9C3E375BF.txt
[18/32] Compiling scanner.c
[20/89] Compiling Gen Zip.swift
[21/89] Compiling Regex String+Regex.swift
[22/90] Compiling Gen LCRNG.swift
[23/90] Compiling Gen UIKit.swift
[24/90] Compiling Rainbow Style.swift
[25/90] Compiling Rainbow StringGenerator.swift
[26/90] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/90] Emitting module ArgumentParserToolInfo
[28/92] Compiling Gen Gen.swift
[29/92] Compiling Gen Xoshiro.swift
[30/92] Emitting module Gen
[31/92] Compiling Gen AnyRandomNumberGenerator.swift
[32/93] Compiling Rainbow String+Rainbow.swift
[35/93] Compiling Rainbow XcodeColorsSupport.swift
[35/93] Wrapping AST for ArgumentParserToolInfo for debugging
[36/121] Wrapping AST for Gen for debugging
[38/131] Emitting module ArgumentParser
[39/136] Compiling LegibleError LegibleError.swift
[40/136] Emitting module LegibleError
[41/136] Compiling Path Path+FileManager.swift
[42/138] Compiling Rainbow Rainbow.swift
[43/138] Compiling Regex RegexOptions.swift
[44/138] Compiling ValueCodable Value.swift
[45/138] Compiling ValueCodable Utils.swift
[46/138] Emitting module ValueCodable
[47/138] Compiling Path Path+Codable.swift
[48/139] Compiling Regex MatchSequence.swift
[49/139] Compiling ArgumentParser OptionGroup.swift
[50/139] Compiling ArgumentParser AsyncParsableCommand.swift
[51/139] Compiling ArgumentParser FishCompletionsGenerator.swift
[52/139] Compiling ArgumentParser ZshCompletionsGenerator.swift
[53/139] Compiling ArgumentParser BashCompletionsGenerator.swift
[54/139] Compiling ArgumentParser CompletionsGenerator.swift
[55/139] Emitting module Rainbow
[56/139] Compiling ArgumentParser Argument.swift
[57/139] Compiling ArgumentParser ArgumentHelp.swift
[58/141] Compiling ArgumentParser NameSpecification.swift
[59/141] Compiling ArgumentParser Option.swift
[60/142] Compiling Path Path->Bool.swift
[61/142] Emitting module Path
[63/142] Compiling Path Path+StringConvertibles.swift
[65/142] Compiling Path Path+CommonDirectories.swift
[68/142] Compiling Path Path+ls.swift
[69/142] Compiling ArgumentParser ArgumentVisibility.swift
[70/142] Compiling ArgumentParser CompletionKind.swift
[73/142] Compiling Regex PlatformTypes.swift
[74/142] Compiling Regex GroupRangeUtils.swift
[75/142] Compiling Regex Match.swift
[76/142] Compiling Regex Regex.swift
[77/142] Emitting module Regex
[78/142] Compiling Regex Utils.swift
[80/143] Compiling ArgumentParser Errors.swift
[81/143] Compiling ArgumentParser Flag.swift
[85/143] Emitting module Yams
[90/143] Compiling Yams YamlError.swift
[91/143] Compiling Yams shim.swift
[92/143] Compiling ArgumentParser EnumerableFlag.swift
[98/143] Wrapping AST for ValueCodable for debugging
[99/143] Wrapping AST for Rainbow for debugging
[100/143] Wrapping AST for LegibleError for debugging
[101/143] Wrapping AST for Regex for debugging
[111/144] Compiling ArgumentParser CollectionExtensions.swift
[112/144] Compiling ArgumentParser Platform.swift
[113/144] Compiling ArgumentParser SequenceExtensions.swift
[114/144] Compiling ArgumentParser StringExtensions.swift
[115/144] Compiling ArgumentParser Tree.swift
[116/144] Wrapping AST for Yams for debugging
[118/144] Compiling Path Path.swift
[119/145] Compiling ArgumentParser Name.swift
[120/145] Compiling ArgumentParser Parsed.swift
[121/145] Compiling ArgumentParser ParsedValues.swift
[122/145] Compiling ArgumentParser ParserError.swift
[123/145] Compiling ArgumentParser SplitArguments.swift
[124/145] Compiling ArgumentParser DumpHelpGenerator.swift
[125/145] Compiling ArgumentParser HelpCommand.swift
[126/145] Compiling ArgumentParser HelpGenerator.swift
[127/145] Compiling ArgumentParser MessageInfo.swift
[128/145] Compiling ArgumentParser UsageGenerator.swift
[129/145] Wrapping AST for Path for debugging
[131/145] Compiling ArgumentParser ArgumentDefinition.swift
[132/145] Compiling ArgumentParser ArgumentSet.swift
[133/145] Compiling ArgumentParser CommandParser.swift
[134/145] Compiling ArgumentParser InputKey.swift
[135/145] Compiling ArgumentParser InputOrigin.swift
[136/145] Compiling ArgumentParser ExpressibleByArgument.swift
[137/145] Compiling ArgumentParser ParsableArguments.swift
[138/145] Compiling ArgumentParser ParsableArgumentsValidation.swift
[139/145] Compiling ArgumentParser ParsableCommand.swift
[140/145] Compiling ArgumentParser ArgumentDecoder.swift
[141/146] Wrapping AST for ArgumentParser for debugging
[143/178] Emitting module ResterCore
/host/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 |
6 | var statistics: [Request.Name: Stats]? = nil
| |- warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'statistics' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:257:11: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
255 |
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
258 | var validateCertificate: Bool
259 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:258:13: warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
258 | var validateCertificate: Bool
| `- warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
259 |
260 | init(validateCertificate: Bool = true) {
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: 'T' previously declared here
2 | private var activeTask: Status<T> = .idle
3 |
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | case inProgress(Task<T, Error>)
23 | case idle
/host/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: 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 |
23 | public var Current = World()
| |- 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 |
[144/182] Compiling ResterCore Substitutable.swift
[145/182] Compiling ResterCore TestResult.swift
[146/182] Compiling ResterCore URLEncoding.swift
[147/182] Compiling ResterCore Utils.swift
[148/182] Compiling ResterCore Data+ext.swift
[149/182] Compiling ResterCore Dictionary+ext.swift
[150/182] Compiling ResterCore Double+ext.swift
[151/182] Compiling ResterCore KeyedDecodingContainer+ext.swift
[152/182] Compiling ResterCore Numeric+ext.swift
[153/182] Compiling ResterCore App.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 |
6 | var statistics: [Request.Name: Stats]? = nil
| |- warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'statistics' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
106 | if insecure {
107 | Current.console.display("--insecure flag currently only supported on macOS")
108 | exit(1)
| `- error: static member 'exit' cannot be used on instance of type 'App'
109 | }
110 | #endif
/host/spi-builder-workspace/Sources/ResterCore/App.swift:205:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
203 |
204 | static func exit(_ returnCode: Int32) -> Never {
205 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
206 | fflush(stderr)
207 | _exit(returnCode)
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/ResterCore/App.swift:206:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 | static func exit(_ returnCode: Int32) -> Never {
205 | fflush(stdout)
206 | fflush(stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
207 | _exit(returnCode)
208 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[154/182] Compiling ResterCore Body.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 |
6 | var statistics: [Request.Name: Stats]? = nil
| |- warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'statistics' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
106 | if insecure {
107 | Current.console.display("--insecure flag currently only supported on macOS")
108 | exit(1)
| `- error: static member 'exit' cannot be used on instance of type 'App'
109 | }
110 | #endif
/host/spi-builder-workspace/Sources/ResterCore/App.swift:205:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
203 |
204 | static func exit(_ returnCode: Int32) -> Never {
205 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
206 | fflush(stderr)
207 | _exit(returnCode)
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/ResterCore/App.swift:206:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 | static func exit(_ returnCode: Int32) -> Never {
205 | fflush(stdout)
206 | fflush(stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
207 | _exit(returnCode)
208 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[155/182] Compiling ResterCore Console.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 |
6 | var statistics: [Request.Name: Stats]? = nil
| |- warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'statistics' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
106 | if insecure {
107 | Current.console.display("--insecure flag currently only supported on macOS")
108 | exit(1)
| `- error: static member 'exit' cannot be used on instance of type 'App'
109 | }
110 | #endif
/host/spi-builder-workspace/Sources/ResterCore/App.swift:205:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
203 |
204 | static func exit(_ returnCode: Int32) -> Never {
205 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
206 | fflush(stderr)
207 | _exit(returnCode)
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/ResterCore/App.swift:206:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 | static func exit(_ returnCode: Int32) -> Never {
205 | fflush(stdout)
206 | fflush(stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
207 | _exit(returnCode)
208 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[156/182] Compiling ResterCore Array+ext.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 |
6 | var statistics: [Request.Name: Stats]? = nil
| |- warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'statistics' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
106 | if insecure {
107 | Current.console.display("--insecure flag currently only supported on macOS")
108 | exit(1)
| `- error: static member 'exit' cannot be used on instance of type 'App'
109 | }
110 | #endif
/host/spi-builder-workspace/Sources/ResterCore/App.swift:205:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
203 |
204 | static func exit(_ returnCode: Int32) -> Never {
205 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
206 | fflush(stderr)
207 | _exit(returnCode)
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/ResterCore/App.swift:206:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 | static func exit(_ returnCode: Int32) -> Never {
205 | fflush(stdout)
206 | fflush(stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
207 | _exit(returnCode)
208 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[157/182] Compiling ResterCore Collection+ext.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 |
6 | var statistics: [Request.Name: Stats]? = nil
| |- warning: var 'statistics' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'statistics' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
106 | if insecure {
107 | Current.console.display("--insecure flag currently only supported on macOS")
108 | exit(1)
| `- error: static member 'exit' cannot be used on instance of type 'App'
109 | }
110 | #endif
/host/spi-builder-workspace/Sources/ResterCore/App.swift:205:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
203 |
204 | static func exit(_ returnCode: Int32) -> Never {
205 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
206 | fflush(stderr)
207 | _exit(returnCode)
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams. */
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
145 | extern FILE *stderr; /* Standard error output stream. */
146 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/ResterCore/App.swift:206:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
204 | static func exit(_ returnCode: Int32) -> Never {
205 | fflush(stdout)
206 | fflush(stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
207 | _exit(returnCode)
208 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin; /* Standard input stream. */
144 | extern FILE *stdout; /* Standard output stream. */
145 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
146 | /* C89/C99 say they're macros. Make them happy. */
147 | #define stdin stdin
[158/182] Compiling ResterCore Path+ext.swift
[159/182] Compiling ResterCore Sequence+async.swift
[160/182] Compiling ResterCore String+ext.swift
[161/182] Compiling ResterCore Value+ext.swift
[162/182] Compiling ResterCore Matcher.swift
[163/182] Compiling ResterCore Validation.swift
/host/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: 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 |
23 | public var Current = World()
| |- 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 |
[164/182] Compiling ResterCore ValidationResult.swift
/host/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: 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 |
23 | public var Current = World()
| |- 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 |
[165/182] Compiling ResterCore Version.swift
/host/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: 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 |
23 | public var Current = World()
| |- 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 |
[166/182] Compiling ResterCore World.swift
/host/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: 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 |
23 | public var Current = World()
| |- 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 |
[167/182] Compiling ResterCore Request.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:257:11: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
255 |
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
258 | var validateCertificate: Bool
259 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:258:13: warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
258 | var validateCertificate: Bool
| `- warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
259 |
260 | init(validateCertificate: Bool = true) {
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/host/spi-builder-workspace/Sources/ResterCore/TestResult.swift:11:13: note: consider making enum 'TestResult' conform to the 'Sendable' protocol
9 |
10 |
11 | public enum TestResult: Equatable {
| `- note: consider making enum 'TestResult' conform to the 'Sendable' protocol
12 | case success(Request.Name, Response)
13 | case failure(Request.Name, Response, Reason)
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:71:26: warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| |- warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async throws -> [TestResult]' to actor-isolated instance method 'run' risks causing races in between task-isolated and actor-isolated uses
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
[168/182] Compiling ResterCore Response.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:257:11: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
255 |
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
258 | var validateCertificate: Bool
259 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:258:13: warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
258 | var validateCertificate: Bool
| `- warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
259 |
260 | init(validateCertificate: Bool = true) {
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/host/spi-builder-workspace/Sources/ResterCore/TestResult.swift:11:13: note: consider making enum 'TestResult' conform to the 'Sendable' protocol
9 |
10 |
11 | public enum TestResult: Equatable {
| `- note: consider making enum 'TestResult' conform to the 'Sendable' protocol
12 | case success(Request.Name, Response)
13 | case failure(Request.Name, Response, Reason)
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:71:26: warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| |- warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async throws -> [TestResult]' to actor-isolated instance method 'run' risks causing races in between task-isolated and actor-isolated uses
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
[169/182] Compiling ResterCore Rester.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:257:11: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
255 |
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
258 | var validateCertificate: Bool
259 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:258:13: warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
258 | var validateCertificate: Bool
| `- warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
259 |
260 | init(validateCertificate: Bool = true) {
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/host/spi-builder-workspace/Sources/ResterCore/TestResult.swift:11:13: note: consider making enum 'TestResult' conform to the 'Sendable' protocol
9 |
10 |
11 | public enum TestResult: Equatable {
| `- note: consider making enum 'TestResult' conform to the 'Sendable' protocol
12 | case success(Request.Name, Response)
13 | case failure(Request.Name, Response, Reason)
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:71:26: warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| |- warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async throws -> [TestResult]' to actor-isolated instance method 'run' risks causing races in between task-isolated and actor-isolated uses
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
[170/182] Compiling ResterCore ResterError.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:257:11: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
255 |
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
258 | var validateCertificate: Bool
259 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:258:13: warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
258 | var validateCertificate: Bool
| `- warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
259 |
260 | init(validateCertificate: Bool = true) {
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/host/spi-builder-workspace/Sources/ResterCore/TestResult.swift:11:13: note: consider making enum 'TestResult' conform to the 'Sendable' protocol
9 |
10 |
11 | public enum TestResult: Equatable {
| `- note: consider making enum 'TestResult' conform to the 'Sendable' protocol
12 | case success(Request.Name, Response)
13 | case failure(Request.Name, Response, Reason)
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:71:26: warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| |- warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async throws -> [TestResult]' to actor-isolated instance method 'run' risks causing races in between task-isolated and actor-isolated uses
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
[171/182] Compiling ResterCore Method.swift
[172/182] Compiling ResterCore Multipart.swift
[173/182] Compiling ResterCore OrderedDict.swift
[174/182] Compiling ResterCore Parameter.swift
[175/182] Compiling ResterCore Restfile.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: 'T' previously declared here
2 | private var activeTask: Status<T> = .idle
3 |
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | case inProgress(Task<T, Error>)
23 | case idle
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:34: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | try await block()
12 | })
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:34: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | try await block()
12 | })
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:49: warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic enum 'Status' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:60: warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:32:47: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
:
30 | throw CancellationError()
31 | case .inProgress(let task):
32 | return try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | }
34 | }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:44:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
:
42 | self = .cancelled
43 | case .inProgress(let task):
44 | task.cancel()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 | self = .cancelled
46 | }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:39: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
11 | try await block()
| `- note: closure captures 'self'-isolated 'block'
12 | })
13 | }
[176/182] Compiling ResterCore Runner.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: 'T' previously declared here
2 | private var activeTask: Status<T> = .idle
3 |
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | case inProgress(Task<T, Error>)
23 | case idle
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:34: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | try await block()
12 | })
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:34: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | try await block()
12 | })
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:49: warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic enum 'Status' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:60: warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:32:47: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
:
30 | throw CancellationError()
31 | case .inProgress(let task):
32 | return try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | }
34 | }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:44:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
:
42 | self = .cancelled
43 | case .inProgress(let task):
44 | task.cancel()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 | self = .cancelled
46 | }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:39: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
11 | try await block()
| `- note: closure captures 'self'-isolated 'block'
12 | })
13 | }
[177/182] Compiling ResterCore Stats.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: 'T' previously declared here
2 | private var activeTask: Status<T> = .idle
3 |
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | case inProgress(Task<T, Error>)
23 | case idle
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:34: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | try await block()
12 | })
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:34: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | try await block()
12 | })
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:49: warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic enum 'Status' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:60: warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:32:47: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
:
30 | throw CancellationError()
31 | case .inProgress(let task):
32 | return try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | }
34 | }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:44:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
:
42 | self = .cancelled
43 | case .inProgress(let task):
44 | task.cancel()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 | self = .cancelled
46 | }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:39: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
11 | try await block()
| `- note: closure captures 'self'-isolated 'block'
12 | })
13 | }
[178/182] Compiling ResterCore StringCodingKeys.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: 'T' previously declared here
2 | private var activeTask: Status<T> = .idle
3 |
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | case inProgress(Task<T, Error>)
23 | case idle
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:34: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | try await block()
12 | })
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:34: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 | try await block()
12 | })
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:49: warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic enum 'Status' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:60: warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:32:47: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
:
30 | throw CancellationError()
31 | case .inProgress(let task):
32 | return try await task.value
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | }
34 | }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:44:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
:
42 | self = .cancelled
43 | case .inProgress(let task):
44 | task.cancel()
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
45 | self = .cancelled
46 | }
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:10:39: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
8 | }
9 |
10 | activeTask = .inProgress(Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
11 | try await block()
| `- note: closure captures 'self'-isolated 'block'
12 | })
13 | }
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/15] Write swift-version-24593BA9C3E375BF.txt
[3/72] Compiling Regex PlatformTypes.swift
[4/73] Compiling Gen AnyRandomNumberGenerator.swift
[5/73] Compiling Regex MatchSequence.swift
[6/73] Compiling Regex String+Regex.swift
[7/73] Compiling Regex Utils.swift
[8/73] Compiling Rainbow Style.swift
[9/74] Compiling Gen Zip.swift
[10/74] Compiling Gen LCRNG.swift
[11/74] Emitting module Rainbow
[12/74] Compiling Regex Match.swift
[13/74] Compiling Regex GroupRangeUtils.swift
[14/74] Compiling Gen UIKit.swift
[15/74] Compiling Gen Xoshiro.swift
[16/74] Compiling LegibleError LegibleError.swift
[17/74] Emitting module LegibleError
[18/74] Compiling Yams Emitter.swift
[19/74] Compiling Yams Encoder.swift
[20/74] Compiling Yams Constructor.swift
[21/74] Compiling Yams Decoder.swift
[22/75] Compiling Yams Mark.swift
[23/75] Compiling Yams Node.Mapping.swift
[25/75] Compiling Path Path+CommonDirectories.swift
[26/75] Compiling Path Path+Codable.swift
[27/75] Compiling Path Path+FileManager.swift
[28/75] Compiling Rainbow StringGenerator.swift
[29/76] Emitting module Regex
[30/76] Compiling Path Path->Bool.swift
[31/76] Compiling Rainbow XcodeColorsSupport.swift
[32/76] Compiling Yams Node.Scalar.swift
[33/76] Compiling Yams Node.Sequence.swift
[34/77] Compiling ValueCodable Utils.swift
[35/77] Emitting module ValueCodable
[36/77] Compiling ValueCodable Value.swift
[37/78] Compiling Path Path+StringConvertibles.swift
[38/78] Compiling Path Path+ls.swift
[39/78] Compiling Rainbow String+Rainbow.swift
[40/78] Compiling Rainbow Rainbow.swift
[44/79] Emitting module Path
[46/79] Compiling Regex RegexOptions.swift
[47/79] Compiling Regex Regex.swift
[48/80] Compiling Yams String+Yams.swift
[49/80] Compiling Yams Tag.swift
[50/80] Emitting module Gen
[51/80] Compiling Gen Gen.swift
[52/81] Compiling Path Path.swift
[55/82] Emitting module ArgumentParserToolInfo
[56/82] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/83] Compiling Yams YamlError.swift
[58/83] Compiling Yams shim.swift
[59/83] Compiling Yams Representer.swift
[60/83] Compiling Yams Resolver.swift
[65/83] Compiling Yams Node.swift
[66/83] Compiling Yams Parser.swift
[69/83] Emitting module Yams
[72/80] Wrapping AST for Gen for debugging
[73/80] Wrapping AST for Path for debugging
[74/80] Wrapping AST for Yams for debugging
[76/118] Emitting module ArgumentParser
[77/123] Compiling ArgumentParser Name.swift
[78/123] Compiling ArgumentParser Parsed.swift
[79/123] Compiling ArgumentParser ParsedValues.swift
[80/123] Compiling ArgumentParser ParserError.swift
[81/123] Compiling ArgumentParser SplitArguments.swift
[82/123] Compiling ArgumentParser OptionGroup.swift
[83/123] Compiling ArgumentParser AsyncParsableCommand.swift
[84/123] Compiling ArgumentParser CommandConfiguration.swift
[85/123] Compiling ArgumentParser CommandGroup.swift
[86/123] Compiling ArgumentParser EnumerableFlag.swift
[87/123] Compiling ArgumentParser BashCompletionsGenerator.swift
[88/123] Compiling ArgumentParser CompletionsGenerator.swift
[89/123] Compiling ArgumentParser FishCompletionsGenerator.swift
[90/123] Compiling ArgumentParser ZshCompletionsGenerator.swift
[91/123] Compiling ArgumentParser Argument.swift
[92/123] Compiling ArgumentParser ArgumentHelp.swift
[93/123] Compiling ArgumentParser ArgumentVisibility.swift
[94/123] Compiling ArgumentParser CompletionKind.swift
[95/123] Compiling ArgumentParser Errors.swift
[96/123] Compiling ArgumentParser Flag.swift
[97/123] Compiling ArgumentParser NameSpecification.swift
[98/123] Compiling ArgumentParser Option.swift
[99/123] Compiling ArgumentParser CollectionExtensions.swift
[100/123] Compiling ArgumentParser Platform.swift
[101/123] Compiling ArgumentParser SequenceExtensions.swift
[102/123] Compiling ArgumentParser StringExtensions.swift
[103/123] Compiling ArgumentParser Tree.swift
[104/123] Compiling ArgumentParser ArgumentDefinition.swift
[105/123] Compiling ArgumentParser ArgumentSet.swift
[106/123] Compiling ArgumentParser CommandParser.swift
[107/123] Compiling ArgumentParser InputKey.swift
[108/123] Compiling ArgumentParser InputOrigin.swift
[109/123] Compiling ArgumentParser ExpressibleByArgument.swift
[110/123] Compiling ArgumentParser ParsableArguments.swift
[111/123] Compiling ArgumentParser ParsableArgumentsValidation.swift
[112/123] Compiling ArgumentParser ParsableCommand.swift
[113/123] Compiling ArgumentParser ArgumentDecoder.swift
[114/123] Compiling ArgumentParser DumpHelpGenerator.swift
[115/123] Compiling ArgumentParser HelpCommand.swift
[116/123] Compiling ArgumentParser HelpGenerator.swift
[117/123] Compiling ArgumentParser MessageInfo.swift
[118/123] Compiling ArgumentParser UsageGenerator.swift
[120/155] Emitting module ResterCore
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:257:11: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
255 |
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
258 | var validateCertificate: Bool
259 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:258:13: warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
258 | var validateCertificate: Bool
| `- warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
259 |
260 | init(validateCertificate: Bool = true) {
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: 'T' previously declared here
2 | private var activeTask: Status<T> = .idle
3 |
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | case inProgress(Task<T, Error>)
23 | case idle
[121/159] Compiling ResterCore Data+ext.swift
[122/159] Compiling ResterCore Dictionary+ext.swift
[123/159] Compiling ResterCore Double+ext.swift
[124/159] Compiling ResterCore KeyedDecodingContainer+ext.swift
[125/159] Compiling ResterCore Numeric+ext.swift
[126/159] Compiling ResterCore Path+ext.swift
[127/159] Compiling ResterCore Sequence+async.swift
[128/159] Compiling ResterCore String+ext.swift
[129/159] Compiling ResterCore Value+ext.swift
[130/159] Compiling ResterCore Matcher.swift
[131/159] Compiling ResterCore Substitutable.swift
[132/159] Compiling ResterCore TestResult.swift
[133/159] Compiling ResterCore URLEncoding.swift
[134/159] Compiling ResterCore Utils.swift
[135/159] Compiling ResterCore App.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
106 | if insecure {
107 | Current.console.display("--insecure flag currently only supported on macOS")
108 | exit(1)
| `- error: static member 'exit' cannot be used on instance of type 'App'
109 | }
110 | #endif
[136/159] Compiling ResterCore Body.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
106 | if insecure {
107 | Current.console.display("--insecure flag currently only supported on macOS")
108 | exit(1)
| `- error: static member 'exit' cannot be used on instance of type 'App'
109 | }
110 | #endif
[137/159] Compiling ResterCore Console.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
106 | if insecure {
107 | Current.console.display("--insecure flag currently only supported on macOS")
108 | exit(1)
| `- error: static member 'exit' cannot be used on instance of type 'App'
109 | }
110 | #endif
[138/159] Compiling ResterCore Array+ext.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
106 | if insecure {
107 | Current.console.display("--insecure flag currently only supported on macOS")
108 | exit(1)
| `- error: static member 'exit' cannot be used on instance of type 'App'
109 | }
110 | #endif
[139/159] Compiling ResterCore Collection+ext.swift
/host/spi-builder-workspace/Sources/ResterCore/App.swift:108:13: error: static member 'exit' cannot be used on instance of type 'App'
106 | if insecure {
107 | Current.console.display("--insecure flag currently only supported on macOS")
108 | exit(1)
| `- error: static member 'exit' cannot be used on instance of type 'App'
109 | }
110 | #endif
[140/159] Compiling ResterCore Validation.swift
[141/159] Compiling ResterCore ValidationResult.swift
[142/159] Compiling ResterCore Version.swift
[143/159] Compiling ResterCore World.swift
[144/159] Compiling ResterCore Method.swift
[145/159] Compiling ResterCore Multipart.swift
[146/159] Compiling ResterCore OrderedDict.swift
[147/159] Compiling ResterCore Parameter.swift
[148/159] Compiling ResterCore Restfile.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: 'T' previously declared here
2 | private var activeTask: Status<T> = .idle
3 |
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | case inProgress(Task<T, Error>)
23 | case idle
[149/159] Compiling ResterCore Runner.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: 'T' previously declared here
2 | private var activeTask: Status<T> = .idle
3 |
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | case inProgress(Task<T, Error>)
23 | case idle
[150/159] Compiling ResterCore Stats.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: 'T' previously declared here
2 | private var activeTask: Status<T> = .idle
3 |
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | case inProgress(Task<T, Error>)
23 | case idle
[151/159] Compiling ResterCore StringCodingKeys.swift
/host/spi-builder-workspace/Sources/ResterCore/Runner.swift:21:17: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: 'T' previously declared here
2 | private var activeTask: Status<T> = .idle
3 |
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 | case inProgress(Task<T, Error>)
23 | case idle
[152/159] Compiling ResterCore Request.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:257:11: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
255 |
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
258 | var validateCertificate: Bool
259 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:258:13: warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
258 | var validateCertificate: Bool
| `- warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
259 |
260 | init(validateCertificate: Bool = true) {
[153/159] Compiling ResterCore Response.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:257:11: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
255 |
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
258 | var validateCertificate: Bool
259 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:258:13: warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
258 | var validateCertificate: Bool
| `- warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
259 |
260 | init(validateCertificate: Bool = true) {
[154/159] Compiling ResterCore Rester.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:257:11: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
255 |
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
258 | var validateCertificate: Bool
259 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:258:13: warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
258 | var validateCertificate: Bool
| `- warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
259 |
260 | init(validateCertificate: Bool = true) {
[155/159] Compiling ResterCore ResterError.swift
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:257:11: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
255 |
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
258 | var validateCertificate: Bool
259 |
/host/spi-builder-workspace/Sources/ResterCore/Request.swift:258:13: warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
256 | extension Request {
257 | class SessionDelegate: NSObject, URLSessionDelegate {
258 | var validateCertificate: Bool
| `- warning: stored property 'validateCertificate' of 'Sendable'-conforming class 'SessionDelegate' is mutable; this is an error in the Swift 6 language mode
259 |
260 | init(validateCertificate: Bool = true) {
BUILD FAILURE 6.1 linux