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 (b5f26f), with Swift 6.1 for Wasm on 24 Jun 2025 05:55:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.64.0
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 b5f26f3 tests: Add unit tests
Cloned https://github.com/loopwerk/SagaParsleyMarkdownReader.git
Revision (git rev-parse @):
b5f26f35d8843b01bd9a884a6a9d9922c58b1cba
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.3",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/Saga.git"
    },
    {
      "identity" : "parsley",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/loopwerk/Parsley"
    },
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit"
    }
  ],
  "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",
      "product_dependencies" : [
        "PathKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SagaParsleyMarkdownReaderTests/content-only.md",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/SagaParsleyMarkdownReaderTests/frontmatter-only.md",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/SagaParsleyMarkdownReaderTests/hard-breaks.md",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/SagaParsleyMarkdownReaderTests/smart-quotes.md",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/SagaParsleyMarkdownReaderTests/special-chars.md",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/SagaParsleyMarkdownReaderTests/test-content.md",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "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-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/kylef/PathKit
Fetching https://github.com/loopwerk/Saga.git
[1/1411] Fetching pathkit
[1412/1690] Fetching pathkit, parsley
[1529/4710] Fetching pathkit, parsley, saga
Fetched https://github.com/kylef/PathKit from cache (0.47s)
[564/3299] Fetching parsley, saga
Fetched https://github.com/loopwerk/Saga.git from cache (0.78s)
Fetched https://github.com/loopwerk/Parsley from cache (0.78s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (4.90s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.38s)
Computing version for https://github.com/loopwerk/Parsley
Computed https://github.com/loopwerk/Parsley at 0.9.1 (1.54s)
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.61s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.28s)
Computing version for https://github.com/loopwerk/Saga.git
Computed https://github.com/loopwerk/Saga.git at 2.4.0 (1.18s)
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/Parsley
Working copy of https://github.com/loopwerk/Parsley resolved at 0.9.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/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/Saga.git
Working copy of https://github.com/loopwerk/Saga.git resolved at 2.4.0
Building for debugging...
[0/39] Write sources
[4/39] Compiling CMarkGFM tagfilter.c
[5/39] Compiling CMarkGFM xml.c
[6/39] Compiling CMarkGFM syntax_extension.c
[7/39] Compiling CMarkGFM tasklist.c
[8/39] Compiling CMarkGFM strikethrough.c
[9/39] Compiling CMarkGFM registry.c
[10/39] Compiling CMarkGFM render.c
[10/39] Compiling CMarkGFM table.c
[12/39] Compiling CMarkGFM plugin.c
[13/39] Compiling CMarkGFM references.c
[14/39] Compiling CMarkGFM plaintext.c
[15/39] Compiling CMarkGFM map.c
[16/39] Compiling CMarkGFM linked_list.c
[17/39] Compiling CMarkGFM man.c
[18/39] Compiling CMarkGFM iterator.c
[19/39] Compiling CMarkGFM node.c
[20/39] Compiling CMarkGFM latex.c
[21/39] Compiling CMarkGFM autolink.c
[22/39] Write swift-version-24593BA9C3E375BF.txt
[23/39] Compiling CMarkGFM houdini_html_e.c
[24/39] Compiling CMarkGFM html.c
[25/39] Compiling CMarkGFM houdini_href_e.c
[26/39] Compiling CMarkGFM footnotes.c
[27/39] Compiling CMarkGFM core-extensions.c
[28/39] Compiling CMarkGFM inlines.c
[29/39] Compiling CMarkGFM cmark_ctype.c
[30/41] Compiling CMarkGFM houdini_html_u.c
[31/41] Compiling CMarkGFM ext_scanners.c
[32/41] Compiling CMarkGFM commonmark.c
[33/41] Compiling CMarkGFM cmark.c
[34/41] Compiling CMarkGFM buffer.c
[35/41] Compiling CMarkGFM arena.c
[36/41] Compiling CMarkGFM blocks.c
[37/41] Compiling CMarkGFM scanners.c
[38/41] Compiling CMarkGFM utf8.c
[40/46] Emitting module Parsley
[41/46] Compiling Parsley Document.swift
[42/46] Compiling Parsley SyntaxExtension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/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
[44/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
[45/46] Compiling Parsley Parsley.swift
[46/46] Compiling Parsley MarkdownOptions.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/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
[3/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
BUILD FAILURE 6.1 wasm