Build Information
Successful build of Decree, reference master (dc5638
), with Swift 6.1 for Linux on 26 Apr 2025 03:14:59 UTC.
Swift 6 data race errors: 13
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewag/Decree.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/drewag/Decree
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at dc5638d [UP] Update to latest XMLCoder
Cloned https://github.com/drewag/Decree.git
Revision (git rev-parse @):
dc5638d1a30595a0d65e59fd950f34a982b0cec0
SUCCESS checkout https://github.com/drewag/Decree.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/drewag/Decree.git
https://github.com/drewag/Decree.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "xmlcoder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/MaxDesiatov/XMLCoder.git"
}
],
"manifest_display_name" : "Decree",
"name" : "Decree",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Decree",
"targets" : [
"Decree"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "DecreeTests",
"module_type" : "SwiftTarget",
"name" : "DecreeTests",
"path" : "Tests/DecreeTests",
"sources" : [
"AllRequestHandlingTests.swift",
"AuthenticationTests.swift",
"DecreeErrorTests.swift",
"DownloadTests.swift",
"EmptyResultTests.swift",
"EndpointPropertiesTests.swift",
"FileTests.swift",
"FormDataEncoderTests.swift",
"HTTPStatusTests.swift",
"Helpers/AuthenticatedService.swift",
"Helpers/Data+Helpers.swift",
"Helpers/Decodable+Helpers.swift",
"Helpers/Result+Helpers.swift",
"Helpers/TestMinimalService.swift",
"Helpers/TestNoStandardsService.swift",
"Helpers/TestService.swift",
"Helpers/TestURLSession.swift",
"KeyValueEncoderTests.swift",
"LoggerTests.swift",
"MakeRequestTestCase.swift",
"MockingTests.swift",
"ProgressTests.swift",
"RequestFlowTests.swift",
"ResponseParsingTests.swift",
"StatusCodeValidationTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Decree"
],
"type" : "test"
},
{
"c99name" : "Decree",
"module_type" : "SwiftTarget",
"name" : "Decree",
"path" : "Sources/Decree",
"product_dependencies" : [
"XMLCoder"
],
"product_memberships" : [
"Decree"
],
"sources" : [
"Basic Types/Authorization.swift",
"Basic Types/AuthorizationRequirement.swift",
"Basic Types/DecreeError.swift",
"Basic Types/DecreeErrorDescribable.swift",
"Basic Types/EmptyResult.swift",
"Basic Types/ErrorHandling.swift",
"Basic Types/ErrorResponse.swift",
"Basic Types/File.swift",
"Basic Types/InputFormat.swift",
"Basic Types/Method.swift",
"Basic Types/NoBasicResponse.swift",
"Basic Types/OutputFormat.swift",
"Basic Types/Session.swift",
"Endpoint+MakeRequest.swift",
"Endpoint.swift",
"KeyValueEncoder.swift",
"Logger.swift",
"Mocking/Expectations.swift",
"Mocking/WebService+AllRequestHandling.swift",
"Mocking/WebService+Mocking.swift",
"Mocking/WebServiceMock.swift",
"Private/DecreeRequest.swift",
"Private/DispatchQueue+Async.swift",
"Private/Endpoint+PrivateMakeRequest.swift",
"Private/Expectations+Private.swift",
"Private/FormDataEncoder.swift",
"Private/FormURLEncoder.swift",
"Private/HTTPStatus.swift",
"Private/NSXMLParser_ErrorCode.swift",
"Private/ProgressObserver.swift",
"Private/RequestInput.swift",
"Private/String+Helpers.swift",
"Private/String+TitleCase.swift",
"Private/URLRequest+Logging.swift",
"Private/URLResponse+Logging.swift",
"Private/WebService+MakeRequest.swift",
"Private/WebServiceMock+HandleRequest.swift",
"WebService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/10011] Fetching xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.38s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (0.91s)
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/48] Emitting module XMLCoder
[5/54] Compiling XMLCoder DoubleBox.swift
[6/54] Compiling XMLCoder FloatBox.swift
[7/54] Compiling XMLCoder IntBox.swift
[8/54] Compiling XMLCoder KeyedBox.swift
[9/54] Compiling XMLCoder NullBox.swift
[10/54] Compiling XMLCoder SharedBox.swift
[11/54] Compiling XMLCoder SingleKeyedBox.swift
[12/54] Compiling XMLCoder StringBox.swift
[13/54] Compiling XMLCoder UIntBox.swift
[14/54] Compiling XMLCoder URLBox.swift
[15/54] Compiling XMLCoder UnkeyedBox.swift
[16/54] Compiling XMLCoder ValueBox.swift
[17/54] Compiling XMLCoder Element.swift
[18/54] Compiling XMLCoder XMLEncoder.swift
[19/54] Compiling XMLCoder XMLEncoderImplementation.swift
[20/54] Compiling XMLCoder XMLEncodingStorage.swift
[21/54] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[22/54] Compiling XMLCoder XMLReferencingEncoder.swift
[23/54] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[24/54] Compiling XMLCoder Attribute.swift
[25/54] Compiling XMLCoder BoolBox.swift
[26/54] Compiling XMLCoder Box.swift
[27/54] Compiling XMLCoder ChoiceBox.swift
[28/54] Compiling XMLCoder DataBox.swift
[29/54] Compiling XMLCoder DateBox.swift
[30/54] Compiling XMLCoder DecimalBox.swift
[31/54] Compiling XMLCoder ElementAndAttribute.swift
[32/54] Compiling XMLCoder ISO8601DateFormatter.swift
[33/54] Compiling XMLCoder KeyedStorage.swift
[34/54] Compiling XMLCoder Metatypes.swift
[35/54] Compiling XMLCoder String+Extensions.swift
[36/54] Compiling XMLCoder XMLChoiceCodingKey.swift
[37/54] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[38/54] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[39/54] Compiling XMLCoder DynamicNodeEncoding.swift
[40/54] Compiling XMLCoder EncodingErrorExtension.swift
[41/54] Compiling XMLCoder SingleValueEncodingContainer.swift
[42/54] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[43/54] Compiling XMLCoder DynamicNodeDecoding.swift
[44/54] Compiling XMLCoder SingleValueDecodingContainer.swift
[45/54] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[46/54] Compiling XMLCoder XMLDecoder.swift
[47/54] Compiling XMLCoder XMLDecoderImplementation.swift
[48/54] Compiling XMLCoder XMLDecodingStorage.swift
[49/54] Compiling XMLCoder XMLCoderElement.swift
[50/54] Compiling XMLCoder XMLDocumentType.swift
[51/54] Compiling XMLCoder XMLHeader.swift
[52/54] Compiling XMLCoder XMLKey.swift
[53/54] Compiling XMLCoder XMLStackParser.swift
[54/54] Compiling XMLCoder DecodingErrorExtension.swift
[56/90] Compiling Decree RequestInput.swift
[57/90] Compiling Decree String+Helpers.swift
[58/90] Compiling Decree String+TitleCase.swift
[59/90] Compiling Decree URLRequest+Logging.swift
[60/94] Emitting module Decree
/host/spi-builder-workspace/Sources/Decree/Basic Types/DecreeError.swift:95:16: warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
32 | ///
33 | /// Check `description` and `details` on error for detailed information about each code
34 | public enum Code {
| `- note: consider making enum 'Code' conform to the 'Sendable' protocol
35 | // MARK: Requests
36 |
:
93 |
94 | /// Classificaiton for the type of error
95 | public let code: Code
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
96 |
97 | /// What operation was being attempted when this error was thrown
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Logger.swift:18:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// endpoints
17 | public struct Logger {
18 | public static var shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public enum Level {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
/host/spi-builder-workspace/Sources/Decree/Private/WebService+MakeRequest.swift:11:5: warning: var 'AllRequestsHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import XMLCoder
10 |
11 | var AllRequestsHandlers = [(service: Any, handler: RequestHandler)]()
| |- warning: var 'AllRequestsHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'AllRequestsHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'AllRequestsHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | extension WebService {
[61/94] Compiling Decree FormDataEncoder.swift
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[62/94] Compiling Decree FormURLEncoder.swift
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[63/94] Compiling Decree HTTPStatus.swift
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[64/94] Compiling Decree NSXMLParser_ErrorCode.swift
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[65/94] Compiling Decree ProgressObserver.swift
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[66/94] Compiling Decree URLResponse+Logging.swift
/host/spi-builder-workspace/Sources/Decree/Private/WebService+MakeRequest.swift:11:5: warning: var 'AllRequestsHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import XMLCoder
10 |
11 | var AllRequestsHandlers = [(service: Any, handler: RequestHandler)]()
| |- warning: var 'AllRequestsHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'AllRequestsHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'AllRequestsHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | extension WebService {
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' 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'
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:36: warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:40:12: note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
38 | /// mock expectations. The vast majority of the time you will
39 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
40 | open class EmptyExpectation<E: EmptyEndpoint>: AnyExpectation {
| `- note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
41 | public let pathValidation: PathValidation
42 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:36: warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:40:12: note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
38 | /// mock expectations. The vast majority of the time you will
39 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
40 | open class EmptyExpectation<E: EmptyEndpoint>: AnyExpectation {
| `- note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
41 | public let pathValidation: PathValidation
42 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' 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'
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:36: warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:62:12: note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
60 | /// mock expectations. The vast majority of the time you will
61 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
62 | open class InExpectation<E: InEndpoint>: AnyExpectation {
| `- note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
63 | public let pathValidation: PathValidation
64 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:36: warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:62:12: note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
60 | /// mock expectations. The vast majority of the time you will
61 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
62 | open class InExpectation<E: InEndpoint>: AnyExpectation {
| `- note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
63 | public let pathValidation: PathValidation
64 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' 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'
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:36: warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:84:12: note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
82 | /// mock expectations. The vast majority of the time you will
83 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
84 | open class OutExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
85 | public let pathValidation: PathValidation
86 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:36: warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:84:12: note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
82 | /// mock expectations. The vast majority of the time you will
83 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
84 | open class OutExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
85 | public let pathValidation: PathValidation
86 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' 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'
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:36: warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:106:12: note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
104 | /// mock expectations. The vast majority of the time you will
105 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
106 | open class OutDownloadExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
107 | public let pathValidation: PathValidation
108 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:36: warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:106:12: note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
104 | /// mock expectations. The vast majority of the time you will
105 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
106 | open class OutDownloadExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
107 | public let pathValidation: PathValidation
108 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' 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'
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:36: warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:128:12: note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
126 | /// mock expectations. The vast majority of the time you will
127 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
128 | open class InOutExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
129 | public let pathValidation: PathValidation
130 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:36: warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:128:12: note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
126 | /// mock expectations. The vast majority of the time you will
127 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
128 | open class InOutExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
129 | public let pathValidation: PathValidation
130 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' 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'
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:36: warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:150:12: note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
148 | /// mock expectations. The vast majority of the time you will
149 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
150 | open class InOutDownloadExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
151 | public let pathValidation: PathValidation
152 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:36: warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:150:12: note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
148 | /// mock expectations. The vast majority of the time you will
149 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
150 | open class InOutDownloadExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
151 | public let pathValidation: PathValidation
152 | public var returning: Result<URL, DecreeError>
[67/94] Compiling Decree WebService+MakeRequest.swift
/host/spi-builder-workspace/Sources/Decree/Private/WebService+MakeRequest.swift:11:5: warning: var 'AllRequestsHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import XMLCoder
10 |
11 | var AllRequestsHandlers = [(service: Any, handler: RequestHandler)]()
| |- warning: var 'AllRequestsHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'AllRequestsHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'AllRequestsHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | extension WebService {
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' 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'
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:36: warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:40:12: note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
38 | /// mock expectations. The vast majority of the time you will
39 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
40 | open class EmptyExpectation<E: EmptyEndpoint>: AnyExpectation {
| `- note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
41 | public let pathValidation: PathValidation
42 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:36: warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:40:12: note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
38 | /// mock expectations. The vast majority of the time you will
39 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
40 | open class EmptyExpectation<E: EmptyEndpoint>: AnyExpectation {
| `- note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
41 | public let pathValidation: PathValidation
42 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' 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'
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:36: warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:62:12: note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
60 | /// mock expectations. The vast majority of the time you will
61 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
62 | open class InExpectation<E: InEndpoint>: AnyExpectation {
| `- note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
63 | public let pathValidation: PathValidation
64 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:36: warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:62:12: note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
60 | /// mock expectations. The vast majority of the time you will
61 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
62 | open class InExpectation<E: InEndpoint>: AnyExpectation {
| `- note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
63 | public let pathValidation: PathValidation
64 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' 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'
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:36: warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:84:12: note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
82 | /// mock expectations. The vast majority of the time you will
83 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
84 | open class OutExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
85 | public let pathValidation: PathValidation
86 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:36: warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:84:12: note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
82 | /// mock expectations. The vast majority of the time you will
83 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
84 | open class OutExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
85 | public let pathValidation: PathValidation
86 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' 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'
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:36: warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:106:12: note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
104 | /// mock expectations. The vast majority of the time you will
105 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
106 | open class OutDownloadExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
107 | public let pathValidation: PathValidation
108 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:36: warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:106:12: note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
104 | /// mock expectations. The vast majority of the time you will
105 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
106 | open class OutDownloadExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
107 | public let pathValidation: PathValidation
108 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' 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'
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:36: warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:128:12: note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
126 | /// mock expectations. The vast majority of the time you will
127 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
128 | open class InOutExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
129 | public let pathValidation: PathValidation
130 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:36: warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:128:12: note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
126 | /// mock expectations. The vast majority of the time you will
127 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
128 | open class InOutExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
129 | public let pathValidation: PathValidation
130 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' 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'
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:36: warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:150:12: note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
148 | /// mock expectations. The vast majority of the time you will
149 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
150 | open class InOutDownloadExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
151 | public let pathValidation: PathValidation
152 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:36: warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:150:12: note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
148 | /// mock expectations. The vast majority of the time you will
149 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
150 | open class InOutDownloadExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
151 | public let pathValidation: PathValidation
152 | public var returning: Result<URL, DecreeError>
[68/94] Compiling Decree WebServiceMock+HandleRequest.swift
/host/spi-builder-workspace/Sources/Decree/Private/WebService+MakeRequest.swift:11:5: warning: var 'AllRequestsHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import XMLCoder
10 |
11 | var AllRequestsHandlers = [(service: Any, handler: RequestHandler)]()
| |- warning: var 'AllRequestsHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'AllRequestsHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'AllRequestsHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | extension WebService {
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' 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'
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:36: warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:40:12: note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
38 | /// mock expectations. The vast majority of the time you will
39 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
40 | open class EmptyExpectation<E: EmptyEndpoint>: AnyExpectation {
| `- note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
41 | public let pathValidation: PathValidation
42 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:36: warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:40:12: note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
38 | /// mock expectations. The vast majority of the time you will
39 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
40 | open class EmptyExpectation<E: EmptyEndpoint>: AnyExpectation {
| `- note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
41 | public let pathValidation: PathValidation
42 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' 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'
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:36: warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:62:12: note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
60 | /// mock expectations. The vast majority of the time you will
61 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
62 | open class InExpectation<E: InEndpoint>: AnyExpectation {
| `- note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
63 | public let pathValidation: PathValidation
64 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:36: warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:62:12: note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
60 | /// mock expectations. The vast majority of the time you will
61 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
62 | open class InExpectation<E: InEndpoint>: AnyExpectation {
| `- note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
63 | public let pathValidation: PathValidation
64 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' 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'
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:36: warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:84:12: note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
82 | /// mock expectations. The vast majority of the time you will
83 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
84 | open class OutExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
85 | public let pathValidation: PathValidation
86 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:36: warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:84:12: note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
82 | /// mock expectations. The vast majority of the time you will
83 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
84 | open class OutExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
85 | public let pathValidation: PathValidation
86 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' 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'
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:36: warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:106:12: note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
104 | /// mock expectations. The vast majority of the time you will
105 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
106 | open class OutDownloadExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
107 | public let pathValidation: PathValidation
108 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:36: warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:106:12: note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
104 | /// mock expectations. The vast majority of the time you will
105 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
106 | open class OutDownloadExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
107 | public let pathValidation: PathValidation
108 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' 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'
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:36: warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:128:12: note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
126 | /// mock expectations. The vast majority of the time you will
127 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
128 | open class InOutExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
129 | public let pathValidation: PathValidation
130 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:36: warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:128:12: note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
126 | /// mock expectations. The vast majority of the time you will
127 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
128 | open class InOutExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
129 | public let pathValidation: PathValidation
130 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' 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'
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:36: warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:150:12: note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
148 | /// mock expectations. The vast majority of the time you will
149 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
150 | open class InOutDownloadExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
151 | public let pathValidation: PathValidation
152 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:36: warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:150:12: note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
148 | /// mock expectations. The vast majority of the time you will
149 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
150 | open class InOutDownloadExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
151 | public let pathValidation: PathValidation
152 | public var returning: Result<URL, DecreeError>
[69/94] Compiling Decree WebService.swift
/host/spi-builder-workspace/Sources/Decree/Private/WebService+MakeRequest.swift:11:5: warning: var 'AllRequestsHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | import XMLCoder
10 |
11 | var AllRequestsHandlers = [(service: Any, handler: RequestHandler)]()
| |- warning: var 'AllRequestsHandlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'AllRequestsHandlers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'AllRequestsHandlers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | extension WebService {
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' 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'
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:36: warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:40:12: note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
38 | /// mock expectations. The vast majority of the time you will
39 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
40 | open class EmptyExpectation<E: EmptyEndpoint>: AnyExpectation {
| `- note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
41 | public let pathValidation: PathValidation
42 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:20:36: warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
18 | DispatchQueue(label: "background").async {
19 | callbackQueue.async {
20 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'EmptyExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
21 | expectation.fulfill()
22 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:40:12: note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
38 | /// mock expectations. The vast majority of the time you will
39 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
40 | open class EmptyExpectation<E: EmptyEndpoint>: AnyExpectation {
| `- note: generic class 'EmptyExpectation' does not conform to the 'Sendable' protocol
41 | public let pathValidation: PathValidation
42 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' 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'
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:36: warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:62:12: note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
60 | /// mock expectations. The vast majority of the time you will
61 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
62 | open class InExpectation<E: InEndpoint>: AnyExpectation {
| `- note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
63 | public let pathValidation: PathValidation
64 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:25: warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(EmptyResult) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:42:36: warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
40 | DispatchQueue(label: "background").async {
41 | callbackQueue.async {
42 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
43 | expectation.fulfill()
44 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:62:12: note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
60 | /// mock expectations. The vast majority of the time you will
61 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
62 | open class InExpectation<E: InEndpoint>: AnyExpectation {
| `- note: generic class 'InExpectation' does not conform to the 'Sendable' protocol
63 | public let pathValidation: PathValidation
64 | public var returning: EmptyResult
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' 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'
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:36: warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:84:12: note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
82 | /// mock expectations. The vast majority of the time you will
83 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
84 | open class OutExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
85 | public let pathValidation: PathValidation
86 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:64:36: warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
62 | DispatchQueue(label: "background").async {
63 | callbackQueue.async {
64 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
65 | expectation.fulfill()
66 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:84:12: note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
82 | /// mock expectations. The vast majority of the time you will
83 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
84 | open class OutExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutExpectation' does not conform to the 'Sendable' protocol
85 | public let pathValidation: PathValidation
86 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' 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'
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:36: warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:106:12: note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
104 | /// mock expectations. The vast majority of the time you will
105 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
106 | open class OutDownloadExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
107 | public let pathValidation: PathValidation
108 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:86:36: warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
84 | DispatchQueue(label: "background").async {
85 | callbackQueue.async {
86 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'OutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
87 | expectation.fulfill()
88 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:106:12: note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
104 | /// mock expectations. The vast majority of the time you will
105 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
106 | open class OutDownloadExpectation<E: OutEndpoint>: AnyExpectation {
| `- note: generic class 'OutDownloadExpectation' does not conform to the 'Sendable' protocol
107 | public let pathValidation: PathValidation
108 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' 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'
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:36: warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:128:12: note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
126 | /// mock expectations. The vast majority of the time you will
127 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
128 | open class InOutExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
129 | public let pathValidation: PathValidation
130 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:25: warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<E.Output, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:108:36: warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
106 | DispatchQueue(label: "background").async {
107 | callbackQueue.async {
108 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
109 | expectation.fulfill()
110 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:128:12: note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
126 | /// mock expectations. The vast majority of the time you will
127 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
128 | open class InOutExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutExpectation' does not conform to the 'Sendable' protocol
129 | public let pathValidation: PathValidation
130 | public var returning: Result<E.Output, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' 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'
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:36: warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:150:12: note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
148 | /// mock expectations. The vast majority of the time you will
149 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
150 | open class InOutDownloadExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
151 | public let pathValidation: PathValidation
152 | public var returning: Result<URL, DecreeError>
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:25: warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| |- warning: capture of 'onComplete' with non-sendable type '(Result<URL, DecreeError>) -> ()' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:130:36: warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
128 | DispatchQueue(label: "background").async {
129 | callbackQueue.async {
130 | onComplete(expectation.returning)
| `- warning: capture of 'expectation' with non-sendable type 'InOutDownloadExpectation<E>' in an isolated closure; this is an error in the Swift 6 language mode
131 | expectation.fulfill()
132 | }
/host/spi-builder-workspace/Sources/Decree/Mocking/Expectations.swift:150:12: note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
148 | /// mock expectations. The vast majority of the time you will
149 | /// use the built in expectations through [WebServiceMock](x-source-tag://WebServiceMock).
150 | open class InOutDownloadExpectation<E: InOutEndpoint>: AnyExpectation {
| `- note: generic class 'InOutDownloadExpectation' does not conform to the 'Sendable' protocol
151 | public let pathValidation: PathValidation
152 | public var returning: Result<URL, DecreeError>
[70/94] Compiling Decree WebServiceMock.swift
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:13:34: warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
9 |
10 | extension Optional where Wrapped == DispatchQueue {
11 | func async(execute: @escaping () -> ()) {
| `- note: parameter 'execute' is implicitly non-sendable
12 | if let queue = self {
13 | queue.async(execute: execute)
| `- warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
14 | }
15 | else {
[71/94] Compiling Decree DecreeRequest.swift
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:13:34: warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
9 |
10 | extension Optional where Wrapped == DispatchQueue {
11 | func async(execute: @escaping () -> ()) {
| `- note: parameter 'execute' is implicitly non-sendable
12 | if let queue = self {
13 | queue.async(execute: execute)
| `- warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
14 | }
15 | else {
[72/94] Compiling Decree DispatchQueue+Async.swift
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:13:34: warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
9 |
10 | extension Optional where Wrapped == DispatchQueue {
11 | func async(execute: @escaping () -> ()) {
| `- note: parameter 'execute' is implicitly non-sendable
12 | if let queue = self {
13 | queue.async(execute: execute)
| `- warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
14 | }
15 | else {
[73/94] Compiling Decree Endpoint+PrivateMakeRequest.swift
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:13:34: warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
9 |
10 | extension Optional where Wrapped == DispatchQueue {
11 | func async(execute: @escaping () -> ()) {
| `- note: parameter 'execute' is implicitly non-sendable
12 | if let queue = self {
13 | queue.async(execute: execute)
| `- warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
14 | }
15 | else {
[74/94] Compiling Decree Expectations+Private.swift
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:13:34: warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
9 |
10 | extension Optional where Wrapped == DispatchQueue {
11 | func async(execute: @escaping () -> ()) {
| `- note: parameter 'execute' is implicitly non-sendable
12 | if let queue = self {
13 | queue.async(execute: execute)
| `- warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
14 | }
15 | else {
[75/94] Compiling Decree NoBasicResponse.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
[76/94] Compiling Decree OutputFormat.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
[77/94] Compiling Decree Session.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
[78/94] Compiling Decree Endpoint+MakeRequest.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
[79/94] Compiling Decree Endpoint.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
[80/94] Compiling Decree Authorization.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/DecreeError.swift:95:16: warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
32 | ///
33 | /// Check `description` and `details` on error for detailed information about each code
34 | public enum Code {
| `- note: consider making enum 'Code' conform to the 'Sendable' protocol
35 | // MARK: Requests
36 |
:
93 |
94 | /// Classificaiton for the type of error
95 | public let code: Code
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
96 |
97 | /// What operation was being attempted when this error was thrown
[81/94] Compiling Decree AuthorizationRequirement.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/DecreeError.swift:95:16: warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
32 | ///
33 | /// Check `description` and `details` on error for detailed information about each code
34 | public enum Code {
| `- note: consider making enum 'Code' conform to the 'Sendable' protocol
35 | // MARK: Requests
36 |
:
93 |
94 | /// Classificaiton for the type of error
95 | public let code: Code
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
96 |
97 | /// What operation was being attempted when this error was thrown
[82/94] Compiling Decree DecreeError.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/DecreeError.swift:95:16: warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
32 | ///
33 | /// Check `description` and `details` on error for detailed information about each code
34 | public enum Code {
| `- note: consider making enum 'Code' conform to the 'Sendable' protocol
35 | // MARK: Requests
36 |
:
93 |
94 | /// Classificaiton for the type of error
95 | public let code: Code
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
96 |
97 | /// What operation was being attempted when this error was thrown
[83/94] Compiling Decree DecreeErrorDescribable.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/DecreeError.swift:95:16: warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
32 | ///
33 | /// Check `description` and `details` on error for detailed information about each code
34 | public enum Code {
| `- note: consider making enum 'Code' conform to the 'Sendable' protocol
35 | // MARK: Requests
36 |
:
93 |
94 | /// Classificaiton for the type of error
95 | public let code: Code
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
96 |
97 | /// What operation was being attempted when this error was thrown
[84/94] Compiling Decree EmptyResult.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/DecreeError.swift:95:16: warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
32 | ///
33 | /// Check `description` and `details` on error for detailed information about each code
34 | public enum Code {
| `- note: consider making enum 'Code' conform to the 'Sendable' protocol
35 | // MARK: Requests
36 |
:
93 |
94 | /// Classificaiton for the type of error
95 | public let code: Code
| `- warning: stored property 'code' of 'Sendable'-conforming struct 'DecreeError' has non-sendable type 'DecreeError.Code'; this is an error in the Swift 6 language mode
96 |
97 | /// What operation was being attempted when this error was thrown
[85/94] Compiling Decree ErrorHandling.swift
[86/94] Compiling Decree ErrorResponse.swift
[87/94] Compiling Decree File.swift
[88/94] Compiling Decree InputFormat.swift
[89/94] Compiling Decree Method.swift
[90/94] Compiling Decree KeyValueEncoder.swift
/host/spi-builder-workspace/Sources/Decree/Logger.swift:18:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// endpoints
17 | public struct Logger {
18 | public static var shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public enum Level {
[91/94] Compiling Decree Logger.swift
/host/spi-builder-workspace/Sources/Decree/Logger.swift:18:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// endpoints
17 | public struct Logger {
18 | public static var shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public enum Level {
[92/94] Compiling Decree Expectations.swift
/host/spi-builder-workspace/Sources/Decree/Logger.swift:18:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// endpoints
17 | public struct Logger {
18 | public static var shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public enum Level {
[93/94] Compiling Decree WebService+AllRequestHandling.swift
/host/spi-builder-workspace/Sources/Decree/Logger.swift:18:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// endpoints
17 | public struct Logger {
18 | public static var shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public enum Level {
[94/94] Compiling Decree WebService+Mocking.swift
/host/spi-builder-workspace/Sources/Decree/Logger.swift:18:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | /// endpoints
17 | public struct Logger {
18 | public static var shared = Logger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public enum Level {
Build complete! (12.71s)
Build complete.
{
"dependencies" : [
{
"identity" : "xmlcoder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/MaxDesiatov/XMLCoder.git"
}
],
"manifest_display_name" : "Decree",
"name" : "Decree",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Decree",
"targets" : [
"Decree"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "DecreeTests",
"module_type" : "SwiftTarget",
"name" : "DecreeTests",
"path" : "Tests/DecreeTests",
"sources" : [
"AllRequestHandlingTests.swift",
"AuthenticationTests.swift",
"DecreeErrorTests.swift",
"DownloadTests.swift",
"EmptyResultTests.swift",
"EndpointPropertiesTests.swift",
"FileTests.swift",
"FormDataEncoderTests.swift",
"HTTPStatusTests.swift",
"Helpers/AuthenticatedService.swift",
"Helpers/Data+Helpers.swift",
"Helpers/Decodable+Helpers.swift",
"Helpers/Result+Helpers.swift",
"Helpers/TestMinimalService.swift",
"Helpers/TestNoStandardsService.swift",
"Helpers/TestService.swift",
"Helpers/TestURLSession.swift",
"KeyValueEncoderTests.swift",
"LoggerTests.swift",
"MakeRequestTestCase.swift",
"MockingTests.swift",
"ProgressTests.swift",
"RequestFlowTests.swift",
"ResponseParsingTests.swift",
"StatusCodeValidationTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Decree"
],
"type" : "test"
},
{
"c99name" : "Decree",
"module_type" : "SwiftTarget",
"name" : "Decree",
"path" : "Sources/Decree",
"product_dependencies" : [
"XMLCoder"
],
"product_memberships" : [
"Decree"
],
"sources" : [
"Basic Types/Authorization.swift",
"Basic Types/AuthorizationRequirement.swift",
"Basic Types/DecreeError.swift",
"Basic Types/DecreeErrorDescribable.swift",
"Basic Types/EmptyResult.swift",
"Basic Types/ErrorHandling.swift",
"Basic Types/ErrorResponse.swift",
"Basic Types/File.swift",
"Basic Types/InputFormat.swift",
"Basic Types/Method.swift",
"Basic Types/NoBasicResponse.swift",
"Basic Types/OutputFormat.swift",
"Basic Types/Session.swift",
"Endpoint+MakeRequest.swift",
"Endpoint.swift",
"KeyValueEncoder.swift",
"Logger.swift",
"Mocking/Expectations.swift",
"Mocking/WebService+AllRequestHandling.swift",
"Mocking/WebService+Mocking.swift",
"Mocking/WebServiceMock.swift",
"Private/DecreeRequest.swift",
"Private/DispatchQueue+Async.swift",
"Private/Endpoint+PrivateMakeRequest.swift",
"Private/Expectations+Private.swift",
"Private/FormDataEncoder.swift",
"Private/FormURLEncoder.swift",
"Private/HTTPStatus.swift",
"Private/NSXMLParser_ErrorCode.swift",
"Private/ProgressObserver.swift",
"Private/RequestInput.swift",
"Private/String+Helpers.swift",
"Private/String+TitleCase.swift",
"Private/URLRequest+Logging.swift",
"Private/URLResponse+Logging.swift",
"Private/WebService+MakeRequest.swift",
"Private/WebServiceMock+HandleRequest.swift",
"WebService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.