Build Information
Successful build of Rester with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finestructure/Rester.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/finestructure/Rester.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/22] Write sources
[8/22] Write rester-entitlement.plist
[10/22] Write sources
[12/22] Write swift-version-6F35C1178C84523A.txt
[13/55] Compiling reader.c
[14/55] Compiling writer.c
[15/64] Compiling parser.c
[16/66] Compiling api.c
[17/66] Compiling scanner.c
[18/66] Compiling emitter.c
[20/82] Emitting module ArgumentParserToolInfo
[21/82] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/117] Compiling Gen Xoshiro.swift
[23/117] Compiling Gen UIKit.swift
[24/117] Compiling Gen Zip.swift
[25/117] Compiling Gen LCRNG.swift
[26/117] Compiling Gen AnyRandomNumberGenerator.swift
[27/117] Emitting module Gen
[28/117] Compiling Gen Gen.swift
[29/117] Compiling Rainbow Color.swift
[30/118] Compiling Rainbow Style.swift
[31/118] Compiling Rainbow StringGenerator.swift
[32/118] Compiling ArgumentParser BashCompletionsGenerator.swift
[33/118] Compiling ArgumentParser CompletionsGenerator.swift
[34/118] Compiling Rainbow XcodeColorsSupport.swift
[35/118] Emitting module Rainbow
[36/118] Compiling Rainbow String+Rainbow.swift
[39/118] Compiling ArgumentParser FishCompletionsGenerator.swift
[40/118] Compiling ArgumentParser ZshCompletionsGenerator.swift
[41/121] Emitting module ArgumentParser
[42/121] Compiling ArgumentParser SequenceExtensions.swift
[43/121] Compiling ArgumentParser StringExtensions.swift
[44/121] Compiling ArgumentParser Tree.swift
[45/121] Compiling Path Path+ls.swift
[46/121] Compiling Path Path+StringConvertibles.swift
[47/121] Compiling LegibleError LegibleError.swift
[48/121] Emitting module LegibleError
[49/121] Compiling Path Path+FileManager.swift
[50/121] Compiling Path Path+Attributes.swift
[51/121] Compiling Path Path+Codable.swift
[52/121] Compiling Path Extensions.swift
[53/121] Emitting module Path
[54/121] Compiling Path Path+CommonDirectories.swift
[55/121] Compiling Path Path.swift
[56/121] Compiling Path Path->Bool.swift
[57/121] Compiling Regex Utils.swift
[58/121] Compiling Regex Match.swift
[59/121] Emitting module Regex
[60/121] Compiling Regex String+Regex.swift
[61/121] Compiling Rainbow Rainbow.swift
[64/121] Compiling Yams String+Yams.swift
[65/122] Compiling Yams Tag.swift
[66/122] Compiling ArgumentParser Option.swift
[67/122] Compiling ArgumentParser OptionGroup.swift
[68/122] Compiling ArgumentParser ParserError.swift
[69/122] Compiling ArgumentParser SplitArguments.swift
[70/122] Compiling ArgumentParser Parsed.swift
[71/122] Compiling ArgumentParser ParsedValues.swift
[72/122] Compiling Yams YamlError.swift
[73/122] Compiling Rainbow ControlCode.swift
[74/122] Compiling Regex RegexOptions.swift
[75/122] Compiling Rainbow ModesExtractor.swift
[76/122] Compiling Rainbow OutputTarget.swift
[77/122] Compiling Regex PlatformTypes.swift
[78/122] Compiling Regex MatchSequence.swift
[79/122] Compiling Regex Regex.swift
[80/122] Compiling Regex GroupRangeUtils.swift
[85/122] Compiling ArgumentParser Argument.swift
[86/122] Compiling ArgumentParser ArgumentHelp.swift
[87/122] Compiling ArgumentParser CompletionKind.swift
[88/122] Compiling ArgumentParser Errors.swift
[89/122] Compiling ArgumentParser Flag.swift
[90/122] Compiling ArgumentParser NameSpecification.swift
[93/122] Compiling ArgumentParser CommandConfiguration.swift
[94/122] Compiling ArgumentParser EnumerableFlag.swift
[95/122] Compiling ArgumentParser ExpressibleByArgument.swift
[96/122] Compiling ArgumentParser ParsableArguments.swift
[97/122] Compiling Yams shim.swift
[98/122] Compiling ValueCodable Utils.swift
[99/122] Compiling ValueCodable Value.swift
[100/122] Emitting module ValueCodable
[103/122] Compiling ArgumentParser ParsableArgumentsValidation.swift
[104/122] Compiling ArgumentParser ParsableCommand.swift
[105/122] Compiling ArgumentParser ArgumentDecoder.swift
[106/122] Compiling ArgumentParser ArgumentDefinition.swift
[107/122] Compiling ArgumentParser ArgumentSet.swift
[108/122] Compiling ArgumentParser CommandParser.swift
[109/122] Compiling ArgumentParser InputOrigin.swift
[110/122] Compiling ArgumentParser Name.swift
[111/122] Compiling ArgumentParser MessageInfo.swift
[112/122] Compiling ArgumentParser UsageGenerator.swift
[113/122] Compiling ArgumentParser CollectionExtensions.swift
[114/122] Compiling ArgumentParser DumpHelpGenerator.swift
[115/122] Compiling ArgumentParser HelpCommand.swift
[116/122] Compiling ArgumentParser HelpGenerator.swift
[117/122] Emitting module Yams
[120/155] Compiling ResterCore StringCodingKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[121/155] Compiling ResterCore Substitutable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[122/155] Compiling ResterCore TestResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[123/155] Compiling ResterCore String+ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[124/155] Compiling ResterCore Value+ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[125/155] Compiling ResterCore Matcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[126/155] Compiling ResterCore Method.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[127/158] Compiling ResterCore Restfile.swift
/Users/admin/builder/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
/Users/admin/builder/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 | })
/Users/admin/builder/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 | })
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:11:23: warning: capture of 'block' with non-sendable type '() async throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 | activeTask = .inProgress(Task {
11 | try await block()
| |- warning: capture of 'block' with non-sendable type '() async throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
12 | })
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:49: warning: non-sendable type 'Runner<T>.Status<T>' exiting actor-isolated context in call to non-isolated 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 non-isolated 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
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:60: warning: non-sendable type 'T' in asynchronous access from actor-isolated context to non-isolated 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 non-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[128/158] Compiling ResterCore Runner.swift
/Users/admin/builder/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
/Users/admin/builder/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 | })
/Users/admin/builder/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 | })
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:11:23: warning: capture of 'block' with non-sendable type '() async throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 | activeTask = .inProgress(Task {
11 | try await block()
| |- warning: capture of 'block' with non-sendable type '() async throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
12 | })
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:49: warning: non-sendable type 'Runner<T>.Status<T>' exiting actor-isolated context in call to non-isolated 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 non-isolated 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
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:60: warning: non-sendable type 'T' in asynchronous access from actor-isolated context to non-isolated 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 non-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[129/158] Compiling ResterCore Stats.swift
/Users/admin/builder/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
/Users/admin/builder/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 | })
/Users/admin/builder/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 | })
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:11:23: warning: capture of 'block' with non-sendable type '() async throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
9 |
10 | activeTask = .inProgress(Task {
11 | try await block()
| |- warning: capture of 'block' with non-sendable type '() async throws -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
12 | })
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:49: warning: non-sendable type 'Runner<T>.Status<T>' exiting actor-isolated context in call to non-isolated 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 non-isolated 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
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:60: warning: non-sendable type 'T' in asynchronous access from actor-isolated context to non-isolated 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 non-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[130/158] Compiling ResterCore Response.swift
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
[131/158] Compiling ResterCore Rester.swift
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
[132/158] Compiling ResterCore ResterError.swift
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
[133/158] Compiling ResterCore URLEncoding.swift
[134/158] Compiling ResterCore Utils.swift
[135/158] Compiling ResterCore Validation.swift
[136/158] Compiling ResterCore Collection+ext.swift
[137/158] Compiling ResterCore Data+ext.swift
[138/158] Compiling ResterCore Dictionary+ext.swift
[139/158] Compiling ResterCore Double+ext.swift
[140/158] Emitting module ResterCore
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[141/158] Compiling ResterCore ValidationResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[142/158] Compiling ResterCore Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[143/158] Compiling ResterCore World.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[144/158] Compiling ResterCore App.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:150:32: warning: capture of 'loop' with non-sendable type '(iteration: Iteration, delay: Double)' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | Task {
149 | do {
150 | var iter = loop.iteration
| `- warning: capture of 'loop' with non-sendable type '(iteration: Iteration, delay: Double)' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 | var firstIteration = true
152 | var globalResults = [TestResult]()
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Utils.swift:56:13: note: consider making enum 'Iteration' conform to the 'Sendable' protocol
54 |
55 |
56 | public enum Iteration {
| `- note: consider making enum 'Iteration' conform to the 'Sendable' protocol
57 | case forever
58 | case until(Date)
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:165:49: warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |
164 | Current.console.display("🚀 Resting \(filename.bold) ...\n")
165 | let results = try await rester.test(before: before,
| `- warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
166 | after: after,
167 | timeout: timeout,
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:13:14: note: class 'Rester' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public class Rester {
| `- note: class 'Rester' does not conform to the 'Sendable' protocol
14 | public private(set) var requests: [Request]
15 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:188:45: warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 | Task {
187 | do {
188 | let results = try await rester.test(before: before,
| `- warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 | after: after,
190 | timeout: timeout,
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:13:14: note: class 'Rester' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public class Rester {
| `- note: class 'Rester' does not conform to the 'Sendable' protocol
14 | public private(set) var requests: [Request]
15 |
[145/158] Compiling ResterCore Body.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:150:32: warning: capture of 'loop' with non-sendable type '(iteration: Iteration, delay: Double)' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | Task {
149 | do {
150 | var iter = loop.iteration
| `- warning: capture of 'loop' with non-sendable type '(iteration: Iteration, delay: Double)' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 | var firstIteration = true
152 | var globalResults = [TestResult]()
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Utils.swift:56:13: note: consider making enum 'Iteration' conform to the 'Sendable' protocol
54 |
55 |
56 | public enum Iteration {
| `- note: consider making enum 'Iteration' conform to the 'Sendable' protocol
57 | case forever
58 | case until(Date)
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:165:49: warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |
164 | Current.console.display("🚀 Resting \(filename.bold) ...\n")
165 | let results = try await rester.test(before: before,
| `- warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
166 | after: after,
167 | timeout: timeout,
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:13:14: note: class 'Rester' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public class Rester {
| `- note: class 'Rester' does not conform to the 'Sendable' protocol
14 | public private(set) var requests: [Request]
15 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:188:45: warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 | Task {
187 | do {
188 | let results = try await rester.test(before: before,
| `- warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 | after: after,
190 | timeout: timeout,
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:13:14: note: class 'Rester' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public class Rester {
| `- note: class 'Rester' does not conform to the 'Sendable' protocol
14 | public private(set) var requests: [Request]
15 |
[146/158] Compiling ResterCore Console.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:150:32: warning: capture of 'loop' with non-sendable type '(iteration: Iteration, delay: Double)' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | Task {
149 | do {
150 | var iter = loop.iteration
| `- warning: capture of 'loop' with non-sendable type '(iteration: Iteration, delay: Double)' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 | var firstIteration = true
152 | var globalResults = [TestResult]()
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Utils.swift:56:13: note: consider making enum 'Iteration' conform to the 'Sendable' protocol
54 |
55 |
56 | public enum Iteration {
| `- note: consider making enum 'Iteration' conform to the 'Sendable' protocol
57 | case forever
58 | case until(Date)
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:165:49: warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |
164 | Current.console.display("🚀 Resting \(filename.bold) ...\n")
165 | let results = try await rester.test(before: before,
| `- warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
166 | after: after,
167 | timeout: timeout,
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:13:14: note: class 'Rester' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public class Rester {
| `- note: class 'Rester' does not conform to the 'Sendable' protocol
14 | public private(set) var requests: [Request]
15 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:188:45: warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 | Task {
187 | do {
188 | let results = try await rester.test(before: before,
| `- warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 | after: after,
190 | timeout: timeout,
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:13:14: note: class 'Rester' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public class Rester {
| `- note: class 'Rester' does not conform to the 'Sendable' protocol
14 | public private(set) var requests: [Request]
15 |
[147/158] Compiling ResterCore Array+ext.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:6:5: warning: var 'statistics' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:150:32: warning: capture of 'loop' with non-sendable type '(iteration: Iteration, delay: Double)' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 | Task {
149 | do {
150 | var iter = loop.iteration
| `- warning: capture of 'loop' with non-sendable type '(iteration: Iteration, delay: Double)' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 | var firstIteration = true
152 | var globalResults = [TestResult]()
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Utils.swift:56:13: note: consider making enum 'Iteration' conform to the 'Sendable' protocol
54 |
55 |
56 | public enum Iteration {
| `- note: consider making enum 'Iteration' conform to the 'Sendable' protocol
57 | case forever
58 | case until(Date)
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:165:49: warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
163 |
164 | Current.console.display("🚀 Resting \(filename.bold) ...\n")
165 | let results = try await rester.test(before: before,
| `- warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
166 | after: after,
167 | timeout: timeout,
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:13:14: note: class 'Rester' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public class Rester {
| `- note: class 'Rester' does not conform to the 'Sendable' protocol
14 | public private(set) var requests: [Request]
15 |
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/App.swift:188:45: warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 | Task {
187 | do {
188 | let results = try await rester.test(before: before,
| `- warning: capture of 'rester' with non-sendable type 'Rester' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 | after: after,
190 | timeout: timeout,
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:13:14: note: class 'Rester' does not conform to the 'Sendable' protocol
11 |
12 |
13 | public class Rester {
| `- note: class 'Rester' does not conform to the 'Sendable' protocol
14 | public private(set) var requests: [Request]
15 |
[148/158] Compiling ResterCore KeyedDecodingContainer+ext.swift
[149/158] Compiling ResterCore Numeric+ext.swift
[150/158] Compiling ResterCore Path+ext.swift
[151/158] Compiling ResterCore Sequence+async.swift
[152/158] Compiling ResterCore Multipart.swift
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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 |
[153/158] Compiling ResterCore OrderedDict.swift
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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/158] Compiling ResterCore Parameter.swift
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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/158] Compiling ResterCore Request.swift
/Users/admin/builder/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 |
/Users/admin/builder/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) {
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/World.swift:23:12: warning: var 'Current' is not concurrency-safe because it is non-isolated 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 non-isolated 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/160] Emitting module Rester
[157/160] Compiling Rester main.swift
[157/160] Write Objects.LinkFileList
[158/160] Linking rester
[159/160] Applying rester
Build complete! (51.53s)
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/pointfreeco/swift-gen.git
[2/178] Fetching legibleerror
[28/1474] Fetching legibleerror, regex
[230/2592] Fetching legibleerror, regex, rainbow
[365/3229] Fetching legibleerror, regex, rainbow, swift-gen
[1837/12566] Fetching legibleerror, regex, rainbow, swift-gen, yams
[2575/24280] Fetching legibleerror, regex, rainbow, swift-gen, yams, swift-argument-parser
[2688/35529] Fetching legibleerror, regex, rainbow, swift-gen, yams, swift-argument-parser, swift-snapshot-testing
Fetched https://github.com/onevcat/Rainbow.git from cache (1.97s)
Fetching https://github.com/mxcl/Path.swift.git
Fetched https://github.com/jpsim/Yams.git from cache (1.97s)
Fetching https://github.com/finestructure/ValueCodable
Fetched https://github.com/crossroadlabs/Regex.git from cache (1.97s)
[15477/23778] Fetching legibleerror, swift-gen, swift-argument-parser, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.58s)
Fetched https://github.com/pointfreeco/swift-gen.git from cache (2.58s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.58s)
Fetched https://github.com/mxcl/LegibleError.git from cache (2.58s)
[1/1059] Fetching path.swift
[97/1234] Fetching path.swift, valuecodable
Fetched https://github.com/mxcl/Path.swift.git from cache (1.00s)
Fetched https://github.com/finestructure/ValueCodable from cache (1.00s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.9.0 (0.70s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.3.0 (0.68s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.73s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (2.30s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.68s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.67s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.1.0 (0.67s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.66s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.2 (0.69s)
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.2
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/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/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
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/finestructure/ValueCodable
Working copy of https://github.com/finestructure/ValueCodable resolved at 0.1.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.9.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.3.0
Build complete.
{
"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" : "/Users/admin/builder/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"
}
Done.