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.1 for Wasm on 6 Nov 2025 08:20:36 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 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.1
Building package at path:  $PWD
https://github.com/jessesquires/mariposa.git
https://github.com/jessesquires/mariposa.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "Mariposa",
  "name" : "Mariposa",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "mariposa",
      "targets" : [
        "Mariposa"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "Mariposa",
      "module_type" : "SwiftTarget",
      "name" : "Mariposa",
      "path" : "Sources",
      "product_dependencies" : [
        "ArgumentParser",
        "Yams"
      ],
      "product_memberships" : [
        "mariposa"
      ],
      "sources" : [
        "Bluesky/BlueskyClient.swift",
        "Bluesky/BlueskyCommit.swift",
        "Bluesky/BlueskyCreateSession.swift",
        "Bluesky/BlueskyCredentials.swift",
        "Bluesky/BlueskyFacet.swift",
        "Bluesky/BlueskyFacetFeature.swift",
        "Bluesky/BlueskyIndex.swift",
        "Bluesky/BlueskyPost.swift",
        "Bluesky/BlueskyRecord.swift",
        "Bluesky/BlueskyRecordCreated.swift",
        "Bluesky/BlueskyResult.swift",
        "Bluesky/BlueskySession.swift",
        "Bluesky/URLRequest+Bluesky.swift",
        "JSONFeed/JSONFeed.swift",
        "JSONFeed/JSONFeedItem.swift",
        "Mariposa.swift",
        "MariposaConfig.swift",
        "Mastodon/MastodonAccount.swift",
        "Mastodon/MastodonClient.swift",
        "Mastodon/MastodonCredentials.swift",
        "Mastodon/MastodonResult.swift",
        "Mastodon/MastodonStatus.swift",
        "Mastodon/URLRequest+Mastodon.swift",
        "Utils/Print.swift",
        "Utils/String+Extensions.swift",
        "Utils/URLResponse+Extensions.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.0"
}
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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jpsim/Yams.git
[1/11255] Fetching yams
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (2.18s)
[1/16686] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.72s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.0 (3.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.0
[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] Write swift-version-24593BA9C3E375BF.txt
[10/19] Compiling api.c
[11/19] Compiling emitter.c
[12/21] Compiling scanner.c
[14/41] Emitting module Yams
[15/43] Compiling Yams Tag.swift
[16/43] Compiling Yams YamlAnchorProviding.swift
[17/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/43] Emitting module ArgumentParserToolInfo
[19/44] Compiling Yams Mark.swift
[20/44] Compiling Yams Node.Alias.swift
[21/44] Compiling Yams Node.Mapping.swift
[22/44] Wrapping AST for ArgumentParserToolInfo for debugging
[24/88] Compiling ArgumentParser ArgumentHelp.swift
[25/88] Compiling ArgumentParser ParsableArguments.swift
[26/88] Compiling ArgumentParser ArgumentDefinition.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.
[27/88] Compiling ArgumentParser ArgumentSet.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.
[28/88] Compiling ArgumentParser CommandParser.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.
[29/88] Compiling ArgumentParser InputKey.swift
[30/88] Compiling ArgumentParser InputOrigin.swift
[31/88] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/88] Compiling ArgumentParser Argument.swift
[33/88] Compiling ArgumentParser ArgumentDiscussion.swift
[34/88] Compiling ArgumentParser ArgumentVisibility.swift
[35/88] Compiling ArgumentParser CompletionKind.swift
[36/88] Compiling ArgumentParser Errors.swift
[37/88] Compiling ArgumentParser Flag.swift
[38/88] Compiling ArgumentParser NameSpecification.swift
[39/88] Compiling ArgumentParser Option.swift
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/31] Compiling Yams Parser.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.
[5/31] Compiling Yams RedundancyAliasingStrategy.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.
[6/31] Compiling Yams Representer.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.
[7/33] Compiling Yams Resolver.swift
[8/33] Compiling Yams String+Yams.swift
[9/33] Compiling Yams Tag.swift
[10/33] Compiling Yams YamlAnchorProviding.swift
[11/33] Compiling Yams Mark.swift
[12/33] Compiling Yams Node.Alias.swift
[13/33] Compiling Yams Node.Mapping.swift
[14/33] Compiling Yams YamlError.swift
[15/33] Compiling Yams YamlTagProviding.swift
[16/33] Emitting module ArgumentParserToolInfo
[17/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/77] Emitting module Yams
[20/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/77] Compiling ArgumentParser Argument.swift
[22/77] Compiling ArgumentParser ArgumentDiscussion.swift
[23/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/77] Compiling ArgumentParser CompletionsGenerator.swift
[25/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/77] Compiling ArgumentParser Errors.swift
[27/77] Compiling ArgumentParser Flag.swift
[28/77] Compiling ArgumentParser NameSpecification.swift
BUILD FAILURE 6.1 wasm