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 Sitrep, reference 3.0.0 (ffd112), with Swift 6.1 for Wasm on 28 May 2025 19:51:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/twostraws/Sitrep.git
Reference: 3.0.0
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/twostraws/Sitrep
 * tag               3.0.0      -> FETCH_HEAD
HEAD is now at ffd1128 Moving up to the stable SwiftSyntax release for Swift 5.8.
Cloned https://github.com/twostraws/Sitrep.git
Revision (git rev-parse @):
ffd112887aad012299cb2b4d18540ed26b883d6e
SUCCESS checkout https://github.com/twostraws/Sitrep.git at 3.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/twostraws/Sitrep.git
https://github.com/twostraws/Sitrep.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "508.0.0",
            "upper_bound" : "509.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Sitrep",
  "name" : "Sitrep",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SitrepCore",
      "targets" : [
        "SitrepCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Sitrep",
      "targets" : [
        "Sitrep"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SitrepCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SitrepCoreTests",
      "path" : "Tests/SitrepCoreTests",
      "sources" : [
        "SitrepCoreTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SitrepCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SitrepCore",
      "module_type" : "SwiftTarget",
      "name" : "SitrepCore",
      "path" : "Sources/SitrepCore",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxParser",
        "Yams",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "SitrepCore",
        "Sitrep"
      ],
      "sources" : [
        "BodyStripper.swift",
        "Comment.swift",
        "Configuration.swift",
        "Extensions.swift",
        "File.swift",
        "FileVisitor.swift",
        "Function.swift",
        "Node.swift",
        "Report.swift",
        "Results.swift",
        "Scan.swift",
        "Type.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Sitrep",
      "module_type" : "SwiftTarget",
      "name" : "Sitrep",
      "path" : "Sources/Sitrep",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Sitrep"
      ],
      "sources" : [
        "Command.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SitrepCore"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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/jpsim/Yams.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser
[1/10657] Fetching yams
[2026/26008] Fetching yams, swift-argument-parser
[22280/96457] Fetching yams, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (0.97s)
[19111/81106] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (1.33s)
[21135/70449] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.03s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (7.13s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.77s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.92s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
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.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/32] Write sources
[10/32] Compiling writer.c
[11/32] Compiling reader.c
[12/32] Compiling parser.c
[13/32] Compiling api.c
[14/32] Compiling emitter.c
[15/32] Write swift-version-24593BA9C3E375BF.txt
[16/32] Compiling scanner.c
[18/92] Emitting module ArgumentParserToolInfo
[19/92] Emitting module Yams
[20/94] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/95] Compiling Yams AliasDereferencingStrategy.swift
[23/95] Compiling Yams Anchor.swift
[24/95] Compiling Yams Constructor.swift
[25/95] Compiling Yams Decoder.swift
[26/95] Compiling Yams Emitter.swift
[27/95] Compiling Yams Encoder.swift
[27/100] Wrapping AST for ArgumentParserToolInfo for debugging
[29/138] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/138] Compiling ArgumentParser CompletionsGenerator.swift
[31/138] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/138] Compiling ArgumentParser ParsableArgumentsValidation.swift
[33/138] Compiling ArgumentParser ParsableCommand.swift
[34/138] Compiling ArgumentParser ArgumentVisibility.swift
[35/138] Compiling ArgumentParser CompletionKind.swift
[36/138] Compiling ArgumentParser Errors.swift
[37/138] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/138] Compiling ArgumentParser Argument.swift
[39/138] Compiling ArgumentParser ArgumentHelp.swift
[40/138] 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.
[41/138] 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.
[42/138] Compiling ArgumentParser Option.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.
[43/138] Compiling ArgumentParser CommandConfiguration.swift
[44/138] Compiling ArgumentParser CommandGroup.swift
[45/138] Compiling ArgumentParser OptionGroup.swift
[46/138] Compiling ArgumentParser AsyncParsableCommand.swift
[47/138] Compiling ArgumentParser EnumerableFlag.swift
[48/138] Compiling ArgumentParser ExpressibleByArgument.swift
[49/138] Compiling ArgumentParser ParsableArguments.swift
[50/138] Compiling ArgumentParser DumpHelpGenerator.swift
[51/138] Compiling ArgumentParser HelpCommand.swift
[52/138] Compiling ArgumentParser HelpGenerator.swift
[53/138] Compiling ArgumentParser MessageInfo.swift
[54/138] Compiling ArgumentParser UsageGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/17] Write swift-version-24593BA9C3E375BF.txt
[3/77] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[4/77] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[5/79] Compiling SwiftSyntax Utils.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/79] Compiling SwiftSyntax Misc.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.
[7/79] Compiling SwiftSyntax SyntaxAnyVisitor.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.
[8/79] Compiling SwiftSyntax SourceLength.swift
[9/79] Compiling SwiftSyntax SyntaxData.swift
[10/79] Emitting module Yams
[11/79] Compiling SwiftSyntax SyntaxOtherNodes.swift
[12/79] Compiling SwiftSyntax SyntaxText.swift
[13/79] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[14/79] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/79] Emitting module ArgumentParserToolInfo
[16/79] Compiling SwiftSyntax AbsolutePosition.swift
[17/79] Compiling SwiftSyntax BumpPtrAllocator.swift
[18/79] Compiling SwiftSyntax CommonAncestor.swift
[20/80] Compiling Yams YamlError.swift
[21/80] Compiling Yams YamlTagProviding.swift
[22/117] Compiling ArgumentParser Errors.swift
[23/117] Compiling ArgumentParser Flag.swift
[24/117] Compiling ArgumentParser NameSpecification.swift
[25/117] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/117] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/117] Compiling ArgumentParser Argument.swift
BUILD FAILURE 6.1 wasm