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 SagaParsleyMarkdownReader, reference main (9605b1), with Swift 6.1 for Wasm on 30 May 2025 09:46:01 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/SagaParsleyMarkdownReader.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/SagaParsleyMarkdownReader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9605b14 Migrate to Saga 2.0.0
Cloned https://github.com/loopwerk/SagaParsleyMarkdownReader.git
Revision (git rev-parse @):
9605b14aa43e32eec454d2dff26bcaf95a1a1a93
SUCCESS checkout https://github.com/loopwerk/SagaParsleyMarkdownReader.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/loopwerk/SagaParsleyMarkdownReader.git
https://github.com/loopwerk/SagaParsleyMarkdownReader.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" : "parsley",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/Parsley"
    }
  ],
  "manifest_display_name" : "SagaParsleyMarkdownReader",
  "name" : "SagaParsleyMarkdownReader",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SagaParsleyMarkdownReader",
      "targets" : [
        "SagaParsleyMarkdownReader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SagaParsleyMarkdownReaderTests",
      "module_type" : "SwiftTarget",
      "name" : "SagaParsleyMarkdownReaderTests",
      "path" : "Tests/SagaParsleyMarkdownReaderTests",
      "sources" : [
        "SagaParsleyMarkdownReaderTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SagaParsleyMarkdownReader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SagaParsleyMarkdownReader",
      "module_type" : "SwiftTarget",
      "name" : "SagaParsleyMarkdownReader",
      "path" : "Sources/SagaParsleyMarkdownReader",
      "product_dependencies" : [
        "Saga",
        "Parsley"
      ],
      "product_memberships" : [
        "SagaParsleyMarkdownReader"
      ],
      "sources" : [
        "SagaParsleyMarkdownReader.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/Parsley
Fetching https://github.com/loopwerk/Saga.git
[1/2901] Fetching saga
[205/3180] Fetching saga, parsley
Fetched https://github.com/loopwerk/Parsley from cache (0.60s)
Fetched https://github.com/loopwerk/Saga.git from cache (0.60s)
Computing version for https://github.com/loopwerk/Parsley
Computed https://github.com/loopwerk/Parsley at 0.9.1 (1.70s)
Fetching https://github.com/stackotter/swift-cmark-gfm
[1/180] Fetching swift-cmark-gfm
Fetched https://github.com/stackotter/swift-cmark-gfm from cache (0.44s)
Computing version for https://github.com/stackotter/swift-cmark-gfm
Computed https://github.com/stackotter/swift-cmark-gfm at 1.0.2 (1.51s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.2.0 (1.09s)
Fetching https://github.com/kylef/PathKit
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit from cache (0.46s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (4.41s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.39s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.56s)
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/stackotter/swift-cmark-gfm
Working copy of https://github.com/stackotter/swift-cmark-gfm resolved at 1.0.2
Creating working copy for https://github.com/loopwerk/Parsley
Working copy of https://github.com/loopwerk/Parsley resolved at 0.9.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/loopwerk/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 2.2.0
Building for debugging...
[0/39] Write sources
[4/39] Compiling CMarkGFM tasklist.c
[5/39] Compiling CMarkGFM arena.c
[6/39] Compiling CMarkGFM tagfilter.c
[7/39] Compiling CMarkGFM table.c
[8/39] Compiling CMarkGFM syntax_extension.c
[9/39] Compiling CMarkGFM xml.c
[10/39] Compiling CMarkGFM strikethrough.c
[11/39] Compiling CMarkGFM render.c
[12/39] Compiling CMarkGFM plugin.c
[13/39] Compiling CMarkGFM references.c
[14/39] Compiling CMarkGFM registry.c
[15/39] Compiling CMarkGFM plaintext.c
[16/39] Compiling CMarkGFM autolink.c
[17/39] Write swift-version-24593BA9C3E375BF.txt
[18/39] Compiling CMarkGFM map.c
[18/39] Compiling CMarkGFM node.c
[20/39] Compiling CMarkGFM linked_list.c
[20/39] Compiling CMarkGFM man.c
[22/39] Compiling CMarkGFM iterator.c
[23/39] Compiling CMarkGFM houdini_html_e.c
[24/39] Compiling CMarkGFM latex.c
[25/39] Compiling CMarkGFM html.c
[26/39] Compiling CMarkGFM houdini_href_e.c
[27/39] Compiling CMarkGFM houdini_html_u.c
[27/39] Compiling CMarkGFM inlines.c
[29/39] Compiling CMarkGFM ext_scanners.c
[30/39] Compiling CMarkGFM footnotes.c
[31/39] Compiling CMarkGFM cmark_ctype.c
[32/39] Compiling CMarkGFM core-extensions.c
[33/41] Compiling CMarkGFM buffer.c
[34/41] Compiling CMarkGFM cmark.c
[35/41] Compiling CMarkGFM commonmark.c
[36/41] Compiling CMarkGFM blocks.c
[37/41] Compiling CMarkGFM scanners.c
[38/41] Compiling CMarkGFM utf8.c
[40/46] Compiling Parsley SyntaxExtension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/46] 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
[42/46] 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
[43/46] Compiling Parsley MarkdownOptions.swift
[44/46] Compiling Parsley Document.swift
[45/46] Compiling Parsley Parsley.swift
[46/46] Emitting module Parsley
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/8] Compiling Parsley SyntaxExtension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] 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
[4/8] 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
[5/8] Compiling Parsley MarkdownOptions.swift
[6/8] Compiling Parsley Document.swift
[7/8] Emitting module Parsley
BUILD FAILURE 6.1 wasm