The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Typesense, reference v2.0.0-rc.1 (0d9335), with Swift 6.3 for Wasm on 17 Apr 2026 20:34:57 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/typesense/typesense-swift.git
Reference: v2.0.0-rc.1
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
 * tag               v2.0.0-rc.1 -> FETCH_HEAD
HEAD is now at 0d93356 Merge pull request #48 from haydenhoang/v2
Cloned https://github.com/typesense/typesense-swift.git
Revision (git rev-parse @):
0d9335697a73d19a25a21e14678e8251314a33af
SUCCESS checkout https://github.com/typesense/typesense-swift.git at v2.0.0-rc.1
========================================
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-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
[783/18311] Fetching anycodable, swift-argument-parser
Fetched https://github.com/Flight-School/AnyCodable from cache (0.32s)
[702/17529] Fetching swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/apple/swift-argument-parser from cache (1.04s)
[1/11551] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.88s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (3.52s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.53s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.45s)
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
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[8/21] Write swift-version-24593BA9C3E375BF.txt
[9/21] Compiling writer.c
[10/21] Compiling api.c
[11/21] Compiling parser.c
[12/21] Compiling reader.c
[13/27] Compiling emitter.c
[14/27] Compiling scanner.c
[16/47] Emitting module Yams
[17/49] Compiling Yams Tag.swift
[18/49] Compiling Yams YamlAnchorProviding.swift
[19/49] Emitting module ArgumentParserToolInfo
[20/49] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/50] Wrapping AST for ArgumentParserToolInfo for debugging
[23/96] Compiling ArgumentParser ArgumentDefinition.swift
[24/96] Compiling ArgumentParser ArgumentSet.swift
[25/96] Compiling ArgumentParser CommandGroup.swift
[26/96] Compiling ArgumentParser EnumerableFlag.swift
[27/96] Compiling ArgumentParser ExpressibleByArgument.swift
[28/96] Compiling ArgumentParser ParsableArguments.swift
[29/96] Compiling ArgumentParser ParsableCommand.swift
[30/96] Compiling ArgumentParser ArgumentDecoder.swift
[31/96] Compiling ArgumentParser ArgumentHelp.swift
[32/96] Compiling ArgumentParser DumpHelpGenerator.swift
[33/96] Compiling ArgumentParser ZshCompletionsGenerator.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.
[34/96] Compiling ArgumentParser Argument.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.
[35/96] Compiling ArgumentParser ArgumentDiscussion.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.
[36/96] Compiling ArgumentParser CommandParser.swift
[37/96] Compiling ArgumentParser InputKey.swift
[38/96] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/96] Compiling ArgumentParser ParentCommand.swift
[40/96] Compiling ArgumentParser AsyncParsableCommand.swift
[41/96] Compiling ArgumentParser CommandConfiguration.swift
[42/96] Emitting module AnyCodable
[43/96] Compiling AnyCodable AnyCodable.swift
BUILD FAILURE 6.3 wasm