The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Typesense, reference master (0d9335), with Swift 6.3 for Wasm on 17 Apr 2026 20:35:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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 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 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-4609320-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
Fetched https://github.com/Flight-School/AnyCodable from cache (0.30s)
[1/17529] Fetching swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/apple/swift-argument-parser from cache (1.10s)
[1/11551] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.70s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (3.39s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.63s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.61s)
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/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.7.1
[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] Compiling parser.c
[11/21] Compiling api.c
[12/21] Compiling emitter.c
[13/21] Compiling scanner.c
[14/21] Write swift-version-24593BA9C3E375BF.txt
[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/96] Compiling ArgumentParser ParsableArguments.swift
[22/96] Compiling ArgumentParser DumpHelpGenerator.swift
[23/96] Compiling ArgumentParser Flag.swift
[24/96] Compiling ArgumentParser NameSpecification.swift
[25/96] Compiling ArgumentParser Option.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.
[26/96] Compiling ArgumentParser OptionGroup.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.
[27/96] Compiling ArgumentParser ParsableCommand.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.
[28/96] Compiling ArgumentParser CommandParser.swift
[29/96] Compiling ArgumentParser InputKey.swift
[30/96] Compiling ArgumentParser ParentCommand.swift
[31/96] Compiling ArgumentParser ArgumentVisibility.swift
[32/96] Compiling ArgumentParser CompletionKind.swift
[33/96] Compiling ArgumentParser Errors.swift
[34/96] Compiling ArgumentParser CommandGroup.swift
[35/96] Compiling ArgumentParser EnumerableFlag.swift
[36/96] Compiling ArgumentParser ExpressibleByArgument.swift
[37/96] Compiling ArgumentParser AsyncParsableCommand.swift
[38/96] Compiling ArgumentParser CommandConfiguration.swift
[39/96] Compiling ArgumentParser ArgumentDecoder.swift
[40/96] Compiling ArgumentParser ArgumentDefinition.swift
[41/96] Compiling ArgumentParser ArgumentSet.swift
[42/96] Compiling AnyCodable AnyCodable.swift
[43/96] Emitting module AnyCodable
[44/96] Compiling AnyCodable AnyDecodable.swift
BUILD FAILURE 6.3 wasm