Build Information
Successful build of Rester, reference main (9015e6
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 19:06:09 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.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/finestructure/ValueCodable
Fetching https://github.com/mxcl/LegibleError.git
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/crossroadlabs/Regex.git
Fetching https://github.com/pointfreeco/swift-gen.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
[1/178] Fetching legibleerror
[23/353] Fetching legibleerror, valuecodable
[354/1549] Fetching legibleerror, valuecodable, rainbow
[402/2261] Fetching legibleerror, valuecodable, rainbow, swift-gen
Fetched https://github.com/finestructure/ValueCodable from cache (0.59s)
Fetched https://github.com/mxcl/LegibleError.git from cache (0.60s)
Fetched https://github.com/jpsim/Yams.git from cache (0.60s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/mxcl/Path.swift.git
[207/3204] Fetching rainbow, swift-gen, regex
Fetched https://github.com/pointfreeco/swift-gen.git from cache (0.76s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.76s)
[1338/2492] Fetching rainbow, regex
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.92s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.92s)
[1/1059] Fetching path.swift
Fetched https://github.com/apple/swift-argument-parser from cache (0.66s)
Fetched https://github.com/mxcl/Path.swift.git from cache (0.88s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.9.0 (2.16s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.3.0 (0.59s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.66s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (2.68s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.57s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (0.56s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.1.0 (0.53s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.2 (0.55s)
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.9.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/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/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/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.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.89s)
Fetching https://github.com/pointfreeco/swift-gen.git from cache
Fetching https://github.com/onevcat/Rainbow.git from cache
Fetching https://github.com/mxcl/LegibleError.git from cache
Fetching https://github.com/crossroadlabs/Regex.git from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/finestructure/ValueCodable from cache
Fetching https://github.com/mxcl/Path.swift.git from cache
Fetched https://github.com/onevcat/Rainbow.git from cache (0.48s)
Fetched https://github.com/pointfreeco/swift-gen.git from cache (0.48s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/jpsim/Yams.git from cache (0.55s)
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.55s)
Fetched https://github.com/finestructure/ValueCodable from cache (0.55s)
Fetched https://github.com/mxcl/Path.swift.git from cache (0.55s)
Fetched https://github.com/mxcl/LegibleError.git from cache (0.55s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (1.13s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (0.03s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.2.0 (0.47s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.4.0 (0.58s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (0.04s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.51s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (0.03s)
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/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.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/finestructure/Rester.git
Working copy of https://github.com/finestructure/Rester.git resolved at main (9015e6f)
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/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.5.0
Creating working copy for https://github.com/finestructure/ValueCodable
Working copy of https://github.com/finestructure/ValueCodable resolved at 0.2.0
Found 8 product dependencies
- swift-argument-parser
- Regex
- ValueCodable
- Yams
- LegibleError
- Path.swift
- Rainbow
- swift-gen
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/finestructure/Rester.git
https://github.com/finestructure/Rester.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[4/22] Write rester-entitlement.plist
[4/22] Write sources
[12/22] Write swift-version-2F0A5646E1D333AE.txt
[13/55] Compiling writer.c
[14/55] Compiling api.c
[15/55] Compiling emitter.c
[16/55] Compiling reader.c
[17/55] Compiling scanner.c
[18/55] Compiling parser.c
[20/82] Emitting module ArgumentParserToolInfo
[21/82] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/117] Compiling Gen Xoshiro.swift
[23/117] Compiling Gen LCRNG.swift
[24/117] Compiling Gen Zip.swift
[25/117] Compiling Gen UIKit.swift
[26/117] Emitting module ArgumentParser
[27/120] Compiling Rainbow Style.swift
[28/121] Compiling Yams YamlError.swift
[29/122] Compiling Rainbow String+Rainbow.swift
[30/122] Compiling Rainbow StringGenerator.swift
[31/122] Compiling Yams shim.swift
[32/122] Compiling Rainbow XcodeColorsSupport.swift
[33/122] Compiling ArgumentParser SequenceExtensions.swift
[34/122] Compiling ArgumentParser StringExtensions.swift
[35/122] Compiling ArgumentParser Tree.swift
[36/122] Compiling ArgumentParser Parsed.swift
[37/122] Compiling ArgumentParser ParsedValues.swift
[38/122] Compiling ArgumentParser ParserError.swift
[39/122] Compiling ArgumentParser SplitArguments.swift
[40/122] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/122] Compiling ArgumentParser CompletionsGenerator.swift
[42/122] Compiling ArgumentParser FishCompletionsGenerator.swift
[43/122] Compiling ArgumentParser ZshCompletionsGenerator.swift
[44/122] Compiling ArgumentParser Flag.swift
[45/122] Compiling ArgumentParser NameSpecification.swift
[46/122] Compiling ArgumentParser Option.swift
[47/122] Compiling ArgumentParser OptionGroup.swift
[48/122] Compiling ArgumentParser MessageInfo.swift
[49/122] Compiling ArgumentParser UsageGenerator.swift
[50/122] Compiling ArgumentParser CollectionExtensions.swift
[51/122] Compiling Yams Tag.swift
[52/122] Compiling Yams String+Yams.swift
[53/122] Emitting module LegibleError
[54/122] Compiling LegibleError LegibleError.swift
[55/122] Compiling Path Path->Bool.swift
[56/122] Compiling Path Path+StringConvertibles.swift
[57/122] Compiling Path Path+Codable.swift
[58/122] Compiling Path Path+ls.swift
[59/122] Compiling Path Path+Attributes.swift
[60/122] Compiling Path Path+FileManager.swift
[61/122] Compiling Path Path+CommonDirectories.swift
[62/122] Emitting module Path
[63/122] Compiling Path Extensions.swift
[64/122] Compiling Path Path.swift
[67/122] Compiling ArgumentParser Argument.swift
[68/122] Compiling ArgumentParser ArgumentHelp.swift
[69/122] Compiling ArgumentParser CompletionKind.swift
[70/122] Compiling ArgumentParser Errors.swift
[71/122] Compiling ArgumentParser ArgumentSet.swift
[72/122] Compiling ArgumentParser CommandParser.swift
[73/122] Compiling ArgumentParser InputOrigin.swift
[74/122] Compiling ArgumentParser Name.swift
[75/122] Compiling ArgumentParser CommandConfiguration.swift
[76/122] Compiling ArgumentParser EnumerableFlag.swift
[77/122] Compiling ArgumentParser ExpressibleByArgument.swift
[78/122] Compiling ArgumentParser ParsableArguments.swift
[79/122] Compiling ArgumentParser ParsableArgumentsValidation.swift
[80/122] Compiling ArgumentParser ParsableCommand.swift
[81/122] Compiling ArgumentParser ArgumentDecoder.swift
[82/122] Compiling ArgumentParser ArgumentDefinition.swift
[83/122] Compiling ArgumentParser DumpHelpGenerator.swift
[84/122] Compiling ArgumentParser HelpCommand.swift
[85/122] Compiling ArgumentParser HelpGenerator.swift
[86/122] Compiling Rainbow Rainbow.swift
[87/122] Compiling Regex String+Regex.swift
[88/122] Compiling Regex Utils.swift
[89/122] Compiling Regex MatchSequence.swift
[90/122] Compiling Regex PlatformTypes.swift
[91/122] Compiling Regex Regex.swift
[92/122] Compiling Regex Match.swift
[93/122] Compiling Regex RegexOptions.swift
[94/122] Compiling Rainbow ControlCode.swift
[95/122] Compiling Rainbow ModesExtractor.swift
[96/122] Compiling Rainbow Color.swift
[97/122] Compiling Rainbow OutputTarget.swift
[98/122] Emitting module Rainbow
[101/122] Compiling Regex GroupRangeUtils.swift
[102/122] Emitting module Regex
[103/122] Emitting module ValueCodable
[104/122] Compiling ValueCodable Utils.swift
[105/122] Compiling ValueCodable Value.swift
[108/122] Emitting module Yams
[117/122] Compiling Gen AnyRandomNumberGenerator.swift
[118/122] Compiling Gen Gen.swift
[119/122] Emitting module Gen
[120/155] 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: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
/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: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[121/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: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[122/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: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[123/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: add '@MainActor' to make var 'Current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
[124/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>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic enum 'Status' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:60: warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
/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 | }
[125/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>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic enum 'Status' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:60: warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
/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 | }
[126/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>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'Runner<T>.Status<T>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
:
19 |
20 | extension Runner {
21 | enum Status<T> {
| `- note: consider making generic enum 'Status' conform to the 'Sendable' protocol
22 | case inProgress(Task<T, Error>)
23 | case idle
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Runner.swift:15:60: warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
1 | actor Runner<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
2 | private var activeTask: Status<T> = .idle
3 |
:
13 | }
14 |
15 | var value: T { get async throws { try await activeTask.value } }
| `- warning: non-sendable type 'T' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
16 |
17 | func cancel() { activeTask.cancel() }
/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 | }
[127/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) {
[128/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) {
[129/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) {
[130/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) {
[131/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: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
[132/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: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
[133/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: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
[134/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: add '@MainActor' to make var 'statistics' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 |
[135/158] Compiling ResterCore URLEncoding.swift
[136/158] Compiling ResterCore Utils.swift
[137/158] Compiling ResterCore Validation.swift
[138/158] Compiling ResterCore StringCodingKeys.swift
[139/158] Compiling ResterCore Substitutable.swift
[140/158] Compiling ResterCore TestResult.swift
[141/158] Compiling ResterCore Response.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/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 value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| |- warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async throws -> [TestResult]' to actor-isolated instance method 'run' risks causing races in between task-isolated and actor-isolated uses
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
[142/158] Compiling ResterCore Rester.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/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 value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| |- warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async throws -> [TestResult]' to actor-isolated instance method 'run' risks causing races in between task-isolated and actor-isolated uses
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
[143/158] Compiling ResterCore ResterError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResterCore/Rester.swift:83:33: warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
81 | }
82 |
83 | return try await runner.value
| `- warning: non-sendable type '[TestResult]' of property 'value' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
84 | }
85 |
/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 value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
69 | }
70 |
71 | try await runner.run {
| |- warning: sending value of non-Sendable type '() async throws -> [TestResult]' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated value of non-Sendable type '() async throws -> [TestResult]' to actor-isolated instance method 'run' risks causing races in between task-isolated and actor-isolated uses
72 | if runSetup {
73 | _ = try await self.setupRequests.map(_process)
[144/158] Compiling ResterCore String+ext.swift
[145/158] Compiling ResterCore Value+ext.swift
[146/158] Compiling ResterCore Matcher.swift
[147/158] Compiling ResterCore Method.swift
[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 Collection+ext.swift
[153/158] Compiling ResterCore Data+ext.swift
[154/158] Compiling ResterCore Dictionary+ext.swift
[155/158] Compiling ResterCore Double+ext.swift
[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! (13.22s)
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.