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 SagaSwimRenderer, reference 1.0.0 (b6186c), with Swift 6.1 for Wasm on 30 May 2025 09:49:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/loopwerk/SagaSwimRenderer.git
Reference: 1.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/loopwerk/SagaSwimRenderer
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at b6186c7 Migrate to Saga 2.0.0
Cloned https://github.com/loopwerk/SagaSwimRenderer.git
Revision (git rev-parse @):
b6186c767689768c5d1efc21b169947ede16c1d0
SUCCESS checkout https://github.com/loopwerk/SagaSwimRenderer.git at 1.0.0
========================================
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.0",
            "upper_bound" : "3.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" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SagaSwimRenderer",
      "targets" : [
        "SagaSwimRenderer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaSwimRendererTests",
      "module_type" : "SwiftTarget",
      "name" : "SagaSwimRendererTests",
      "path" : "Tests/SagaSwimRendererTests",
      "sources" : [
        "SagaSwimRendererTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SagaSwimRenderer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SagaSwimRenderer",
      "module_type" : "SwiftTarget",
      "name" : "SagaSwimRenderer",
      "path" : "Sources/SagaSwimRenderer",
      "product_dependencies" : [
        "Saga",
        "HTML"
      ],
      "product_memberships" : [
        "SagaSwimRenderer"
      ],
      "sources" : [
        "AtomFeed.swift",
        "Node+Extensions.swift",
        "SagaSwimRenderer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/loopwerk/Saga.git
Fetching https://github.com/robb/Swim
[1/780] Fetching swim
[758/3681] Fetching swim, saga
Fetched https://github.com/robb/Swim from cache (0.55s)
[2292/2901] Fetching saga
Fetched https://github.com/loopwerk/Saga.git from cache (0.99s)
Computing version for https://github.com/robb/Swim
Computed https://github.com/robb/Swim at 0.4.0 (1.71s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.2.0 (0.65s)
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.30s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (4.10s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.28s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.57s)
Creating working copy for https://github.com/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 2.2.0
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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/robb/Swim
Working copy of https://github.com/robb/Swim resolved at 0.4.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/14] Compiling Swim String+XML.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/14] 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
[9/14] 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
[10/14] Compiling Swim NodeBuilder.swift
[11/14] Compiling Swim Trimming.swift
[12/14] Emitting module Swim
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling Swim Trimming.swift
[3/9] Compiling Swim NodeBuilder.swift
[4/9] Compiling Swim String+XML.swift
[5/9] Compiling Swim Visitor.swift
[6/9] Compiling Swim Node.swift
[7/9] Emitting module Swim
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/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
[10/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
BUILD FAILURE 6.1 wasm