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 MarkdownView, reference 0.4.4 (8c0358), with Swift 6.1 for Wasm on 4 Jun 2025 14:39:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/zunda-pixel/MarkdownView.git
Reference: 0.4.4
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/zunda-pixel/MarkdownView
 * tag               0.4.4      -> FETCH_HEAD
HEAD is now at 8c0358d Create release.yml (#31)
Cloned https://github.com/zunda-pixel/MarkdownView.git
Revision (git rev-parse @):
8c0358d06d5d6fb6432214b436a07d0cc0626ac1
SUCCESS checkout https://github.com/zunda-pixel/MarkdownView.git at 0.4.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/zunda-pixel/MarkdownView.git
https://github.com/zunda-pixel/MarkdownView.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-markdown",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-markdown"
    },
    {
      "identity" : "swift-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-algorithms"
    }
  ],
  "manifest_display_name" : "MarkdownView",
  "name" : "MarkdownView",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "MarkdownView",
      "targets" : [
        "MarkdownView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarkdownViewTests",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownViewTests",
      "path" : "Tests/MarkdownViewTests",
      "sources" : [
        "MarkdownViewParserTests.swift"
      ],
      "target_dependencies" : [
        "MarkdownView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MarkdownView",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownView",
      "path" : "Sources/MarkdownView",
      "product_dependencies" : [
        "Markdown",
        "Algorithms"
      ],
      "product_memberships" : [
        "MarkdownView"
      ],
      "sources" : [
        "Components/BlockDirectiveView.swift",
        "Components/BlockQuoteView.swift",
        "Components/CodeBlockView.swift",
        "Components/CustomRoundedRectangle.swift",
        "Components/DoxygenDiscussionView.swift",
        "Components/DoxygenNoteView.swift",
        "Components/DoxygenParameterView.swift",
        "Components/DoxygenReturnsView.swift",
        "Components/FlowLayout.swift",
        "Components/HTMLView.swift",
        "Components/HeadingView.swift",
        "Components/InlineCodeView.swift",
        "Components/LinkView.swift",
        "Components/ListDepthKey.swift",
        "Components/OrderedListView.swift",
        "Components/TableView.swift",
        "Components/UnorderedListView.swift",
        "Contents/InlineMarkupContent.swift",
        "Contents/ListItemContent.swift",
        "Contents/MarkupContent.swift",
        "Extension/Array++.swift",
        "Extension/Color++.swift",
        "Extension/View++.swift",
        "InlineMarkupContentView.swift",
        "MarkdownView.swift",
        "MarkupContentView.swift",
        "Parse/MarkdownViewParser.swift",
        "Parse/MultiContentParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 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/apple/swift-algorithms
Fetching https://github.com/apple/swift-markdown
[1/5959] Fetching swift-algorithms
[3994/12728] Fetching swift-algorithms, swift-markdown
Fetched https://github.com/apple/swift-algorithms from cache (0.74s)
Fetched https://github.com/apple/swift-markdown from cache (0.94s)
Computing version for https://github.com/apple/swift-markdown
Computed https://github.com/apple/swift-markdown at 0.6.0 (4.19s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18100] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.47s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (2.46s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.89s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.66s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.58s)
Creating working copy for https://github.com/apple/swift-markdown
Working copy of https://github.com/apple/swift-markdown resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.0
Building for debugging...
[0/41] Compiling cmark-gfm-extensions tasklist.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   22 | CMARK_DEFINE_ONCE(registered);
      | ^
      | int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:19: error: a parameter list without types is only allowed in a function definition
   22 | CMARK_DEFINE_ONCE(registered);
      |                   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:18: error: use of undeclared identifier 'registered'
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |                  ^
4 errors generated.
[1/41] Compiling cmark-gfm-extensions core-extensions.c
[1/41] Compiling cmark-gfm-extensions strikethrough.c
[1/41] Compiling cmark-gfm-extensions ext_scanners.c
[1/41] Compiling cmark-gfm xml.c
[1/41] Compiling cmark-gfm-extensions autolink.c
[1/41] Compiling cmark-gfm-extensions table.c
[1/41] Compiling cmark-gfm-extensions tagfilter.c
[1/41] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/40] Compiling cmark-gfm-extensions tagfilter.c
[1/40] Compiling cmark-gfm-extensions ext_scanners.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   22 | CMARK_DEFINE_ONCE(registered);
      | ^
      | int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:19: error: a parameter list without types is only allowed in a function definition
   22 | CMARK_DEFINE_ONCE(registered);
      |                   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:18: error: use of undeclared identifier 'registered'
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |                  ^
4 errors generated.
[2/40] Compiling cmark-gfm-extensions core-extensions.c
[2/40] Compiling cmark-gfm utf8.c
[2/40] Compiling cmark-gfm xml.c
[2/40] Compiling cmark-gfm-extensions autolink.c
[2/40] Compiling cmark-gfm-extensions table.c
[2/40] Compiling cmark-gfm syntax_extension.c
[2/40] Compiling cmark-gfm-extensions strikethrough.c
[2/40] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm