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 jungle, reference 2.3.0 (fe6181), with Swift 6.1 for Wasm on 28 May 2025 18:30:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/xing/jungle.git
Reference: 2.3.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/xing/jungle
 * tag               2.3.0      -> FETCH_HEAD
HEAD is now at fe61816 Merge pull request #23 from xing/support_products
Cloned https://github.com/xing/jungle.git
Revision (git rev-parse @):
fe61816d4f4fac973cd70c272f1bfb863223d3e1
SUCCESS checkout https://github.com/xing/jungle.git at 2.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/xing/jungle.git
https://github.com/xing/jungle.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "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"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "jungle",
  "name" : "jungle",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "jungle",
      "targets" : [
        "jungle"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "PodExtractor",
      "targets" : [
        "PodExtractor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SPMExtractor",
      "targets" : [
        "SPMExtractor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DependencyGraph",
      "targets" : [
        "DependencyGraph"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Shell",
      "targets" : [
        "Shell"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "jungleTests",
      "module_type" : "SwiftTarget",
      "name" : "jungleTests",
      "path" : "Tests/jungleTests",
      "sources" : [
        "GitLogEntryTests.swift"
      ],
      "target_dependencies" : [
        "jungle"
      ],
      "type" : "test"
    },
    {
      "c99name" : "jungle",
      "module_type" : "SwiftTarget",
      "name" : "jungle",
      "path" : "Sources/jungle",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "jungle"
      ],
      "sources" : [
        "Commands/CompareCommand.swift",
        "Commands/DependantCommand.swift",
        "Commands/GraphCommand.swift",
        "Commands/HistoryCommand.swift",
        "Commands/Main.swift",
        "Commands/ModulesCommand.swift",
        "Models/GitLogEntry.swift",
        "Models/ModuleStats.swift",
        "Models/Outputs.swift"
      ],
      "target_dependencies" : [
        "PodExtractor",
        "SPMExtractor",
        "DependencyGraph",
        "Shell"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Shell",
      "module_type" : "SwiftTarget",
      "name" : "Shell",
      "path" : "Sources/Shell",
      "product_memberships" : [
        "jungle",
        "PodExtractor",
        "SPMExtractor",
        "Shell"
      ],
      "sources" : [
        "Shell.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SPMExtractorTests",
      "module_type" : "SwiftTarget",
      "name" : "SPMExtractorTests",
      "path" : "Tests/SPMExtractorTests",
      "sources" : [
        "SPMExtractorTests.swift"
      ],
      "target_dependencies" : [
        "SPMExtractor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SPMExtractor",
      "module_type" : "SwiftTarget",
      "name" : "SPMExtractor",
      "path" : "Sources/SPMExtractor",
      "product_memberships" : [
        "jungle",
        "SPMExtractor"
      ],
      "sources" : [
        "Module+Package.swift"
      ],
      "target_dependencies" : [
        "DependencyModule",
        "Shell"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PodExtractorTests",
      "module_type" : "SwiftTarget",
      "name" : "PodExtractorTests",
      "path" : "Tests/PodExtractorTests",
      "sources" : [
        "PodExtractorTests.swift"
      ],
      "target_dependencies" : [
        "PodExtractor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PodExtractor",
      "module_type" : "SwiftTarget",
      "name" : "PodExtractor",
      "path" : "Sources/PodExtractor",
      "product_dependencies" : [
        "Yams"
      ],
      "product_memberships" : [
        "jungle",
        "PodExtractor"
      ],
      "sources" : [
        "Module+Podfile.swift"
      ],
      "target_dependencies" : [
        "DependencyModule",
        "Shell"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DependencyModule",
      "module_type" : "SwiftTarget",
      "name" : "DependencyModule",
      "path" : "Sources/DependencyModule",
      "product_memberships" : [
        "jungle",
        "PodExtractor",
        "SPMExtractor",
        "DependencyGraph"
      ],
      "sources" : [
        "Module.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DependencyGraphTests",
      "module_type" : "SwiftTarget",
      "name" : "DependencyGraphTests",
      "path" : "Tests/DependencyGraphTests",
      "sources" : [
        "DependencyGraphTests.swift"
      ],
      "target_dependencies" : [
        "DependencyGraph"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DependencyGraph",
      "module_type" : "SwiftTarget",
      "name" : "DependencyGraph",
      "path" : "Sources/DependencyGraph",
      "product_memberships" : [
        "jungle",
        "DependencyGraph"
      ],
      "sources" : [
        "Graph+Dot.swift",
        "Graph+Make.swift",
        "Graph+Stats.swift",
        "Graph.swift"
      ],
      "target_dependencies" : [
        "DependencyModule"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/10657] Fetching yams
[5756/26008] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.11s)
Fetched https://github.com/jpsim/Yams.git from cache (1.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (1.89s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.74s)
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
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/28] Write sources
[10/28] Compiling reader.c
[11/28] Compiling writer.c
[12/28] Compiling api.c
[13/28] Compiling parser.c
[14/28] Write swift-version-24593BA9C3E375BF.txt
[15/28] Compiling emitter.c
[16/34] Compiling scanner.c
[18/54] Emitting module ArgumentParserToolInfo
[19/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/55] Compiling Yams Tag.swift
[21/55] Compiling Yams YamlAnchorProviding.swift
[22/57] Wrapping AST for ArgumentParserToolInfo for debugging
[24/95] Compiling ArgumentParser OptionGroup.swift
[25/95] Compiling ArgumentParser AsyncParsableCommand.swift
[26/95] Compiling ArgumentParser ZshCompletionsGenerator.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.
[27/95] Compiling ArgumentParser Argument.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.
[28/95] Compiling ArgumentParser ArgumentHelp.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/95] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/95] Compiling ArgumentParser ParsableCommand.swift
[31/95] Compiling ArgumentParser ArgumentVisibility.swift
[32/95] Compiling ArgumentParser CompletionKind.swift
[33/95] Compiling ArgumentParser Errors.swift
[34/95] Compiling ArgumentParser Flag.swift
[35/95] Compiling ArgumentParser NameSpecification.swift
[36/95] Compiling ArgumentParser Option.swift
[40/100] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/100] Compiling ArgumentParser CompletionsGenerator.swift
[42/100] Compiling ArgumentParser FishCompletionsGenerator.swift
[43/100] Emitting module Shell
[44/100] Compiling Shell Shell.swift
/host/spi-builder-workspace/Sources/Shell/Shell.swift:4:16: error: cannot find 'Process' in scope
 2 |
 3 | @discardableResult public func shell(_ command: String, at directory: URL? = nil, skipErrorsOutput: Bool = true) throws -> String {
 4 |     let task = Process()
   |                `- error: cannot find 'Process' in scope
 5 |     let pipe = Pipe()
 6 |
[45/100] Compiling DependencyModule Module.swift
[46/100] Emitting module DependencyModule
[47/101] Compiling ArgumentParser EnumerableFlag.swift
[48/101] Compiling ArgumentParser ExpressibleByArgument.swift
[49/101] Compiling ArgumentParser ParsableArguments.swift
[50/101] Emitting module Yams
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/13] Write swift-version-24593BA9C3E375BF.txt
[3/39] Compiling Shell Shell.swift
/host/spi-builder-workspace/Sources/Shell/Shell.swift:4:16: error: cannot find 'Process' in scope
 2 |
 3 | @discardableResult public func shell(_ command: String, at directory: URL? = nil, skipErrorsOutput: Bool = true) throws -> String {
 4 |     let task = Process()
   |                `- error: cannot find 'Process' in scope
 5 |     let pipe = Pipe()
 6 |
[4/39] Emitting module Shell
[5/39] Compiling DependencyModule Module.swift
[6/39] Emitting module DependencyModule
BUILD FAILURE 6.1 wasm