The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Mariposa, reference main (6bcc0a), with Swift 6.2 for Wasm on 6 Nov 2025 08:19:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/jessesquires/mariposa.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/jessesquires/mariposa
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6bcc0aa update readme
Cloned https://github.com/jessesquires/mariposa.git
Revision (git rev-parse @):
6bcc0aae0091a9797a17ac1433cc8f32a0b1df62
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jessesquires/mariposa.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jessesquires/mariposa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
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/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/16686] Fetching swift-argument-parser
[502/27941] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser from cache (1.39s)
Fetched https://github.com/jpsim/Yams.git from cache (1.42s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.0 (1.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.37s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.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.6.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/19] Write sources
[6/19] Compiling writer.c
[7/19] Compiling reader.c
[8/19] Compiling parser.c
[9/19] Compiling api.c
[10/19] Compiling emitter.c
[11/19] Compiling scanner.c
[12/19] Write swift-version-24593BA9C3E375BF.txt
[14/41] Emitting module Yams
[15/43] Emitting module ArgumentParserToolInfo
[16/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/44] Wrapping AST for ArgumentParserToolInfo for debugging
[19/88] Compiling ArgumentParser ParsableArguments.swift
[20/88] Compiling ArgumentParser ParsableCommand.swift
[21/88] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/88] Compiling ArgumentParser CompletionsGenerator.swift
[23/88] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/88] Compiling ArgumentParser AsyncParsableCommand.swift
[25/88] Compiling ArgumentParser CommandConfiguration.swift
[26/88] Compiling ArgumentParser ArgumentDiscussion.swift
[27/88] Compiling ArgumentParser ArgumentHelp.swift
[28/88] Compiling ArgumentParser OptionGroup.swift
[29/88] Compiling ArgumentParser ArgumentVisibility.swift
[30/88] Compiling ArgumentParser CompletionKind.swift
[31/88] Compiling ArgumentParser Errors.swift
[32/88] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/88] Compiling ArgumentParser Argument.swift
[34/88] Compiling ArgumentParser CommandGroup.swift
[35/88] Compiling ArgumentParser EnumerableFlag.swift
[36/88] Compiling ArgumentParser ExpressibleByArgument.swift
[37/88] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:338:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
336 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
337 |         // it uses with `String(format:...)`
338 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
339 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
340 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[38/88] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:338:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
336 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
337 |         // it uses with `String(format:...)`
338 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
339 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
340 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[39/88] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:338:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
336 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
337 |         // it uses with `String(format:...)`
338 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
339 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
340 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
BUILD FAILURE 6.2 wasm