The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SagaLeafRenderer, reference main (8e5cc5), with Swift 6.1 for Wasm on 5 Apr 2026 06:13:18 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/SagaLeafRenderer.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/SagaLeafRenderer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8e5cc57 first commit
Cloned https://github.com/loopwerk/SagaLeafRenderer.git
Revision (git rev-parse @):
8e5cc5716077d1936681d4bee02fe8943e723aa9
SUCCESS checkout https://github.com/loopwerk/SagaLeafRenderer.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/loopwerk/SagaLeafRenderer.git
https://github.com/loopwerk/SagaLeafRenderer.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.git"
    },
    {
      "identity" : "leaf-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.13.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/leaf-kit"
    }
  ],
  "manifest_display_name" : "SagaLeafRenderer",
  "name" : "SagaLeafRenderer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SagaLeafRenderer",
      "targets" : [
        "SagaLeafRenderer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaLeafRenderer",
      "module_type" : "SwiftTarget",
      "name" : "SagaLeafRenderer",
      "path" : "Sources/SagaLeafRenderer",
      "product_dependencies" : [
        "Saga",
        "LeafKit"
      ],
      "product_memberships" : [
        "SagaLeafRenderer"
      ],
      "sources" : [
        "SagaLeafRenderer.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/vapor/leaf-kit
Fetching https://github.com/loopwerk/Saga.git
[1/4728] Fetching saga
[474/9758] Fetching saga, leaf-kit
Fetched https://github.com/vapor/leaf-kit from cache (0.49s)
Fetched https://github.com/loopwerk/Saga.git from cache (0.50s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 3.3.1 (1.11s)
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.32s)
[1/17328] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (2.48s)
Computing version for https://github.com/loopwerk/SagaPathKit
Computed https://github.com/loopwerk/SagaPathKit at 1.6.1 (4.01s)
Computing version for https://github.com/vapor/leaf-kit
Computed https://github.com/vapor/leaf-kit at 1.14.2 (0.70s)
Fetching https://github.com/apple/swift-nio.git
[1/83021] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.76s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (9.92s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/5601] Fetching swift-system
[730/7421] Fetching swift-system, swift-atomics
[3179/30847] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.63s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
[1875/23426] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.89s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.56s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.77s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.39s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.15.1 (3.96s)
Fetching https://github.com/apple/swift-asn1.git
[1/1789] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.35s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (2.70s)
Creating working copy for https://github.com/vapor/leaf-kit
Working copy of https://github.com/vapor/leaf-kit resolved at 1.14.2
Creating working copy for https://github.com/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 3.3.1
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/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Building for debugging...
[0/32] Write sources
[18/32] Compiling CSystem shims.c
[19/32] Compiling CNIOWindows shim.c
[20/32] Compiling CNIOWindows WSAStartup.c
[21/32] Compiling CNIOWASI CNIOWASI.c
[21/32] Compiling _AtomicsShims.c
[23/32] Compiling CNIOOpenBSD shim.c
[24/32] Compiling CNIOLinux shim.c
[25/32] Compiling CNIODarwin shim.c
[26/32] Compiling CNIOPosix event_loop_id.c
[26/32] Write sources
[28/32] Compiling CNIOLinux liburing_shims.c
[29/32] Write swift-version-24593BA9C3E375BF.txt
[31/107] Emitting module SystemPackage
[32/111] Emitting module InternalCollectionsUtilities
[33/113] Emitting module Atomics
[33/115] Compiling c-nioatomics.c
[35/115] Compiling Atomics IntegerOperations.swift
[36/115] Compiling Atomics Unmanaged extensions.swift
[37/115] Compiling SystemPackage IORing.swift
[38/115] Compiling SystemPackage RawIORequest.swift
[39/115] Compiling SystemPackage Backcompat.swift
[40/115] Emitting module _NIOBase64
[41/115] Compiling _NIOBase64 Base64.swift
[42/115] Compiling _NIODataStructures PriorityQueue.swift
[43/115] Compiling _NIODataStructures _TinyArray.swift
[44/115] Compiling SystemPackage IOCompletion.swift
[45/115] Compiling SystemPackage IORequest.swift
[46/115] Compiling SystemPackage Errno.swift
[47/115] Compiling SystemPackage CInterop.swift
[48/115] Compiling SystemPackage FilePathWindows.swift
[49/115] Compiling SystemPackage FilePermissions.swift
[52/116] Compiling SystemPackage FilePathTempPosix.swift
[53/116] Compiling SystemPackage FilePathTempWindows.swift
[54/116] Compiling SystemPackage FilePathSyntax.swift
[55/116] Compiling SystemPackage FilePathTemp.swift
[58/116] Compiling SystemPackage ErrnoWindows.swift
[59/116] Compiling SystemPackage FileDescriptor.swift
[62/116] Compiling SystemPackage FileHelpers.swift
[63/116] Compiling SystemPackage FileOperations.swift
[64/116] Compiling SystemPackage SystemString.swift
[65/116] Compiling SystemPackage Util+StringArray.swift
[66/116] Compiling SystemPackage Util.swift
[67/116] Compiling SystemPackage UtilConsumers.swift
[83/118] Compiling c-atomics.c
[85/151] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[86/151] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[87/151] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[88/151] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[89/156] Emitting module _NIODataStructures
[90/156] Compiling _NIODataStructures Heap.swift
[91/159] Compiling ContainersPreview Container+Filter.swift
[92/159] Compiling ContainersPreview Container+SpanwiseZip.swift
[93/159] Compiling ContainersPreview Producer+Map.swift
[94/159] Compiling ContainersPreview Producer+Reduce.swift
[95/159] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[96/159] Compiling ContainersPreview OutputSpan+Extras.swift
[97/159] Compiling ContainersPreview TemporaryAllocation.swift
[98/159] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[99/159] Compiling ContainersPreview Producer+Collect.swift
[100/159] Compiling ContainersPreview Producer+Filter.swift
[101/159] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[102/159] Compiling ContainersPreview BorrowingSequence.swift
[103/159] Compiling ContainersPreview BidirectionalContainer.swift
[104/159] Compiling ContainersPreview RangeReplaceableContainer.swift
[105/159] Compiling ContainersPreview Drain+Map.swift
[106/159] Compiling ContainersPreview Drain+Reduce.swift
[107/159] Compiling ContainersPreview Drain.swift
[108/159] Compiling ContainersPreview MutableContainer.swift
[109/159] Compiling ContainersPreview PermutableContainer.swift
[110/159] Compiling ContainersPreview RandomAccessContainer.swift
[111/159] Compiling ContainersPreview RangeExpression2.swift
[112/159] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[113/159] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[114/159] Compiling ContainersPreview Container.swift
[115/159] Compiling ContainersPreview ContainerIterator.swift
[116/159] Compiling ContainersPreview DynamicContainer.swift
[117/160] Emitting module ContainersPreview
[120/160] Compiling ContainersPreview Producer.swift
[121/160] Compiling ContainersPreview Borrow.swift
[152/164] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[153/164] 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
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/83] Compiling Atomics IntegerConformances.swift
[3/83] Compiling Atomics PointerConformances.swift
[4/85] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[5/85] Compiling NIOConcurrencyHelpers lock.swift
[6/85] Compiling InternalCollectionsUtilities _SortedCollection.swift
[7/85] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[8/85] Emitting module _NIODataStructures
[9/85] Compiling _NIODataStructures Heap.swift
[10/85] Compiling Atomics UnsafeAtomic.swift
[11/85] Compiling Atomics UnsafeAtomicLazyReference.swift
[12/87] Compiling Atomics ManagedAtomic.swift
[13/87] Compiling Atomics ManagedAtomicLazyReference.swift
[14/87] Compiling Atomics AtomicMemoryOrderings.swift
[15/87] Compiling Atomics DoubleWord.swift
[16/87] Compiling Atomics AtomicStorage.swift
[17/87] Compiling Atomics AtomicValue.swift
[18/87] Compiling SystemPackage Syscalls.swift
[19/87] Compiling SystemPackage WindowsSyscallAdapters.swift
[20/87] Compiling SystemPackage MachPort.swift
[21/87] Compiling SystemPackage PlatformString.swift
[22/91] Compiling Atomics OptionalRawRepresentable.swift
[23/91] Compiling Atomics RawRepresentable.swift
[24/91] Compiling Atomics AtomicBool.swift
[25/91] Compiling Atomics AtomicInteger.swift
[26/91] Compiling Atomics AtomicOptionalWrappable.swift
[27/91] Compiling Atomics AtomicReference.swift
[28/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[29/91] Emitting module _NIOBase64
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/91] 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
[31/91] 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
[32/91] Compiling SystemPackage IORing.swift
[33/91] Compiling SystemPackage RawIORequest.swift
[34/91] Compiling SystemPackage Backcompat.swift
[35/91] Compiling SystemPackage CInterop.swift
[36/91] Compiling Atomics Primitives.native.swift
[39/91] Compiling Atomics IntegerOperations.swift
BUILD FAILURE 6.1 wasm