Build Information
Successful build of Decree, reference master (dc5638), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 19:32:53 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewag/Decree.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/10092] Fetching xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (1.06s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.18.1 (1.64s)
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.18.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "decree",
"name": "Decree",
"url": "https://github.com/drewag/Decree.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Decree",
"traits": [
"default"
],
"dependencies": [
{
"identity": "xmlcoder",
"name": "XMLCoder",
"url": "https://github.com/MaxDesiatov/XMLCoder.git",
"version": "0.18.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XMLCoder",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/drewag/Decree.git
[1/1272] Fetching decree
Fetched https://github.com/drewag/Decree.git from cache (0.94s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git from cache
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.45s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.18.1 (0.51s)
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.18.1
Creating working copy for https://github.com/drewag/Decree.git
Working copy of https://github.com/drewag/Decree.git resolved at master (dc5638d)
warning: '.resolve-product-dependencies': dependency 'decree' is not used by any target
Found 1 product dependencies
- XMLCoder
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/drewag/Decree.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/50] Emitting module XMLCoder
[5/55] Compiling XMLCoder URLBox.swift
[6/55] Compiling XMLCoder UnkeyedBox.swift
[7/55] Compiling XMLCoder ValueBox.swift
[8/55] Compiling XMLCoder Element.swift
[9/55] Compiling XMLCoder ElementAndAttribute.swift
[10/55] Compiling XMLCoder Attribute.swift
[11/55] Compiling XMLCoder BoolBox.swift
[12/55] Compiling XMLCoder Box.swift
[13/55] Compiling XMLCoder ChoiceBox.swift
[14/55] Compiling XMLCoder DataBox.swift
[15/55] Compiling XMLCoder DateBox.swift
[16/55] Compiling XMLCoder ISO8601DateFormatter.swift
[17/55] Compiling XMLCoder KeyedStorage.swift
[18/55] Compiling XMLCoder Metatypes.swift
[19/55] Compiling XMLCoder String+Extensions.swift
[20/55] Compiling XMLCoder Utils.swift
[21/55] Compiling XMLCoder XMLStackParser.swift
[22/55] Compiling XMLCoder DecodingErrorExtension.swift
[23/55] Compiling XMLCoder DynamicNodeDecoding.swift
[24/55] Compiling XMLCoder SingleValueDecodingContainer.swift
[25/55] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[26/55] Compiling XMLCoder XMLEncoderImplementation.swift
[27/55] Compiling XMLCoder XMLEncodingStorage.swift
[28/55] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[29/55] Compiling XMLCoder XMLReferencingEncoder.swift
[30/55] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[31/55] Compiling XMLCoder DecimalBox.swift
[32/55] Compiling XMLCoder DoubleBox.swift
[33/55] Compiling XMLCoder FloatBox.swift
[34/55] Compiling XMLCoder IntBox.swift
[35/55] Compiling XMLCoder KeyedBox.swift
[36/55] Compiling XMLCoder DynamicNodeEncoding.swift
[37/55] Compiling XMLCoder EncodingErrorExtension.swift
[38/55] Compiling XMLCoder SingleValueEncodingContainer.swift
[39/55] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[40/55] Compiling XMLCoder XMLEncoder.swift
[41/55] Compiling XMLCoder XMLChoiceCodingKey.swift
[42/55] Compiling XMLCoder XMLCoderElement.swift
[43/55] Compiling XMLCoder XMLDocumentType.swift
[44/55] Compiling XMLCoder XMLHeader.swift
[45/55] Compiling XMLCoder XMLKey.swift
[46/55] Compiling XMLCoder NullBox.swift
[47/55] Compiling XMLCoder SharedBox.swift
[48/55] Compiling XMLCoder SingleKeyedBox.swift
[49/55] Compiling XMLCoder StringBox.swift
[50/55] Compiling XMLCoder UIntBox.swift
[51/55] Compiling XMLCoder XMLDecoder.swift
[52/55] Compiling XMLCoder XMLDecoderImplementation.swift
[53/55] Compiling XMLCoder XMLDecodingStorage.swift
[54/55] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[55/55] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[56/91] Compiling Decree InputFormat.swift
[57/91] Compiling Decree Method.swift
[58/91] Compiling Decree NoBasicResponse.swift
[59/91] Compiling Decree OutputFormat.swift
[60/94] Compiling Decree NSXMLParser_ErrorCode.swift
/Users/admin/builder/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 'Foundation' 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 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:15:9: warning: switch covers known cases, but 'XMLParser.ErrorCode' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
14 | public var description: String {
15 | switch self {
| |- warning: switch covers known cases, but 'XMLParser.ErrorCode' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
16 | case .internalError:
17 | return "The parser object encountered an internal error."
[61/94] Compiling Decree ProgressObserver.swift
/Users/admin/builder/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 'Foundation' 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 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:15:9: warning: switch covers known cases, but 'XMLParser.ErrorCode' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
14 | public var description: String {
15 | switch self {
| |- warning: switch covers known cases, but 'XMLParser.ErrorCode' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
16 | case .internalError:
17 | return "The parser object encountered an internal error."
[62/94] Compiling Decree RequestInput.swift
/Users/admin/builder/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 'Foundation' 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 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:15:9: warning: switch covers known cases, but 'XMLParser.ErrorCode' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
14 | public var description: String {
15 | switch self {
| |- warning: switch covers known cases, but 'XMLParser.ErrorCode' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
16 | case .internalError:
17 | return "The parser object encountered an internal error."
[63/94] Compiling Decree String+Helpers.swift
/Users/admin/builder/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 'Foundation' 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 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:15:9: warning: switch covers known cases, but 'XMLParser.ErrorCode' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
14 | public var description: String {
15 | switch self {
| |- warning: switch covers known cases, but 'XMLParser.ErrorCode' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
16 | case .internalError:
17 | return "The parser object encountered an internal error."
[64/94] Emitting module Decree
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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:
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 | --------------------------------------------------------------
/Users/admin/builder/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 | --------------------------------------------------------------
/Users/admin/builder/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 'Foundation' 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 'Foundation' 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 EmptyResult.swift
[66/94] Compiling Decree ErrorHandling.swift
[67/94] Compiling Decree ErrorResponse.swift
[68/94] Compiling Decree File.swift
[69/94] Compiling Decree Expectations+Private.swift
[70/94] Compiling Decree FormDataEncoder.swift
[71/94] Compiling Decree FormURLEncoder.swift
[72/94] Compiling Decree HTTPStatus.swift
[73/94] Compiling Decree String+TitleCase.swift
[74/94] Compiling Decree URLRequest+Logging.swift
[75/94] Compiling Decree URLResponse+Logging.swift
[76/94] Compiling Decree Logger.swift
[77/94] Compiling Decree Expectations.swift
[78/94] Compiling Decree WebService+AllRequestHandling.swift
[79/94] Compiling Decree WebService+Mocking.swift
[80/94] Compiling Decree Authorization.swift
[81/94] Compiling Decree AuthorizationRequirement.swift
[82/94] Compiling Decree DecreeError.swift
[83/94] Compiling Decree DecreeErrorDescribable.swift
[84/94] Compiling Decree WebServiceMock.swift
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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:
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 | --------------------------------------------------------------
/Users/admin/builder/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 | --------------------------------------------------------------
[85/94] Compiling Decree DecreeRequest.swift
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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:
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 | --------------------------------------------------------------
/Users/admin/builder/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 | --------------------------------------------------------------
[86/94] Compiling Decree DispatchQueue+Async.swift
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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:
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 | --------------------------------------------------------------
/Users/admin/builder/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 | --------------------------------------------------------------
[87/94] Compiling Decree Endpoint+PrivateMakeRequest.swift
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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:
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 | --------------------------------------------------------------
/Users/admin/builder/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 | --------------------------------------------------------------
[88/94] Compiling Decree Session.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[89/94] Compiling Decree Endpoint+MakeRequest.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[90/94] Compiling Decree Endpoint.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[91/94] Compiling Decree KeyValueEncoder.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[92/94] Compiling Decree WebService+MakeRequest.swift
[93/94] Compiling Decree WebServiceMock+HandleRequest.swift
[94/94] Compiling Decree WebService.swift
Build complete! (6.70s)
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" : "/Users/admin/builder/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"
}
Done.