Build Information
Failed to build AgentAdapter, reference main (9aca9e), with Swift 6.2 for Wasm on 19 Nov 2026 09:51:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mtj0928/agent-adapter.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/mtj0928/agent-adapter
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9aca9e2 Fix Linux build for file locking
Cloned https://github.com/mtj0928/agent-adapter.git
Revision (git rev-parse @):
9aca9e20bc381102b0df59941b96472e71145b74
SUCCESS checkout https://github.com/mtj0928/agent-adapter.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mtj0928/agent-adapter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ca91be8d07e73eaf6c1c75f7ec193e42b7ed6f24d327455e9ae77f96fb6433b0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/11910] Fetching yams
[4289/31350] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.86s)
Fetched https://github.com/jpsim/Yams.git from cache (0.95s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.84s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.16s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[7/21] Compiling writer.c
[8/21] Compiling reader.c
[9/21] Compiling parser.c
[10/21] Compiling api.c
[11/21] Write swift-version-24593BA9C3E375BF.txt
[12/23] Compiling emitter.c
[13/23] Compiling scanner.c
[15/43] Emitting module Yams
[16/45] Compiling Yams Tag.swift
[17/45] Compiling Yams YamlAnchorProviding.swift
[18/45] Emitting module ArgumentParserToolInfo
[19/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/46] Wrapping AST for ArgumentParserToolInfo for debugging
[22/93] Compiling ArgumentParser ArgumentVisibility.swift
[23/93] Compiling ArgumentParser CompletionKind.swift
[24/93] Compiling ArgumentParser Errors.swift
[25/93] Compiling ArgumentParser ExpressibleByArgument.swift
[26/93] Compiling ArgumentParser ParsableArguments.swift
[27/93] Compiling ArgumentParser Flag.swift
[28/93] Compiling ArgumentParser NameSpecification.swift
[29/93] Compiling ArgumentParser Option.swift
[30/93] Compiling ArgumentParser ParentCommand.swift
[31/93] Compiling ArgumentParser AsyncParsableCommand.swift
[32/93] Compiling ArgumentParser ArgumentDefinition.swift
[33/93] Compiling ArgumentParser ArgumentSet.swift
[34/93] Compiling ArgumentParser CommandParser.swift
[35/93] Compiling ArgumentParser OptionGroup.swift
[36/93] Compiling ArgumentParser ParsableCommand.swift
[37/93] Compiling ArgumentParser ArgumentDecoder.swift
[38/93] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[39/93] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[40/93] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
BUILD FAILURE 6.2 wasm