Build Information
Successful build of CommonMark, reference 0.5.1 (92fa2f
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 23:20:51 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-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/SwiftDocOrg/CommonMark.git
Reference: 0.5.1
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/SwiftDocOrg/CommonMark
* tag 0.5.1 -> FETCH_HEAD
HEAD is now at 92fa2fa Bump version to 0.5.1
Cloned https://github.com/SwiftDocOrg/CommonMark.git
Revision (git rev-parse @):
92fa2fa2bf3c598f23da652e78c2d4b5bc4e35e9
SUCCESS checkout https://github.com/SwiftDocOrg/CommonMark.git at 0.5.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/SwiftDocOrg/CommonMark.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/SwiftDocOrg/swift-cmark.git
[1/12555] Fetching swift-cmark
Fetched https://github.com/SwiftDocOrg/swift-cmark.git from cache (0.85s)
Computing version for https://github.com/SwiftDocOrg/swift-cmark.git
Computed https://github.com/SwiftDocOrg/swift-cmark.git at 0.29.0+20210102.9c8096a (3.63s)
Creating working copy for https://github.com/SwiftDocOrg/swift-cmark.git
Working copy of https://github.com/SwiftDocOrg/swift-cmark.git resolved at 0.29.0+20210102.9c8096a
Building for debugging...
[0/22] Compiling cmark render.c
[1/22] Compiling cmark references.c
[2/22] Compiling cmark man.c
[3/22] Compiling cmark xml.c
[4/22] Compiling cmark node.c
[5/22] Compiling cmark latex.c
[6/22] Compiling cmark iterator.c
[7/22] Compiling cmark html.c
[8/22] Compiling cmark houdini_html_e.c
[9/22] Compiling cmark houdini_html_u.c
[10/22] Compiling cmark houdini_href_e.c
[11/22] Compiling cmark commonmark.c
[12/22] Compiling cmark inlines.c
[13/22] Write sources
[15/22] Compiling cmark cmark_ctype.c
[16/22] Compiling cmark cmark.c
[17/22] Compiling cmark buffer.c
[18/22] Compiling cmark blocks.c
[19/22] Compiling cmark scanners.c
[20/22] Compiling cmark utf8.c
[21/22] Write swift-version-24593BA9C3E375BF.txt
[23/47] Emitting module CommonMark
[24/50] Compiling CommonMark BlockQuote.swift
[25/50] Compiling CommonMark CodeBlock.swift
[26/50] Compiling CommonMark HTMLBlock.swift
[27/50] Compiling CommonMark Heading.swift
[28/50] Compiling CommonMark LineBreak.swift
[29/50] Compiling CommonMark Linked.swift
[30/50] Compiling CommonMark Literal.swift
[31/50] Compiling CommonMark Visitable.swift
[32/50] Compiling CommonMark Visitor.swift
[33/50] Compiling CommonMark Version.swift
[34/50] Compiling CommonMark Block.swift
[35/50] Compiling CommonMark Children.swift
[36/50] Compiling CommonMark Inline.swift
[37/50] Compiling CommonMark Link.swift
[38/50] Compiling CommonMark RawHTML.swift
[39/50] Compiling CommonMark SoftLineBreak.swift
[40/50] Compiling CommonMark List.swift
[41/50] Compiling CommonMark Paragraph.swift
[42/50] Compiling CommonMark ThematicBreak.swift
[43/50] Compiling CommonMark Document.swift
[44/50] Compiling CommonMark Code.swift
[45/50] Compiling CommonMark Emphasis.swift
[46/50] Compiling CommonMark HardLineBreak.swift
[47/50] Compiling CommonMark Image.swift
[48/50] Compiling CommonMark Strong.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:285:50: warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
283 | // Unlink the children from the document node to prevent dangling pointers to the parent.
284 | let documentChildren = document.removeChildren()
285 | guard let block = documentChildren.first as? Self,
| `- warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
286 | documentChildren.count == 1
287 | else {
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:306:52: warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
304 | // Unlink the children from the root node to prevent dangling pointers to the parent.
305 | let paragraphChildren = paragraph.removeChildren()
306 | guard let inline = paragraphChildren.first as? Self,
| `- warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
307 | paragraphChildren.count == 1
308 | else {
[49/50] Compiling CommonMark Text.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:285:50: warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
283 | // Unlink the children from the document node to prevent dangling pointers to the parent.
284 | let documentChildren = document.removeChildren()
285 | guard let block = documentChildren.first as? Self,
| `- warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
286 | documentChildren.count == 1
287 | else {
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:306:52: warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
304 | // Unlink the children from the root node to prevent dangling pointers to the parent.
305 | let paragraphChildren = paragraph.removeChildren()
306 | guard let inline = paragraphChildren.first as? Self,
| `- warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
307 | paragraphChildren.count == 1
308 | else {
[50/50] Compiling CommonMark Node.swift
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:285:50: warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
283 | // Unlink the children from the document node to prevent dangling pointers to the parent.
284 | let documentChildren = document.removeChildren()
285 | guard let block = documentChildren.first as? Self,
| `- warning: cast from '(any Node & Block)?' to unrelated type 'Self' always fails
286 | documentChildren.count == 1
287 | else {
/host/spi-builder-workspace/Sources/CommonMark/Nodes/Node.swift:306:52: warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
304 | // Unlink the children from the root node to prevent dangling pointers to the parent.
305 | let paragraphChildren = paragraph.removeChildren()
306 | guard let inline = paragraphChildren.first as? Self,
| `- warning: cast from '(any Node & Inline)?' to unrelated type 'Self' always fails
307 | paragraphChildren.count == 1
308 | else {
[52/71] Emitting module CommonMarkBuilder
/host/spi-builder-workspace/Sources/CommonMarkBuilder/CommonMarkBuilder.swift:3:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_exported import CommonMark
2 |
3 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
4 | public struct CommonMarkBuilder {
5 |
/host/spi-builder-workspace/Sources/CommonMarkBuilder/StringBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct StringBuilder {
3 | // MARK: buildBlock
[53/73] Compiling CommonMarkBuilder Document+Builder.swift
[54/73] Compiling CommonMarkBuilder Code+Builder.swift
[55/73] Compiling CommonMarkBuilder Emphasis+Builder.swift
[56/73] Compiling CommonMarkBuilder Strong+Builder.swift
[57/73] Compiling CommonMarkBuilder Text+Builder.swift
[58/73] Compiling CommonMarkBuilder Heading+Builder.swift
[59/73] Compiling CommonMarkBuilder List+Builder.swift
[60/73] Compiling CommonMarkBuilder Paragraph+Builder.swift
[61/73] Compiling CommonMarkBuilder BlockQuote+Builder.swift
[62/73] Compiling CommonMarkBuilder CodeBlock+Builder.swift
[63/73] Compiling CommonMarkBuilder HTMLBlock+Builder.swift
[64/73] Compiling CommonMarkBuilder HTML+Builder.swift
[65/73] Compiling CommonMarkBuilder Link+Builder.swift
[66/73] Compiling CommonMarkBuilder ListItemConvertible.swift
[67/73] Compiling CommonMarkBuilder ForEach.swift
[68/73] Compiling CommonMarkBuilder Fragment.swift
[69/73] Compiling CommonMarkBuilder CommonMarkBuilder.swift
/host/spi-builder-workspace/Sources/CommonMarkBuilder/CommonMarkBuilder.swift:3:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_exported import CommonMark
2 |
3 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
4 | public struct CommonMarkBuilder {
5 |
[70/73] Compiling CommonMarkBuilder BlockConvertible.swift
/host/spi-builder-workspace/Sources/CommonMarkBuilder/CommonMarkBuilder.swift:3:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_exported import CommonMark
2 |
3 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
4 | public struct CommonMarkBuilder {
5 |
[71/73] Compiling CommonMarkBuilder InlineConvertible.swift
/host/spi-builder-workspace/Sources/CommonMarkBuilder/CommonMarkBuilder.swift:3:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_exported import CommonMark
2 |
3 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
4 | public struct CommonMarkBuilder {
5 |
[72/73] Compiling CommonMarkBuilder Section.swift
/host/spi-builder-workspace/Sources/CommonMarkBuilder/StringBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct StringBuilder {
3 | // MARK: buildBlock
[73/73] Compiling CommonMarkBuilder StringBuilder.swift
/host/spi-builder-workspace/Sources/CommonMarkBuilder/StringBuilder.swift:1:2: warning: '@_functionBuilder' has been renamed to '@resultBuilder'
1 | @_functionBuilder
| `- warning: '@_functionBuilder' has been renamed to '@resultBuilder'
2 | public struct StringBuilder {
3 | // MARK: buildBlock
Build complete! (17.25s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-cmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.29.0+20210102.9c8096a",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftDocOrg/swift-cmark.git"
}
],
"manifest_display_name" : "CommonMark",
"name" : "CommonMark",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CommonMark",
"targets" : [
"CommonMark"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CommonMarkBuilder",
"targets" : [
"CommonMarkBuilder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CommonMarkTests",
"module_type" : "SwiftTarget",
"name" : "CommonMarkTests",
"path" : "Tests/CommonMarkTests",
"sources" : [
"CommonMarkTests.swift",
"ContainerManipulationTests.swift",
"DocumentTests.swift",
"Fixtures.swift",
"NodeTests.swift",
"ProtocolTests.swift",
"StatisticsVisitor.swift",
"VisitorTests.swift"
],
"target_dependencies" : [
"CommonMark"
],
"type" : "test"
},
{
"c99name" : "CommonMarkSpecTests",
"module_type" : "SwiftTarget",
"name" : "CommonMarkSpecTests",
"path" : "Tests/CommonMarkSpecTests",
"sources" : [
"AtxHeadingsTests.swift",
"AutolinksTests.swift",
"BackslashEscapesTests.swift",
"BlankLinesTests.swift",
"BlockQuotesTests.swift",
"CodeSpansTests.swift",
"EmphasisAndStrongEmphasisTests.swift",
"EntityAndNumericCharacterReferencesTests.swift",
"FencedCodeBlocksTests.swift",
"HardLineBreaksTests.swift",
"HtmlBlocksTests.swift",
"ImagesTests.swift",
"IndentedCodeBlocksTests.swift",
"InlinesTests.swift",
"LinkReferenceDefinitionsTests.swift",
"LinksTests.swift",
"ListItemsTests.swift",
"ListsTests.swift",
"ParagraphsTests.swift",
"PrecedenceTests.swift",
"RawHtmlTests.swift",
"SetextHeadingsTests.swift",
"SoftLineBreaksTests.swift",
"TabsTests.swift",
"TextualContentTests.swift",
"ThematicBreaksTests.swift"
],
"target_dependencies" : [
"CommonMark"
],
"type" : "test"
},
{
"c99name" : "CommonMarkBuilderTests",
"module_type" : "SwiftTarget",
"name" : "CommonMarkBuilderTests",
"path" : "Tests/CommonMarkBuilderTests",
"sources" : [
"CommonMarkBuilderTests.swift",
"Fixtures.swift"
],
"target_dependencies" : [
"CommonMarkBuilder",
"CommonMark"
],
"type" : "test"
},
{
"c99name" : "CommonMarkBuilder",
"module_type" : "SwiftTarget",
"name" : "CommonMarkBuilder",
"path" : "Sources/CommonMarkBuilder",
"product_memberships" : [
"CommonMarkBuilder"
],
"sources" : [
"CommonMarkBuilder.swift",
"Convertible Protocols/BlockConvertible.swift",
"Convertible Protocols/InlineConvertible.swift",
"Convertible Protocols/ListItemConvertible.swift",
"ForEach.swift",
"Fragment.swift",
"Nodes/Block/BlockQuote+Builder.swift",
"Nodes/Block/CodeBlock+Builder.swift",
"Nodes/Block/HTMLBlock+Builder.swift",
"Nodes/Block/Heading+Builder.swift",
"Nodes/Block/List+Builder.swift",
"Nodes/Block/Paragraph+Builder.swift",
"Nodes/Document+Builder.swift",
"Nodes/Inline/Code+Builder.swift",
"Nodes/Inline/Emphasis+Builder.swift",
"Nodes/Inline/HTML+Builder.swift",
"Nodes/Inline/Link+Builder.swift",
"Nodes/Inline/Strong+Builder.swift",
"Nodes/Inline/Text+Builder.swift",
"Section.swift",
"StringBuilder.swift"
],
"target_dependencies" : [
"CommonMark"
],
"type" : "library"
},
{
"c99name" : "CommonMark",
"module_type" : "SwiftTarget",
"name" : "CommonMark",
"path" : "Sources/CommonMark",
"product_dependencies" : [
"cmark"
],
"product_memberships" : [
"CommonMark",
"CommonMarkBuilder"
],
"sources" : [
"Nodes/Block/BlockQuote.swift",
"Nodes/Block/CodeBlock.swift",
"Nodes/Block/HTMLBlock.swift",
"Nodes/Block/Heading.swift",
"Nodes/Block/List.swift",
"Nodes/Block/Paragraph.swift",
"Nodes/Block/ThematicBreak.swift",
"Nodes/Document.swift",
"Nodes/Inline/Code.swift",
"Nodes/Inline/Emphasis.swift",
"Nodes/Inline/HardLineBreak.swift",
"Nodes/Inline/Image.swift",
"Nodes/Inline/Link.swift",
"Nodes/Inline/RawHTML.swift",
"Nodes/Inline/SoftLineBreak.swift",
"Nodes/Inline/Strong.swift",
"Nodes/Inline/Text.swift",
"Nodes/Node.swift",
"Supporting Types/Block.swift",
"Supporting Types/Children.swift",
"Supporting Types/Inline.swift",
"Supporting Types/LineBreak.swift",
"Supporting Types/Linked.swift",
"Supporting Types/Literal.swift",
"Supporting Types/Visitable.swift",
"Supporting Types/Visitor.swift",
"Version.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Done.