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 (52b94e), with Swift 6.1 for Wasm on 9 Jun 2025 11:48:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.63.1
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 52b94e2 Update README.md
Cloned https://github.com/jessesquires/mariposa.git
Revision (git rev-parse @):
52b94e2cf0de04322b7a15cb5568732839bba3ec
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-4609320-0":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/10737] Fetching yams
[1290/26117] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.44s)
Fetched https://github.com/jpsim/Yams.git from cache (2.65s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.0 (3.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.17s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write sources
[5/18] Compiling writer.c
[6/18] Compiling reader.c
[7/18] Compiling parser.c
[8/18] Compiling emitter.c
[9/18] Compiling api.c
[9/18] Write swift-version-24593BA9C3E375BF.txt
[11/18] Compiling scanner.c
[13/40] Emitting module Yams
[14/42] Emitting module ArgumentParserToolInfo
[15/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/43] Wrapping AST for ArgumentParserToolInfo for debugging
[17/43] Compiling Yams Tag.swift
[18/43] Compiling Yams YamlAnchorProviding.swift
[20/81] Compiling ArgumentParser CommandConfiguration.swift
[21/81] Compiling ArgumentParser CommandGroup.swift
[22/81] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/81] Compiling ArgumentParser CompletionsGenerator.swift
[24/81] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/81] Compiling ArgumentParser ArgumentHelp.swift
[26/81] Compiling ArgumentParser ArgumentVisibility.swift
[27/81] Compiling ArgumentParser CompletionKind.swift
[28/81] Compiling ArgumentParser Errors.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.
[29/81] Compiling ArgumentParser Flag.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.
[30/81] Compiling ArgumentParser NameSpecification.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.
[31/81] Compiling ArgumentParser ParsableArguments.swift
[32/81] Compiling ArgumentParser ParsableArgumentsValidation.swift
[33/81] Compiling ArgumentParser ParsableCommand.swift
[34/81] Compiling ArgumentParser Option.swift
[35/81] Compiling ArgumentParser ExpressibleByArgument.swift
[36/81] Compiling ArgumentParser ArgumentDecoder.swift
[37/81] Compiling ArgumentParser OptionGroup.swift
[38/81] Compiling ArgumentParser AsyncParsableCommand.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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
Building for debugging...
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/30] Compiling Yams Parser.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.
[4/30] Compiling Yams RedundancyAliasingStrategy.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.
[5/30] Compiling Yams Representer.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.
[6/32] Compiling Yams Mark.swift
[7/32] Compiling Yams Node.Alias.swift
[8/32] Compiling Yams Node.Mapping.swift
[9/32] Emitting module Yams
[10/32] Emitting module ArgumentParserToolInfo
[11/32] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/33] Compiling Yams YamlError.swift
[14/33] Compiling Yams YamlTagProviding.swift
[15/32] Compiling Yams AliasDereferencingStrategy.swift
[16/32] Compiling Yams Anchor.swift
[17/32] Compiling Yams Constructor.swift
[18/70] Compiling ArgumentParser CompletionKind.swift
[19/70] Compiling ArgumentParser Errors.swift
[20/70] Compiling ArgumentParser ParserError.swift
[21/70] Compiling ArgumentParser SplitArguments.swift
[22/70] Compiling ArgumentParser ArgumentVisibility.swift
[23/70] Compiling ArgumentParser MessageInfo.swift
[24/70] Compiling ArgumentParser UsageGenerator.swift
[25/70] Compiling ArgumentParser Name.swift
[26/70] Compiling ArgumentParser Parsed.swift
[27/70] Compiling ArgumentParser ParsedValues.swift
BUILD FAILURE 6.1 wasm