The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenAPIDiff, reference main (5904f0), with Swift 6.1 for Wasm on 20 Feb 2026 10:00:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/mattpolzin/OpenAPIDiff.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/mattpolzin/OpenAPIDiff
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5904f0d Merge pull request #12 from mattpolzin/release-bump
Cloned https://github.com/mattpolzin/OpenAPIDiff.git
Revision (git rev-parse @):
5904f0d7f8a3376cf07bbff71a830db51bf72f40
SUCCESS checkout https://github.com/mattpolzin/OpenAPIDiff.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattpolzin/OpenAPIDiff.git
https://github.com/mattpolzin/OpenAPIDiff.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "openapikit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mattpolzin/OpenAPIKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.2.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "OpenAPIDiff",
  "name" : "OpenAPIDiff",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenAPIDiff",
      "targets" : [
        "OpenAPIDiff"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "openapi-diff",
      "targets" : [
        "openapi-diff"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "openapi_diff",
      "module_type" : "SwiftTarget",
      "name" : "openapi-diff",
      "path" : "Sources/openapi-diff",
      "product_dependencies" : [
        "OpenAPIKitCompat",
        "Yams",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "openapi-diff"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "OpenAPIDiff"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "OpenAPIDiffTests",
      "module_type" : "SwiftTarget",
      "name" : "OpenAPIDiffTests",
      "path" : "Tests/OpenAPIDiffTests",
      "sources" : [
        "OpenAPIDiffTests.swift"
      ],
      "target_dependencies" : [
        "OpenAPIDiff"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OpenAPIDiff",
      "module_type" : "SwiftTarget",
      "name" : "OpenAPIDiff",
      "path" : "Sources/OpenAPIDiff",
      "product_dependencies" : [
        "OpenAPIKit",
        "Yams"
      ],
      "product_memberships" : [
        "OpenAPIDiff",
        "openapi-diff"
      ],
      "sources" : [
        "ApiComparable.swift",
        "ApiContext.swift",
        "ApiDiff.swift",
        "Comparable Conformances/Either+ApiComparable.swift",
        "Comparable Conformances/OpenAPI Comparables/JSONSChema+ApiComparable.swift",
        "Comparable Conformances/OpenAPI Comparables/OpenAPI+ApiComparable.swift",
        "Comparable Conformances/OpenAPI Comparables/OpenAPIReference+ApiComparable.swift",
        "Comparable Conformances/OpenAPI Comparables/Parameter+ApiComparable.swift",
        "Comparable Conformances/OpenAPI Comparables/SecurityScheme+ApiComparable.swift",
        "Comparable Conformances/OrderedDictionary+ApiComparable.swift",
        "Comparable Conformances/Swift+ApiComparable.swift",
        "Exports.swift",
        "Identifiable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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.git
Fetching https://github.com/mattpolzin/OpenAPIKit.git
Fetching https://github.com/jpsim/Yams.git
[1/17159] Fetching swift-argument-parser
[3776/28662] Fetching swift-argument-parser, yams
[18426/151593] Fetching swift-argument-parser, yams, openapikit
Fetched https://github.com/jpsim/Yams.git from cache (3.33s)
[71249/140090] Fetching swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-argument-parser.git from cache (12.51s)
Fetched https://github.com/mattpolzin/OpenAPIKit.git from cache (12.67s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (13.99s)
Computing version for https://github.com/mattpolzin/OpenAPIKit.git
Computed https://github.com/mattpolzin/OpenAPIKit.git at 5.0.0 (1.20s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (1.11s)
Creating working copy for https://github.com/mattpolzin/OpenAPIKit.git
Working copy of https://github.com/mattpolzin/OpenAPIKit.git resolved at 5.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/29] Write sources
[11/29] Compiling writer.c
[12/29] Compiling reader.c
[13/29] Compiling api.c
[14/29] Compiling parser.c
[15/29] Compiling emitter.c
[16/29] Write swift-version-24593BA9C3E375BF.txt
[17/29] Compiling scanner.c
[19/83] Emitting module OpenAPIKitCore
[20/87] Emitting module Yams
[21/89] Compiling Yams Tag.swift
[22/89] Compiling Yams YamlAnchorProviding.swift
[23/89] Emitting module ArgumentParserToolInfo
[24/89] Compiling ArgumentParserToolInfo ToolInfo.swift
[25/90] Wrapping AST for ArgumentParserToolInfo for debugging
[27/136] Compiling ArgumentParser ArgumentVisibility.swift
[28/136] Compiling ArgumentParser CompletionKind.swift
[29/136] Compiling ArgumentParser Foundation.swift
[30/136] Compiling ArgumentParser Mutex.swift
[31/136] Compiling ArgumentParser Platform.swift
[32/136] Compiling ArgumentParser SequenceExtensions.swift
[33/136] Compiling ArgumentParser StringExtensions.swift
[34/136] Compiling ArgumentParser SwiftExtensions.swift
[37/142] Compiling ArgumentParser InputKey.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.
/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.
/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.
[40/142] Compiling ArgumentParser ExpressibleByArgument.swift
[41/142] Compiling ArgumentParser ParsableArguments.swift
[42/142] Compiling ArgumentParser InputOrigin.swift
[43/142] Compiling ArgumentParser Name.swift
[46/142] Compiling ArgumentParser Errors.swift
[47/142] Compiling ArgumentParser Flag.swift
[52/142] Compiling ArgumentParser ArgumentSet.swift
[53/142] Compiling ArgumentParser CommandParser.swift
[57/142] Compiling ArgumentParser ArgumentDiscussion.swift
[58/142] Compiling ArgumentParser ArgumentHelp.swift
[59/142] Compiling ArgumentParser ParsableCommand.swift
[60/142] Compiling ArgumentParser ArgumentDecoder.swift
[61/142] Compiling ArgumentParser ArgumentDefinition.swift
[62/142] Compiling ArgumentParser AsyncParsableCommand.swift
[63/142] Compiling ArgumentParser CommandConfiguration.swift
[64/142] Compiling ArgumentParser CommandGroup.swift
[65/142] Compiling ArgumentParser EnumerableFlag.swift
[66/142] Compiling ArgumentParser BashCompletionsGenerator.swift
[67/142] Compiling ArgumentParser CompletionsGenerator.swift
[68/142] Compiling ArgumentParser FishCompletionsGenerator.swift
[69/142] Compiling ArgumentParser ZshCompletionsGenerator.swift
[70/142] Compiling ArgumentParser Argument.swift
[71/142] Compiling ArgumentParser NameSpecification.swift
[72/142] Compiling ArgumentParser Option.swift
[73/142] Compiling ArgumentParser OptionGroup.swift
[74/142] Compiling ArgumentParser ParentCommand.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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/14] Write swift-version-24593BA9C3E375BF.txt
[4/68] Emitting module ArgumentParserToolInfo
[5/68] Emitting module OpenAPIKitCore
[6/72] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
[7/72] Compiling OpenAPIKitCore Optional+Zip.swift
[8/72] Compiling OpenAPIKitCore Result+Value.swift
[9/72] Compiling OpenAPIKitCore Validatable.swift
[10/72] Compiling Yams Tag.swift
[11/72] Compiling Yams YamlAnchorProviding.swift
[12/74] 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.
[13/74] 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.
[14/74] 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.
[15/74] Compiling Yams Resolver.swift
[16/74] Compiling Yams String+Yams.swift
[17/74] Compiling Yams Constructor.swift
[18/74] Compiling Yams Decoder.swift
[19/74] Compiling Yams Emitter.swift
[20/74] Compiling Yams Encoder.swift
[21/74] Compiling Yams Node.Scalar.swift
[22/74] Compiling Yams Mark.swift
[23/74] Compiling Yams Node.Alias.swift
[24/74] Compiling Yams Node.Mapping.swift
[25/74] Compiling Yams AliasDereferencingStrategy.swift
[26/74] Compiling Yams Anchor.swift
[27/74] Compiling OpenAPIKitCore JSONSchemaPermissions.swift
[28/74] Compiling OpenAPIKitCore JSONTypeFormat.swift
[29/74] Compiling OpenAPIKitCore Path.swift
[30/74] Compiling OpenAPIKitCore ResponseStatusCode.swift
[35/74] Compiling Yams Node.Sequence.swift
[36/74] Compiling Yams Node.swift
[37/74] Compiling Yams YamlError.swift
[38/74] Compiling Yams YamlTagProviding.swift
[45/74] Compiling OpenAPIKitCore URLTemplate+Parsing.swift
[46/74] Compiling OpenAPIKitCore URLTemplate.swift
[47/74] Compiling OpenAPIKitCore OrderedDictionary+Validatable.swift
[48/74] Compiling OpenAPIKitCore OrderedDictionary.swift
[49/74] Compiling OpenAPIKitCore StringConvertibleHintProvider.swift
[50/74] Compiling OpenAPIKitCore Shared.swift
[57/75] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/76] Wrapping AST for OpenAPIKitCore for debugging
[60/258] Compiling ArgumentParser Flag.swift
[61/258] Compiling ArgumentParser NameSpecification.swift
[62/258] Compiling ArgumentParser Option.swift
[63/258] Emitting module Yams
[64/258] Compiling ArgumentParser OptionGroup.swift
[65/258] Compiling ArgumentParser BashCompletionsGenerator.swift
[66/258] Compiling ArgumentParser CompletionsGenerator.swift
BUILD FAILURE 6.1 wasm