The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-openapi-generator, reference main (fbf451), with Swift 6.3 for Wasm on 7 Nov 2026 10:14:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-openapi-generator.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fbf4512 Remove per-type imports in generated files  (#981)
Cloned https://github.com/apple/swift-openapi-generator.git
Revision (git rev-parse @):
fbf4512ebc69ccbca33aa3c5fa4393887e687b76
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-openapi-generator.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/apple/swift-openapi-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:3045625b85c7b3a40ef7c4e596cfe3f6119a575d9bb01341bbf4a893a5aa001c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-http-types
[1/1967] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.42s)
[1/6159] Fetching swift-algorithms
[248/13481] Fetching swift-algorithms, swift-openapi-runtime
[12909/25359] Fetching swift-algorithms, swift-openapi-runtime, yams
[14908/44693] Fetching swift-algorithms, swift-openapi-runtime, yams, swift-argument-parser
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.12s)
Fetched https://github.com/jpsim/Yams from cache (1.14s)
[1/186435] Fetching openapikit
Fetched https://github.com/apple/swift-algorithms from cache (6.28s)
Fetched https://github.com/apple/swift-argument-parser from cache (6.29s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (6.35s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (6.52s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.86s)
Fetching https://github.com/apple/swift-numerics.git
[1/6849] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 6.4.0 (0.68s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.13.4 (0.14s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.13s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.2 (0.13s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.2
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.13.4
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 6.4.0
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.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/70] Write sources
[14/70] Compiling _NumericsShims _NumericsShims.c
[15/70] Write sources
[18/70] Compiling _NumericsShims _NumericsShims.c
[19/70] Write sources
[27/70] Compiling writer.c
[27/70] Write sources
[29/70] Compiling reader.c
[30/70] Compiling parser.c
[31/70] Compiling api.c
[32/70] Write swift-version-24593BA9C3E375BF.txt
[33/70] Compiling writer.c
[34/70] Compiling reader.c
[35/70] Compiling scanner.c
[36/70] Compiling emitter.c
[37/70] Compiling parser.c
[38/70] Compiling api.c
[39/93] Compiling emitter.c
[40/190] Compiling scanner.c
[41/190] Write sources
[43/210] Emitting module RealModule
[44/211] Emitting module Yams
[45/213] Emitting module OpenAPIKitCore
[46/217] Emitting module Yams
[47/219] Compiling RealModule RelaxedArithmetic.swift
[48/219] Compiling Yams Tag.swift
[49/219] Compiling Yams YamlAnchorProviding.swift
[50/219] Compiling RealModule RealFunctions.swift
[51/219] Compiling Yams Decoder.swift
[52/219] Compiling Yams Emitter.swift
[53/219] Compiling Yams Encoder.swift
[54/219] Compiling Yams Mark.swift
[55/219] Compiling Yams Node.Alias.swift
[56/219] Emitting module HTTPTypes
[59/220] Compiling Yams YamlError.swift
[60/220] Compiling Yams YamlTagProviding.swift
[61/220] Compiling OpenAPIKitCore DiggingError.swift
[62/220] Compiling OpenAPIKitCore EitherDecodeNoTypesMatchedErrorExtensions.swift
[65/220] Compiling Yams Node.Mapping.swift
[66/220] Compiling Yams Node.Sequence.swift
[67/220] Compiling Yams Node.swift
[70/220] Compiling Yams Parser.swift
[73/220] Compiling RealModule Float80+Real.swift
[74/220] Compiling RealModule Float16+Real.swift
[75/220] Compiling RealModule Real.swift
[76/220] Compiling HTTPTypes HTTPRequest.swift
[82/221] Compiling HTTPTypes HTTPFieldValue.swift
[83/221] Compiling HTTPTypes HTTPParsedFields.swift
[86/221] Compiling HTTPTypes HTTPFields.swift
[87/223] Compiling OpenAPIKitCore Optional+Zip.swift
[88/223] Compiling OpenAPIKitCore Result+Value.swift
[89/223] Compiling OpenAPIKitCore URL+Resolution.swift
[90/223] Compiling OpenAPIKitCore Validatable.swift
[91/223] Compiling Yams AliasDereferencingStrategy.swift
[92/223] Compiling Yams Anchor.swift
[93/223] Compiling Yams Constructor.swift
[98/223] Compiling Yams Node.Scalar.swift
[99/223] Compiling Yams RedundancyAliasingStrategy.swift
[100/223] Compiling Yams Representer.swift
[101/223] Compiling Yams Resolver.swift
[102/223] Compiling Yams String+Yams.swift
[103/223] Compiling OpenAPIKitCore SharedOAuthFlows.swift
[104/223] Compiling OpenAPIKitCore URLTemplate+Parsing.swift
[105/223] Compiling OpenAPIKitCore URLTemplate.swift
[106/223] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
[107/223] Compiling HTTPTypes HTTPResponse.swift
[108/223] Compiling OpenAPIKitCore GenericError.swift
[109/223] Compiling OpenAPIKitCore ComponentKey.swift
[110/223] Compiling OpenAPIKitCore ContentType.swift
[111/223] Compiling OpenAPIKitCore HttpMethod.swift
[112/223] Compiling OpenAPIKitCore JSONSchemaPermissions.swift
[113/224] Compiling HTTPTypes HTTPRequest+URL.swift
[114/225] Compiling RealModule Float16+Real.swift
[115/226] Compiling RealModule RelaxedArithmetic.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:342:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
340 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
341 |         // it uses with `String(format:...)`
342 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
343 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
344 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:342:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
340 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
341 |         // it uses with `String(format:...)`
342 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
343 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
344 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:342:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
340 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
341 |         // it uses with `String(format:...)`
342 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
343 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
344 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[127/226] Wrapping AST for RealModule for debugging
[133/230] Compiling RealModule Real.swift
[137/263] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[138/263] Compiling OpenAPIRuntime Lock.swift
[139/263] Emitting module RealModule
[140/263] Compiling OpenAPIRuntime Acceptable.swift
[141/263] Compiling OpenAPIRuntime Base64EncodedData.swift
[142/263] Compiling OpenAPIRuntime ByteUtilities.swift
[143/263] Compiling OpenAPIRuntime ContentDisposition.swift
[144/362] Compiling RealModule RealFunctions.swift
[145/362] Compiling RealModule Float80+Real.swift
[146/363] Compiling OpenAPIKit30 DocumentDecodingError.swift
[147/363] Compiling OpenAPIKit30 Link.swift
[149/363] Emitting module ArgumentParserToolInfo
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 wasm