Build Information
Successful build of Decree, reference master (dc5638), with Swift 6.3 for Linux on 11 Apr 2026 20:07:42 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/drewag/Decree
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at dc5638d [UP] Update to latest XMLCoder
Cloned https://github.com/drewag/Decree.git
Revision (git rev-parse @):
dc5638d1a30595a0d65e59fd950f34a982b0cec0
SUCCESS checkout https://github.com/drewag/Decree.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/drewag/Decree.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/MaxDesiatov/XMLCoder.git
[1/10092] Fetching xmlcoder
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (0.48s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.18.1 (1.00s)
Creating working copy for https://github.com/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.18.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/49] Emitting module XMLCoder
[5/55] Compiling XMLCoder DoubleBox.swift
[6/55] Compiling XMLCoder FloatBox.swift
[7/55] Compiling XMLCoder IntBox.swift
[8/55] Compiling XMLCoder KeyedBox.swift
[9/55] Compiling XMLCoder NullBox.swift
[10/55] Compiling XMLCoder SharedBox.swift
[11/55] Compiling XMLCoder SingleKeyedBox.swift
[12/55] Compiling XMLCoder ISO8601DateFormatter.swift
[13/55] Compiling XMLCoder KeyedStorage.swift
[14/55] Compiling XMLCoder Metatypes.swift
[15/55] Compiling XMLCoder String+Extensions.swift
[16/55] Compiling XMLCoder Utils.swift
[17/55] Compiling XMLCoder XMLChoiceCodingKey.swift
[18/55] Compiling XMLCoder XMLEncoder.swift
[19/55] Compiling XMLCoder XMLEncoderImplementation.swift
[20/55] Compiling XMLCoder XMLEncodingStorage.swift
[21/55] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[22/55] Compiling XMLCoder XMLReferencingEncoder.swift
[23/55] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[24/55] Compiling XMLCoder StringBox.swift
[25/55] Compiling XMLCoder UIntBox.swift
[26/55] Compiling XMLCoder URLBox.swift
[27/55] Compiling XMLCoder UnkeyedBox.swift
[28/55] Compiling XMLCoder ValueBox.swift
[29/55] Compiling XMLCoder Element.swift
[30/55] Compiling XMLCoder ElementAndAttribute.swift
[31/55] Compiling XMLCoder Attribute.swift
[32/55] Compiling XMLCoder BoolBox.swift
[33/55] Compiling XMLCoder Box.swift
[34/55] Compiling XMLCoder ChoiceBox.swift
[35/55] Compiling XMLCoder DataBox.swift
[36/55] Compiling XMLCoder DateBox.swift
[37/55] Compiling XMLCoder DecimalBox.swift
[38/55] Compiling XMLCoder XMLCoderElement.swift
[39/55] Compiling XMLCoder XMLDocumentType.swift
[40/55] Compiling XMLCoder XMLHeader.swift
[41/55] Compiling XMLCoder XMLKey.swift
[42/55] Compiling XMLCoder XMLStackParser.swift
[43/55] Compiling XMLCoder DecodingErrorExtension.swift
[44/55] Compiling XMLCoder DynamicNodeDecoding.swift
[45/55] Compiling XMLCoder SingleValueDecodingContainer.swift
[46/55] Compiling XMLCoder XMLChoiceDecodingContainer.swift
[47/55] Compiling XMLCoder XMLDecoder.swift
[48/55] Compiling XMLCoder XMLDecoderImplementation.swift
[49/55] Compiling XMLCoder XMLDecodingStorage.swift
[50/55] Compiling XMLCoder XMLKeyedDecodingContainer.swift
[51/55] Compiling XMLCoder XMLUnkeyedDecodingContainer.swift
[52/55] Compiling XMLCoder DynamicNodeEncoding.swift
[53/55] Compiling XMLCoder EncodingErrorExtension.swift
[54/55] Compiling XMLCoder SingleValueEncodingContainer.swift
[55/55] Compiling XMLCoder XMLChoiceEncodingContainer.swift
[57/91] Emitting module Decree
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[58/95] Compiling Decree ErrorHandling.swift
[59/95] Compiling Decree ErrorResponse.swift
[60/95] Compiling Decree File.swift
[61/95] Compiling Decree InputFormat.swift
[62/95] Compiling Decree Method.swift
[63/95] Compiling Decree NoBasicResponse.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
[64/95] Compiling Decree OutputFormat.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
[65/95] Compiling Decree Session.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
[66/95] Compiling Decree Endpoint+MakeRequest.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
[67/95] Compiling Decree Endpoint.swift
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
20 | // init(configuration: URLSessionConfiguration, delegate: URLSessionDelegate?, delegateQueue queue: OperationQueue?)
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
| `- note: expected sendability to match requirement here
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
/host/spi-builder-workspace/Sources/Decree/Basic Types/Session.swift:26:1: warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
21 |
22 | func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
23 | func downloadTask(with request: URLRequest, completionHandler: @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask
| `- note: expected sendability to match requirement here
24 | }
25 |
26 | extension URLSession: Session {}
| `- warning: sendability of function types in instance method 'downloadTask(with:completionHandler:)' does not match requirement in protocol 'Session'; this is an error in the Swift 6 language mode
27 |
[68/95] Compiling Decree FormDataEncoder.swift
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[69/95] Compiling Decree FormURLEncoder.swift
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[70/95] Compiling Decree HTTPStatus.swift
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[71/95] Compiling Decree NSXMLParser_ErrorCode.swift
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[72/95] Compiling Decree ProgressObserver.swift
/host/spi-builder-workspace/Sources/Decree/Private/NSXMLParser_ErrorCode.swift:13:1: warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
11 | #endif
12 |
13 | extension XMLParser.ErrorCode: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'ErrorCode' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'FoundationXML' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
14 | public var description: String {
15 | switch self {
[73/95] Compiling Decree RequestInput.swift
[74/95] Compiling Decree String+Helpers.swift
[75/95] Compiling Decree String+TitleCase.swift
[76/95] Compiling Decree URLRequest+Logging.swift
[77/95] Compiling Decree Authorization.swift
[78/95] Compiling Decree AuthorizationRequirement.swift
[79/95] Compiling Decree DecreeError.swift
[80/95] Compiling Decree DecreeErrorDescribable.swift
[81/95] Compiling Decree EmptyResult.swift
[82/95] Compiling Decree WebServiceMock.swift
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:13:34: warning: passing non-Sendable parameter 'execute' to function expecting a '@Sendable' closure
9 |
10 | extension Optional where Wrapped == DispatchQueue {
11 | func async(execute: @escaping () -> ()) {
| `- note: parameter 'execute' is implicitly non-Sendable
12 | if let queue = self {
13 | queue.async(execute: execute)
| `- warning: passing non-Sendable parameter 'execute' to function expecting a '@Sendable' closure
14 | }
15 | else {
[83/95] Compiling Decree DecreeRequest.swift
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:13:34: warning: passing non-Sendable parameter 'execute' to function expecting a '@Sendable' closure
9 |
10 | extension Optional where Wrapped == DispatchQueue {
11 | func async(execute: @escaping () -> ()) {
| `- note: parameter 'execute' is implicitly non-Sendable
12 | if let queue = self {
13 | queue.async(execute: execute)
| `- warning: passing non-Sendable parameter 'execute' to function expecting a '@Sendable' closure
14 | }
15 | else {
[84/95] Compiling Decree DispatchQueue+Async.swift
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:13:34: warning: passing non-Sendable parameter 'execute' to function expecting a '@Sendable' closure
9 |
10 | extension Optional where Wrapped == DispatchQueue {
11 | func async(execute: @escaping () -> ()) {
| `- note: parameter 'execute' is implicitly non-Sendable
12 | if let queue = self {
13 | queue.async(execute: execute)
| `- warning: passing non-Sendable parameter 'execute' to function expecting a '@Sendable' closure
14 | }
15 | else {
[85/95] Compiling Decree Endpoint+PrivateMakeRequest.swift
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:13:34: warning: passing non-Sendable parameter 'execute' to function expecting a '@Sendable' closure
9 |
10 | extension Optional where Wrapped == DispatchQueue {
11 | func async(execute: @escaping () -> ()) {
| `- note: parameter 'execute' is implicitly non-Sendable
12 | if let queue = self {
13 | queue.async(execute: execute)
| `- warning: passing non-Sendable parameter 'execute' to function expecting a '@Sendable' closure
14 | }
15 | else {
[86/95] Compiling Decree Expectations+Private.swift
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:147:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
145 | ///
146 | /// - Returns: the created request
147 | func createRequest<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
148 | let url = try self.createUrl(to: endpoint, input: input)
149 | return try self.createRequest(to: url, for: endpoint, input: input)
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:161:24: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
159 | ///
160 | /// - Returns: the created request
161 | func createRequest<E: Endpoint>(to url: URL, for endpoint: E, input: RequestInput) throws -> URLRequest {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
162 | var request = URLRequest(url: url)
163 | request.httpMethod = E.method.rawValue
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:215:20: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
213 | ///
214 | /// - Returns: the URL to send the input to
215 | func createUrl<E: Endpoint>(to endpoint: E, input: RequestInput) throws -> URL {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
216 | var withoutQuery = endpoint.baseURLOverride ?? self.service.baseURL
217 | if !endpoint.path.isEmpty {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:238:27: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
236 | }
237 |
238 | func addAuthorization<E: Endpoint>(to request: inout URLRequest, isRequired: Bool, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
239 | switch self.service.authorization {
240 | case .none:
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:256:28: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
254 | }
255 |
256 | func automaticValidate<E: Endpoint>(_ response: URLResponse, for endpoint: E) throws {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
257 | guard let response = response as? HTTPURLResponse else {
258 | return
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:336:17: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
334 | }
335 |
336 | func handle<E: Endpoint>(_ error: Error, withResponse response: URLResponse, output: Output?, endpoint: E) -> ErrorHandling {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
337 | let loadedData: Data?
338 | if let output = output {
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:367:14: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
365 |
366 | private extension DecreeRequest {
367 | func log<E: Endpoint>(_ request: URLRequest, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
368 | Logger.shared.logInfo("""
369 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DecreeRequest.swift:378:22: warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 | #endif
12 |
13 | class DecreeRequest<E: Endpoint, S: WebService> {
| `- note: 'E' previously declared here
14 | enum Output {
15 | case data(Data)
:
376 | }
377 |
378 | func logResponse<E: Endpoint>(output: Output?, response: URLResponse?, error: Error?, for endpoint: E) {
| `- warning: generic parameter 'E' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
379 | var log = """
380 | --------------------------------------------------------------
/host/spi-builder-workspace/Sources/Decree/Private/DispatchQueue+Async.swift:13:34: warning: passing non-Sendable parameter 'execute' to function expecting a '@Sendable' closure
9 |
10 | extension Optional where Wrapped == DispatchQueue {
11 | func async(execute: @escaping () -> ()) {
| `- note: parameter 'execute' is implicitly non-Sendable
12 | if let queue = self {
13 | queue.async(execute: execute)
| `- warning: passing non-Sendable parameter 'execute' to function expecting a '@Sendable' closure
14 | }
15 | else {
[87/95] Compiling Decree URLResponse+Logging.swift
[88/95] Compiling Decree WebService+MakeRequest.swift
[89/95] Compiling Decree WebServiceMock+HandleRequest.swift
[90/95] Compiling Decree WebService.swift
[91/95] Compiling Decree KeyValueEncoder.swift
[92/95] Compiling Decree Logger.swift
[93/95] Compiling Decree Expectations.swift
[94/95] Compiling Decree WebService+AllRequestHandling.swift
[95/95] Compiling Decree WebService+Mocking.swift
Build complete! (20.28s)
Build complete.
{
"dependencies" : [
{
"identity" : "xmlcoder",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/MaxDesiatov/XMLCoder.git"
}
],
"manifest_display_name" : "Decree",
"name" : "Decree",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Decree",
"targets" : [
"Decree"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "DecreeTests",
"module_type" : "SwiftTarget",
"name" : "DecreeTests",
"path" : "Tests/DecreeTests",
"sources" : [
"AllRequestHandlingTests.swift",
"AuthenticationTests.swift",
"DecreeErrorTests.swift",
"DownloadTests.swift",
"EmptyResultTests.swift",
"EndpointPropertiesTests.swift",
"FileTests.swift",
"FormDataEncoderTests.swift",
"HTTPStatusTests.swift",
"Helpers/AuthenticatedService.swift",
"Helpers/Data+Helpers.swift",
"Helpers/Decodable+Helpers.swift",
"Helpers/Result+Helpers.swift",
"Helpers/TestMinimalService.swift",
"Helpers/TestNoStandardsService.swift",
"Helpers/TestService.swift",
"Helpers/TestURLSession.swift",
"KeyValueEncoderTests.swift",
"LoggerTests.swift",
"MakeRequestTestCase.swift",
"MockingTests.swift",
"ProgressTests.swift",
"RequestFlowTests.swift",
"ResponseParsingTests.swift",
"StatusCodeValidationTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Decree"
],
"type" : "test"
},
{
"c99name" : "Decree",
"module_type" : "SwiftTarget",
"name" : "Decree",
"path" : "Sources/Decree",
"product_dependencies" : [
"XMLCoder"
],
"product_memberships" : [
"Decree"
],
"sources" : [
"Basic Types/Authorization.swift",
"Basic Types/AuthorizationRequirement.swift",
"Basic Types/DecreeError.swift",
"Basic Types/DecreeErrorDescribable.swift",
"Basic Types/EmptyResult.swift",
"Basic Types/ErrorHandling.swift",
"Basic Types/ErrorResponse.swift",
"Basic Types/File.swift",
"Basic Types/InputFormat.swift",
"Basic Types/Method.swift",
"Basic Types/NoBasicResponse.swift",
"Basic Types/OutputFormat.swift",
"Basic Types/Session.swift",
"Endpoint+MakeRequest.swift",
"Endpoint.swift",
"KeyValueEncoder.swift",
"Logger.swift",
"Mocking/Expectations.swift",
"Mocking/WebService+AllRequestHandling.swift",
"Mocking/WebService+Mocking.swift",
"Mocking/WebServiceMock.swift",
"Private/DecreeRequest.swift",
"Private/DispatchQueue+Async.swift",
"Private/Endpoint+PrivateMakeRequest.swift",
"Private/Expectations+Private.swift",
"Private/FormDataEncoder.swift",
"Private/FormURLEncoder.swift",
"Private/HTTPStatus.swift",
"Private/NSXMLParser_ErrorCode.swift",
"Private/ProgressObserver.swift",
"Private/RequestInput.swift",
"Private/String+Helpers.swift",
"Private/String+TitleCase.swift",
"Private/URLRequest+Logging.swift",
"Private/URLResponse+Logging.swift",
"Private/WebService+MakeRequest.swift",
"Private/WebServiceMock+HandleRequest.swift",
"WebService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.