The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SagaSwimRenderer, reference main (05e68d), with Swift 6.1 for Wasm on 1 Apr 2026 08:16:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/SagaSwimRenderer.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/loopwerk/SagaSwimRenderer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 05e68da fix: Fix example project and readme instructions
Cloned https://github.com/loopwerk/SagaSwimRenderer.git
Revision (git rev-parse @):
05e68daf645d68cbb00658890a31083e9b1edb90
SUCCESS checkout https://github.com/loopwerk/SagaSwimRenderer.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/loopwerk/SagaSwimRenderer.git
https://github.com/loopwerk/SagaSwimRenderer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "saga",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.3",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/Saga.git"
    },
    {
      "identity" : "swim",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/robb/Swim"
    }
  ],
  "manifest_display_name" : "SagaSwimRenderer",
  "name" : "SagaSwimRenderer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SagaSwimRenderer",
      "targets" : [
        "SagaSwimRenderer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaSwimRendererTests",
      "module_type" : "SwiftTarget",
      "name" : "SagaSwimRendererTests",
      "path" : "Tests/SagaSwimRendererTests",
      "sources" : [
        "SagaSwimRendererTests.swift"
      ],
      "target_dependencies" : [
        "SagaSwimRenderer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SagaSwimRenderer",
      "module_type" : "SwiftTarget",
      "name" : "SagaSwimRenderer",
      "path" : "Sources/SagaSwimRenderer",
      "product_dependencies" : [
        "Saga",
        "HTML"
      ],
      "product_memberships" : [
        "SagaSwimRenderer"
      ],
      "sources" : [
        "Node+Extensions.swift",
        "SagaSwimRenderer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/loopwerk/Saga.git
Fetching https://github.com/robb/Swim
[1/4651] Fetching saga
[1769/5446] Fetching saga, swim
Fetched https://github.com/robb/Swim from cache (0.64s)
Fetched https://github.com/loopwerk/Saga.git from cache (0.76s)
Computing version for https://github.com/robb/Swim
Computed https://github.com/robb/Swim at 0.4.0 (4.90s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 3.1.0 (0.96s)
Fetching https://github.com/loopwerk/SagaPathKit
Fetching https://github.com/apple/swift-crypto
[1/829] Fetching sagapathkit
Fetched https://github.com/loopwerk/SagaPathKit from cache (0.45s)
[1/17276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (3.26s)
Computing version for https://github.com/loopwerk/SagaPathKit
Computed https://github.com/loopwerk/SagaPathKit at 1.6.1 (4.28s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.15.1 (3.03s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (4.48s)
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/robb/Swim
Working copy of https://github.com/robb/Swim resolved at 0.4.0
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/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git 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
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/14] 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
[8/14] Compiling Swim Visitor.swift
[9/14] Compiling Swim Node.swift
[10/14] Emitting module Swim
[11/14] Compiling Swim NodeBuilder.swift
[12/14] 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
[13/14] Compiling Swim Trimming.swift
[14/14] Compiling Swim String+XML.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[2/9] Emitting module Swim
[3/9] Compiling Swim NodeBuilder.swift
[4/9] Compiling Swim Trimming.swift
[5/9] Compiling Swim Visitor.swift
[6/9] Compiling Swim String+XML.swift
[7/9] Compiling Swim Node.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/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
[9/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
BUILD FAILURE 6.1 wasm