Build Information
Failed to build Swiftgger, reference 2.0.0-rc2 (afd6e6
), with Swift 6.2 (beta) for Linux on 19 Jun 2025 00:24:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.20s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.57s)
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
[0/14] Copying URLSession.template
[1/14] Write sources
[5/14] Write swift-version-24593BA9C3E375BF.txt
[7/18] Compiling AnyCodable AnyDecodable.swift
[8/18] Compiling AnyCodable AnyCodable.swift
[9/18] Emitting module AnyCodable
[10/18] Compiling AnyCodable AnyEncodable.swift
[11/19] Wrapping AST for AnyCodable for debugging
[13/78] 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 |
[14/86] Compiling Swiftgger APIAction.swift
[15/86] Compiling Swiftgger APIAuthorizationFlow.swift
[16/86] Compiling Swiftgger APIAuthorizationOAuth2Type.swift
[17/86] Compiling Swiftgger APIAuthorizationType.swift
[18/86] Compiling Swiftgger APIBodyType.swift
[19/86] Compiling Swiftgger APIContact.swift
[20/86] Compiling Swiftgger APIController.swift
[21/86] Compiling Swiftgger APILicense.swift
[22/86] Compiling Swiftgger APILink.swift
[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 OpenAPILicense.swift
[33/86] Compiling Swiftgger OpenAPILink.swift
[34/86] Compiling Swiftgger OpenAPIMediaType.swift
[35/86] Compiling Swiftgger OpenAPIOAuthFlow.swift
[36/86] Compiling Swiftgger OpenAPIOAuthFlows.swift
[37/86] Compiling Swiftgger OpenAPIOperation.swift
[38/86] Compiling Swiftgger OpenAPIParameter.swift
[39/86] Compiling Swiftgger OpenAPIPathItem.swift
[40/86] Compiling Swiftgger OpenAPIContact.swift
[41/86] Compiling Swiftgger OpenAPIDiscriminator.swift
[42/86] Compiling Swiftgger OpenAPIDocument.swift
[43/86] Compiling Swiftgger OpenAPIEncoding.swift
[44/86] Compiling Swiftgger OpenAPIExample.swift
[45/86] Compiling Swiftgger OpenAPIExternalDocumentation.swift
[46/86] Compiling Swiftgger OpenAPIHeader.swift
[47/86] Compiling Swiftgger OpenAPIInfo.swift
[48/86] Compiling Swiftgger OpenAPISecurityBuilder.swift
[49/86] Compiling Swiftgger OpenAPIServersBuilder.swift
[50/86] Compiling Swiftgger OpenAPITagsBuilder.swift
[51/86] Compiling Swiftgger APIDataType.swift
[52/86] Compiling Swiftgger APIHttpMethod.swift
[53/86] Compiling Swiftgger APILocation.swift
[54/86] Compiling Swiftgger MirrorHelper.swift
[55/86] Compiling Swiftgger OpenAPISchemaConverter.swift
[56/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 |
[57/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 |
[58/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 |
[59/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 |
[60/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 |
[61/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 |
[62/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 |
[63/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 |
[64/86] Compiling Swiftgger OpenAPIMediaTypeBuilder.swift
[65/86] Compiling Swiftgger OpenAPIOperationBuilder.swift
[66/86] Compiling Swiftgger OpenAPIParametersBuilder.swift
[67/86] Compiling Swiftgger OpenAPIPathsBuilder.swift
[68/86] Compiling Swiftgger OpenAPIRequestBuilder.swift
[69/86] Compiling Swiftgger OpenAPIResponsesBuilder.swift
[70/86] Compiling Swiftgger OpenAPISchemasBuilder.swift
[71/86] Compiling Swiftgger OpenAPISecurityActionsBuilder.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 SwiftggerTestApp Fuel.swift
[84/106] Emitting module SwiftggerTestApp
[85/106] 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 {
[86/106] 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 {
[87/107] Compiling SwiftggerGenerator main.swift
[88/107] Compiling SwiftggerGenerator TemplateFileGenerator.swift
[89/107] Compiling SwiftggerTestApp Program.swift
[90/107] Compiling SwiftggerTestApp Species.swift
[91/107] Compiling SwiftggerTestApp Vehicle.swift
[92/108] Compiling SwiftggerGenerator resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[94/108] Compiling SwiftggerGenerator OpenAPISchema.swift
[95/108] Compiling SwiftggerGenerator String.swift
[96/108] Compiling SwiftggerGenerator ModelSerializer.swift
[97/108] Compiling SwiftggerGenerator OptionType.swift
[98/108] Compiling SwiftggerGenerator ConsoleIO.swift
[99/108] Compiling SwiftggerGenerator OutputType.swift
[100/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>
[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>
BUILD FAILURE 6.2 linux