The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SagaStencilRenderer, reference 1.3.1 (34713d), with Swift 6.1 for Wasm on 1 Apr 2026 05:48:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwerk/SagaStencilRenderer.git
Reference: 1.3.1
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/loopwerk/SagaStencilRenderer
 * tag               1.3.1      -> FETCH_HEAD
HEAD is now at 34713d4 fix: Don't set a useless default empty environment
Cloned https://github.com/loopwerk/SagaStencilRenderer.git
Revision (git rev-parse @):
34713d4485fc937465c7e40d2916563e900549bf
SUCCESS checkout https://github.com/loopwerk/SagaStencilRenderer.git at 1.3.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/loopwerk/SagaStencilRenderer.git
https://github.com/loopwerk/SagaStencilRenderer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "saga",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/Saga"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.14.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil"
    }
  ],
  "manifest_display_name" : "SagaStencilRenderer",
  "name" : "SagaStencilRenderer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SagaStencilRenderer",
      "targets" : [
        "SagaStencilRenderer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaStencilRenderer",
      "module_type" : "SwiftTarget",
      "name" : "SagaStencilRenderer",
      "path" : "Sources/SagaStencilRenderer",
      "product_dependencies" : [
        "Saga",
        "Stencil"
      ],
      "product_memberships" : [
        "SagaStencilRenderer"
      ],
      "sources" : [
        "SagaStencilRenderer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/stencilproject/Stencil
Fetching https://github.com/loopwerk/Saga
[1/4651] Fetching saga
[281/9944] Fetching saga, stencil
Fetched https://github.com/stencilproject/Stencil from cache (0.37s)
Fetched https://github.com/loopwerk/Saga from cache (0.39s)
Computing version for https://github.com/loopwerk/Saga
Computed https://github.com/loopwerk/Saga at 3.1.0 (0.92s)
Fetching https://github.com/loopwerk/SagaPathKit
Fetching https://github.com/apple/swift-crypto
[1/829] Fetching sagapathkit
[830/18105] Fetching sagapathkit, swift-crypto
Fetched https://github.com/loopwerk/SagaPathKit from cache (2.01s)
Fetched https://github.com/apple/swift-crypto from cache (2.05s)
Computing version for https://github.com/loopwerk/SagaPathKit
Computed https://github.com/loopwerk/SagaPathKit at 1.6.1 (2.55s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (2.21s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[1022/2473] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.23s)
Fetched https://github.com/kylef/Spectre.git from cache (0.23s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.78s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.18s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.15.1 (1.83s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (2.68s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.15.1
Creating working copy for https://github.com/loopwerk/Saga
Working copy of https://github.com/loopwerk/Saga resolved at 3.1.0
Creating working copy for https://github.com/loopwerk/SagaPathKit
Working copy of https://github.com/loopwerk/SagaPathKit resolved at 1.6.1
Creating working copy for https://github.com/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.15.1
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[8/10] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module SagaPathKit
/host/spi-builder-workspace/.build/checkouts/SagaPathKit/Sources/SagaPathKit.swift:8:10: error: no such module 'Darwin'
  6 |   let system_glob = Glibc.glob
  7 | #else
  8 |   import Darwin
    |          `- error: no such module 'Darwin'
  9 |
 10 |   let system_glob = Darwin.glob
[10/10] Compiling SagaPathKit SagaPathKit.swift
/host/spi-builder-workspace/.build/checkouts/SagaPathKit/Sources/SagaPathKit.swift:8:10: error: no such module 'Darwin'
  6 |   let system_glob = Glibc.glob
  7 | #else
  8 |   import Darwin
    |          `- error: no such module 'Darwin'
  9 |
 10 |   let system_glob = Darwin.glob
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[3/5] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module SagaPathKit
/host/spi-builder-workspace/.build/checkouts/SagaPathKit/Sources/SagaPathKit.swift:8:10: error: no such module 'Darwin'
  6 |   let system_glob = Glibc.glob
  7 | #else
  8 |   import Darwin
    |          `- error: no such module 'Darwin'
  9 |
 10 |   let system_glob = Darwin.glob
[5/5] Compiling SagaPathKit SagaPathKit.swift
/host/spi-builder-workspace/.build/checkouts/SagaPathKit/Sources/SagaPathKit.swift:8:10: error: no such module 'Darwin'
  6 |   let system_glob = Glibc.glob
  7 | #else
  8 |   import Darwin
    |          `- error: no such module 'Darwin'
  9 |
 10 |   let system_glob = Darwin.glob
BUILD FAILURE 6.1 wasm