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 main (b6186c), with Swift 6.1 for Wasm on 30 May 2025 09:48:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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 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 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.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-4609320-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/2901] Fetching saga
[408/3681] Fetching saga, swim
Fetched https://github.com/robb/Swim from cache (0.37s)
Fetched https://github.com/loopwerk/Saga.git from cache (0.39s)
Computing version for https://github.com/robb/Swim
Computed https://github.com/robb/Swim at 0.4.0 (1.10s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.2.0 (0.81s)
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (1.58s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (3.58s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.82s)
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/robb/Swim
Working copy of https://github.com/robb/Swim resolved at 0.4.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
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/14] Compiling Swim NodeBuilder.swift
[8/14] Compiling Swim Trimming.swift
[9/14] Compiling Swim String+XML.swift
[10/14] Compiling Swim Node.swift
[11/14] Emitting module Swim
[12/14] Compiling Swim Visitor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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
[14/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] 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/9] 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
[4/9] Compiling Swim Trimming.swift
[5/9] Compiling Swim String+XML.swift
[6/9] Compiling Swim Visitor.swift
[7/9] Compiling Swim NodeBuilder.swift
[8/9] Emitting module Swim
[9/9] Compiling Swim Node.swift
BUILD FAILURE 6.1 wasm