The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Swiftgger, reference 2.0.0-rc2 (afd6e6), with Swift 6.3 for Linux on 12 Apr 2026 07:06:25 UTC.

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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mczachurski/swiftgger.git
Reference: 2.0.0-rc2
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/mczachurski/swiftgger
 * tag               2.0.0-rc2  -> FETCH_HEAD
HEAD is now at afd6e6c Merge branch 'master' of github.com:mczachurski/Swiftgger
Cloned https://github.com/mczachurski/swiftgger.git
Revision (git rev-parse @):
afd6e6ccd9e7200484f0eda30aa5781125e7585f
SUCCESS checkout https://github.com/mczachurski/swiftgger.git at 2.0.0-rc2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/mczachurski/swiftgger.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/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.30s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.75s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
Building for debugging...
[0/14] Copying URLSession.template
[1/14] Write sources
[5/14] Write swift-version-24593BA9C3E375BF.txt
[7/18] Compiling AnyCodable AnyEncodable.swift
[8/18] Compiling AnyCodable AnyDecodable.swift
[9/18] Compiling AnyCodable AnyCodable.swift
[10/18] Emitting module AnyCodable
[11/19] Wrapping AST for AnyCodable for debugging
[13/78] Compiling Swiftgger APIAction.swift
[14/78] Compiling Swiftgger APIAuthorizationFlow.swift
[15/78] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[16/78] Compiling Swiftgger APIAuthorizationType.swift
[17/78] Compiling Swiftgger APIBodyType.swift
[18/78] Compiling Swiftgger APIContact.swift
[19/78] Compiling Swiftgger APIController.swift
[20/78] Compiling Swiftgger APILicense.swift
[21/78] Compiling Swiftgger APILink.swift
[22/86] Emitting module Swiftgger
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 |     }
109 |
110 |     public func encode(_ value: IndexSet) throws {
    |                 |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |                 |- note: candidate has non-matching type '(IndexSet) throws -> ()'
    |                 `- note: move 'encode' to another extension to silence this warning
111 |         print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 |     }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
[23/86] Compiling Swiftgger APIObject.swift
[24/86] Compiling Swiftgger APIObjectEncodable.swift
[25/86] Compiling Swiftgger APIParameter.swift
[26/86] Compiling Swiftgger APIRequest.swift
[27/86] Compiling Swiftgger APIResponse.swift
[28/86] Compiling Swiftgger APIServer.swift
[29/86] Compiling Swiftgger APIVariable.swift
[30/86] Compiling Swiftgger OpenAPIBuilder.swift
[31/86] Compiling Swiftgger OpenAPIInfoBuilder.swift
[32/86] Compiling Swiftgger OpenAPISecurityBuilder.swift
[33/86] Compiling Swiftgger OpenAPIServersBuilder.swift
[34/86] Compiling Swiftgger OpenAPITagsBuilder.swift
[35/86] Compiling Swiftgger APIDataType.swift
[36/86] Compiling Swiftgger APIHttpMethod.swift
[37/86] Compiling Swiftgger APILocation.swift
[38/86] Compiling Swiftgger MirrorHelper.swift
[39/86] Compiling Swiftgger OpenAPISchemaConverter.swift
[40/86] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[41/86] Compiling Swiftgger OpenAPIOperationBuilder.swift
[42/86] Compiling Swiftgger OpenAPIParametersBuilder.swift
[43/86] Compiling Swiftgger OpenAPIPathsBuilder.swift
[44/86] Compiling Swiftgger OpenAPIRequestBuilder.swift
[45/86] Compiling Swiftgger OpenAPIResponsesBuilder.swift
[46/86] Compiling Swiftgger OpenAPISchemasBuilder.swift
[47/86] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
[48/86] Compiling Swiftgger OpenAPISchemaEncoder.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 |     }
109 |
110 |     public func encode(_ value: IndexSet) throws {
    |                 |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |                 |- note: candidate has non-matching type '(IndexSet) throws -> ()'
    |                 `- note: move 'encode' to another extension to silence this warning
111 |         print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 |     }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
[49/86] Compiling Swiftgger OpenAPISchemaKeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 |     }
109 |
110 |     public func encode(_ value: IndexSet) throws {
    |                 |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |                 |- note: candidate has non-matching type '(IndexSet) throws -> ()'
    |                 `- note: move 'encode' to another extension to silence this warning
111 |         print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 |     }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
[50/86] Compiling Swiftgger OpenAPISchemaStorage.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 |     }
109 |
110 |     public func encode(_ value: IndexSet) throws {
    |                 |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |                 |- note: candidate has non-matching type '(IndexSet) throws -> ()'
    |                 `- note: move 'encode' to another extension to silence this warning
111 |         print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 |     }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
[51/86] Compiling Swiftgger OpenAPISchemaUnkeyedEncodingContainer.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 |     }
109 |
110 |     public func encode(_ value: IndexSet) throws {
    |                 |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |                 |- note: candidate has non-matching type '(IndexSet) throws -> ()'
    |                 `- note: move 'encode' to another extension to silence this warning
111 |         print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 |     }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
[52/86] Compiling Swiftgger PropertyKey.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 |     }
109 |
110 |     public func encode(_ value: IndexSet) throws {
    |                 |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |                 |- note: candidate has non-matching type '(IndexSet) throws -> ()'
    |                 `- note: move 'encode' to another extension to silence this warning
111 |         print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 |     }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
[53/86] Compiling Swiftgger Encodable+openEncode.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 |     }
109 |
110 |     public func encode(_ value: IndexSet) throws {
    |                 |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |                 |- note: candidate has non-matching type '(IndexSet) throws -> ()'
    |                 `- note: move 'encode' to another extension to silence this warning
111 |         print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 |     }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
[54/86] Compiling Swiftgger String+snakeCase.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 |     }
109 |
110 |     public func encode(_ value: IndexSet) throws {
    |                 |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |                 |- note: candidate has non-matching type '(IndexSet) throws -> ()'
    |                 `- note: move 'encode' to another extension to silence this warning
111 |         print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 |     }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
[55/86] Compiling Swiftgger OpenAPIComponents.swift
/host/spi-builder-workspace/Sources/Swiftgger/Encoder/OpenAPISchemaEncoder.swift:110:17: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
108 |     }
109 |
110 |     public func encode(_ value: IndexSet) throws {
    |                 |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |                 |- note: candidate has non-matching type '(IndexSet) throws -> ()'
    |                 `- note: move 'encode' to another extension to silence this warning
111 |         print("(OpenAPISchemaEncoder) Not supported encode(IndexSet)")
112 |     }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
[56/86] Compiling Swiftgger OpenAPILicense.swift
[57/86] Compiling Swiftgger OpenAPILink.swift
[58/86] Compiling Swiftgger OpenAPIMediaType.swift
[59/86] Compiling Swiftgger OpenAPIOAuthFlow.swift
[60/86] Compiling Swiftgger OpenAPIOAuthFlows.swift
[61/86] Compiling Swiftgger OpenAPIOperation.swift
[62/86] Compiling Swiftgger OpenAPIParameter.swift
[63/86] Compiling Swiftgger OpenAPIPathItem.swift
[64/86] Compiling Swiftgger OpenAPIContact.swift
[65/86] Compiling Swiftgger OpenAPIDiscriminator.swift
[66/86] Compiling Swiftgger OpenAPIDocument.swift
[67/86] Compiling Swiftgger OpenAPIEncoding.swift
[68/86] Compiling Swiftgger OpenAPIExample.swift
[69/86] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[70/86] Compiling Swiftgger OpenAPIHeader.swift
[71/86] Compiling Swiftgger OpenAPIInfo.swift
[72/86] Compiling Swiftgger OpenAPIRequestBody.swift
[73/86] Compiling Swiftgger OpenAPIResponse.swift
[74/86] Compiling Swiftgger OpenAPISchema.swift
[75/86] Compiling Swiftgger OpenAPISecurityScheme.swift
[76/86] Compiling Swiftgger OpenAPIServer.swift
[77/86] Compiling Swiftgger OpenAPIServerVariable.swift
[78/86] Compiling Swiftgger OpenAPITag.swift
[79/86] Compiling Swiftgger OpenAPIXML.swift
[80/87] Wrapping AST for Swiftgger for debugging
[82/106] Compiling SwiftggerTestApp main.swift
[83/106] Compiling SwiftggerGenerator main.swift
[84/106] Emitting module SwiftggerTestApp
[85/107] Compiling SwiftggerTestApp Program.swift
[86/107] Compiling SwiftggerTestApp Vehicle.swift
[87/107] Compiling SwiftggerTestApp Fuel.swift
[88/107] Compiling SwiftggerTestApp Species.swift
[89/108] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[90/108] Compiling SwiftggerGenerator Program.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:59:23: error: cannot find 'URLRequest' in scope
 57 |         }
 58 |
 59 |         let request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 60 |         let response = URLSession.shared.synchronousDataTask(urlrequest: request)
 61 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:60:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 58 |
 59 |         let request = URLRequest(url: url)
 60 |         let response = URLSession.shared.synchronousDataTask(urlrequest: request)
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 61 |
 62 |         if let error = response.error {
[91/108] Compiling SwiftggerGenerator SwiftggerError.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:59:23: error: cannot find 'URLRequest' in scope
 57 |         }
 58 |
 59 |         let request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 60 |         let response = URLSession.shared.synchronousDataTask(urlrequest: request)
 61 |
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Program.swift:60:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 58 |
 59 |         let request = URLRequest(url: url)
 60 |         let response = URLSession.shared.synchronousDataTask(urlrequest: request)
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 61 |
 62 |         if let error = response.error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/108] Compiling SwiftggerGenerator ConsoleIO.swift
[94/108] Compiling SwiftggerGenerator OutputType.swift
[95/108] Compiling SwiftggerGenerator OpenAPISchema.swift
[96/108] Compiling SwiftggerGenerator String.swift
[97/108] Emitting module SwiftggerGenerator
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:9:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 7 | import Foundation
 8 |
 9 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
10 |     func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
11 |         var data: Data?
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[98/108] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[99/108] Compiling SwiftggerGenerator ModelSerializer.swift
[100/108] Compiling SwiftggerGenerator OptionType.swift
[101/108] Compiling SwiftggerGenerator URLSession.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:9:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 7 | import Foundation
 8 |
 9 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
10 |     func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
11 |         var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:10:42: error: cannot find type 'URLRequest' in scope
 8 |
 9 | extension URLSession {
10 |     func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
   |                                          `- error: cannot find type 'URLRequest' in scope
11 |         var data: Data?
12 |         var response: URLResponse?
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[102/108] Compiling SwiftggerGenerator HttpClientGenerator.swift
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:9:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
 7 | import Foundation
 8 |
 9 | extension URLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#NominalTypes]
10 |     func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
11 |         var data: Data?
/host/spi-builder-workspace/Sources/SwiftggerGenerator/Extensions/URLSession.swift:10:42: error: cannot find type 'URLRequest' in scope
 8 |
 9 | extension URLSession {
10 |     func synchronousDataTask(urlrequest: URLRequest) -> (data: Data?, response: URLResponse?, error: Error?) {
   |                                          `- error: cannot find type 'URLRequest' in scope
11 |         var data: Data?
12 |         var response: URLResponse?
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[102/108] Wrapping AST for SwiftggerTestApp for debugging
[103/108] Write Objects.LinkFileList
[104/108] Linking swiftgger-test-app
BUILD FAILURE 6.3 linux