Build Information
Failed to build Typesense, reference master (3e2430), with Swift 6.3 for Wasm on 12 Nov 2026 00:28:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/typesense/typesense-swift.git
Reference: master
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/typesense/typesense-swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3e24305 Merge pull request #51 from tharropoulos/fix/truncate-and-collection-update
Cloned https://github.com/typesense/typesense-swift.git
Revision (git rev-parse @):
3e24305af35b40f0ed68adb1c626bb16151bc3ed
SUCCESS checkout https://github.com/typesense/typesense-swift.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/typesense/typesense-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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:404d9f92dde919fe554c9d5fda9b03708bc2858ae850b6a992d65e289f55b404
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/782] Fetching anycodable
[783/12660] Fetching anycodable, yams
[1971/32044] Fetching anycodable, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.79s)
[9929/12660] Fetching anycodable, yams
Fetched https://github.com/Flight-School/AnyCodable from cache (1.00s)
Fetched https://github.com/jpsim/Yams.git from cache (1.02s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (1.18s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.15s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[8/21] Compiling writer.c
[9/21] Compiling reader.c
[10/21] Write swift-version-24593BA9C3E375BF.txt
[11/27] Compiling parser.c
[12/27] Compiling api.c
[13/27] Compiling emitter.c
[14/27] Compiling scanner.c
[16/47] Emitting module Yams
[17/49] Emitting module ArgumentParserToolInfo
[18/49] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/50] Wrapping AST for ArgumentParserToolInfo for debugging
[21/97] Compiling ArgumentParser ArgumentDefinition.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.
[22/97] Compiling ArgumentParser ArgumentSet.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.
[23/97] Compiling ArgumentParser CommandParser.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.
[24/97] Compiling ArgumentParser ParsableCommand.swift
[25/97] Compiling ArgumentParser ArgumentDecoder.swift
[26/97] Emitting module AnyCodable
[27/97] Compiling ArgumentParser InputKey.swift
[28/97] Compiling ArgumentParser InputOrigin.swift
[29/97] Compiling ArgumentParser AsyncParsableCommand.swift
[30/97] Compiling ArgumentParser CommandConfiguration.swift
[31/97] Compiling ArgumentParser CommandGroup.swift
[32/97] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/97] Compiling ArgumentParser Argument.swift
[34/97] Compiling ArgumentParser EnumerableFlag.swift
[35/97] Compiling ArgumentParser ExpressibleByArgument.swift
[36/97] Compiling ArgumentParser ParsableArguments.swift
[37/97] Compiling ArgumentParser ArgumentDiscussion.swift
[38/97] Compiling ArgumentParser ArgumentHelp.swift
[39/97] Compiling ArgumentParser ParentCommand.swift
[40/97] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/97] Compiling ArgumentParser CompletionsGenerator.swift
[42/97] Compiling ArgumentParser FishCompletionsGenerator.swift
[43/97] Compiling AnyCodable AnyDecodable.swift
[44/97] Compiling AnyCodable AnyCodable.swift
BUILD FAILURE 6.3 wasm