The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Decree, reference master (dc5638), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 17:15:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/drewag/Decree.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/49] Emitting module XMLCoder
[5/54] Compiling XMLCoder DateBox.swift
[6/54] Compiling XMLCoder DecimalBox.swift
[7/54] Compiling XMLCoder DoubleBox.swift
[8/54] Compiling XMLCoder FloatBox.swift
[9/54] Compiling XMLCoder IntBox.swift
[10/54] Compiling XMLCoder XMLEncoderImplementation.swift
[11/54] Compiling XMLCoder XMLEncodingStorage.swift
[12/54] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[13/54] Compiling XMLCoder XMLReferencingEncoder.swift
[14/54] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[15/54] Compiling XMLCoder Attribute.swift
[16/54] Compiling XMLCoder BoolBox.swift
[17/54] Compiling XMLCoder Box.swift
[18/54] Compiling XMLCoder ChoiceBox.swift
[19/54] Compiling XMLCoder DataBox.swift
[20/54] Compiling XMLCoder ElementAndAttribute.swift
[21/54] Compiling XMLCoder ISO8601DateFormatter.swift
[22/54] Compiling XMLCoder KeyedStorage.swift
[23/54] Compiling XMLCoder Metatypes.swift
[24/54] Compiling XMLCoder String+Extensions.swift
[25/54] Compiling XMLCoder XMLStackParser.swift
[26/54] Compiling XMLCoder DecodingErrorExtension.swift
[27/54] Compiling XMLCoder DynamicNodeDecoding.swift
[28/54] Compiling XMLCoder SingleValueDecodingContainer.swift
[29/54] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[30/54] Compiling XMLCoder UIntBox.swift
[31/54] Compiling XMLCoder URLBox.swift
[32/54] Compiling XMLCoder UnkeyedBox.swift
[33/54] Compiling XMLCoder ValueBox.swift
[34/54] Compiling XMLCoder Element.swift
[35/54] Compiling XMLCoder XMLChoiceCodingKey.swift
[36/54] Compiling XMLCoder XMLCoderElement.swift
[37/54] Compiling XMLCoder XMLDocumentType.swift
[38/54] Compiling XMLCoder XMLHeader.swift
[39/54] Compiling XMLCoder XMLKey.swift
[40/54] Compiling XMLCoder XMLDecoder.swift
[41/54] Compiling XMLCoder XMLDecoderImplementation.swift
[42/54] Compiling XMLCoder XMLDecodingStorage.swift
[43/54] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[44/54] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[45/54] Compiling XMLCoder DynamicNodeEncoding.swift
[46/54] Compiling XMLCoder EncodingErrorExtension.swift
[47/54] Compiling XMLCoder SingleValueEncodingContainer.swift
[48/54] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[49/54] Compiling XMLCoder XMLEncoder.swift
[50/54] Compiling XMLCoder KeyedBox.swift
[51/54] Compiling XMLCoder NullBox.swift
[52/54] Compiling XMLCoder SharedBox.swift
[53/54] Compiling XMLCoder SingleKeyedBox.swift
[54/54] Compiling XMLCoder StringBox.swift
[55/90] 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."
[56/90] 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."
[57/90] 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."
[58/90] 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."
[59/93] Compiling Decree String+TitleCase.swift
[60/93] Compiling Decree URLRequest+Logging.swift
[61/93] Compiling Decree URLResponse+Logging.swift
[62/93] 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 {
[63/93] Compiling Decree Expectations+Private.swift
[64/93] Compiling Decree FormDataEncoder.swift
[65/93] Compiling Decree FormURLEncoder.swift
[66/93] Compiling Decree HTTPStatus.swift
[67/93] Compiling Decree InputFormat.swift
[68/93] Compiling Decree Method.swift
[69/93] Compiling Decree NoBasicResponse.swift
[70/93] Compiling Decree OutputFormat.swift
[71/93] Compiling Decree Logger.swift
[72/93] Compiling Decree Expectations.swift
[73/93] Compiling Decree WebService+AllRequestHandling.swift
[74/93] Compiling Decree WebService+Mocking.swift
[75/93] 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 |             --------------------------------------------------------------
[76/93] 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 |             --------------------------------------------------------------
[77/93] 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 |             --------------------------------------------------------------
[78/93] 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 |             --------------------------------------------------------------
[79/93] Compiling Decree EmptyResult.swift
[80/93] Compiling Decree ErrorHandling.swift
[81/93] Compiling Decree ErrorResponse.swift
[82/93] Compiling Decree File.swift
[83/93] Compiling Decree Authorization.swift
[84/93] Compiling Decree AuthorizationRequirement.swift
[85/93] Compiling Decree DecreeError.swift
[86/93] Compiling Decree DecreeErrorDescribable.swift
[87/93] 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 |
[88/93] 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 |
[89/93] 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 |
[90/93] 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 |
[91/93] Compiling Decree WebService+MakeRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:15:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
 13 |             let next = try self.nextExpectation(for: endpoint)
 14 |             switch next {
 15 |             case let expectation as EmptyExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 16 |                 try expectation.validate(path: endpoint.path, for: endpoint)
 17 |                 try expectation.validate(endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:37:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
 35 |             let next = try self.nextExpectation(for: endpoint)
 36 |             switch next {
 37 |             case let expectation as InExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 38 |                 try expectation.validate(path: endpoint.path, for: endpoint)
 39 |                 try expectation.validate(endpoint, input: input)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:55:81: warning: capture of non-sendable type 'E.Type' in an isolated closure
 53 |     }
 54 |
 55 |     func handle<E: OutEndpoint>(for endpoint: E, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: Result<E.Output, DecreeError>) -> ()) {
    |                                                                                 `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 56 |         do {
 57 |             let next = try self.nextExpectation(for: endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:81:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
 79 |             let next = try self.nextExpectation(for: endpoint)
 80 |             switch next {
 81 |             case let expectation as OutDownloadExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 82 |                 try expectation.validate(path: endpoint.path, for: endpoint)
 83 |                 try expectation.validate(endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:99:99: warning: capture of non-sendable type 'E.Type' in an isolated closure
 97 |     }
 98 |
 99 |     func handle<E: InOutEndpoint>(for endpoint: E, input: E.Input, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: Result<E.Output, DecreeError>) -> ()) where E.Input: Encodable {
    |                                                                                                   `- warning: capture of non-sendable type 'E.Type' in an isolated closure
100 |         do {
101 |             let next = try self.nextExpectation(for: endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:125:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
123 |             let next = try self.nextExpectation(for: endpoint)
124 |             switch next {
125 |             case let expectation as InOutDownloadExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
126 |                 try expectation.validate(path: endpoint.path, for: endpoint)
127 |                 try expectation.validate(endpoint, input: input)
[92/93] Compiling Decree WebServiceMock+HandleRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:15:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
 13 |             let next = try self.nextExpectation(for: endpoint)
 14 |             switch next {
 15 |             case let expectation as EmptyExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 16 |                 try expectation.validate(path: endpoint.path, for: endpoint)
 17 |                 try expectation.validate(endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:37:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
 35 |             let next = try self.nextExpectation(for: endpoint)
 36 |             switch next {
 37 |             case let expectation as InExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 38 |                 try expectation.validate(path: endpoint.path, for: endpoint)
 39 |                 try expectation.validate(endpoint, input: input)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:55:81: warning: capture of non-sendable type 'E.Type' in an isolated closure
 53 |     }
 54 |
 55 |     func handle<E: OutEndpoint>(for endpoint: E, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: Result<E.Output, DecreeError>) -> ()) {
    |                                                                                 `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 56 |         do {
 57 |             let next = try self.nextExpectation(for: endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:81:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
 79 |             let next = try self.nextExpectation(for: endpoint)
 80 |             switch next {
 81 |             case let expectation as OutDownloadExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 82 |                 try expectation.validate(path: endpoint.path, for: endpoint)
 83 |                 try expectation.validate(endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:99:99: warning: capture of non-sendable type 'E.Type' in an isolated closure
 97 |     }
 98 |
 99 |     func handle<E: InOutEndpoint>(for endpoint: E, input: E.Input, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: Result<E.Output, DecreeError>) -> ()) where E.Input: Encodable {
    |                                                                                                   `- warning: capture of non-sendable type 'E.Type' in an isolated closure
100 |         do {
101 |             let next = try self.nextExpectation(for: endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:125:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
123 |             let next = try self.nextExpectation(for: endpoint)
124 |             switch next {
125 |             case let expectation as InOutDownloadExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
126 |                 try expectation.validate(path: endpoint.path, for: endpoint)
127 |                 try expectation.validate(endpoint, input: input)
[93/93] Compiling Decree WebService.swift
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:15:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
 13 |             let next = try self.nextExpectation(for: endpoint)
 14 |             switch next {
 15 |             case let expectation as EmptyExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 16 |                 try expectation.validate(path: endpoint.path, for: endpoint)
 17 |                 try expectation.validate(endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:37:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
 35 |             let next = try self.nextExpectation(for: endpoint)
 36 |             switch next {
 37 |             case let expectation as InExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 38 |                 try expectation.validate(path: endpoint.path, for: endpoint)
 39 |                 try expectation.validate(endpoint, input: input)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:55:81: warning: capture of non-sendable type 'E.Type' in an isolated closure
 53 |     }
 54 |
 55 |     func handle<E: OutEndpoint>(for endpoint: E, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: Result<E.Output, DecreeError>) -> ()) {
    |                                                                                 `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 56 |         do {
 57 |             let next = try self.nextExpectation(for: endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:81:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
 79 |             let next = try self.nextExpectation(for: endpoint)
 80 |             switch next {
 81 |             case let expectation as OutDownloadExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
 82 |                 try expectation.validate(path: endpoint.path, for: endpoint)
 83 |                 try expectation.validate(endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:99:99: warning: capture of non-sendable type 'E.Type' in an isolated closure
 97 |     }
 98 |
 99 |     func handle<E: InOutEndpoint>(for endpoint: E, input: E.Input, callbackQueue: DispatchQueue?, onComplete: @escaping (_ result: Result<E.Output, DecreeError>) -> ()) where E.Input: Encodable {
    |                                                                                                   `- warning: capture of non-sendable type 'E.Type' in an isolated closure
100 |         do {
101 |             let next = try self.nextExpectation(for: endpoint)
/Users/admin/builder/spi-builder-workspace/Sources/Decree/Private/WebServiceMock+HandleRequest.swift:125:22: warning: capture of non-sendable type 'E.Type' in an isolated closure
123 |             let next = try self.nextExpectation(for: endpoint)
124 |             switch next {
125 |             case let expectation as InOutDownloadExpectation<E>:
    |                      `- warning: capture of non-sendable type 'E.Type' in an isolated closure
126 |                 try expectation.validate(path: endpoint.path, for: endpoint)
127 |                 try expectation.validate(endpoint, input: input)
Build complete! (8.99s)
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/10060] Fetching xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (1.27s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.17.1 (1.81s)
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.17.1
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.