Build Information
Failed to build swift-markdown, reference 0.3.0 (83188d
), with Swift 6.1 for Wasm on 29 May 2025 02:46:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/shaps80/swift-markdown.git
Reference: 0.3.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/shaps80/swift-markdown
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at 83188de Updates package to depend on my own fork
Cloned https://github.com/shaps80/swift-markdown.git
Revision (git rev-parse @):
83188dee2dbccfa70124c56055dd0b759d3e4ec3
SUCCESS checkout https://github.com/shaps80/swift-markdown.git at 0.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/shaps80/swift-markdown.git
https://github.com/shaps80/swift-markdown.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-cmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "0.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shaps80/swift-cmark.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.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" : "markdown-tool",
"targets" : [
"markdown-tool"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "markdown_tool",
"module_type" : "SwiftTarget",
"name" : "markdown-tool",
"path" : "Sources/markdown-tool",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"markdown-tool"
],
"sources" : [
"Commands/DumpTreeCommand.swift",
"Commands/FormatCommand.swift",
"main.swift"
],
"target_dependencies" : [
"Markdown"
],
"type" : "executable"
},
{
"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/SourceLoacationTests.swift",
"Inline Nodes/ImageTests.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/SourceURLTests.swift",
"Performance/EditPerformanceTests.swift",
"Performance/MarkupChildrenPerformanceTests.swift",
"Structural Restrictions/BasicBlockContainerTests.swift",
"Structural Restrictions/BasicInlineContainerTests.swift",
"Structural Restrictions/ListItemContainerTests.swift",
"Utility/AssertElementDidntChange.swift",
"Visitors/MarkupFormatterTests.swift",
"Visitors/MarkupRewriterTests.swift",
"Visitors/MarkupTreeDumperTests.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",
"markdown-tool"
],
"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/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/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/MarkupFormatter.swift",
"Walker/Walkers/MarkupTreeDumper.swift"
],
"target_dependencies" : [
"CAtomic"
],
"type" : "library"
},
{
"c99name" : "CAtomic",
"module_type" : "ClangTarget",
"name" : "CAtomic",
"path" : "Sources/CAtomic",
"product_memberships" : [
"Markdown",
"markdown-tool"
],
"sources" : [
"CAtomic.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/apple/swift-argument-parser
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/shaps80/swift-cmark.git
[1/2049] Fetching swift-docc-plugin
[22/14662] Fetching swift-docc-plugin, swift-cmark
[14663/30013] Fetching swift-docc-plugin, swift-cmark, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin from cache (1.59s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.59s)
Fetched https://github.com/shaps80/swift-cmark.git from cache (1.60s)
Computing version for https://github.com/shaps80/swift-cmark.git
Computed https://github.com/shaps80/swift-cmark.git at 0.2.0 (2.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.3 (0.67s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.07s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.15s)
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
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.3
Creating working copy for https://github.com/shaps80/swift-cmark.git
Working copy of https://github.com/shaps80/swift-cmark.git resolved at 0.2.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/48] Write sources
[3/48] Compiling cmark-gfm-extensions tagfilter.c
[4/48] Compiling cmark-gfm-extensions tasklist.c
[5/48] Compiling cmark-gfm-extensions strikethrough.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:21:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
21 | CMARK_DEFINE_ONCE(registered);
| ^
| int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:21:19: error: a parameter list without types is only allowed in a function definition
21 | CMARK_DEFINE_ONCE(registered);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:28:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
28 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:28:18: error: use of undeclared identifier 'registered'
28 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
4 errors generated.
[6/48] Compiling cmark-gfm-extensions core-extensions.c
[6/48] Compiling cmark-gfm syntax_extension.c
[6/48] Compiling cmark-gfm-extensions table.c
[6/48] Compiling cmark-gfm utf8.c
[6/48] Compiling cmark-gfm-extensions ext_scanners.c
[6/48] Compiling cmark-gfm xml.c
[6/48] Compiling cmark-gfm-extensions autolink.c
[6/48] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/44] Write sources
[4/44] Compiling cmark-gfm-extensions autolink.c
[5/44] Compiling cmark-gfm-extensions table.c
[6/44] Compiling cmark-gfm-extensions ext_scanners.c
[7/44] Compiling cmark-gfm syntax_extension.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:21:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
21 | CMARK_DEFINE_ONCE(registered);
| ^
| int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:21:19: error: a parameter list without types is only allowed in a function definition
21 | CMARK_DEFINE_ONCE(registered);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:28:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
28 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:28:18: error: use of undeclared identifier 'registered'
28 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
4 errors generated.
[8/44] Compiling cmark-gfm-extensions core-extensions.c
[8/44] Compiling cmark-gfm references.c
[8/44] Compiling cmark-gfm registry.c
[8/44] Compiling cmark-gfm scanners.c
[8/44] Compiling cmark-gfm render.c
[8/44] Compiling cmark-gfm utf8.c
[8/44] Compiling cmark-gfm xml.c
[8/44] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm