The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Typesense, reference master (0d9335), with Swift 6.2 for Wasm on 16 Dec 2025 23:10:17 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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.2
Building package at path:  $PWD
https://github.com/typesense/typesense-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
[783/17743] Fetching anycodable, swift-argument-parser
Fetched https://github.com/Flight-School/AnyCodable from cache (0.29s)
[1357/16961] Fetching swift-argument-parser
[2037/28228] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser from cache (1.97s)
Fetched https://github.com/jpsim/Yams.git from cache (2.01s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (2.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.50s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.66s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
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/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/21] Compiling parser.c
[12/23] Compiling api.c
[13/27] Compiling emitter.c
[14/27] Compiling scanner.c
[16/47] Emitting module ArgumentParserToolInfo
[17/47] Compiling Yams Tag.swift
[18/47] Compiling Yams YamlAnchorProviding.swift
[19/49] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/50] Wrapping AST for ArgumentParserToolInfo for debugging
[22/94] Compiling ArgumentParser CompletionsGenerator.swift
[23/94] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/94] 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.
[25/94] Compiling ArgumentParser AsyncParsableCommand.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/94] 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.
[27/94] Compiling AnyCodable AnyEncodable.swift
[28/94] Compiling ArgumentParser CommandGroup.swift
[29/94] Compiling ArgumentParser EnumerableFlag.swift
[30/94] Compiling ArgumentParser ArgumentDefinition.swift
[31/94] Compiling ArgumentParser ArgumentSet.swift
[32/94] Compiling ArgumentParser CommandParser.swift
[33/94] Compiling ArgumentParser ParsableArguments.swift
[34/94] Compiling ArgumentParser ParsableCommand.swift
[35/94] Compiling ArgumentParser ArgumentDecoder.swift
[36/94] Compiling ArgumentParser InputKey.swift
[37/94] Compiling ArgumentParser InputOrigin.swift
[38/94] Compiling ArgumentParser Name.swift
[39/94] Compiling ArgumentParser Parsed.swift
[40/94] Compiling ArgumentParser ParsedValues.swift
[41/94] Compiling ArgumentParser ParserError.swift
[42/99] Emitting module Yams
[43/100] Compiling AnyCodable AnyDecodable.swift
[44/100] Emitting module AnyCodable
[45/100] Compiling AnyCodable AnyCodable.swift
[46/101] Compiling ArgumentParser ArgumentVisibility.swift
[47/101] Compiling ArgumentParser CompletionKind.swift
[48/101] Compiling ArgumentParser Errors.swift
[49/101] Compiling ArgumentParser Flag.swift
[50/101] Compiling ArgumentParser NameSpecification.swift
[51/101] Compiling ArgumentParser Option.swift
BUILD FAILURE 6.2 wasm