Build Information
Failed to build swift-markdown-ui, reference main (a9c761
), with Swift 6.1 for Wasm on 29 May 2025 19:54:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/gonzalezreal/swift-markdown-ui.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/gonzalezreal/swift-markdown-ui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a9c7615 feat: make the `Theme` type support Swift 6 (#351)
Cloned https://github.com/gonzalezreal/swift-markdown-ui.git
Revision (git rev-parse @):
a9c7615fb50323069c2979c69263973aa1b24a8f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gonzalezreal/swift-markdown-ui.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/gonzalezreal/swift-markdown-ui.git
https://github.com/gonzalezreal/swift-markdown-ui.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "networkimage",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/gonzalezreal/NetworkImage"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.10.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing"
},
{
"identity" : "swift-cmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-cmark"
}
],
"manifest_display_name" : "swift-markdown-ui",
"name" : "swift-markdown-ui",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "MarkdownUI",
"targets" : [
"MarkdownUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MarkdownUITests",
"module_type" : "SwiftTarget",
"name" : "MarkdownUITests",
"path" : "Tests/MarkdownUITests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"FontPropertiesTests.swift",
"HTMLTagTests.swift",
"InlineContentBuilderTests.swift",
"ListContentBuilderTests.swift",
"MarkdownContentBuilderTests.swift",
"MarkdownContentTests.swift",
"MarkdownImageTests.swift",
"MarkdownListTests.swift",
"MarkdownTableTests.swift",
"MarkdownTests.swift",
"TaskListContentBuilderTests.swift",
"TextStyleBuilderTests.swift",
"ThemeDocCTests.swift",
"ThemeGitHubTests.swift",
"ThemePreview.swift"
],
"target_dependencies" : [
"MarkdownUI"
],
"type" : "test"
},
{
"c99name" : "MarkdownUI",
"module_type" : "SwiftTarget",
"name" : "MarkdownUI",
"path" : "Sources/MarkdownUI",
"product_dependencies" : [
"cmark-gfm",
"cmark-gfm-extensions",
"NetworkImage"
],
"product_memberships" : [
"MarkdownUI"
],
"sources" : [
"DSL/Blocks/Blockquote.swift",
"DSL/Blocks/BulletedList.swift",
"DSL/Blocks/CodeBlock.swift",
"DSL/Blocks/Heading.swift",
"DSL/Blocks/ListContentBuilder.swift",
"DSL/Blocks/ListItem.swift",
"DSL/Blocks/MarkdownContent.swift",
"DSL/Blocks/MarkdownContentBuilder.swift",
"DSL/Blocks/NumberedList.swift",
"DSL/Blocks/Paragraph.swift",
"DSL/Blocks/TaskList.swift",
"DSL/Blocks/TaskListContentBuilder.swift",
"DSL/Blocks/TaskListItem.swift",
"DSL/Blocks/TextTable.swift",
"DSL/Blocks/TextTableColumn.swift",
"DSL/Blocks/TextTableColumnAlignment.swift",
"DSL/Blocks/TextTableColumnBuilder.swift",
"DSL/Blocks/TextTableRow.swift",
"DSL/Blocks/TextTableRowBuilder.swift",
"DSL/Blocks/ThematicBreak.swift",
"DSL/Inlines/Code.swift",
"DSL/Inlines/Emphasis.swift",
"DSL/Inlines/InlineContent.swift",
"DSL/Inlines/InlineContentBuilder.swift",
"DSL/Inlines/InlineImage.swift",
"DSL/Inlines/InlineLink.swift",
"DSL/Inlines/LineBreak.swift",
"DSL/Inlines/SoftBreak.swift",
"DSL/Inlines/Strikethrough.swift",
"DSL/Inlines/Strong.swift",
"Extensibility/AssetImageProvider.swift",
"Extensibility/AssetInlineImageProvider.swift",
"Extensibility/CodeSyntaxHighlighter.swift",
"Extensibility/DefaultImageProvider.swift",
"Extensibility/DefaultInlineImageProvider.swift",
"Extensibility/ImageProvider.swift",
"Extensibility/InlineImageProvider.swift",
"Parser/BlockNode+Rewrite.swift",
"Parser/BlockNode.swift",
"Parser/HTMLTag.swift",
"Parser/InlineNode+Collect.swift",
"Parser/InlineNode+Rewrite.swift",
"Parser/InlineNode.swift",
"Parser/MarkdownParser.swift",
"Renderer/AttributedStringInlineRenderer.swift",
"Renderer/InlineTextStyles.swift",
"Renderer/TextInlineRenderer.swift",
"Theme/BlockStyle/BlockConfiguration.swift",
"Theme/BlockStyle/BlockStyle.swift",
"Theme/BlockStyle/CodeBlockConfiguration.swift",
"Theme/BlockStyle/ListBullet.swift",
"Theme/BlockStyle/ListMarkerConfiguration.swift",
"Theme/BlockStyle/TableBackgroundStyle.swift",
"Theme/BlockStyle/TableBorderStyle.swift",
"Theme/BlockStyle/TableCellConfiguration.swift",
"Theme/BlockStyle/TaskListMarkerConfiguration.swift",
"Theme/TextStyle/Styles/BackgroundColor.swift",
"Theme/TextStyle/Styles/EmptyTextStyle.swift",
"Theme/TextStyle/Styles/Font+FontProperties.swift",
"Theme/TextStyle/Styles/FontCapsVariant.swift",
"Theme/TextStyle/Styles/FontDigitVariant.swift",
"Theme/TextStyle/Styles/FontFamily.swift",
"Theme/TextStyle/Styles/FontFamilyVariant.swift",
"Theme/TextStyle/Styles/FontProperties.swift",
"Theme/TextStyle/Styles/FontPropertiesAttribute.swift",
"Theme/TextStyle/Styles/FontSize.swift",
"Theme/TextStyle/Styles/FontStyle.swift",
"Theme/TextStyle/Styles/FontWeight.swift",
"Theme/TextStyle/Styles/FontWidth.swift",
"Theme/TextStyle/Styles/ForegroundColor.swift",
"Theme/TextStyle/Styles/StrikethroughStyle.swift",
"Theme/TextStyle/Styles/TextKerning.swift",
"Theme/TextStyle/Styles/TextTracking.swift",
"Theme/TextStyle/Styles/UnderlineStyle.swift",
"Theme/TextStyle/TextStyle.swift",
"Theme/TextStyle/TextStyleBuilder.swift",
"Theme/Theme+Basic.swift",
"Theme/Theme+DocC.swift",
"Theme/Theme+GitHub.swift",
"Theme/Theme.swift",
"Utility/BlockNode+ColorSchemeImage.swift",
"Utility/Color+RGBA.swift",
"Utility/Deprecations.swift",
"Utility/FlowLayout.swift",
"Utility/Indexed.swift",
"Utility/InlineNode+PlainText.swift",
"Utility/InlineNode+RawImageData.swift",
"Utility/Int+Roman.swift",
"Utility/RelativeSize.swift",
"Utility/ResizeToFit.swift",
"Utility/String+KebabCase.swift",
"Views/Blocks/BlockMargin.swift",
"Views/Blocks/BlockNode+View.swift",
"Views/Blocks/BlockSequence.swift",
"Views/Blocks/BlockquoteView.swift",
"Views/Blocks/BulletedListView.swift",
"Views/Blocks/CodeBlockView.swift",
"Views/Blocks/ColumnWidthPreference.swift",
"Views/Blocks/HeadingView.swift",
"Views/Blocks/ImageFlow.swift",
"Views/Blocks/ListItemSequence.swift",
"Views/Blocks/ListItemView.swift",
"Views/Blocks/NumberedListView.swift",
"Views/Blocks/ParagraphView.swift",
"Views/Blocks/TableBackgroundView.swift",
"Views/Blocks/TableBorderSelector.swift",
"Views/Blocks/TableBorderView.swift",
"Views/Blocks/TableBounds.swift",
"Views/Blocks/TableCell.swift",
"Views/Blocks/TableView.swift",
"Views/Blocks/TaskListItemView.swift",
"Views/Blocks/TaskListView.swift",
"Views/Blocks/TextStyleAttributesReader.swift",
"Views/Blocks/ThematicBreakView.swift",
"Views/Environment/Environment+BaseURL.swift",
"Views/Environment/Environment+CodeSyntaxHighlighter.swift",
"Views/Environment/Environment+ImageProvider.swift",
"Views/Environment/Environment+InlineImageProvider.swift",
"Views/Environment/Environment+List.swift",
"Views/Environment/Environment+SoftBreakMode.swift",
"Views/Environment/Environment+Table.swift",
"Views/Environment/Environment+TextStyle.swift",
"Views/Environment/Environment+Theme.swift",
"Views/Inlines/ImageView.swift",
"Views/Inlines/InlineText.swift",
"Views/Markdown.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/gonzalezreal/NetworkImage
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-cmark
[1/1040] Fetching networkimage
[1041/19105] Fetching networkimage, swift-cmark
Fetched https://github.com/gonzalezreal/NetworkImage from cache (0.41s)
[5420/18065] Fetching swift-cmark
[15718/31254] Fetching swift-cmark, swift-snapshot-testing
Fetched https://github.com/swiftlang/swift-cmark from cache (1.00s)
[4353/13189] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.99s)
Computing version for https://github.com/gonzalezreal/NetworkImage
Computed https://github.com/gonzalezreal/NetworkImage at 6.0.1 (2.48s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.6.0 (0.55s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (0.53s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/75033] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (6.43s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.47s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (7.91s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.99s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.92s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.50s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/swiftlang/swift-cmark
Working copy of https://github.com/swiftlang/swift-cmark resolved at 0.6.0
Creating working copy for https://github.com/gonzalezreal/NetworkImage
Working copy of https://github.com/gonzalezreal/NetworkImage resolved at 6.0.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Building for debugging...
[0/37] Compiling cmark-gfm cmark_ctype.c
[1/37] Compiling cmark-gfm cmark.c
[2/37] Compiling cmark-gfm footnotes.c
[3/37] Compiling cmark-gfm-extensions tagfilter.c
[4/37] Compiling cmark-gfm commonmark.c
[5/37] Compiling cmark-gfm-extensions tasklist.c
[6/37] Compiling cmark-gfm-extensions strikethrough.c
[7/37] 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.
[8/37] Compiling cmark-gfm-extensions core-extensions.c
[8/37] Compiling cmark-gfm utf8.c
[8/37] Compiling cmark-gfm xml.c
[8/37] Compiling cmark-gfm-extensions autolink.c
[8/37] Compiling cmark-gfm blocks.c
[8/37] Compiling cmark-gfm-extensions table.c
[8/37] Compiling cmark-gfm buffer.c
[8/37] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/MarkdownUITests/Resources/Images.xcassets
[0/1] Planning build
Building for debugging...
/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.
[0/29] Compiling cmark-gfm-extensions core-extensions.c
[0/29] Compiling cmark-gfm utf8.c
[0/29] Compiling cmark-gfm syntax_extension.c
[0/29] Compiling cmark-gfm xml.c
[0/29] Compiling cmark-gfm scanners.c
[0/29] Compiling cmark-gfm-extensions autolink.c
[0/29] Compiling cmark-gfm-extensions table.c
[0/29] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm