Build Information
Failed to build SwiftOpenAPI, reference 2.25.0 (ed87ce), with Swift 6.2 for Wasm on 26 Sep 2025 00:17:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/SwiftOpenAPI.git
Reference: 2.25.0
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/dankinsoid/SwiftOpenAPI
* tag 2.25.0 -> FETCH_HEAD
HEAD is now at ed87ce7 make global properties thread safe
Cloned https://github.com/dankinsoid/SwiftOpenAPI.git
Revision (git rev-parse @):
ed87ce7498417c1ef7e131ec4c7e26b566247f8c
SUCCESS checkout https://github.com/dankinsoid/SwiftOpenAPI.git at 2.25.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/dankinsoid/SwiftOpenAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/swiftlang/swift-syntax.git
[1/71996] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.54s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (13.55s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.89s)
Building for debugging...
[0/7] Write sources
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/11] Emitting module SwiftOpenAPIMacros
[6/11] Compiling SwiftOpenAPIMacros OpenAPIDescriptionMacro.swift
[7/11] Compiling SwiftOpenAPIMacros SyntaxExt.swift
[8/11] Compiling SwiftOpenAPIMacros StringError.swift
[9/12] Wrapping AST for SwiftOpenAPIMacros for debugging
[10/12] Write Objects.LinkFileList
[11/12] Linking SwiftOpenAPIMacros-tool
[13/80] Compiling SwiftOpenAPI AnyRange.swift
[14/80] Compiling SwiftOpenAPI Bool++.swift
[15/80] Compiling SwiftOpenAPI Codable++.swift
[16/80] Compiling SwiftOpenAPI CodingKeys.swift
[17/80] Compiling SwiftOpenAPI Collection++.swift
[18/80] Compiling SwiftOpenAPI Decimal++.swift
[19/80] Compiling SwiftOpenAPI ExpressibleBy.swift
[20/80] Compiling SwiftOpenAPI Locks.swift
[21/80] Compiling SwiftOpenAPI OrderedDictionary.swift
[22/80] Compiling SwiftOpenAPI StringConvertibleHintProvider.swift
[23/89] Emitting module SwiftOpenAPI
[24/89] Compiling SwiftOpenAPI ReferenceOr.swift
[25/89] Compiling SwiftOpenAPI RequestBodyObject.swift
[26/89] Compiling SwiftOpenAPI ResponseObject.swift
[27/89] Compiling SwiftOpenAPI ResponsesObject.swift
[28/89] Compiling SwiftOpenAPI RuntimeExpression.swift
[29/89] Compiling SwiftOpenAPI RuntimeExpressionOr.swift
[30/89] Compiling SwiftOpenAPI SecurityRequirementObject.swift
[31/89] Compiling SwiftOpenAPI SecuritySchemeObject.swift
[32/89] Compiling SwiftOpenAPI ServerObject.swift
[33/89] Compiling SwiftOpenAPI TypeRevision.swift
[34/89] Compiling SwiftOpenAPI TypeRevisionDecoder.swift
[35/89] Compiling SwiftOpenAPI TypeRevisionEncoder.swift
[36/89] Compiling SwiftOpenAPI AnyValue.swift
[37/89] Compiling SwiftOpenAPI CallbackObject.swift
[38/89] Compiling SwiftOpenAPI ComponentsObject.swift
[39/89] Compiling SwiftOpenAPI CompositeType.swift
[40/89] Compiling SwiftOpenAPI ContactObject.swift
[41/89] Compiling SwiftOpenAPI ContentObject.swift
[42/89] Compiling SwiftOpenAPI OAuthFlowObject.swift
[43/89] Compiling SwiftOpenAPI OAuthFlowsObject.swift
[44/89] Compiling SwiftOpenAPI OpenAPIObject.swift
[45/89] Compiling SwiftOpenAPI OperationObject.swift
[46/89] Compiling SwiftOpenAPI ParameterObject.swift
[47/89] Compiling SwiftOpenAPI Path.swift
[48/89] Compiling SwiftOpenAPI PathItemObject.swift
[49/89] Compiling SwiftOpenAPI PathsObject.swift
[50/89] Compiling SwiftOpenAPI ReferenceObject.swift
[51/89] Compiling SwiftOpenAPI ExpressibleBySchemaObject.swift
[52/89] Compiling SwiftOpenAPI SchemaContexts.swift
[53/89] Compiling SwiftOpenAPI SchemaObjec+deprecated.swift
[54/89] Compiling SwiftOpenAPI SchemaObject++.swift
[55/89] Compiling SwiftOpenAPI SchemaObject.swift
[56/89] Compiling SwiftOpenAPI LicenseObject.swift
[57/89] Compiling SwiftOpenAPI LinkObject.swift
[58/89] Compiling SwiftOpenAPI MediaType.swift
[59/89] Compiling SwiftOpenAPI MediaTypeObject.swift
[60/89] Compiling SwiftOpenAPI EncodingObject.swift
[61/89] Compiling SwiftOpenAPI ExampleObject.swift
[62/89] Compiling SwiftOpenAPI ExternalDocumentationObject.swift
[63/89] Compiling SwiftOpenAPI HeaderObject.swift
[64/89] Compiling SwiftOpenAPI InfoObject.swift
[65/89] Compiling SwiftOpenAPI AdditionalProperties.swift
[66/89] Compiling SwiftOpenAPI DataFormat.swift
[67/89] Compiling SwiftOpenAPI DataType.swift
[68/89] Compiling SwiftOpenAPI DiscriminatorObject.swift
[69/89] Compiling SwiftOpenAPI ServerVariableObject.swift
[70/89] Compiling SwiftOpenAPI SpecificationExtendable.swift
[71/89] Compiling SwiftOpenAPI TagObject.swift
[72/89] Compiling SwiftOpenAPI Version.swift
[73/89] Compiling SwiftOpenAPI XMLObject.swift
[74/89] Compiling SwiftOpenAPI OpenAPIDescriptable.swift
[75/89] Compiling SwiftOpenAPI OpenAPIDescription.swift
[76/89] Compiling SwiftOpenAPI OpenAPIType.swift
[77/89] Compiling SwiftOpenAPI refactor.swift
[78/89] Compiling SwiftOpenAPI String++.swift
[79/89] Compiling SwiftOpenAPI AnyValueEncoder.swift
[80/89] Compiling SwiftOpenAPI CheckAllKeysDecoder.swift
[81/89] Compiling SwiftOpenAPI DateEncodingFormat.swift
[82/89] Compiling SwiftOpenAPI HeadersEncoder.swift
[83/89] Compiling SwiftOpenAPI KeyEncodingStrategy.swift
[84/89] Compiling SwiftOpenAPI ParametersEncoder.swift
[85/89] Compiling SwiftOpenAPI Ref.swift
[86/89] Compiling SwiftOpenAPI SchemeEncoder.swift
[87/89] Compiling SwiftOpenAPI CodableTypes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/90] Emitting module SwiftOpenAPI
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/AnyRange.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// Range expression that supports all range operators
[90/90] Compiling SwiftOpenAPI AnyRange.swift
/host/spi-builder-workspace/Sources/SwiftOpenAPI/Common/AnyRange.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// Range expression that supports all range operators
BUILD FAILURE 6.2 wasm