Build Information
Successful build of Relax, reference main (30de4b
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 13:55:23 UTC.
Swift 6 data race errors: 23
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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tdeleon/Relax.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tdeleon/Relax
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 30de4b5 Merge pull request #60 from tdeleon/develop
Cloned https://github.com/tdeleon/Relax.git
Revision (git rev-parse @):
30de4b526965f008ab776baac3325a98ce6787f0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tdeleon/Relax.git at main
========================================
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": "relax",
"name": "Relax",
"url": "https://github.com/tdeleon/Relax.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Relax",
"dependencies": [
]
}
]
}
Fetching https://github.com/tdeleon/Relax.git
[1/2468] Fetching relax
Fetched https://github.com/tdeleon/Relax.git from cache (1.11s)
Creating working copy for https://github.com/tdeleon/Relax.git
Working copy of https://github.com/tdeleon/Relax.git resolved at main (30de4b5)
warning: '.resolve-product-dependencies': dependency 'relax' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/tdeleon/Relax.git
{
"dependencies" : [
],
"manifest_display_name" : "Relax",
"name" : "Relax",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Relax",
"targets" : [
"Relax"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "URLMock",
"targets" : [
"URLMock"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "URLMock",
"module_type" : "SwiftTarget",
"name" : "URLMock",
"path" : "Sources/URLMock",
"product_memberships" : [
"URLMock"
],
"sources" : [
"MockResponse/MockResponse.swift",
"MockResponse/Response.swift",
"URLMock.swift",
"URLRequestValidation.swift"
],
"target_dependencies" : [
"Relax"
],
"type" : "library"
},
{
"c99name" : "RelaxTests",
"module_type" : "SwiftTarget",
"name" : "RelaxTests",
"path" : "Tests/RelaxTests",
"sources" : [
"AsyncTests/AsyncCancellationTests.swift",
"AsyncTests/AsyncCodableTests.swift",
"AsyncTests/AsyncErrorTests.swift",
"AsyncTests/AsyncRequestTests.swift",
"CombineTests/CombineCodableTests.swift",
"CombineTests/CombineErrorTests.swift",
"CombineTests/CombineRequestTests.swift",
"CompletionTests/CompletionErrorTests.swift",
"CompletionTests/CompletionRequestTests.swift",
"Errors/HTTPErrorTests.swift",
"Errors/RequestErrorTests.swift",
"Helpers/ErrorTest.swift",
"Helpers/MockError.swift",
"Helpers/MockServices.swift",
"Helpers/Service+Testing.swift",
"Request/Properties/BodyTests.swift",
"Request/Properties/ConfigurationTests.swift",
"Request/Properties/HeaderTests.swift",
"Request/Properties/HeaderTypeTests.swift",
"Request/Properties/PathComponentsTests.swift",
"Request/Properties/QueryItemTests.swift",
"Request/Properties/RequestPropertiesBuilderTests.swift",
"Request/Properties/RequestPropertiesTests.swift",
"Request/RequestModifiersTests.swift",
"Request/RequestTests.swift",
"Request/ServiceTests.swift"
],
"target_dependencies" : [
"Relax",
"URLMock"
],
"type" : "test"
},
{
"c99name" : "Relax",
"module_type" : "SwiftTarget",
"name" : "Relax",
"path" : "Sources/Relax",
"product_memberships" : [
"Relax",
"URLMock"
],
"sources" : [
"API Structure/APIComponent.swift",
"API Structure/Endpoint.swift",
"API Structure/Service.swift",
"Errors.swift",
"Request/Properties/Body.swift",
"Request/Properties/Headers.swift",
"Request/Properties/PathComponents.swift",
"Request/Properties/QueryItems.swift",
"Request/Properties/RequestProperty.swift",
"Request/Request+Configuration.swift",
"Request/Request+Modifiers.swift",
"Request/Request+Send.swift",
"Request/Request+SendAsync.swift",
"Request/Request+SendPublisher.swift",
"Request/Request.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/18] Compiling Relax RequestProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/RequestProperty.swift:53:27: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
31 | extension Request {
32 | /// A structure that groups properties of a request
33 | public struct Properties: Hashable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
34 | public var headers: Headers = Headers(value: [:])
35 | public var queryItems: QueryItems = QueryItems(value: [])
:
51 |
52 | /// Provides an instance with no property values set
53 | public static let empty: Properties = .init()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
54 |
55 | internal static func from(_ requestProperty: some RequestProperty) -> Request.Properties {
[5/18] Compiling Relax Request+Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/RequestProperty.swift:53:27: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
31 | extension Request {
32 | /// A structure that groups properties of a request
33 | public struct Properties: Hashable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
34 | public var headers: Headers = Headers(value: [:])
35 | public var queryItems: QueryItems = QueryItems(value: [])
:
51 |
52 | /// Provides an instance with no property values set
53 | public static let empty: Properties = .init()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
54 |
55 | internal static func from(_ requestProperty: some RequestProperty) -> Request.Properties {
[6/19] Compiling Relax Request+SendPublisher.swift
[7/19] Compiling Relax Request+Send.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:55:28: warning: capture of 'completion' with non-sendable type 'Request.Completion' (aka '(Result<(request: Request, urlResponse: HTTPURLResponse, data: Data), RequestError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | // Check for URLErrors
54 | if let urlError = error as? URLError {
55 | return completion(.failure(.urlError(request: self, error: urlError)))
| |- warning: capture of 'completion' with non-sendable type 'Request.Completion' (aka '(Result<(request: Request, urlResponse: HTTPURLResponse, data: Data), RequestError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | }
57 | // Any other error
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request+Send.swift:55:67: warning: capture of 'self' with non-sendable type 'Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | // Check for URLErrors
54 | if let urlError = error as? URLError {
55 | return completion(.failure(.urlError(request: self, error: urlError)))
| `- warning: capture of 'self' with non-sendable type 'Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
56 | }
57 | // Any other error
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
[8/19] Compiling Relax Request+SendAsync.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request+SendAsync.swift:53:13: warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
51 | }
52 | } onCancel: {
53 | onCancel()
| |- warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request+SendAsync.swift:46:42: warning: task-isolated value of type 'Request.Response' (aka '(request: Request, urlResponse: HTTPURLResponse, data: Data)') passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
44 | switch result {
45 | case .success(let success):
46 | continuation.resume(returning: success)
| `- warning: task-isolated value of type 'Request.Response' (aka '(request: Request, urlResponse: HTTPURLResponse, data: Data)') passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
47 | case .failure(let failure):
48 | continuation.resume(throwing: failure)
[9/19] Compiling Relax Request+Modifiers.swift
[10/19] Compiling Relax APIComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/RequestProperty.swift:53:27: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
31 | extension Request {
32 | /// A structure that groups properties of a request
33 | public struct Properties: Hashable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
34 | public var headers: Headers = Headers(value: [:])
35 | public var queryItems: QueryItems = QueryItems(value: [])
:
51 |
52 | /// Provides an instance with no property values set
53 | public static let empty: Properties = .init()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
54 |
55 | internal static func from(_ requestProperty: some RequestProperty) -> Request.Properties {
[11/19] Compiling Relax Endpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/RequestProperty.swift:53:27: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
31 | extension Request {
32 | /// A structure that groups properties of a request
33 | public struct Properties: Hashable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
34 | public var headers: Headers = Headers(value: [:])
35 | public var queryItems: QueryItems = QueryItems(value: [])
:
51 |
52 | /// Provides an instance with no property values set
53 | public static let empty: Properties = .init()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
54 |
55 | internal static func from(_ requestProperty: some RequestProperty) -> Request.Properties {
[12/19] Compiling Relax Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:27:10: warning: associated value 'urlError(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
25 |
26 | /// A `URLError` occurred with the request
27 | case urlError(request: Request, error: URLError)
| `- warning: associated value 'urlError(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
28 | /// A `DecodingError` occurred when decoding data from the request
29 | case decoding(request: Request, error: DecodingError)
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:29:10: warning: associated value 'decoding(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
27 | case urlError(request: Request, error: URLError)
28 | /// A `DecodingError` occurred when decoding data from the request
29 | case decoding(request: Request, error: DecodingError)
| `- warning: associated value 'decoding(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
30 | /// Other error occurred
31 | case other(request: Request, message: String)
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:31:10: warning: associated value 'other(request:message:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
29 | case decoding(request: Request, error: DecodingError)
30 | /// Other error occurred
31 | case other(request: Request, message: String)
| `- warning: associated value 'other(request:message:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
32 | /// HTTP status code error
33 | case httpStatus(request: Request, error: HTTPError)
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:33:10: warning: associated value 'httpStatus(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
31 | case other(request: Request, message: String)
32 | /// HTTP status code error
33 | case httpStatus(request: Request, error: HTTPError)
| `- warning: associated value 'httpStatus(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
34 |
35 | public var localizedDescription: String {
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:84:20: warning: stored property 'type' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'RequestError.HTTPError.ErrorType'; this is an error in the Swift 6 language mode
60 | }
61 |
62 | public enum ErrorType {
| `- note: consider making enum 'ErrorType' conform to the 'Sendable' protocol
63 | /// 400 Bad request
64 | case badRequest
:
82 | public let statusCode: Int
83 | /// The http error type
84 | public let type: ErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'RequestError.HTTPError.ErrorType'; this is an error in the Swift 6 language mode
85 | /// The response received
86 | public let response: Request.Response
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:86:20: warning: stored property 'response' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'Request.Response' (aka '(request: Request, urlResponse: HTTPURLResponse, data: Data)'); this is an error in the Swift 6 language mode
84 | public let type: ErrorType
85 | /// The response received
86 | public let response: Request.Response
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'Request.Response' (aka '(request: Request, urlResponse: HTTPURLResponse, data: Data)'); this is an error in the Swift 6 language mode
87 | /// A localized description of the error
88 | public var localizedDescription: String {
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
[13/19] Compiling Relax Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:27:10: warning: associated value 'urlError(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
25 |
26 | /// A `URLError` occurred with the request
27 | case urlError(request: Request, error: URLError)
| `- warning: associated value 'urlError(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
28 | /// A `DecodingError` occurred when decoding data from the request
29 | case decoding(request: Request, error: DecodingError)
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:29:10: warning: associated value 'decoding(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
27 | case urlError(request: Request, error: URLError)
28 | /// A `DecodingError` occurred when decoding data from the request
29 | case decoding(request: Request, error: DecodingError)
| `- warning: associated value 'decoding(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
30 | /// Other error occurred
31 | case other(request: Request, message: String)
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:31:10: warning: associated value 'other(request:message:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
29 | case decoding(request: Request, error: DecodingError)
30 | /// Other error occurred
31 | case other(request: Request, message: String)
| `- warning: associated value 'other(request:message:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
32 | /// HTTP status code error
33 | case httpStatus(request: Request, error: HTTPError)
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:33:10: warning: associated value 'httpStatus(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
31 | case other(request: Request, message: String)
32 | /// HTTP status code error
33 | case httpStatus(request: Request, error: HTTPError)
| `- warning: associated value 'httpStatus(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
34 |
35 | public var localizedDescription: String {
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:84:20: warning: stored property 'type' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'RequestError.HTTPError.ErrorType'; this is an error in the Swift 6 language mode
60 | }
61 |
62 | public enum ErrorType {
| `- note: consider making enum 'ErrorType' conform to the 'Sendable' protocol
63 | /// 400 Bad request
64 | case badRequest
:
82 | public let statusCode: Int
83 | /// The http error type
84 | public let type: ErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'RequestError.HTTPError.ErrorType'; this is an error in the Swift 6 language mode
85 | /// The response received
86 | public let response: Request.Response
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:86:20: warning: stored property 'response' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'Request.Response' (aka '(request: Request, urlResponse: HTTPURLResponse, data: Data)'); this is an error in the Swift 6 language mode
84 | public let type: ErrorType
85 | /// The response received
86 | public let response: Request.Response
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'Request.Response' (aka '(request: Request, urlResponse: HTTPURLResponse, data: Data)'); this is an error in the Swift 6 language mode
87 | /// A localized description of the error
88 | public var localizedDescription: String {
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
[14/19] Compiling Relax PathComponents.swift
[15/19] Compiling Relax QueryItems.swift
[16/19] Emitting module Relax
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:27:10: warning: associated value 'urlError(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
25 |
26 | /// A `URLError` occurred with the request
27 | case urlError(request: Request, error: URLError)
| `- warning: associated value 'urlError(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
28 | /// A `DecodingError` occurred when decoding data from the request
29 | case decoding(request: Request, error: DecodingError)
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:29:10: warning: associated value 'decoding(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
27 | case urlError(request: Request, error: URLError)
28 | /// A `DecodingError` occurred when decoding data from the request
29 | case decoding(request: Request, error: DecodingError)
| `- warning: associated value 'decoding(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
30 | /// Other error occurred
31 | case other(request: Request, message: String)
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:31:10: warning: associated value 'other(request:message:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
29 | case decoding(request: Request, error: DecodingError)
30 | /// Other error occurred
31 | case other(request: Request, message: String)
| `- warning: associated value 'other(request:message:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
32 | /// HTTP status code error
33 | case httpStatus(request: Request, error: HTTPError)
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:33:10: warning: associated value 'httpStatus(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
31 | case other(request: Request, message: String)
32 | /// HTTP status code error
33 | case httpStatus(request: Request, error: HTTPError)
| `- warning: associated value 'httpStatus(request:error:)' of 'Sendable'-conforming enum 'RequestError' has non-sendable type 'Request'; this is an error in the Swift 6 language mode
34 |
35 | public var localizedDescription: String {
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:84:20: warning: stored property 'type' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'RequestError.HTTPError.ErrorType'; this is an error in the Swift 6 language mode
60 | }
61 |
62 | public enum ErrorType {
| `- note: consider making enum 'ErrorType' conform to the 'Sendable' protocol
63 | /// 400 Bad request
64 | case badRequest
:
82 | public let statusCode: Int
83 | /// The http error type
84 | public let type: ErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'RequestError.HTTPError.ErrorType'; this is an error in the Swift 6 language mode
85 | /// The response received
86 | public let response: Request.Response
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Errors.swift:86:20: warning: stored property 'response' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'Request.Response' (aka '(request: Request, urlResponse: HTTPURLResponse, data: Data)'); this is an error in the Swift 6 language mode
84 | public let type: ErrorType
85 | /// The response received
86 | public let response: Request.Response
| `- warning: stored property 'response' of 'Sendable'-conforming struct 'HTTPError' has non-sendable type 'Request.Response' (aka '(request: Request, urlResponse: HTTPURLResponse, data: Data)'); this is an error in the Swift 6 language mode
87 | /// A localized description of the error
88 | public var localizedDescription: String {
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:51:15: note: consider making struct 'Request' conform to the 'Sendable' protocol
49 | /// <doc:SendingRequestsPublisher>, or <doc:SendingRequestsHandler>.
50 | ///
51 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
52 | /// The HTTP method of the request
53 | public var httpMethod: HTTPMethod
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:54:27: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
52 |
53 | /// Header name `Accept`
54 | public static let accept = Name("Accept")
| |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accept' 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
55 | /// Header name `Accept-Language`
56 | public static let acceptLanguage = Name("Accept-Language")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:56:27: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
54 | public static let accept = Name("Accept")
55 | /// Header name `Accept-Language`
56 | public static let acceptLanguage = Name("Accept-Language")
| |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acceptLanguage' 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
57 | /// Header name `Authorization`
58 | public static let authorization = Name("Authorization")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:58:27: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
56 | public static let acceptLanguage = Name("Accept-Language")
57 | /// Header name `Authorization`
58 | public static let authorization = Name("Authorization")
| |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authorization' 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
59 | /// Header name `Cache-Control`
60 | public static let cacheControl = Name("Cache-Control")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:60:27: warning: static property 'cacheControl' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
58 | public static let authorization = Name("Authorization")
59 | /// Header name `Cache-Control`
60 | public static let cacheControl = Name("Cache-Control")
| |- warning: static property 'cacheControl' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cacheControl' 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
61 | /// Header name `Content-Type`
62 | public static let contentType = Name("Content-Type")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:62:27: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
60 | public static let cacheControl = Name("Cache-Control")
61 | /// Header name `Content-Type`
62 | public static let contentType = Name("Content-Type")
| |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentType' 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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:80:27: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
66 | ///
67 | /// Common authorization types are provided, but additional can be added through an extension.
68 | public struct AuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'AuthorizationType' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 |
:
78 |
79 | /// Authorization type `Basic`
80 | public static let basic = AuthorizationType("Basic")
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basic' 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
81 | /// Authorization type `Bearer`
82 | public static let bearer = AuthorizationType("Bearer")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:82:27: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
66 | ///
67 | /// Common authorization types are provided, but additional can be added through an extension.
68 | public struct AuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'AuthorizationType' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 |
:
80 | public static let basic = AuthorizationType("Basic")
81 | /// Authorization type `Bearer`
82 | public static let bearer = AuthorizationType("Bearer")
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bearer' 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
83 | /// Authorization type `Digest`
84 | public static let digest = AuthorizationType("Digest")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:84:27: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
66 | ///
67 | /// Common authorization types are provided, but additional can be added through an extension.
68 | public struct AuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'AuthorizationType' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 |
:
82 | public static let bearer = AuthorizationType("Bearer")
83 | /// Authorization type `Digest`
84 | public static let digest = AuthorizationType("Digest")
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digest' 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
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:103:27: warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
88 | ///
89 | /// Additional content types may be added as needed.
90 | public struct ContentType: RawRepresentable, Hashable {
| `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
91 | public var rawValue: String
92 |
:
101 |
102 | /// Content type of `application/json`
103 | public static let applicationJSON = ContentType("application/json")
| |- warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'applicationJSON' 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
104 | /// Content type of `text/plain`
105 | public static let textPlain = ContentType("text/plain")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:105:27: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
88 | ///
89 | /// Additional content types may be added as needed.
90 | public struct ContentType: RawRepresentable, Hashable {
| `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
91 | public var rawValue: String
92 |
:
103 | public static let applicationJSON = ContentType("application/json")
104 | /// Content type of `text/plain`
105 | public static let textPlain = ContentType("text/plain")
| |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textPlain' 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
106 |
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/RequestProperty.swift:53:27: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
31 | extension Request {
32 | /// A structure that groups properties of a request
33 | public struct Properties: Hashable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
34 | public var headers: Headers = Headers(value: [:])
35 | public var queryItems: QueryItems = QueryItems(value: [])
:
51 |
52 | /// Provides an instance with no property values set
53 | public static let empty: Properties = .init()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
54 |
55 | internal static func from(_ requestProperty: some RequestProperty) -> Request.Properties {
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:271:27: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
257 | ///
258 | /// The main request types are provided (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`); additional ones can be added as static properties in an extension.
259 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
260 | public var rawValue: String
261 |
:
269 |
270 | /// `GET` request type
271 | public static let get = HTTPMethod("GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' 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
272 | /// `POST` request type
273 | public static let post = HTTPMethod("POST")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:273:27: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
257 | ///
258 | /// The main request types are provided (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`); additional ones can be added as static properties in an extension.
259 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
260 | public var rawValue: String
261 |
:
271 | public static let get = HTTPMethod("GET")
272 | /// `POST` request type
273 | public static let post = HTTPMethod("POST")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'post' 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
274 | /// `PUT` request type
275 | public static let put = HTTPMethod("PUT")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:275:27: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
257 | ///
258 | /// The main request types are provided (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`); additional ones can be added as static properties in an extension.
259 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
260 | public var rawValue: String
261 |
:
273 | public static let post = HTTPMethod("POST")
274 | /// `PUT` request type
275 | public static let put = HTTPMethod("PUT")
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'put' 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
276 | /// `PATCH` request type
277 | public static let patch = HTTPMethod("PATCH")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:277:27: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
257 | ///
258 | /// The main request types are provided (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`); additional ones can be added as static properties in an extension.
259 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
260 | public var rawValue: String
261 |
:
275 | public static let put = HTTPMethod("PUT")
276 | /// `PATCH` request type
277 | public static let patch = HTTPMethod("PATCH")
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'patch' 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
278 | /// `DELETE` request type
279 | public static let delete = HTTPMethod("DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:279:27: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
257 | ///
258 | /// The main request types are provided (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`); additional ones can be added as static properties in an extension.
259 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
260 | public var rawValue: String
261 |
:
277 | public static let patch = HTTPMethod("PATCH")
278 | /// `DELETE` request type
279 | public static let delete = HTTPMethod("DELETE")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' 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
280 | }
281 | }
[17/19] Compiling Relax Body.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:54:27: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
52 |
53 | /// Header name `Accept`
54 | public static let accept = Name("Accept")
| |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accept' 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
55 | /// Header name `Accept-Language`
56 | public static let acceptLanguage = Name("Accept-Language")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:56:27: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
54 | public static let accept = Name("Accept")
55 | /// Header name `Accept-Language`
56 | public static let acceptLanguage = Name("Accept-Language")
| |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acceptLanguage' 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
57 | /// Header name `Authorization`
58 | public static let authorization = Name("Authorization")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:58:27: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
56 | public static let acceptLanguage = Name("Accept-Language")
57 | /// Header name `Authorization`
58 | public static let authorization = Name("Authorization")
| |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authorization' 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
59 | /// Header name `Cache-Control`
60 | public static let cacheControl = Name("Cache-Control")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:60:27: warning: static property 'cacheControl' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
58 | public static let authorization = Name("Authorization")
59 | /// Header name `Cache-Control`
60 | public static let cacheControl = Name("Cache-Control")
| |- warning: static property 'cacheControl' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cacheControl' 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
61 | /// Header name `Content-Type`
62 | public static let contentType = Name("Content-Type")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:62:27: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
60 | public static let cacheControl = Name("Cache-Control")
61 | /// Header name `Content-Type`
62 | public static let contentType = Name("Content-Type")
| |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentType' 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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:80:27: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
66 | ///
67 | /// Common authorization types are provided, but additional can be added through an extension.
68 | public struct AuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'AuthorizationType' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 |
:
78 |
79 | /// Authorization type `Basic`
80 | public static let basic = AuthorizationType("Basic")
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basic' 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
81 | /// Authorization type `Bearer`
82 | public static let bearer = AuthorizationType("Bearer")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:82:27: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
66 | ///
67 | /// Common authorization types are provided, but additional can be added through an extension.
68 | public struct AuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'AuthorizationType' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 |
:
80 | public static let basic = AuthorizationType("Basic")
81 | /// Authorization type `Bearer`
82 | public static let bearer = AuthorizationType("Bearer")
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bearer' 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
83 | /// Authorization type `Digest`
84 | public static let digest = AuthorizationType("Digest")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:84:27: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
66 | ///
67 | /// Common authorization types are provided, but additional can be added through an extension.
68 | public struct AuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'AuthorizationType' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 |
:
82 | public static let bearer = AuthorizationType("Bearer")
83 | /// Authorization type `Digest`
84 | public static let digest = AuthorizationType("Digest")
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digest' 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
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:103:27: warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
88 | ///
89 | /// Additional content types may be added as needed.
90 | public struct ContentType: RawRepresentable, Hashable {
| `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
91 | public var rawValue: String
92 |
:
101 |
102 | /// Content type of `application/json`
103 | public static let applicationJSON = ContentType("application/json")
| |- warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'applicationJSON' 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
104 | /// Content type of `text/plain`
105 | public static let textPlain = ContentType("text/plain")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:105:27: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
88 | ///
89 | /// Additional content types may be added as needed.
90 | public struct ContentType: RawRepresentable, Hashable {
| `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
91 | public var rawValue: String
92 |
:
103 | public static let applicationJSON = ContentType("application/json")
104 | /// Content type of `text/plain`
105 | public static let textPlain = ContentType("text/plain")
| |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textPlain' 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
106 |
107 | }
[18/19] Compiling Relax Headers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:54:27: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
52 |
53 | /// Header name `Accept`
54 | public static let accept = Name("Accept")
| |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accept' 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
55 | /// Header name `Accept-Language`
56 | public static let acceptLanguage = Name("Accept-Language")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:56:27: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
54 | public static let accept = Name("Accept")
55 | /// Header name `Accept-Language`
56 | public static let acceptLanguage = Name("Accept-Language")
| |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acceptLanguage' 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
57 | /// Header name `Authorization`
58 | public static let authorization = Name("Authorization")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:58:27: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
56 | public static let acceptLanguage = Name("Accept-Language")
57 | /// Header name `Authorization`
58 | public static let authorization = Name("Authorization")
| |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authorization' 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
59 | /// Header name `Cache-Control`
60 | public static let cacheControl = Name("Cache-Control")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:60:27: warning: static property 'cacheControl' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
58 | public static let authorization = Name("Authorization")
59 | /// Header name `Cache-Control`
60 | public static let cacheControl = Name("Cache-Control")
| |- warning: static property 'cacheControl' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cacheControl' 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
61 | /// Header name `Content-Type`
62 | public static let contentType = Name("Content-Type")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:62:27: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
41 | ///
42 | /// Common header names are provided, but additional can be added through an extension.
43 | public struct Name: RawRepresentable {
| `- note: consider making struct 'Name' conform to the 'Sendable' protocol
44 | public var rawValue: String
45 |
:
60 | public static let cacheControl = Name("Cache-Control")
61 | /// Header name `Content-Type`
62 | public static let contentType = Name("Content-Type")
| |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Header.Name' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contentType' 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
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:80:27: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
66 | ///
67 | /// Common authorization types are provided, but additional can be added through an extension.
68 | public struct AuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'AuthorizationType' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 |
:
78 |
79 | /// Authorization type `Basic`
80 | public static let basic = AuthorizationType("Basic")
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'basic' 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
81 | /// Authorization type `Bearer`
82 | public static let bearer = AuthorizationType("Bearer")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:82:27: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
66 | ///
67 | /// Common authorization types are provided, but additional can be added through an extension.
68 | public struct AuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'AuthorizationType' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 |
:
80 | public static let basic = AuthorizationType("Basic")
81 | /// Authorization type `Bearer`
82 | public static let bearer = AuthorizationType("Bearer")
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bearer' 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
83 | /// Authorization type `Digest`
84 | public static let digest = AuthorizationType("Digest")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:84:27: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
66 | ///
67 | /// Common authorization types are provided, but additional can be added through an extension.
68 | public struct AuthorizationType: RawRepresentable, Hashable {
| `- note: consider making struct 'AuthorizationType' conform to the 'Sendable' protocol
69 | public var rawValue: String
70 |
:
82 | public static let bearer = AuthorizationType("Bearer")
83 | /// Authorization type `Digest`
84 | public static let digest = AuthorizationType("Digest")
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'Header.AuthorizationType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digest' 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
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:103:27: warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
88 | ///
89 | /// Additional content types may be added as needed.
90 | public struct ContentType: RawRepresentable, Hashable {
| `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
91 | public var rawValue: String
92 |
:
101 |
102 | /// Content type of `application/json`
103 | public static let applicationJSON = ContentType("application/json")
| |- warning: static property 'applicationJSON' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'applicationJSON' 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
104 | /// Content type of `text/plain`
105 | public static let textPlain = ContentType("text/plain")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/Headers.swift:105:27: warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
88 | ///
89 | /// Additional content types may be added as needed.
90 | public struct ContentType: RawRepresentable, Hashable {
| `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
91 | public var rawValue: String
92 |
:
103 | public static let applicationJSON = ContentType("application/json")
104 | /// Content type of `text/plain`
105 | public static let textPlain = ContentType("text/plain")
| |- warning: static property 'textPlain' is not concurrency-safe because non-'Sendable' type 'Header.ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textPlain' 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
106 |
107 | }
[19/19] Compiling Relax Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Properties/RequestProperty.swift:53:27: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
31 | extension Request {
32 | /// A structure that groups properties of a request
33 | public struct Properties: Hashable {
| `- note: consider making struct 'Properties' conform to the 'Sendable' protocol
34 | public var headers: Headers = Headers(value: [:])
35 | public var queryItems: QueryItems = QueryItems(value: [])
:
51 |
52 | /// Provides an instance with no property values set
53 | public static let empty: Properties = .init()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Request.Properties' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
54 |
55 | internal static func from(_ requestProperty: some RequestProperty) -> Request.Properties {
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:271:27: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
257 | ///
258 | /// The main request types are provided (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`); additional ones can be added as static properties in an extension.
259 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
260 | public var rawValue: String
261 |
:
269 |
270 | /// `GET` request type
271 | public static let get = HTTPMethod("GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' 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
272 | /// `POST` request type
273 | public static let post = HTTPMethod("POST")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:273:27: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
257 | ///
258 | /// The main request types are provided (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`); additional ones can be added as static properties in an extension.
259 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
260 | public var rawValue: String
261 |
:
271 | public static let get = HTTPMethod("GET")
272 | /// `POST` request type
273 | public static let post = HTTPMethod("POST")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'post' 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
274 | /// `PUT` request type
275 | public static let put = HTTPMethod("PUT")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:275:27: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
257 | ///
258 | /// The main request types are provided (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`); additional ones can be added as static properties in an extension.
259 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
260 | public var rawValue: String
261 |
:
273 | public static let post = HTTPMethod("POST")
274 | /// `PUT` request type
275 | public static let put = HTTPMethod("PUT")
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'put' 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
276 | /// `PATCH` request type
277 | public static let patch = HTTPMethod("PATCH")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:277:27: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
257 | ///
258 | /// The main request types are provided (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`); additional ones can be added as static properties in an extension.
259 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
260 | public var rawValue: String
261 |
:
275 | public static let put = HTTPMethod("PUT")
276 | /// `PATCH` request type
277 | public static let patch = HTTPMethod("PATCH")
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'patch' 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
278 | /// `DELETE` request type
279 | public static let delete = HTTPMethod("DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/Relax/Request/Request.swift:279:27: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
257 | ///
258 | /// The main request types are provided (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`); additional ones can be added as static properties in an extension.
259 | public struct HTTPMethod: RawRepresentable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
260 | public var rawValue: String
261 |
:
277 | public static let patch = HTTPMethod("PATCH")
278 | /// `DELETE` request type
279 | public static let delete = HTTPMethod("DELETE")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Request.HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' 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
280 | }
281 | }
[20/24] Compiling URLMock URLRequestValidation.swift
[21/24] Emitting module URLMock
/Users/admin/builder/spi-builder-workspace/Sources/URLMock/URLMock.swift:21:23: warning: static property 'response' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// Set this property to provide the response you want to be returned to `URLSession` clients using ``URLMock``.
20 | /// - Important: Setting this property will apply to all instances of `URLSession` using ``URLMock``.
21 | public static var response: MockResponse = .mock()
| |- warning: static property 'response' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'response' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'response' 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
22 |
23 | override public class func canInit(with request: URLRequest) -> Bool { true }
[22/24] Compiling URLMock URLMock.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLMock/URLMock.swift:21:23: warning: static property 'response' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | /// Set this property to provide the response you want to be returned to `URLSession` clients using ``URLMock``.
20 | /// - Important: Setting this property will apply to all instances of `URLSession` using ``URLMock``.
21 | public static var response: MockResponse = .mock()
| |- warning: static property 'response' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'response' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'response' 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
22 |
23 | override public class func canInit(with request: URLRequest) -> Bool { true }
[23/24] Compiling URLMock Response.swift
[24/24] Compiling URLMock MockResponse.swift
Build complete! (21.98s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Relax",
"name" : "Relax",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Relax",
"targets" : [
"Relax"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "URLMock",
"targets" : [
"URLMock"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "URLMock",
"module_type" : "SwiftTarget",
"name" : "URLMock",
"path" : "Sources/URLMock",
"product_memberships" : [
"URLMock"
],
"sources" : [
"MockResponse/MockResponse.swift",
"MockResponse/Response.swift",
"URLMock.swift",
"URLRequestValidation.swift"
],
"target_dependencies" : [
"Relax"
],
"type" : "library"
},
{
"c99name" : "RelaxTests",
"module_type" : "SwiftTarget",
"name" : "RelaxTests",
"path" : "Tests/RelaxTests",
"sources" : [
"AsyncTests/AsyncCancellationTests.swift",
"AsyncTests/AsyncCodableTests.swift",
"AsyncTests/AsyncErrorTests.swift",
"AsyncTests/AsyncRequestTests.swift",
"CombineTests/CombineCodableTests.swift",
"CombineTests/CombineErrorTests.swift",
"CombineTests/CombineRequestTests.swift",
"CompletionTests/CompletionErrorTests.swift",
"CompletionTests/CompletionRequestTests.swift",
"Errors/HTTPErrorTests.swift",
"Errors/RequestErrorTests.swift",
"Helpers/ErrorTest.swift",
"Helpers/MockError.swift",
"Helpers/MockServices.swift",
"Helpers/Service+Testing.swift",
"Request/Properties/BodyTests.swift",
"Request/Properties/ConfigurationTests.swift",
"Request/Properties/HeaderTests.swift",
"Request/Properties/HeaderTypeTests.swift",
"Request/Properties/PathComponentsTests.swift",
"Request/Properties/QueryItemTests.swift",
"Request/Properties/RequestPropertiesBuilderTests.swift",
"Request/Properties/RequestPropertiesTests.swift",
"Request/RequestModifiersTests.swift",
"Request/RequestTests.swift",
"Request/ServiceTests.swift"
],
"target_dependencies" : [
"Relax",
"URLMock"
],
"type" : "test"
},
{
"c99name" : "Relax",
"module_type" : "SwiftTarget",
"name" : "Relax",
"path" : "Sources/Relax",
"product_memberships" : [
"Relax",
"URLMock"
],
"sources" : [
"API Structure/APIComponent.swift",
"API Structure/Endpoint.swift",
"API Structure/Service.swift",
"Errors.swift",
"Request/Properties/Body.swift",
"Request/Properties/Headers.swift",
"Request/Properties/PathComponents.swift",
"Request/Properties/QueryItems.swift",
"Request/Properties/RequestProperty.swift",
"Request/Request+Configuration.swift",
"Request/Request+Modifiers.swift",
"Request/Request+Send.swift",
"Request/Request+SendAsync.swift",
"Request/Request+SendPublisher.swift",
"Request/Request.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/tdeleon/relax/main
Repository: tdeleon/Relax
Swift version used: 6.0
Target: Relax
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'Relax'...
Finished extracting symbol information for 'Relax'. (3.15s)
Building documentation for 'Relax'...
warning: 'send(decoder:session:completion:)' is ambiguous at '/Relax/Request'
--> Request/Request.md:65:5-65:38
63 | - <doc:SendingRequestsHandler>
64 | - ``send(session:autoResumeTask:completion:)``
65 + - ``send(decoder:session:completion:)``
| ├─suggestion: Insert '3m8gs' for'func send<ResponseModel>(decoder: JSONDecoder? = nil, session: URLSession? = nil, completion: @escaping (Result<ResponseModel, RequestError>) -> Void) where ResponseModel : Decodable'
| ╰─suggestion: Insert '8fm82' for'func send<ResponseModel>(decoder: JSONDecoder? = nil, session: URLSession? = nil, completion: @escaping Request.ModelCompletion<ResponseModel>) where ResponseModel : Decodable'
66 | - ``Response``
67 | - ``ResponseModel``
warning: 'send(decoder:session:completion:)' is ambiguous at '/Relax/Request'
--> Request/SendingRequests/SendingRequestsHandler.md:78:11-78:44
76 |
77 | You can automatically decode received data into a `Decodable` instance with the
78 + ``Request/send(decoder:session:completion:)`` method. This method also uses a completion handler, but instead of `Data`,
| ├─suggestion: Insert '3m8gs' for'func send<ResponseModel>(decoder: JSONDecoder? = nil, session: URLSession? = nil, completion: @escaping (Result<ResponseModel, RequestError>) -> Void) where ResponseModel : Decodable'
| ╰─suggestion: Insert '8fm82' for'func send<ResponseModel>(decoder: JSONDecoder? = nil, session: URLSession? = nil, completion: @escaping Request.ModelCompletion<ResponseModel>) where ResponseModel : Decodable'
79 | returns the data decoded to a `Decodable` type.
80 |
warning: Parameter 'appendTrailingSlashToPath' not found in initializer declaration
--> ../Request/Request+Configuration.swift:121:17-121:42
119 | /// - allowsExpensiveNetworkAccess: Whether to allow access to expensive networks
120 | /// - parseHTTPStatusErrors: Whether to parse HTTP status codes for errors
121 + /// - appendTrailingSlashToPath: Whether to append a trailing '/' to the path components
| ╰─suggestion: Replace 'appendTrailingSlashToPath' with 'appendTraillingSlashToPath'
122 | public init(
123 | allowsCellularAccess: Bool = true,
warning: Parameter 'appendTraillingSlashToPath' is missing documentation
--> ../Request/Request+Configuration.swift:121:99-121:99
119 | /// - allowsExpensiveNetworkAccess: Whether to allow access to expensive networks
120 | /// - parseHTTPStatusErrors: Whether to parse HTTP status codes for errors
121 + /// - appendTrailingSlashToPath: Whether to append a trailing '/' to the path components
| ╰─suggestion: Document 'appendTraillingSlashToPath' parameter
122 | public init(
123 | allowsCellularAccess: Bool = true,
warning: Parameter 'Note' not found in initializer declaration
--> ../Request/Request.swift:207:11-208:9
205 | /// ``Request/Properties/empty`` (no properties).
206 | ///
207 + /// - Note: Any `properties` provided are appended to the ``APIComponent/allProperties-7xy23`` defined on the parent, not replaced.
| ╰─suggestion: Remove 'Note' parameter documentation
208 + ///
209 | /// The request will inherit attributes defined on the `parent`, including:
210 | /// * ``APIComponent/baseURL``Finished building documentation for 'Relax' (0.24s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/tdeleon/relax/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.22s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.27s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.58s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Emitting module Snippets
[8/57] Compiling Snippets Snippet.swift
[9/57] Compiling Snippets SnippetParser.swift
[10/57] Compiling SymbolKit Names.swift
[11/57] Compiling SymbolKit SPI.swift
[12/57] Compiling SymbolKit Snippet.swift
[13/57] Compiling SymbolKit Extension.swift
[14/57] Compiling SymbolKit GenericConstraint.swift
[15/57] Compiling SymbolKit GenericParameter.swift
[16/57] Compiling SymbolKit Generics.swift
[17/57] Compiling SymbolKit Namespace.swift
[18/57] Compiling SymbolKit Identifier.swift
[19/57] Compiling SymbolKit KindIdentifier.swift
[20/57] Compiling SymbolKit Location.swift
[21/57] Compiling SymbolKit Mutability.swift
[22/57] Compiling SymbolKit Relationship.swift
[23/57] Compiling SymbolKit RelationshipKind.swift
[24/57] Compiling SymbolKit SourceOrigin.swift
[25/57] Compiling SymbolKit GenericConstraints.swift
[26/57] Compiling SymbolKit Swift.swift
[27/57] Compiling SymbolKit DeclarationFragments.swift
[28/57] Compiling SymbolKit Fragment.swift
[29/57] Compiling SymbolKit FragmentKind.swift
[30/57] Compiling SymbolKit FunctionParameter.swift
[31/57] Compiling SymbolKit FunctionSignature.swift
[32/57] Compiling SymbolKit Mixin+Equals.swift
[33/57] Compiling SymbolKit Mixin+Hash.swift
[34/57] Compiling SymbolKit Mixin.swift
[35/57] Compiling SymbolKit LineList.swift
[36/57] Compiling SymbolKit Position.swift
[37/57] Compiling SymbolKit SemanticVersion.swift
[38/57] Compiling SymbolKit AccessControl.swift
[39/57] Compiling SymbolKit Availability.swift
[40/57] Compiling SymbolKit AvailabilityItem.swift
[41/57] Compiling SymbolKit Domain.swift
[42/57] Compiling SymbolKit Symbol.swift
[43/57] Compiling SymbolKit SymbolKind.swift
[44/57] Compiling SymbolKit SymbolGraph.swift
[45/57] Compiling SymbolKit GraphCollector.swift
[46/57] Compiling SymbolKit SourceRange.swift
[47/57] Compiling SymbolKit Metadata.swift
[48/57] Compiling SymbolKit Module.swift
[49/57] Compiling SymbolKit OperatingSystem.swift
[50/57] Compiling SymbolKit Platform.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.03s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/16] Compiling Relax Request+Modifiers.swift
[3/16] Compiling Relax Request+SendPublisher.swift
[4/16] Compiling Relax Request+Send.swift
[5/16] Compiling Relax Request+SendAsync.swift
[6/17] Emitting module Relax
[7/17] Compiling Relax PathComponents.swift
[8/17] Compiling Relax QueryItems.swift
[9/17] Compiling Relax Service.swift
[10/17] Compiling Relax Errors.swift
[11/17] Compiling Relax APIComponent.swift
[12/17] Compiling Relax Endpoint.swift
[13/17] Compiling Relax RequestProperty.swift
[14/17] Compiling Relax Request+Configuration.swift
[15/17] Compiling Relax Body.swift
[16/17] Compiling Relax Headers.swift
[17/17] Compiling Relax Request.swift
Build of target: 'Relax' complete! (1.11s)
Target: URLMock
Extracting symbol information for 'URLMock'...
Finished extracting symbol information for 'URLMock'. (2.43s)
Building documentation for 'URLMock'...
warning: Return value documented for initializer returning void
--> ../MockResponse/Response.swift:43:13-43:60
41 | /// - error: Error to return
42 | /// - request: The request this is in response to
43 + /// - Returns: A response from the given properties
| ╰─suggestion: Remove return value documentation
44 | public init(statusCode: Int = 204, data: Data = Data(), error: Error? = nil, for request: URLRequest) {
45 | let urlResponse = HTTPURLResponse(
warning: Return value documented for initializer returning void
--> ../MockResponse/Response.swift:67:13-67:61
65 | /// - error: Error to return.
66 | /// - request: The request this is in response to.
67 + /// - Returns: A response from the given properties.
| ╰─suggestion: Remove return value documentation
68 | public init<Model: Encodable>(
69 | model: Model,
warning: Return value documented for initializer returning void
--> ../MockResponse/Response.swift:86:13-86:59
84 | /// - error: Error to return
85 | /// - request: The request this is in response to
86 + /// - Returns: A response from the give properties
| ╰─suggestion: Remove return value documentation
87 | public init(
88 | jsonObject: Any,
warning: Parameter 'urlErrorCode' not found in initializer declaration
--> ../MockResponse/Response.swift:102:15-102:53
100 | /// A response returning a `URLError` with the given code
101 | /// - Parameters:
102 + /// - urlErrorCode: The code for the error
| ╰─suggestion: Remove 'urlErrorCode' parameter documentation
103 | /// - request: The request this is in response to
104 | /// - Returns: A response with `URLError` of the given code
warning: Parameter 'code' is missing documentation
--> ../MockResponse/Response.swift:103:60-103:60
101 | /// - Parameters:
102 | /// - urlErrorCode: The code for the error
103 + /// - request: The request this is in response to
| ╰─suggestion: Document 'code' parameter
104 | /// - Returns: A response with `URLError` of the given code
105 | public init(code: URLError.Code, for request: URLRequest) {
warning: Return value documented for initializer returning void
--> ../MockResponse/Response.swift:104:13-104:68
102 | /// - urlErrorCode: The code for the error
103 | /// - request: The request this is in response to
104 + /// - Returns: A response with `URLError` of the given code
| ╰─suggestion: Remove return value documentation
105 | public init(code: URLError.Code, for request: URLRequest) {
106 | self.init(error: URLError(code), for: request)
warning: Return value documented for initializer returning void
--> ../MockResponse/Response.swift:114:13-115:13
112 | /// - data: Data to return
113 | /// - request: The request this is in response to
114 + /// - Returns: A response with a `RequestError.HTTPError` of the given type
| ╰─suggestion: Remove return value documentation
115 + ///
116 | /// - Note: The `Request.send()` method will only throw/return an error if the `Request.Configuration.parseHTTPStatusErrors`
117 | /// property is set to `true`. If `false`, the the status code will be set in the HTTPURLResponse, but the method will not throw.
warning: Return value documented for initializer returning void
--> ../MockResponse/Response.swift:145:13-145:76
143 | /// - requestError: The error to return
144 | /// - data: Data to return
145 + /// - Returns: A response with the `RequestError` of the given type
| ╰─suggestion: Remove return value documentation
146 | public init(requestError: RequestError, data: Data = Data()) {
147 | switch requestError {
warning: External name 'match' used to document parameter
--> ../URLRequestValidation.swift:45:21-45:26
43 | //MARK: - Validation
44 | /// Validates the request query items match the provided query items
45 + /// - Parameter match: The expected query items
| ╰─suggestion: Replace 'match' with 'expected'
46 | ///
47 | /// This method validates that the query items match the expected using `XCTAssertEqual()`. Sets are used so order is not required to match.
warning: External name 'matches' used to document parameter
--> ../URLRequestValidation.swift:75:13-75:20
73 | /// Validates the request body matches the provided `Codable` object
74 | /// - Parameters:
75 + /// - matches: The Encodable object to match
| ╰─suggestion: Replace 'matches' with 'expected'
76 | /// - decoder: The decoder to use when decoding the request body data
77 | ///
warning: External name 'matches' used to document parameter
--> ../URLRequestValidation.swift:89:21-89:28
87 |
88 | /// Validates that the request body matches the provided dictionary
89 + /// - Parameter matches: The dictionary to match
| ╰─suggestion: Replace 'matches' with 'expected'
90 | ///
91 | /// This method attempts to decode the request body using `JSONSerialization` into a dictionary, and then validates it against the expected using
warning: External name 'match' used to document parameter
--> ../URLRequestValidation.swift:125:21-125:26
123 |
124 | /// Validates that the request HTTP headers match the provided
125 + /// - Parameter match: The expected headers to match
| ╰─suggestion: Replace 'match' with 'expected'
126 | ///
127 | /// This method matches the request `allHTTPHeaderFields` with the expected using `XCTAssertEqual()`Finished building documentation for 'URLMock' (0.07s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/tdeleon/relax/main
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.18s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/6] Compiling URLMock MockResponse.swift
[3/6] Compiling URLMock URLRequestValidation.swift
[4/6] Compiling URLMock URLMock.swift
[5/6] Compiling URLMock Response.swift
[6/6] Emitting module URLMock
Build of target: 'URLMock' complete! (0.59s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/tdeleon/relax/main/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/tdeleon/relax/main/linkable-paths.json
761
6 /Users/admin/builder/spi-builder-workspace/.docs/tdeleon/relax/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/tdeleon/relax/main
File count: 761
Doc size: 6.0MB
Preparing doc bundle ...
Uploading prod-tdeleon-relax-main-46cbf8b7.zip to s3://spi-docs-inbox/prod-tdeleon-relax-main-46cbf8b7.zip
Copying... [10%]
Copying... [21%]
Copying... [31%]
Copying... [41%]
Copying... [52%]
Copying... [62%]
Copying... [73%]
Copying... [83%]
Copying... [93%]
Copying... [100%]
Done.