Build Information
Failed to build swift-openapi-generator, reference 1.10.3 (d74223), with Swift 6.2 for Wasm on 17 Sep 2025 19:28:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-openapi-generator.git
Reference: 1.10.3
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/apple/swift-openapi-generator
* tag 1.10.3 -> FETCH_HEAD
HEAD is now at d74223c Allow recursive schemas in multipart-based paths (#813)
Cloned https://github.com/apple/swift-openapi-generator.git
Revision (git rev-parse @):
d74223cc5595a8165181c4d9579243c932e5cd07
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-openapi-generator.git at 1.10.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/swift-openapi-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-collections
[1/923] Fetching swift-http-types
[924/17217] Fetching swift-http-types, swift-argument-parser
[1087/22934] Fetching swift-http-types, swift-argument-parser, swift-openapi-runtime
[10389/34100] Fetching swift-http-types, swift-argument-parser, swift-openapi-runtime, yams
[10553/51609] Fetching swift-http-types, swift-argument-parser, swift-openapi-runtime, yams, swift-collections
[33056/159834] Fetching swift-http-types, swift-argument-parser, swift-openapi-runtime, yams, swift-collections, openapikit
Fetched https://github.com/apple/swift-argument-parser from cache (1.67s)
[72112/143540] Fetching swift-http-types, swift-openapi-runtime, yams, swift-collections, openapikit
Fetching https://github.com/apple/swift-algorithms
Fetched https://github.com/apple/swift-collections from cache (1.70s)
[55020/126031] Fetching swift-http-types, swift-openapi-runtime, yams, openapikit
Fetched https://github.com/apple/swift-http-types from cache (1.97s)
[64502/125108] Fetching swift-openapi-runtime, yams, openapikit
Fetched https://github.com/jpsim/Yams from cache (2.04s)
[55501/113942] Fetching swift-openapi-runtime, openapikit
[56584/119928] Fetching swift-openapi-runtime, openapikit, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.80s)
[68488/113942] Fetching swift-openapi-runtime, openapikit
Fetched https://github.com/apple/swift-openapi-runtime from cache (6.19s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (6.29s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.3 (6.67s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.42s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.41s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (1.01s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.37s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.55s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.7.1 (0.57s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.1.0 (0.39s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.1.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.7.1
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/78] Write sources
[24/78] Compiling _NumericsShims _NumericsShims.c
[25/78] Write sources
[27/78] Compiling writer.c
[28/78] Write sources
[33/78] Compiling _NumericsShims _NumericsShims.c
[34/78] Compiling reader.c
[35/78] Write swift-version-24593BA9C3E375BF.txt
[36/78] Compiling writer.c
[37/78] Compiling reader.c
[38/78] Compiling parser.c
[39/78] Compiling api.c
[40/101] Compiling parser.c
[41/134] Compiling emitter.c
[42/194] Compiling scanner.c
[45/222] Emitting module OpenAPIKitCore
[46/226] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[47/227] Emitting module RealModule
[48/227] Compiling Yams Decoder.swift
[49/227] Compiling Yams Emitter.swift
[50/228] Compiling RealModule Float80+Real.swift
[51/228] Compiling Yams Tag.swift
[52/228] Compiling Yams YamlAnchorProviding.swift
[53/228] Compiling RealModule RealFunctions.swift
[56/230] Emitting module InternalCollectionsUtilities
[57/230] Compiling Yams Encoder.swift
[58/230] Compiling Yams AliasDereferencingStrategy.swift
[59/230] Compiling Yams Node.Mapping.swift
[60/230] Compiling Yams Node.Scalar.swift
[61/230] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[62/230] Compiling OpenAPIKitCore HttpMethod.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[63/230] Compiling OpenAPIKitCore JSONSchemaPermissions.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[64/230] Compiling OpenAPIKitCore JSONTypeFormat.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[65/230] Compiling Yams Node.Sequence.swift
[66/230] Compiling Yams Node.swift
[67/230] Compiling OpenAPIKitCore OAuthFlows.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[68/230] Compiling OpenAPIKitCore ParameterContextLocation.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[69/230] Compiling OpenAPIKitCore ParameterSchemaContextStyle.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[70/230] Compiling OpenAPIKitCore Path.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[71/230] Compiling OpenAPIKitCore ResponseStatusCode.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[72/230] Compiling OpenAPIKitCore SecurityScheme.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[73/230] Compiling OpenAPIKitCore URLTemplate+Parsing.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[74/230] Compiling OpenAPIKitCore URLTemplate.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[75/230] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[76/230] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[79/230] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[80/230] Emitting module InternalCollectionsUtilities
[85/235] Compiling Yams Mark.swift
[86/235] Compiling Yams Node.Alias.swift
[89/235] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[96/235] Compiling Yams Anchor.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[97/236] Emitting module OpenAPIKitCore
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[100/236] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[101/236] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[102/236] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[103/236] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[116/236] Compiling RealModule RealFunctions.swift
[117/236] Compiling RealModule Real.swift
[119/236] Emitting module RealModule
[120/236] Compiling RealModule Float16+Real.swift
[135/236] Compiling RealModule Float80+Real.swift
[136/236] Compiling RealModule RelaxedArithmetic.swift
[137/237] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[138/237] Compiling OpenAPIKitCore Optional+Zip.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[139/237] Compiling OpenAPIKitCore Result+Value.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[140/237] Compiling OpenAPIKitCore Validatable.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
21 | */
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | /**
[141/237] Compiling RealModule RelaxedArithmetic.swift
BUILD FAILURE 6.2 wasm