Build Information
Failed to build Swiftgger, reference 2.0.0-rc2 (afd6e6
), with Swift 6.2 (beta) for Android on 19 Jun 2025 00:24:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/mczachurski/swiftgger.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.24s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.92s)
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] Write sources
[2/14] Copying URLSession.template
[2/14] Write sources
[5/14] Write swift-version-8C5A4AE7A8CE2BA.txt
[7/18] Compiling AnyCodable AnyCodable.swift
[8/18] Emitting module AnyCodable
[9/18] Compiling AnyCodable AnyDecodable.swift
[10/18] Compiling AnyCodable AnyEncodable.swift
[11/19] Wrapping AST for AnyCodable for debugging
[13/78] Compiling Swiftgger OpenAPISecurityBuilder.swift
[14/78] Compiling Swiftgger OpenAPIServersBuilder.swift
[15/78] Compiling Swiftgger OpenAPITagsBuilder.swift
[16/78] Compiling Swiftgger APIDataType.swift
[17/78] Compiling Swiftgger APIHttpMethod.swift
[18/78] Compiling Swiftgger APILocation.swift
[19/78] Compiling Swiftgger MirrorHelper.swift
[20/78] Compiling Swiftgger OpenAPISchemaConverter.swift
[21/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 |
[22/86] Compiling Swiftgger OpenAPIContact.swift
[23/86] Compiling Swiftgger OpenAPIDiscriminator.swift
[24/86] Compiling Swiftgger OpenAPIDocument.swift
[25/86] Compiling Swiftgger OpenAPIEncoding.swift
[26/86] Compiling Swiftgger OpenAPIExample.swift
[27/86] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[28/86] Compiling Swiftgger OpenAPIHeader.swift
[29/86] Compiling Swiftgger OpenAPIInfo.swift
[30/86] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[31/86] Compiling Swiftgger OpenAPIOperationBuilder.swift
[32/86] Compiling Swiftgger OpenAPIParametersBuilder.swift
[33/86] Compiling Swiftgger OpenAPIPathsBuilder.swift
[34/86] Compiling Swiftgger OpenAPIRequestBuilder.swift
[35/86] Compiling Swiftgger OpenAPIResponsesBuilder.swift
[36/86] Compiling Swiftgger OpenAPISchemasBuilder.swift
[37/86] Compiling Swiftgger OpenAPISecurityActionsBuilder.swift
[38/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 |
[39/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 |
[40/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 |
[41/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 |
[42/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 |
[43/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 |
[44/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 |
[45/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 |
[46/86] Compiling Swiftgger APIObject.swift
[47/86] Compiling Swiftgger APIObjectEncodable.swift
[48/86] Compiling Swiftgger APIParameter.swift
[49/86] Compiling Swiftgger APIRequest.swift
[50/86] Compiling Swiftgger APIResponse.swift
[51/86] Compiling Swiftgger APIServer.swift
[52/86] Compiling Swiftgger APIVariable.swift
[53/86] Compiling Swiftgger OpenAPIBuilder.swift
[54/86] Compiling Swiftgger OpenAPIInfoBuilder.swift
[55/86] Compiling Swiftgger APIAction.swift
[56/86] Compiling Swiftgger APIAuthorizationFlow.swift
[57/86] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[58/86] Compiling Swiftgger APIAuthorizationType.swift
[59/86] Compiling Swiftgger APIBodyType.swift
[60/86] Compiling Swiftgger APIContact.swift
[61/86] Compiling Swiftgger APIController.swift
[62/86] Compiling Swiftgger APILicense.swift
[63/86] Compiling Swiftgger APILink.swift
[64/86] Compiling Swiftgger OpenAPILicense.swift
[65/86] Compiling Swiftgger OpenAPILink.swift
[66/86] Compiling Swiftgger OpenAPIMediaType.swift
[67/86] Compiling Swiftgger OpenAPIOAuthFlow.swift
[68/86] Compiling Swiftgger OpenAPIOAuthFlows.swift
[69/86] Compiling Swiftgger OpenAPIOperation.swift
[70/86] Compiling Swiftgger OpenAPIParameter.swift
[71/86] Compiling Swiftgger OpenAPIPathItem.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/93] Wrapping AST for Swiftgger for debugging
[82/106] Compiling SwiftggerGenerator main.swift
[83/107] Emitting module SwiftggerTestApp
[84/107] Compiling SwiftggerTestApp main.swift
[85/107] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[86/107] 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 {
[87/107] 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 {
[88/107] Compiling SwiftggerGenerator resource_bundle_accessor.swift
[89/107] Compiling SwiftggerTestApp Vehicle.swift
[90/107] Compiling SwiftggerTestApp Species.swift
[91/107] Compiling SwiftggerTestApp Program.swift
[92/107] Compiling SwiftggerTestApp Fuel.swift
[93/108] Wrapping AST for SwiftggerTestApp for debugging
[94/108] Write Objects.LinkFileList
error: emit-module command failed with exit code 1 (use -v to see invocation)
[96/108] Compiling SwiftggerGenerator OpenAPISchema.swift
[97/108] Compiling SwiftggerGenerator String.swift
[98/108] Compiling SwiftggerGenerator ConsoleIO.swift
[99/108] Compiling SwiftggerGenerator OutputType.swift
[100/108] Compiling SwiftggerGenerator ModelSerializer.swift
[101/108] Compiling SwiftggerGenerator OptionType.swift
[102/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>
[103/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>
[104/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>
[104/108] Linking swiftgger-test-app
BUILD FAILURE 6.2 android