Build Information
Failed to build Rester, reference main (9015e6
), with Swift 6.0 for Linux on 28 Nov 2024 10:12:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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.0
Building package at path: $PWD
https://github.com/finestructure/Rester.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/pointfreeco/swift-gen.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/jpsim/Yams.git
[1/1126] Fetching rainbow
[1127/1304] Fetching rainbow, legibleerror
[1302/2000] Fetching rainbow, legibleerror, swift-gen
[2001/14447] Fetching rainbow, legibleerror, swift-gen, swift-snapshot-testing
[2624/15506] Fetching rainbow, legibleerror, swift-gen, swift-snapshot-testing, path.swift
[7292/25442] Fetching rainbow, legibleerror, swift-gen, swift-snapshot-testing, path.swift, yams
Fetched https://github.com/mxcl/LegibleError.git from cache (1.64s)
Fetching https://github.com/finestructure/ValueCodable
Fetched https://github.com/onevcat/Rainbow.git from cache (1.78s)
Fetched https://github.com/pointfreeco/swift-gen.git from cache (1.78s)
Fetched https://github.com/mxcl/Path.swift.git from cache (1.78s)
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (1.82s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.87s)
[1/1296] Fetching regex
[909/1471] Fetching regex, valuecodable
Fetched https://github.com/finestructure/ValueCodable from cache (0.40s)
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.76s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.76s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.49s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (2.18s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.2.0 (0.43s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.4.0 (0.49s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.50s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.49s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.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.17.6 (0.53s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66683] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.85s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (2.08s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.66s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.6
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/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/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/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
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/finestructure/ValueCodable
Working copy of https://github.com/finestructure/ValueCodable resolved at 0.2.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-gen.git
Working copy of https://github.com/pointfreeco/swift-gen.git resolved at 0.4.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[12/32] Compiling writer.c
[12/32] Compiling reader.c
[14/32] Compiling parser.c
[15/32] Compiling api.c
[16/32] Compiling emitter.c
[17/32] Compiling scanner.c
[17/32] Write swift-version-24593BA9C3E375BF.txt
[20/89] Compiling Gen Zip.swift
[21/89] Compiling Rainbow Style.swift
[22/90] Compiling Rainbow String+Rainbow.swift
[23/90] Compiling Rainbow StringGenerator.swift
[24/90] Compiling Rainbow Color.swift
[25/90] Compiling Rainbow ControlCode.swift
[26/90] Compiling Gen LCRNG.swift
[27/90] Compiling Gen UIKit.swift
[28/90] Compiling Gen Xoshiro.swift
[29/90] Compiling Regex String+Regex.swift
[30/91] Compiling Rainbow ModesExtractor.swift
[31/91] Compiling Rainbow OutputTarget.swift
[32/93] Compiling Gen AnyRandomNumberGenerator.swift
[33/93] Emitting module Gen
[34/93] Compiling Gen Gen.swift
[35/94] Emitting module ArgumentParserToolInfo
[36/94] Compiling ArgumentParserToolInfo ToolInfo.swift
[39/95] Compiling Rainbow XcodeColorsSupport.swift
[39/95] Wrapping AST for Gen for debugging
[40/133] Wrapping AST for ArgumentParserToolInfo for debugging
[42/133] Compiling ArgumentParser CommandConfiguration.swift
[43/133] Compiling ArgumentParser CommandGroup.swift
[44/133] Emitting module LegibleError
[45/133] Compiling LegibleError LegibleError.swift
[46/134] Compiling ArgumentParser NameSpecification.swift
[47/134] Compiling ArgumentParser Option.swift
[48/134] Compiling Rainbow Rainbow.swift
[49/134] Compiling Path Path+ls.swift
[50/134] Compiling Path Path+StringConvertibles.swift
[51/134] Compiling Path Path->Bool.swift
[53/135] Compiling Regex Match.swift
[54/135] Compiling ArgumentParser ArgumentVisibility.swift
[55/135] Compiling ArgumentParser CompletionKind.swift
[56/135] Emitting module Yams
[57/135] Compiling ValueCodable Value.swift
[58/135] Compiling ValueCodable Utils.swift
[59/135] Emitting module ValueCodable
[60/135] Emitting module Rainbow
[61/135] Compiling ArgumentParser Errors.swift
[62/135] Compiling ArgumentParser Flag.swift
[65/136] Compiling Path Path+CommonDirectories.swift
[66/136] Compiling Path Path+Codable.swift
[67/136] Compiling Path Path+FileManager.swift
[67/137] Wrapping AST for LegibleError for debugging
[71/137] Emitting module Path
[72/137] Compiling Regex Regex.swift
[73/137] Compiling Regex MatchSequence.swift
[74/137] Compiling Regex RegexOptions.swift
[75/137] Compiling Regex PlatformTypes.swift
[82/142] Compiling ArgumentParser FishCompletionsGenerator.swift
[83/142] Compiling ArgumentParser ZshCompletionsGenerator.swift
[85/142] Wrapping AST for ValueCodable for debugging
[86/142] Wrapping AST for Rainbow for debugging
[88/142] Emitting module Regex
[89/142] Compiling ArgumentParser BashCompletionsGenerator.swift
[90/142] Compiling ArgumentParser CompletionsGenerator.swift
[91/142] Compiling ArgumentParser OptionGroup.swift
[92/142] Compiling ArgumentParser AsyncParsableCommand.swift
[93/142] Compiling Regex GroupRangeUtils.swift
[94/142] Compiling ArgumentParser Argument.swift
[95/142] Compiling ArgumentParser ArgumentHelp.swift
[96/143] Compiling Regex Utils.swift
[97/144] Emitting module ArgumentParser
[99/144] Wrapping AST for Yams for debugging
[100/144] Wrapping AST for Regex for debugging
[102/144] Compiling Path Path.swift
[103/145] Wrapping AST for Path for debugging
[115/145] Compiling ArgumentParser EnumerableFlag.swift
[116/145] Compiling ArgumentParser ExpressibleByArgument.swift
[117/145] Compiling ArgumentParser ParsableArguments.swift
[118/145] Compiling ArgumentParser ParsableArgumentsValidation.swift
[119/145] Compiling ArgumentParser ParsableCommand.swift
[120/145] Compiling ArgumentParser ArgumentDecoder.swift
[121/145] Compiling ArgumentParser CollectionExtensions.swift
[122/145] Compiling ArgumentParser Platform.swift
[123/145] Compiling ArgumentParser SequenceExtensions.swift
[124/145] Compiling ArgumentParser StringExtensions.swift
[125/145] Compiling ArgumentParser Tree.swift
[126/145] Compiling ArgumentParser Name.swift
[127/145] Compiling ArgumentParser Parsed.swift
[128/145] Compiling ArgumentParser ParsedValues.swift
[129/145] Compiling ArgumentParser ParserError.swift
[130/145] Compiling ArgumentParser SplitArguments.swift
[131/145] Compiling ArgumentParser DumpHelpGenerator.swift
[132/145] Compiling ArgumentParser HelpCommand.swift
[133/145] Compiling ArgumentParser HelpGenerator.swift
[134/145] Compiling ArgumentParser MessageInfo.swift
[135/145] Compiling ArgumentParser UsageGenerator.swift
[136/145] Compiling ArgumentParser ArgumentDefinition.swift
[137/145] Compiling ArgumentParser ArgumentSet.swift
[138/145] Compiling ArgumentParser CommandParser.swift
[139/145] Compiling ArgumentParser InputKey.swift
[140/145] Compiling ArgumentParser InputOrigin.swift
[141/146] Wrapping AST for ArgumentParser for debugging
[143/178] 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: annotate 'statistics' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/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)
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/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 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[144/178] 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: annotate 'statistics' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/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)
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/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 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[145/178] 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: annotate 'statistics' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/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)
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/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 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[146/178] 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: annotate 'statistics' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/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)
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/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 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[147/178] 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: annotate 'statistics' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/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)
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/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 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[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] 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: annotate 'statistics' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[154/182] Compiling ResterCore Path+ext.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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[155/182] Compiling ResterCore Sequence+async.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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[156/182] Compiling ResterCore String+ext.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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[157/182] Compiling ResterCore Value+ext.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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[158/182] Compiling ResterCore Matcher.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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[159/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[160/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[161/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[162/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[163/182] Compiling ResterCore Substitutable.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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[164/182] Compiling ResterCore TestResult.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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[165/182] Compiling ResterCore URLEncoding.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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[166/182] Compiling ResterCore Utils.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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[167/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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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 | }
[168/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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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 | }
[169/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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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 | }
[170/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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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 | }
[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 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/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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 task-isolated value of type '() async throws -> [TestResult]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| `- warning: sending task-isolated value of type '() async throws -> [TestResult]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
[176/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/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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 task-isolated value of type '() async throws -> [TestResult]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| `- warning: sending task-isolated value of type '() async throws -> [TestResult]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
[177/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/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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 task-isolated value of type '() async throws -> [TestResult]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| `- warning: sending task-isolated value of type '() async throws -> [TestResult]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
[178/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/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: annotate 'Current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
/host/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; 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 task-isolated value of type '() async throws -> [TestResult]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| `- warning: sending task-isolated value of type '() async throws -> [TestResult]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
BUILD FAILURE 6.0 linux