Build Information
Successful build of Rester, reference main (9015e6
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 10:20:51 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
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 /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
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/finestructure/ValueCodable
Fetching https://github.com/pointfreeco/swift-gen.git
Fetching https://github.com/mxcl/LegibleError.git
[1/1296] Fetching regex
[66/1471] Fetching regex, valuecodable
[229/1649] Fetching regex, valuecodable, legibleerror
[405/2345] Fetching regex, valuecodable, legibleerror, swift-gen
[475/3404] Fetching regex, valuecodable, legibleerror, swift-gen, path.swift
[794/15851] Fetching regex, valuecodable, legibleerror, swift-gen, path.swift, swift-snapshot-testing
[2168/25787] Fetching regex, valuecodable, legibleerror, swift-gen, path.swift, swift-snapshot-testing, yams
Fetched https://github.com/pointfreeco/swift-gen.git from cache (1.04s)
Fetched https://github.com/crossroadlabs/Regex.git from cache (1.04s)
Fetched https://github.com/finestructure/ValueCodable from cache (1.04s)
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-argument-parser
[1835/23620] Fetching legibleerror, path.swift, swift-snapshot-testing, yams
[9614/24746] Fetching legibleerror, path.swift, swift-snapshot-testing, yams, rainbow
[14277/37141] Fetching legibleerror, path.swift, swift-snapshot-testing, yams, rainbow, swift-argument-parser
Fetched https://github.com/mxcl/LegibleError.git from cache (2.11s)
Fetched https://github.com/jpsim/Yams.git from cache (2.11s)
[7910/27027] Fetching path.swift, swift-snapshot-testing, rainbow, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.41s)
Fetched https://github.com/mxcl/Path.swift.git from cache (2.41s)
[11786/13521] Fetching rainbow, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.50s)
Fetched https://github.com/onevcat/Rainbow.git from cache (1.50s)
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.60s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.3.0 (0.55s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.37s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (2.41s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.58s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.57s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.1.0 (0.57s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.2 (0.56s)
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/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/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.1.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/pointfreeco/swift-gen.git
Working copy of https://github.com/pointfreeco/swift-gen.git resolved at 0.3.0
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "rester",
"name": "Rester",
"url": "https://github.com/finestructure/Rester.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rester",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "regex",
"name": "Regex",
"url": "https://github.com/crossroadlabs/Regex.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Regex",
"dependencies": [
]
},
{
"identity": "valuecodable",
"name": "ValueCodable",
"url": "https://github.com/finestructure/ValueCodable",
"version": "0.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ValueCodable",
"dependencies": [
]
},
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"dependencies": [
]
},
{
"identity": "legibleerror",
"name": "LegibleError",
"url": "https://github.com/mxcl/LegibleError.git",
"version": "1.0.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LegibleError",
"dependencies": [
]
},
{
"identity": "path.swift",
"name": "Path.swift",
"url": "https://github.com/mxcl/Path.swift.git",
"version": "0.16.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Path.swift",
"dependencies": [
]
},
{
"identity": "rainbow",
"name": "Rainbow",
"url": "https://github.com/onevcat/Rainbow.git",
"version": "3.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"dependencies": [
]
},
{
"identity": "swift-gen",
"name": "swift-gen",
"url": "https://github.com/pointfreeco/swift-gen.git",
"version": "0.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-gen",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/finestructure/Rester.git
[1/3870] Fetching rester
Fetched https://github.com/finestructure/Rester.git from cache (0.99s)
Fetching https://github.com/pointfreeco/swift-gen.git from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/onevcat/Rainbow.git from cache
Fetching https://github.com/finestructure/ValueCodable from cache
Fetching https://github.com/crossroadlabs/Regex.git from cache
Fetching https://github.com/mxcl/Path.swift.git from cache
Fetching https://github.com/mxcl/LegibleError.git from cache
Fetched https://github.com/pointfreeco/swift-gen.git from cache (0.49s)
Fetched https://github.com/finestructure/ValueCodable from cache (0.50s)
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.50s)
Fetched https://github.com/mxcl/Path.swift.git from cache (0.50s)
Fetched https://github.com/mxcl/LegibleError.git from cache (0.50s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/onevcat/Rainbow.git from cache (0.58s)
Fetched https://github.com/jpsim/Yams.git from cache (0.58s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.59s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.03s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.02s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.2.0 (0.44s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.4.0 (0.55s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.03s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.43s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (0.02s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/mxcl/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/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/Rester.git
Working copy of https://github.com/finestructure/Rester.git resolved at main (9015e6f)
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
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/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Found 8 product dependencies
- swift-argument-parser
- Regex
- ValueCodable
- Yams
- LegibleError
- Path.swift
- Rainbow
- swift-gen
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/finestructure/Rester.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/22] Write sources
[1/22] Write rester-entitlement.plist
[6/22] Write sources
[12/22] Write swift-version--7754E27361AE5C74.txt
[13/55] Compiling reader.c
[14/55] Compiling writer.c
[15/55] Compiling parser.c
[16/55] 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 ArgumentParser BashCompletionsGenerator.swift
[23/117] Compiling ArgumentParser CompletionsGenerator.swift
[24/117] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/117] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/120] Compiling ArgumentParser ArgumentSet.swift
[27/120] Compiling ArgumentParser CommandParser.swift
[28/120] Compiling ArgumentParser InputOrigin.swift
[29/120] Compiling ArgumentParser Name.swift
[30/120] Compiling ArgumentParser Argument.swift
[31/120] Compiling ArgumentParser ArgumentHelp.swift
[32/120] Compiling ArgumentParser CompletionKind.swift
[33/120] Compiling ArgumentParser Errors.swift
[34/120] Emitting module ArgumentParser
[35/120] Compiling ArgumentParser SequenceExtensions.swift
[36/120] Compiling ArgumentParser StringExtensions.swift
[37/120] Compiling ArgumentParser Tree.swift
[38/120] Compiling Gen Zip.swift
[39/120] Compiling Gen Xoshiro.swift
[40/120] Compiling Gen LCRNG.swift
[41/120] Compiling Gen UIKit.swift
[42/120] Compiling Gen Gen.swift
[43/120] Emitting module Gen
[44/120] Compiling Gen AnyRandomNumberGenerator.swift
[45/120] Compiling Rainbow Style.swift
[46/121] Compiling Rainbow StringGenerator.swift
[47/121] Compiling Rainbow String+Rainbow.swift
[48/121] Compiling Rainbow XcodeColorsSupport.swift
[49/121] Compiling Path Path.swift
[50/121] Compiling Yams YamlError.swift
[51/121] Compiling Yams Tag.swift
[52/122] Emitting module Yams
[55/122] Compiling Yams shim.swift
[56/122] Compiling ArgumentParser MessageInfo.swift
[57/122] Compiling ArgumentParser UsageGenerator.swift
[58/122] Compiling ArgumentParser CollectionExtensions.swift
[59/122] Compiling ArgumentParser ParsableArgumentsValidation.swift
[60/122] Compiling ArgumentParser ParsableCommand.swift
[61/122] Compiling ArgumentParser ArgumentDecoder.swift
[62/122] Compiling ArgumentParser ArgumentDefinition.swift
[63/122] Compiling ArgumentParser Parsed.swift
[64/122] Compiling ArgumentParser ParsedValues.swift
[65/122] Compiling ArgumentParser ParserError.swift
[66/122] Compiling ArgumentParser SplitArguments.swift
[67/122] Compiling ArgumentParser CommandConfiguration.swift
[68/122] Compiling ArgumentParser EnumerableFlag.swift
[69/122] Compiling ArgumentParser ExpressibleByArgument.swift
[70/122] Compiling ArgumentParser ParsableArguments.swift
[71/122] Compiling ArgumentParser Flag.swift
[72/122] Compiling ArgumentParser NameSpecification.swift
[73/122] Compiling ArgumentParser Option.swift
[74/122] Compiling ArgumentParser OptionGroup.swift
[75/122] Compiling ArgumentParser DumpHelpGenerator.swift
[76/122] Compiling ArgumentParser HelpCommand.swift
[77/122] Compiling ArgumentParser HelpGenerator.swift
[78/122] Compiling Path Path->Bool.swift
[79/122] Emitting module LegibleError
[80/122] Compiling LegibleError LegibleError.swift
[91/122] Compiling Yams String+Yams.swift
[92/122] Compiling Path Path+ls.swift
[93/122] Emitting module Regex
[96/122] Compiling Rainbow ModesExtractor.swift
[97/122] Compiling Rainbow ControlCode.swift
[98/122] Emitting module Rainbow
[99/122] Compiling Regex GroupRangeUtils.swift
[100/122] Compiling Path Path+StringConvertibles.swift
[101/122] Compiling Path Path+FileManager.swift
[102/122] Compiling Rainbow OutputTarget.swift
[103/122] Compiling Rainbow Rainbow.swift
[104/122] Compiling Rainbow Color.swift
[105/122] Emitting module ValueCodable
[106/122] Compiling ValueCodable Utils.swift
[107/122] Compiling ValueCodable Value.swift
[108/122] Compiling Path Path+Codable.swift
[109/122] Emitting module Path
[110/122] Compiling Path Path+Attributes.swift
[111/122] Compiling Path Extensions.swift
[112/122] Compiling Path Path+CommonDirectories.swift
[113/122] Compiling Regex MatchSequence.swift
[114/122] Compiling Regex String+Regex.swift
[115/122] Compiling Regex Regex.swift
[116/122] Compiling Regex PlatformTypes.swift
[117/122] Compiling Regex RegexOptions.swift
[118/122] Compiling Regex Match.swift
[119/122] Compiling Regex Utils.swift
[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 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 |
[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 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 |
[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 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 |
[123/158] Compiling ResterCore KeyedDecodingContainer+ext.swift
[124/158] Compiling ResterCore Numeric+ext.swift
[125/158] Compiling ResterCore Path+ext.swift
[126/158] Compiling ResterCore Sequence+async.swift
[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: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
/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 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() }
/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 | }
/Users/admin/builder/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 | }
[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: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
/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 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() }
/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 | }
/Users/admin/builder/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 | }
[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: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
/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 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() }
/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 | }
/Users/admin/builder/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 | }
[130/158] 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 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 |
[131/158] 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 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 |
[132/158] 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 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 |
[133/158] 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 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 |
[134/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)
[135/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)
[136/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)
[137/158] Compiling ResterCore Collection+ext.swift
[138/158] Compiling ResterCore Data+ext.swift
[139/158] Compiling ResterCore Dictionary+ext.swift
[140/158] Compiling ResterCore Double+ext.swift
[141/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 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 |
/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 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 |
[142/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 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 |
[143/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 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 |
[144/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 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 |
[145/158] Compiling ResterCore URLEncoding.swift
[146/158] Compiling ResterCore Utils.swift
[147/158] Compiling ResterCore Validation.swift
[148/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 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 |
[149/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 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 |
[150/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 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 |
[151/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 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 |
[152/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 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 |
/Users/admin/builder/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 |
[153/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 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 |
/Users/admin/builder/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/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 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 |
/Users/admin/builder/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/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 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 |
/Users/admin/builder/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/160] Compiling Rester main.swift
[157/160] Emitting module Rester
[157/160] Write Objects.LinkFileList
[158/160] Linking rester
[159/160] Applying rester
Build complete! (45.53s)
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.