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 swift-markdown, reference 0.6.0 (ea79e8), with Swift 6.1 for Wasm on 30 May 2025 16:45:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/swiftlang/swift-markdown.git
Reference: 0.6.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/swiftlang/swift-markdown
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at ea79e83 Swift-Markdown 0.6.0
Cloned https://github.com/swiftlang/swift-markdown.git
Revision (git rev-parse @):
ea79e83c8744d2b50b0dc2d5bbd1e857e1253bf9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-markdown.git at 0.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftlang/swift-markdown.git
https://github.com/swiftlang/swift-markdown.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-cmark",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-cmark.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "swift-markdown",
  "name" : "swift-markdown",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Markdown",
      "targets" : [
        "Markdown"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "XMLConverter",
      "targets" : [
        "XMLConverter"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "ParseDocumentFile",
      "targets" : [
        "ParseDocumentFile"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "ParseDocumentString",
      "targets" : [
        "ParseDocumentString"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "RemoveElementKind",
      "targets" : [
        "RemoveElementKind"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "ReplaceText",
      "targets" : [
        "ReplaceText"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "PreferredHeadingStyle",
      "targets" : [
        "PreferredHeadingStyle"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "ThematicBreakCharacter",
      "targets" : [
        "ThematicBreakCharacter"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "MaximumWidth",
      "targets" : [
        "MaximumWidth"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "CondenseAutolinks",
      "targets" : [
        "CondenseAutolinks"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "EmphasisMarkers",
      "targets" : [
        "EmphasisMarkers"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "OrderedListNumerals",
      "targets" : [
        "OrderedListNumerals"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "CustomLinePrefix",
      "targets" : [
        "CustomLinePrefix"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "UseCodeFence",
      "targets" : [
        "UseCodeFence"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "UnorderedListMarker",
      "targets" : [
        "UnorderedListMarker"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "DefaultFormatting",
      "targets" : [
        "DefaultFormatting"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "ChildThrough",
      "targets" : [
        "ChildThrough"
      ],
      "type" : {
        "snippet" : null
      }
    },
    {
      "name" : "LinkCollector",
      "targets" : [
        "LinkCollector"
      ],
      "type" : {
        "snippet" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MarkdownTests",
      "module_type" : "SwiftTarget",
      "name" : "MarkdownTests",
      "path" : "Tests/MarkdownTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/MarkdownTests/Visitors/Everything.md",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Base/AtomicCounterTests.swift",
        "Base/HierarchyTests.swift",
        "Base/MarkupIdentifierTests.swift",
        "Base/MarkupTests.swift",
        "Base/ParsedRangePreservedAfterEditing.swift",
        "Base/PlainTextConvertibleMarkupTests.swift",
        "Base/RawMarkupTests.swift",
        "Base/RawMarkupToMarkupTests.swift",
        "Base/StableIdentifierTests.swift",
        "Block Nodes/CodeBlockTests.swift",
        "Block Nodes/DocumentTests.swift",
        "Block Nodes/HTMLBlockTests.swift",
        "Block Nodes/HeadingTests.swift",
        "Block Nodes/ParagraphTests.swift",
        "Block Nodes/TableTests.swift",
        "Infrastructure/SourceLocationTests.swift",
        "Inline Nodes/ImageTests.swift",
        "Inline Nodes/InlineAttributesTests.swift",
        "Inline Nodes/InlineCodeTests.swift",
        "Inline Nodes/InlineHTMLTests.swift",
        "Inline Nodes/LineBreakTests.swift",
        "Inline Nodes/LinkTests.swift",
        "Inline Nodes/SoftBreakTests.swift",
        "Inline Nodes/SymbolLinkTests.swift",
        "Inline Nodes/TextTests.swift",
        "Interpretive Nodes/AsideTests.swift",
        "Parsing/BacktickTests.swift",
        "Parsing/BlockDirectiveParserTests.swift",
        "Parsing/CommonMarkConverterTests.swift",
        "Parsing/DoxygenCommandParserTests.swift",
        "Parsing/SourceURLTests.swift",
        "Performance/EditPerformanceTests.swift",
        "Performance/MarkupChildrenPerformanceTests.swift",
        "Structural Restrictions/BasicBlockContainerTests.swift",
        "Structural Restrictions/BasicInlineContainerTests.swift",
        "Structural Restrictions/ListItemContainerTests.swift",
        "Utility/AssertElementDidntChange.swift",
        "Visitors/HTMLFormatterTests.swift",
        "Visitors/MarkupFormatterTests.swift",
        "Visitors/MarkupRewriterTests.swift",
        "Visitors/MarkupTreeDumperTests.swift",
        "Visitors/MarkupVisitorTests.swift",
        "Visitors/MarkupWalkerTests.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Markdown",
      "module_type" : "SwiftTarget",
      "name" : "Markdown",
      "path" : "Sources/Markdown",
      "product_dependencies" : [
        "cmark-gfm",
        "cmark-gfm-extensions"
      ],
      "product_memberships" : [
        "Markdown",
        "XMLConverter",
        "ParseDocumentFile",
        "ParseDocumentString",
        "RemoveElementKind",
        "ReplaceText",
        "PreferredHeadingStyle",
        "ThematicBreakCharacter",
        "MaximumWidth",
        "CondenseAutolinks",
        "EmphasisMarkers",
        "OrderedListNumerals",
        "CustomLinePrefix",
        "UseCodeFence",
        "UnorderedListMarker",
        "DefaultFormatting",
        "ChildThrough",
        "LinkCollector"
      ],
      "sources" : [
        "Base/ChildIndexPath.swift",
        "Base/DirectiveArgument.swift",
        "Base/Document.swift",
        "Base/LiteralMarkup.swift",
        "Base/Markup.swift",
        "Base/MarkupChildren.swift",
        "Base/MarkupData.swift",
        "Base/PlainTextConvertibleMarkup.swift",
        "Base/RawMarkup.swift",
        "Block Nodes/Block Container Blocks/BlockDirective.swift",
        "Block Nodes/Block Container Blocks/BlockQuote.swift",
        "Block Nodes/Block Container Blocks/CustomBlock.swift",
        "Block Nodes/Block Container Blocks/Doxygen Commands/DoxygenDiscussion.swift",
        "Block Nodes/Block Container Blocks/Doxygen Commands/DoxygenNote.swift",
        "Block Nodes/Block Container Blocks/Doxygen Commands/DoxygenParameter.swift",
        "Block Nodes/Block Container Blocks/Doxygen Commands/DoxygenReturns.swift",
        "Block Nodes/Block Container Blocks/ListItem.swift",
        "Block Nodes/Block Container Blocks/OrderedList.swift",
        "Block Nodes/Block Container Blocks/UnorderedList.swift",
        "Block Nodes/Inline Container Blocks/Paragraph.swift",
        "Block Nodes/Leaf Blocks/CodeBlock.swift",
        "Block Nodes/Leaf Blocks/HTMLBlock.swift",
        "Block Nodes/Leaf Blocks/Heading.swift",
        "Block Nodes/Leaf Blocks/ThematicBreak.swift",
        "Block Nodes/Tables/Table.swift",
        "Block Nodes/Tables/TableBody.swift",
        "Block Nodes/Tables/TableCell.swift",
        "Block Nodes/Tables/TableCellContainer.swift",
        "Block Nodes/Tables/TableHead.swift",
        "Block Nodes/Tables/TableRow.swift",
        "Infrastructure/Replacement.swift",
        "Infrastructure/SourceLocation.swift",
        "Inline Nodes/Inline Containers/Emphasis.swift",
        "Inline Nodes/Inline Containers/Image.swift",
        "Inline Nodes/Inline Containers/InlineAttributes.swift",
        "Inline Nodes/Inline Containers/Link.swift",
        "Inline Nodes/Inline Containers/Strikethrough.swift",
        "Inline Nodes/Inline Containers/Strong.swift",
        "Inline Nodes/Inline Leaves/CustomInline.swift",
        "Inline Nodes/Inline Leaves/InlineCode.swift",
        "Inline Nodes/Inline Leaves/InlineHTML.swift",
        "Inline Nodes/Inline Leaves/LineBreak.swift",
        "Inline Nodes/Inline Leaves/SoftBreak.swift",
        "Inline Nodes/Inline Leaves/SymbolLink.swift",
        "Inline Nodes/Inline Leaves/Text.swift",
        "Interpretive Nodes/Aside.swift",
        "Parser/BlockDirectiveParser.swift",
        "Parser/CommonMarkConverter.swift",
        "Parser/LazySplitLines.swift",
        "Parser/ParseOptions.swift",
        "Parser/RangeAdjuster.swift",
        "Parser/RangerTracker.swift",
        "Rewriter/MarkupRewriter.swift",
        "Structural Restrictions/BasicBlockContainer.swift",
        "Structural Restrictions/BasicInlineContainer.swift",
        "Structural Restrictions/BlockContainer.swift",
        "Structural Restrictions/BlockMarkup.swift",
        "Structural Restrictions/InlineContainer.swift",
        "Structural Restrictions/InlineMarkup.swift",
        "Structural Restrictions/ListItemContainer.swift",
        "Utility/AtomicCounter.swift",
        "Utility/CharacterExtensions.swift",
        "Utility/CollectionExtensions.swift",
        "Utility/StringExtensions.swift",
        "Visitor/MarkupVisitor.swift",
        "Walker/MarkupWalker.swift",
        "Walker/Walkers/HTMLFormatter.swift",
        "Walker/Walkers/MarkupFormatter.swift",
        "Walker/Walkers/MarkupTreeDumper.swift"
      ],
      "target_dependencies" : [
        "CAtomic"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CAtomic",
      "module_type" : "ClangTarget",
      "name" : "CAtomic",
      "path" : "Sources/CAtomic",
      "product_memberships" : [
        "Markdown",
        "XMLConverter",
        "ParseDocumentFile",
        "ParseDocumentString",
        "RemoveElementKind",
        "ReplaceText",
        "PreferredHeadingStyle",
        "ThematicBreakCharacter",
        "MaximumWidth",
        "CondenseAutolinks",
        "EmphasisMarkers",
        "OrderedListNumerals",
        "CustomLinePrefix",
        "UseCodeFence",
        "UnorderedListMarker",
        "DefaultFormatting",
        "ChildThrough",
        "LinkCollector"
      ],
      "sources" : [
        "CAtomic.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XMLConverter",
      "module_type" : "SwiftTarget",
      "name" : "XMLConverter",
      "path" : "Snippets/Visitors",
      "product_memberships" : [
        "XMLConverter"
      ],
      "sources" : [
        "XMLConverter.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "ParseDocumentFile",
      "module_type" : "SwiftTarget",
      "name" : "ParseDocumentFile",
      "path" : "Snippets/Parsing",
      "product_memberships" : [
        "ParseDocumentFile"
      ],
      "sources" : [
        "ParseDocumentFile.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "ParseDocumentString",
      "module_type" : "SwiftTarget",
      "name" : "ParseDocumentString",
      "path" : "Snippets/Parsing",
      "product_memberships" : [
        "ParseDocumentString"
      ],
      "sources" : [
        "ParseDocumentString.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "RemoveElementKind",
      "module_type" : "SwiftTarget",
      "name" : "RemoveElementKind",
      "path" : "Snippets/Rewriters",
      "product_memberships" : [
        "RemoveElementKind"
      ],
      "sources" : [
        "RemoveElementKind.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "ReplaceText",
      "module_type" : "SwiftTarget",
      "name" : "ReplaceText",
      "path" : "Snippets/Rewriters",
      "product_memberships" : [
        "ReplaceText"
      ],
      "sources" : [
        "ReplaceText.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "PreferredHeadingStyle",
      "module_type" : "SwiftTarget",
      "name" : "PreferredHeadingStyle",
      "path" : "Snippets/Formatting",
      "product_memberships" : [
        "PreferredHeadingStyle"
      ],
      "sources" : [
        "PreferredHeadingStyle.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "ThematicBreakCharacter",
      "module_type" : "SwiftTarget",
      "name" : "ThematicBreakCharacter",
      "path" : "Snippets/Formatting",
      "product_memberships" : [
        "ThematicBreakCharacter"
      ],
      "sources" : [
        "ThematicBreakCharacter.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "MaximumWidth",
      "module_type" : "SwiftTarget",
      "name" : "MaximumWidth",
      "path" : "Snippets/Formatting",
      "product_memberships" : [
        "MaximumWidth"
      ],
      "sources" : [
        "MaximumWidth.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "CondenseAutolinks",
      "module_type" : "SwiftTarget",
      "name" : "CondenseAutolinks",
      "path" : "Snippets/Formatting",
      "product_memberships" : [
        "CondenseAutolinks"
      ],
      "sources" : [
        "CondenseAutolinks.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "EmphasisMarkers",
      "module_type" : "SwiftTarget",
      "name" : "EmphasisMarkers",
      "path" : "Snippets/Formatting",
      "product_memberships" : [
        "EmphasisMarkers"
      ],
      "sources" : [
        "EmphasisMarkers.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "OrderedListNumerals",
      "module_type" : "SwiftTarget",
      "name" : "OrderedListNumerals",
      "path" : "Snippets/Formatting",
      "product_memberships" : [
        "OrderedListNumerals"
      ],
      "sources" : [
        "OrderedListNumerals.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "CustomLinePrefix",
      "module_type" : "SwiftTarget",
      "name" : "CustomLinePrefix",
      "path" : "Snippets/Formatting",
      "product_memberships" : [
        "CustomLinePrefix"
      ],
      "sources" : [
        "CustomLinePrefix.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "UseCodeFence",
      "module_type" : "SwiftTarget",
      "name" : "UseCodeFence",
      "path" : "Snippets/Formatting",
      "product_memberships" : [
        "UseCodeFence"
      ],
      "sources" : [
        "UseCodeFence.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "UnorderedListMarker",
      "module_type" : "SwiftTarget",
      "name" : "UnorderedListMarker",
      "path" : "Snippets/Formatting",
      "product_memberships" : [
        "UnorderedListMarker"
      ],
      "sources" : [
        "UnorderedListMarker.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "DefaultFormatting",
      "module_type" : "SwiftTarget",
      "name" : "DefaultFormatting",
      "path" : "Snippets/Formatting",
      "product_memberships" : [
        "DefaultFormatting"
      ],
      "sources" : [
        "DefaultFormatting.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "ChildThrough",
      "module_type" : "SwiftTarget",
      "name" : "ChildThrough",
      "path" : "Snippets/Querying",
      "product_memberships" : [
        "ChildThrough"
      ],
      "sources" : [
        "ChildThrough.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    },
    {
      "c99name" : "LinkCollector",
      "module_type" : "SwiftTarget",
      "name" : "LinkCollector",
      "path" : "Snippets/Walkers",
      "product_memberships" : [
        "LinkCollector"
      ],
      "sources" : [
        "LinkCollector.swift"
      ],
      "target_dependencies" : [
        "Markdown"
      ],
      "type" : "snippet"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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/swiftlang/swift-cmark.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
[247/20115] Fetching swift-docc-plugin, swift-cmark
Fetched https://github.com/apple/swift-docc-plugin from cache (0.95s)
[12466/18066] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.95s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (3.09s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.15s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3392] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.68s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.64s)
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
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/108] Compiling cmark-gfm iterator.c
[3/108] Compiling cmark-gfm cmark.c
[4/108] Compiling cmark-gfm houdini_html_e.c
[5/108] Compiling cmark-gfm footnotes.c
[6/108] Compiling cmark-gfm houdini_href_e.c
[7/108] Compiling cmark-gfm html.c
[8/108] Compiling cmark-gfm-extensions tagfilter.c
[9/108] Compiling cmark-gfm-extensions tasklist.c
[10/108] Compiling cmark-gfm houdini_html_u.c
[11/108] Compiling cmark-gfm inlines.c
[12/108] 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.
[13/108] Compiling cmark-gfm-extensions core-extensions.c
[13/108] Compiling cmark-gfm utf8.c
[13/108] Compiling cmark-gfm-extensions table.c
[13/108] Compiling cmark-gfm xml.c
[13/108] Compiling cmark-gfm syntax_extension.c
[13/108] Compiling cmark-gfm-extensions strikethrough.c
[13/108] Compiling cmark-gfm-extensions autolink.c
[13/108] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/97] Write sources
[19/97] Compiling cmark-gfm xml.c
[20/97] Compiling cmark-gfm-extensions strikethrough.c
[21/97] Compiling cmark-gfm-extensions autolink.c
[22/97] Compiling cmark-gfm syntax_extension.c
[23/97] Compiling cmark-gfm-extensions table.c
[24/97] Compiling cmark-gfm render.c
[25/97] Compiling cmark-gfm references.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:15:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   15 | CMARK_DEFINE_LOCK(extensions);
      | ^
      | int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:15:19: error: a parameter list without types is only allowed in a function definition
   15 | CMARK_DEFINE_LOCK(extensions);
      |                   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:28:3: error: call to undeclared function 'CMARK_INITIALIZE_AND_LOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   28 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:28:29: error: use of undeclared identifier 'extensions'
   28 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |                             ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:34:3: error: call to undeclared function 'CMARK_UNLOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   34 |   CMARK_UNLOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:34:16: error: use of undeclared identifier 'extensions'
   34 |   CMARK_UNLOCK(extensions);
      |                ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:41:3: error: call to undeclared function 'CMARK_INITIALIZE_AND_LOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   41 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:41:29: error: use of undeclared identifier 'extensions'
   41 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |                             ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:51:3: error: call to undeclared function 'CMARK_UNLOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   51 |   CMARK_UNLOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:51:16: error: use of undeclared identifier 'extensions'
   51 |   CMARK_UNLOCK(extensions);
      |                ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:58:3: error: call to undeclared function 'CMARK_INITIALIZE_AND_LOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   58 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:58:29: error: use of undeclared identifier 'extensions'
   58 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |                             ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:64:3: error: call to undeclared function 'CMARK_UNLOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   64 |   CMARK_UNLOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:64:16: error: use of undeclared identifier 'extensions'
   64 |   CMARK_UNLOCK(extensions);
      |                ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:72:3: error: call to undeclared function 'CMARK_INITIALIZE_AND_LOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   72 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:72:29: error: use of undeclared identifier 'extensions'
   72 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |                             ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:82:3: error: call to undeclared function 'CMARK_UNLOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   82 |   CMARK_UNLOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:82:16: error: use of undeclared identifier 'extensions'
   82 |   CMARK_UNLOCK(extensions);
      |                ^
18 errors generated.
[25/97] Compiling cmark-gfm registry.c
[26/97] Compiling cmark-gfm scanners.c
[26/97] Compiling cmark-gfm utf8.c
[26/97] Compiling cmark-gfm plaintext.c
[26/97] Compiling cmark-gfm plugin.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.
[26/97] Compiling cmark-gfm-extensions core-extensions.c
[26/97] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm