Build Information
Failed to build MarkdownView with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LiYanan2004/MarkdownView.git
Reference: 1.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/LiYanan2004/MarkdownView
* tag 1.6.0 -> FETCH_HEAD
HEAD is now at 763936e Add rendering thread option
Cloned https://github.com/LiYanan2004/MarkdownView.git
Revision (git rev-parse @):
763936e217085d74e787a55c7a8b3b72d315e83b
SUCCESS checkout https://github.com/LiYanan2004/MarkdownView.git at 1.6.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/LiYanan2004/MarkdownView.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/raspu/Highlightr.git
Fetching https://github.com/apple/swift-cmark.git
[1/2213] Fetching highlightr
[2214/8150] Fetching highlightr, swift-markdown
[4708/25892] Fetching highlightr, swift-markdown, swift-cmark
Fetched https://github.com/apple/swift-markdown.git from cache (0.90s)
Fetched https://github.com/raspu/Highlightr.git from cache (0.90s)
Computing version for https://github.com/raspu/Highlightr.git
Fetched https://github.com/apple/swift-cmark.git from cache (0.91s)
Computed https://github.com/raspu/Highlightr.git at 2.1.2 (0.39s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.2.0 (0.41s)
Computing version for https://github.com/apple/swift-cmark.git
Computed https://github.com/apple/swift-cmark.git at 0.2.0 (0.38s)
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-cmark.git
Working copy of https://github.com/apple/swift-cmark.git resolved at 0.2.0
Creating working copy for https://github.com/raspu/Highlightr.git
Working copy of https://github.com/raspu/Highlightr.git resolved at 2.1.2
Building for debugging...
[0/38] Compiling cmark-gfm cmark_ctype.c
[1/38] Compiling cmark-gfm houdini_html_e.c
[2/38] Compiling cmark-gfm footnotes.c
[3/38] Compiling cmark-gfm houdini_href_e.c
[4/38] Compiling cmark-gfm buffer.c
[5/38] Compiling cmark-gfm-extensions core-extensions.c
[6/38] Compiling cmark-gfm-extensions tagfilter.c
[7/38] Compiling cmark-gfm-extensions tasklist.c
[8/38] Compiling cmark-gfm-extensions strikethrough.c
[9/38] Compiling cmark-gfm-extensions ext_scanners.c
[10/38] Compiling cmark-gfm cmark.c
[10/38] Write swift-version-24593BA9C3E375BF.txt
[12/38] Compiling cmark-gfm xml.c
[13/38] Compiling cmark-gfm-extensions autolink.c
[14/38] Compiling cmark-gfm-extensions table.c
[15/38] Compiling cmark-gfm syntax_extension.c
[16/38] Compiling cmark-gfm registry.c
[17/38] Compiling cmark-gfm render.c
[18/38] Compiling cmark-gfm plugin.c
[19/38] Compiling cmark-gfm references.c
[20/38] Compiling cmark-gfm plaintext.c
[21/38] Compiling cmark-gfm linked_list.c
[22/38] Compiling cmark-gfm map.c
[23/38] Compiling cmark-gfm man.c
[24/38] Compiling cmark-gfm latex.c
[24/38] Compiling cmark-gfm node.c
[26/38] Compiling cmark-gfm iterator.c
[27/38] Compiling cmark-gfm utf8.c
[27/38] Write sources
[30/38] Compiling CAtomic CAtomic.c
[31/38] Compiling cmark-gfm html.c
[32/38] Compiling cmark-gfm commonmark.c
[33/38] Compiling cmark-gfm arena.c
[34/38] Compiling cmark-gfm houdini_html_u.c
[35/38] Compiling cmark-gfm inlines.c
[36/38] Compiling cmark-gfm blocks.c
[37/38] Compiling cmark-gfm scanners.c
[39/95] Emitting module Markdown
[40/103] Compiling Markdown MarkupRewriter.swift
[41/103] Compiling Markdown BasicBlockContainer.swift
[42/103] Compiling Markdown BasicInlineContainer.swift
[43/103] Compiling Markdown BlockContainer.swift
[44/103] Compiling Markdown BlockMarkup.swift
[45/103] Compiling Markdown InlineContainer.swift
[46/103] Compiling Markdown InlineMarkup.swift
[47/103] Compiling Markdown ListItemContainer.swift
[48/103] Compiling Markdown Strikethrough.swift
[49/103] Compiling Markdown Strong.swift
[50/103] Compiling Markdown CustomInline.swift
[51/103] Compiling Markdown InlineCode.swift
[52/103] Compiling Markdown InlineHTML.swift
[53/103] Compiling Markdown LineBreak.swift
[54/103] Compiling Markdown SoftBreak.swift
[55/103] Compiling Markdown SymbolLink.swift
[56/103] Compiling Markdown RawMarkup.swift
[57/103] Compiling Markdown BlockDirective.swift
[58/103] Compiling Markdown BlockQuote.swift
[59/103] Compiling Markdown CustomBlock.swift
[60/103] Compiling Markdown ListItem.swift
[61/103] Compiling Markdown OrderedList.swift
[62/103] Compiling Markdown UnorderedList.swift
[63/103] Compiling Markdown Paragraph.swift
[64/103] Compiling Markdown AtomicCounter.swift
[65/103] Compiling Markdown CharacterExtensions.swift
[66/103] Compiling Markdown CollectionExtensions.swift
[67/103] Compiling Markdown StringExtensions.swift
[68/103] Compiling Markdown MarkupVisitor.swift
[69/103] Compiling Markdown MarkupWalker.swift
[70/103] Compiling Markdown MarkupFormatter.swift
[71/103] Compiling Markdown MarkupTreeDumper.swift
[72/103] Compiling Markdown CodeBlock.swift
[73/103] Compiling Markdown HTMLBlock.swift
[74/103] Compiling Markdown Heading.swift
[75/103] Compiling Markdown ThematicBreak.swift
[76/103] Compiling Markdown Table.swift
[77/103] Compiling Markdown TableBody.swift
[78/103] Compiling Markdown TableCell.swift
[79/103] Compiling Markdown TableCellContainer.swift
[80/103] Compiling Markdown Text.swift
[81/103] Compiling Markdown Aside.swift
[82/103] Compiling Markdown BlockDirectiveParser.swift
[83/103] Compiling Markdown CommonMarkConverter.swift
[84/103] Compiling Markdown LazySplitLines.swift
[85/103] Compiling Markdown ParseOptions.swift
[86/103] Compiling Markdown RangeAdjuster.swift
[87/103] Compiling Markdown RangerTracker.swift
[88/103] Compiling Markdown ChildIndexPath.swift
[89/103] Compiling Markdown DirectiveArgument.swift
[90/103] Compiling Markdown Document.swift
[91/103] Compiling Markdown LiteralMarkup.swift
[92/103] Compiling Markdown Markup.swift
[93/103] Compiling Markdown MarkupChildren.swift
[94/103] Compiling Markdown MarkupData.swift
[95/103] Compiling Markdown PlainTextConvertibleMarkup.swift
[96/103] Compiling Markdown TableHead.swift
[97/103] Compiling Markdown TableRow.swift
[98/103] Compiling Markdown Replacement.swift
[99/103] Compiling Markdown SourceLocation.swift
[100/103] Compiling Markdown Emphasis.swift
[101/103] Compiling Markdown Image.swift
[102/103] Compiling Markdown InlineAttributes.swift
[103/103] Compiling Markdown Link.swift
[105/153] Compiling MarkdownView AnyBlockDirectiveDisplayable.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[106/153] Compiling MarkdownView BlockDirectiveDisplayable.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[107/153] Compiling MarkdownView BlockDirectiveModifiers.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[108/153] Compiling MarkdownView BlockDirectiveRenderer.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[109/153] Compiling MarkdownView CodeHighlighter.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[110/153] Compiling MarkdownView AnyMarkdownFontGroup.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[111/153] Compiling MarkdownView DefaultFontGroup.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[112/153] Compiling MarkdownView ForegroundStyleGroup.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[113/153] Compiling MarkdownView ForegroundStyleModifiers.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[114/153] Compiling MarkdownView LayoutRole.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[115/153] Compiling MarkdownView List.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[116/153] Compiling MarkdownView Spacing.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[117/153] Compiling MarkdownView TintColor.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[118/153] Compiling MarkdownView AnyShapeStyle+Equatable.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[119/159] Compiling MarkdownView FontProvider.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[120/159] Compiling MarkdownView FontModifiers.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[121/159] Compiling MarkdownView MarkdownFontGroup.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[122/159] Compiling MarkdownView MarkdownTextType.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[123/159] Compiling MarkdownView AnyForegroundStyleGroup.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[124/159] Compiling MarkdownView AutomaticForegroundStyleGroup.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[125/159] Compiling MarkdownView ColorableComponent.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[126/159] Emitting module MarkdownView
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[127/159] Compiling MarkdownView SizeReader.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[128/159] Compiling MarkdownView Utilities+SwiftUI.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[129/159] Compiling MarkdownView CodeBlockView.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[130/159] Compiling MarkdownView CopyButton.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[131/159] Compiling MarkdownView ImagePlaceholder.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[132/159] Compiling MarkdownView SVGView.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[133/159] Compiling MarkdownView AnyImageDisplayable.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[134/159] Compiling MarkdownView ImageDisplayable.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[135/159] Compiling MarkdownView ImageProviderModifiers.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[136/159] Compiling MarkdownView ImageRenderer.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[137/159] Compiling MarkdownView AssetImage.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[138/159] Compiling MarkdownView NetworkImage.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[139/159] Compiling MarkdownView MarkdownView.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[140/159] Compiling MarkdownView SourceLocation+Extension.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[141/159] Compiling MarkdownView ContainerSize.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[142/159] Compiling MarkdownView ContentUpdater.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[143/159] Compiling MarkdownView FlowLayout.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[144/159] Compiling MarkdownView ScrollProxyRef.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[145/159] Compiling MarkdownView View+Extension.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[146/159] Compiling MarkdownView ViewContent.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[147/159] Compiling MarkdownView Renderer.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[148/159] Compiling MarkdownView RendererConfiguration.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[149/159] Compiling MarkdownView TOCMenu.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[150/159] Compiling MarkdownView AdaptiveGrid.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[151/159] Compiling MarkdownView AdaptiveGridRow.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[152/159] Compiling MarkdownView GridContainers.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[153/159] Compiling MarkdownView LinkAttributer.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[154/159] Compiling MarkdownView Renderer+BlockDirective.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[155/159] Compiling MarkdownView Renderer+Break.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[156/159] Compiling MarkdownView Renderer+CodeBlock.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[157/159] Compiling MarkdownView Renderer+Font.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[158/159] Compiling MarkdownView Renderer+List.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[159/159] Compiling MarkdownView Renderer+Table.swift
/host/spi-builder-workspace/Sources/MarkdownView/Customization/BlockDirective/AnyBlockDirectiveDisplayable.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.10 linux